summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-02 10:47:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-02 14:53:50 +0100
commit60722c31373daaaf195dbf1ebd3414ca0db696c3 (patch)
tree486d0c23e30b81b601a487eeb510df814800e794 /sw/source/filter/html
parente9a467cafbffb380c54e90b24f9ee20cd4adc7e8 (diff)
convert Suffix/Prefix to rtl::OUString
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/htmlftn.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlftn.cxx b/sw/source/filter/html/htmlftn.cxx
index ba2c5a721c05..4ca1581d3233 100644
--- a/sw/source/filter/html/htmlftn.cxx
+++ b/sw/source/filter/html/htmlftn.cxx
@@ -515,15 +515,15 @@ sal_uInt16 lcl_html_fillEndNoteInfo( const SwEndNoteInfo& rInfo,
}
if( rInfo.nFtnOffset > 0 )
{
- pParts[1] = String::CreateFromInt32( (sal_Int32)rInfo.nFtnOffset );
+ pParts[1] = rtl::OUString::valueOf(static_cast<sal_Int32>(rInfo.nFtnOffset));
nParts = 2;
}
- if( rInfo.GetPrefix().Len() > 0 )
+ if( !rInfo.GetPrefix().isEmpty() )
{
pParts[2] = rInfo.GetPrefix();
nParts = 3;
}
- if( rInfo.GetSuffix().Len() > 0 )
+ if( !rInfo.GetSuffix().isEmpty() )
{
pParts[3] = rInfo.GetSuffix();
nParts = 4;