summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/fontcfg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx
index e44b8d22ba69..a529bdc9de10 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -832,7 +832,7 @@ void FontSubstConfiguration::getMapName( const OUString& rOrgName, OUString& rSh
struct StrictStringSort : public ::std::binary_function< const FontNameAttr&, const FontNameAttr&, bool >
{
bool operator()( const FontNameAttr& rLeft, const FontNameAttr& rRight )
- { return rLeft.Name.compareTo( rRight.Name ) == -1 ; }
+ { return rLeft.Name.compareTo( rRight.Name ) < 0; }
};
static const char* const pAttribNames[] =