summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/config
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-09 12:02:55 +0200
committerNoel Grandin <noel@peralex.com>2013-10-10 09:19:04 +0200
commit6b25dd2f914a7bdd4d39e21675fcedd049192b73 (patch)
treedf621ce971c31da7916392d40458a5c858130b54 /sw/source/ui/config
parentconvert sw/source/ui/inc/d*.hxx from String to OUString (diff)
downloadcore-6b25dd2f914a7bdd4d39e21675fcedd049192b73.tar.gz
core-6b25dd2f914a7bdd4d39e21675fcedd049192b73.zip
convert sw/source/ui/inc/c*.hxx from String to OUString
Change-Id: I8b8c73a0ba9b1e40549c1832ed6ad5b630d4e620
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r--sw/source/ui/config/optload.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index f1fc397b0a03..00d2170d61d5 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -662,11 +662,11 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ShowEntryHdl)
aCategoryBox.InsertSwEntry(SwBoxEntry(m_sDrawing));
}
- if(pOpt->GetCategory().Len())
+ if(!pOpt->GetCategory().isEmpty())
aCategoryBox.SetText(pOpt->GetCategory());
else
aCategoryBox.SetText(m_sNone);
- if (pOpt->GetCategory().Len() &&
+ if (!pOpt->GetCategory().isEmpty() &&
aCategoryBox.GetEntryPos(OUString(pOpt->GetCategory())) == COMBOBOX_ENTRY_NOTFOUND)
aCategoryBox.InsertEntry(pOpt->GetCategory());
if (aCategoryBox.GetText().isEmpty())
@@ -716,7 +716,7 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ShowEntryHdl)
aLbLevel.SelectEntryPos( nLevelPos );
aEdDelim.SetText(pOpt->GetSeparator());
aNumberingSeparatorED.SetText( pOpt->GetNumSeparator() );
- if(pOpt->GetCharacterStyle().Len())
+ if(!pOpt->GetCharacterStyle().isEmpty())
aCharStyleLB.SelectEntry( pOpt->GetCharacterStyle() );
else
aCharStyleLB.SelectEntryPos( 0 );