summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/source/sidebar/nbdtmg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx
index df87e2242620..629f4ba26523 100644
--- a/svx/source/sidebar/nbdtmg.cxx
+++ b/svx/source/sidebar/nbdtmg.cxx
@@ -793,7 +793,7 @@ void OutlineTypeMgr::ApplyNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uInt1
if(aFmt.GetNumberingType() == SVX_NUM_CHAR_SPECIAL)
{
if( pLevelSettings->sBulletFont.getLength() &&
- pLevelSettings->sBulletFont.compareTo(rActBulletFont.GetFamilyName()))
+ pLevelSettings->sBulletFont != rActBulletFont.GetFamilyName() )
{
//search for the font
if(!pList)