summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-13 20:41:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-14 09:13:07 +0100
commit403a75a275d9be8b3cc192b0653b4af3533f1ecc (patch)
tree4cc65298963618b33ccc0e8fdd105462c8bd7d91 /sw
parent8ae46066e6b03e70901bbacf972e6965a43f3c53 (diff)
XubString->OUString
Change-Id: I178f9eb702afb6143c583d5fd54003a427d895fa
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/tblafmt.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index 8343b9848702..fa5e659fe27e 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -767,7 +767,7 @@ void SwTableAutoFmt::UpdateToSet(sal_uInt8 nPos, SfxItemSet& rSet,
rSet.Put( rChg.GetPosture() );
// do not insert empty CJK font
const SvxFontItem& rCJKFont = rChg.GetCJKFont();
- if( rCJKFont.GetStyleName().Len() )
+ if (!rCJKFont.GetStyleName().isEmpty())
{
rSet.Put( rChg.GetCJKFont() );
rSet.Put( rChg.GetCJKHeight() );
@@ -782,7 +782,7 @@ void SwTableAutoFmt::UpdateToSet(sal_uInt8 nPos, SfxItemSet& rSet,
}
// do not insert empty CTL font
const SvxFontItem& rCTLFont = rChg.GetCTLFont();
- if( rCTLFont.GetStyleName().Len() )
+ if (!rCTLFont.GetStyleName().isEmpty())
{
rSet.Put( rChg.GetCTLFont() );
rSet.Put( rChg.GetCTLHeight() );
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index dbae13cff3cb..22e1e603c624 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2771,7 +2771,7 @@ void SwWW8ImplReader::Read_SubF_Ruby( WW8ReadFieldParams& rReadParam)
{
const SvxFontItem &rF = ItemGet<SvxFontItem>(*(*aIter),
GetWhichOfScript(RES_CHRATR_FONT,nScript));
- if (rF.GetFamilyName().Equals(sFontName))
+ if (rF.GetFamilyName().equals(sFontName))
{
pCharFmt=*aIter;
break;