diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:23:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:25 +0100 |
commit | eb0f855f8cd893d4f9ed99028f58f138ccc1211a (patch) | |
tree | 11a3df954cb011511851eb9f86e69dcf2b4e0585 /editeng/source/rtf | |
parent | 0f867ad00c56059e347a9e60b50f29b04e9803a1 (diff) |
editeng: Use appropriate OUString functions on string constants
Change-Id: Iab879390c18a3ce2c5bfc49548ca273ce0b907da
Diffstat (limited to 'editeng/source/rtf')
-rw-r--r-- | editeng/source/rtf/svxrtf.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx index d67b49ec0e6b..6e76371de495 100644 --- a/editeng/source/rtf/svxrtf.cxx +++ b/editeng/source/rtf/svxrtf.cxx @@ -138,7 +138,7 @@ SvParserState SvxRTFParser::CallParser() bNewGroup = false; nDfltFont = 0; - sBaseURL = ""; + sBaseURL.clear(); // generate the correct WhichId table from the set WhichIds. BuildWhichTbl(); @@ -575,8 +575,8 @@ void SvxRTFParser::ReadFontTable() aFontTbl.insert( nInsFontNo, pFont ); pFont = new vcl::Font(); pFont->SetCharSet( nSystemChar ); - sAltNm = ""; - sFntNm = ""; + sAltNm.clear(); + sFntNm.clear(); } } // the last one we have to delete manually @@ -600,7 +600,7 @@ void SvxRTFParser::ReadOLEData() OUString& SvxRTFParser::GetTextToEndGroup( OUString& rStr ) { - rStr = ""; + rStr.clear(); int _nOpenBrakets = 1, nToken; // the first was already detected earlier!! while( _nOpenBrakets && IsParserWorking() ) |