summaryrefslogtreecommitdiff
path: root/sw/source/filter/rtf
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-02 11:05:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-02 14:53:50 +0100
commitecf2926ce13db8244a198de9f69bcefcae68b4b6 (patch)
tree9ee745a87431272b6b3ea71a8eee0e52f70c1933 /sw/source/filter/rtf
parent60722c31373daaaf195dbf1ebd3414ca0db696c3 (diff)
convert SvxNumberFormat to rtl::OUString
Diffstat (limited to 'sw/source/filter/rtf')
-rw-r--r--sw/source/filter/rtf/rtfnum.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/rtf/rtfnum.cxx b/sw/source/filter/rtf/rtfnum.cxx
index dbd051c6d226..da74753db95f 100644
--- a/sw/source/filter/rtf/rtfnum.cxx
+++ b/sw/source/filter/rtf/rtfnum.cxx
@@ -1015,21 +1015,21 @@ NUMATTR_SETUNDERLINE:
// Punkt ist, dann will RTF den Punkt als Trenner zwischen den Ebenen
// haben - das haben wir aber schon als default
if( 1 < pCurNumFmt->GetIncludeUpperLevels() &&
- 1 == pCurNumFmt->GetPrefix().Len() &&
- '.' == pCurNumFmt->GetPrefix().GetChar( 0 ) &&
+ 1 == pCurNumFmt->GetPrefix().getLength() &&
+ '.' == pCurNumFmt->GetPrefix()[0] &&
SVX_NUM_CHAR_SPECIAL != pCurNumFmt->GetNumberingType() )
pCurNumFmt->SetPrefix( aEmptyStr );
// falls das ein nicht numerierter Absatz mit ein Prefix-Text mit
// einem Zeichen ist, dann setze den als Bulletzeichen
if( pCurNumFmt->GetCharFmt() && SVX_NUM_NUMBER_NONE == pCurNumFmt->GetNumberingType() &&
- 3 == nListNo && 1 == pCurNumFmt->GetPrefix().Len() )
+ 3 == nListNo && 1 == pCurNumFmt->GetPrefix().getLength() )
{
SwCharFmt* pChFmt = pCurNumFmt->GetCharFmt();
pCurNumFmt->SetNumberingType(SVX_NUM_CHAR_SPECIAL);
pCurNumFmt->SetBulletFont( FindFontOfItem( pChFmt->GetFont() ) );
- pCurNumFmt->SetBulletChar( pCurNumFmt->GetPrefix().GetChar( 0 ) );
+ pCurNumFmt->SetBulletChar( pCurNumFmt->GetPrefix()[0] );
pCurNumFmt->SetPrefix( aEmptyStr );
// den Font oder sogar das gesamte CharFormat loeschen?