diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-21 12:23:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-21 14:26:32 +0100 |
commit | 91e181ea585855bea97a07823f7334d0b98b20d5 (patch) | |
tree | 2578b79ddca097390802b5d2f5d5676d6a7821ff /comphelper/source | |
parent | 958f7b512cff932f7f2d52d128c297d0f0ab6354 (diff) |
remove uses of COMPARE_*
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/string.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/comphelper/source/misc/string.cxx b/comphelper/source/misc/string.cxx index f59653130e06..d5d249eb91f6 100644 --- a/comphelper/source/misc/string.cxx +++ b/comphelper/source/misc/string.cxx @@ -331,7 +331,8 @@ sal_Int32 compareNatural( const OUString & rLHS, const OUString & rRHS, break; } - //Squeeze these down to -1, 0, 1 in case it gets casted to a StringCompare + //Squeeze these down to -1, 0, 1 in case there is an assumption those are + //the only valid returns if (nRet > 0) nRet = 1; else if (nRet < 0) |