summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-10 14:58:10 +0200
committerNoel Grandin <noel@peralex.com>2013-10-15 12:25:37 +0200
commit5a2e72a8f471d5f7b007f4ebf33a55d1c5a3235f (patch)
treef64ab1ad0610ea21c50366f0244a8b467e2e03ac /sw/source/filter
parentd0da700e3e233dcc44b458207fcfaa2b8e2749e8 (diff)
convert sw/inc/ftninfo.hxx from String to OUString
Change-Id: I90084b10c09be6eac80a2e6f44775ec7172f61cd
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/html/htmlftn.cxx4
-rw-r--r--sw/source/filter/ww8/wrtw8sty.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmlftn.cxx b/sw/source/filter/html/htmlftn.cxx
index 94f0194f7ab4..4083f436d46f 100644
--- a/sw/source/filter/html/htmlftn.cxx
+++ b/sw/source/filter/html/htmlftn.cxx
@@ -564,12 +564,12 @@ void SwHTMLWriter::OutFootEndNoteInfo()
aParts[5] = "C";
nParts = 6;
}
- if( rInfo.aQuoVadis.Len() > 0 )
+ if( !rInfo.aQuoVadis.isEmpty() )
{
aParts[6] = rInfo.aQuoVadis;
nParts = 7;
}
- if( rInfo.aErgoSum.Len() > 0 )
+ if( !rInfo.aErgoSum.isEmpty() )
{
aParts[7] = rInfo.aErgoSum;
nParts = 8;
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index 0b3d60fc583c..cd918581170e 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -1174,8 +1174,8 @@ void WW8_WrPlcSepx::WriteFtnEndTxt( WW8Export& rWrt, sal_uLong nCpStt )
{
sal_uInt8 nInfoFlags = 0;
const SwFtnInfo& rInfo = rWrt.pDoc->GetFtnInfo();
- if( rInfo.aErgoSum.Len() ) nInfoFlags |= 0x02;
- if( rInfo.aQuoVadis.Len() ) nInfoFlags |= 0x04;
+ if( !rInfo.aErgoSum.isEmpty() ) nInfoFlags |= 0x02;
+ if( !rInfo.aQuoVadis.isEmpty() ) nInfoFlags |= 0x04;
sal_uInt8 nEmptyStt = rWrt.bWrtWW8 ? 0 : 6;
if( nInfoFlags )