summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-01-26 14:30:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-01-26 13:43:57 +0000
commitb31d924cc7c30d09113a959f4a1b4bfd04da80f5 (patch)
tree160bd64f13f97b836be05eb14907b45a61c5e14d /filter
parent85fb62b9103428ee83e5b9f9ef7bdcb736e04ff9 (diff)
Sort the catch-all detection at the end
(cherry picked from commit 0d9aa8cce792d69d5147a2230b61b1cbdc089206) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/typedetection.cxx4
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;
}
}