summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/config
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-08-12 18:29:41 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2013-08-12 18:31:05 +0200
commit86637135b809f94973a6b55084d8045bbd276ceb (patch)
treef9372452b6fdd269ecf9088f009e9683fed7c3c1 /sw/source/ui/config
parentImplement refreshTables. (firebird-sdbc) (diff)
downloadcore-86637135b809f94973a6b55084d8045bbd276ceb.tar.gz
core-86637135b809f94973a6b55084d8045bbd276ceb.zip
String to OUString and some optimizations
Change-Id: I9d93d6aa26b2c9d20f7be8d201051a51e8e4ce7a
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r--sw/source/ui/config/uinums.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/config/uinums.cxx b/sw/source/ui/config/uinums.cxx
index b13461f6b90b..a09a8384f931 100644
--- a/sw/source/ui/config/uinums.cxx
+++ b/sw/source/ui/config/uinums.cxx
@@ -539,7 +539,7 @@ void SwNumRulesWithName::_SwNumFmtGlobal::ChgNumFmt( SwWrtShell& rSh,
for( sal_uInt16 i = 1; i < nArrLen; ++i )
{
pFmt = &rSh.GetCharFmt( i );
- if( COMPARE_EQUAL == pFmt->GetName().CompareTo( sCharFmtName ))
+ if (pFmt->GetName()==sCharFmtName)
// exists, so leave attributes as they are!
break;
pFmt = 0;