Prioritize external filters over the internal ones.

Change-Id: I2407a2ebc01f39655b30f7eb1e65deb912f2e606
This commit is contained in:
Kohei Yoshida 2012-06-05 15:53:31 -04:00
parent f2bcd32bfd
commit eed0a0b26b

View file

@ -196,8 +196,9 @@ int getFlatTypeRank(const rtl::OUString& rType)
return n - i - 1;
}
// Not ranked. Treat them equally.
return -1;
// Not ranked. Treat them equally. Unranked filters have higher priority
// than the ranked internal ones since they may be external filters.
return n;
}
/**