summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-01-26 14:30:24 +0100
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-01-26 17:25:47 +0100
commit611472edb12ba1d8a38bda1857c952eef0bb3568 (patch)
tree39be36a0b02e01db856789cd9e3daf21606fbce9
parent20196b4e7c7de25c1863e7919d205d0352616c56 (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.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;
}
}