summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2017-09-30 21:52:24 +0000
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-01 15:58:22 +0200
commit50da5d0d1c5bdfbb9a2006e77a02519d0f39740f (patch)
treee37dfd06bfafbfe69fe8845fecf4cf34900ce598 /cui/source
parent22e748e68a87e1b470146eacad374c7dfef74f5a (diff)
simplify some OUString compareTo calls
to either startsWith or == or != Change-Id: I595dd9d89d32134827980c4ba10f88584430137d Reviewed-on: https://gerrit.libreoffice.org/42988 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/numpages.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 4327294ba998..f8e41abbd2e4 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -712,8 +712,7 @@ IMPL_LINK_NOARG(SvxNumPickTabPage, NumSelectHdl_Impl, ValueSet*, void)
aFmt.SetPrefix(OUString());
aFmt.SetSuffix(OUString());
if( !pLevelSettings->sBulletFont.isEmpty() &&
- pLevelSettings->sBulletFont.compareTo(
- rActBulletFont.GetFamilyName()))
+ pLevelSettings->sBulletFont != rActBulletFont.GetFamilyName())
{
//search for the font
if(!pList)