diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-01-26 14:30:24 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-01-26 14:31:16 +0100 |
commit | 0d9aa8cce792d69d5147a2230b61b1cbdc089206 (patch) | |
tree | 0c710e80269aef0fc0885c0928e22ef1ea09e380 /filter | |
parent | 1f65dc9ef52436bb34a6fd7ebc16c629fc9ac70c (diff) |
Sort the catch-all detection at the end
Diffstat (limited to 'filter')
-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 f1a835dbd266..7a5ec96d48bd 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; } } |