diff options
-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; } } |