summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-05 12:02:59 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:28 +0200
commitaf40ffdcef60c65437df4749c8bb2ad24356d1c2 (patch)
treeae6279c248489ff1fd956023635d4563b7752e26 /editeng
parent74bea5b0ab6bcf0eaaa50c8f529f1ea2e96167cf (diff)
convert include/editeng/svxrtf.hxx from String to OUString
Change-Id: I4251db20727a987a36bbdb48e423aed95d3b9011
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/rtf/svxrtf.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index a62554438f68..893c2d10ae7e 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -140,7 +140,7 @@ SvParserState SvxRTFParser::CallParser()
bNewGroup = sal_False;
nDfltFont = 0;
- sBaseURL.Erase();
+ sBaseURL = "";
// generate the correct WhichId table from the set WhichIds.
BuildWhichTbl();
@@ -600,9 +600,9 @@ void SvxRTFParser::ReadOLEData()
SvRTFParser::ReadOLEData();
}
-String& SvxRTFParser::GetTextToEndGroup( String& rStr )
+OUString& SvxRTFParser::GetTextToEndGroup( OUString& rStr )
{
- rStr.Erase( 0 );
+ rStr = "";
int _nOpenBrakets = 1, nToken; // the first was already detected earlier!!
while( _nOpenBrakets && IsParserWorking() )
@@ -666,7 +666,7 @@ void SvxRTFParser::ReadInfo( const sal_Char* pChkForVerNo )
int _nOpenBrakets = 1, nToken; // the first was already detected earlier!!
DBG_ASSERT(m_xDocProps.is(),
"SvxRTFParser::ReadInfo: no DocumentProperties");
- String sStr, sComment;
+ OUString sStr, sComment;
long nVersNo = 0;
while( _nOpenBrakets && IsParserWorking() )
@@ -758,7 +758,7 @@ void SvxRTFParser::ReadInfo( const sal_Char* pChkForVerNo )
}
if( pChkForVerNo &&
- COMPARE_EQUAL == sComment.CompareToAscii( pChkForVerNo ))
+ sComment == OUString::createFromAscii( pChkForVerNo ) )
nVersionNo = nVersNo;
SkipToken( -1 ); // the closing brace is evaluated "above"