diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-01-26 14:30:24 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2012-01-26 17:25:47 +0100 |
commit | 611472edb12ba1d8a38bda1857c952eef0bb3568 (patch) | |
tree | 39be36a0b02e01db856789cd9e3daf21606fbce9 | |
parent | 20196b4e7c7de25c1863e7919d205d0352616c56 (diff) |
Sort the catch-all detection at the end
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
-rw-r--r-- | filter/source/config/cache/typedetection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index cc91746c2b37..25b37429f5c1 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -814,9 +814,9 @@ namespace if (rA == rB) return false; if (rA.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.FormatDetector"))) - return true; - if (rB.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.FormatDetector"))) return false; + if (rB.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.FormatDetector"))) + return true; return rA < rB; } } |