summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/docxattributeoutput.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-12-06 12:41:46 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-12-06 12:42:50 +0100
commit4839c0ab201fd4dd7b32a5d6c9f6e202a88ad09d (patch)
tree1cbdafa0ad5ffc39f8f576ed4d81955afac72099 /sw/source/filter/ww8/docxattributeoutput.cxx
parent495111b249e1ef17be96dbdfbc5a13de6d5dd5f9 (diff)
sw: kill RTL_CONSTASCII_STRINGPARAM and friends in ww8 filters
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.cxx')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index b4dbee9b670d..8414e6032df9 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -847,9 +847,9 @@ void DocxAttributeOutput::EndField_Impl( FieldInfos& rInfos )
m_pSerializer->endElementNS( XML_w, XML_r );
rInfos.sCmd = FieldString( ww::eREF );
- rInfos.sCmd.APPEND_CONST_ASC( "\"" );
+ rInfos.sCmd.AppendAscii( "\"" );
rInfos.sCmd += m_sFieldBkm;
- rInfos.sCmd.APPEND_CONST_ASC( "\" " );
+ rInfos.sCmd.AppendAscii( "\" " );
// Clean the field bookmark data to avoid infinite loop
m_sFieldBkm = String( );
@@ -1166,16 +1166,16 @@ bool DocxAttributeOutput::AnalyzeURL( const String& rUrl, const String& rTarget,
else
{
String sFld( FieldString( ww::eHYPERLINK ) );
- sFld.APPEND_CONST_ASC( "\"" );
+ sFld.AppendAscii( "\"" );
sURL.Insert( sFld, 0 );
sURL += '\"';
}
if ( sMark.Len() )
- ( ( sURL.APPEND_CONST_ASC( " \\l \"" ) ) += sMark ) += '\"';
+ ( ( sURL.AppendAscii( " \\l \"" ) ) += sMark ) += '\"';
if ( rTarget.Len() )
- ( sURL.APPEND_CONST_ASC( " \\n " ) ) += rTarget;
+ ( sURL.AppendAscii( " \\n " ) ) += rTarget;
}
*pLinkURL = sURL;
@@ -3545,9 +3545,9 @@ void DocxAttributeOutput::RefField( const SwField& rFld, const String& rRef )
if ( nType == RES_GETEXPFLD )
{
String sCmd = FieldString( ww::eREF );
- sCmd.APPEND_CONST_ASC( "\"" );
+ sCmd.AppendAscii( "\"" );
sCmd += rRef;
- sCmd.APPEND_CONST_ASC( "\" " );
+ sCmd.AppendAscii( "\" " );
m_rExport.OutputField( &rFld, ww::eREF, sCmd );
}