diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-09 12:02:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-10 09:19:04 +0200 |
commit | 6b25dd2f914a7bdd4d39e21675fcedd049192b73 (patch) | |
tree | df621ce971c31da7916392d40458a5c858130b54 /sw/source/ui/config | |
parent | convert sw/source/ui/inc/d*.hxx from String to OUString (diff) | |
download | core-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.cxx | 6 |
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 ); |