diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/xml/xmltble.cxx | 8 | ||||
-rw-r--r-- | sw/source/filter/xml/xmltexte.cxx | 12 | ||||
-rw-r--r-- | sw/source/ui/utlui/attrdesc.cxx | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/filter/xml/xmltble.cxx b/sw/source/filter/xml/xmltble.cxx index 470c5c2b4154..a1d36049ac68 100644 --- a/sw/source/filter/xml/xmltble.cxx +++ b/sw/source/filter/xml/xmltble.cxx @@ -307,7 +307,7 @@ static void lcl_xmltble_appendBoxPrefix( OUStringBuffer& rBuffer, sal_uInt32 nCol, sal_uInt32 nRow, sal_Bool bTop ) { rBuffer.append( rNamePrefix ); - rBuffer.append( (sal_Unicode)'.' ); + rBuffer.append( '.' ); if( bTop ) { OUString sTmp; @@ -317,7 +317,7 @@ static void lcl_xmltble_appendBoxPrefix( OUStringBuffer& rBuffer, else { rBuffer.append( (sal_Int32)(nCol + 1)); - rBuffer.append( (sal_Unicode)'.' ); + rBuffer.append( '.' ); } rBuffer.append( (sal_Int32)(nRow + 1)); } @@ -541,7 +541,7 @@ void SwXMLExport::ExportTableColumnStyle( const SwXMLTableColumn_Impl& rCol ) if( rCol.GetRelWidth() ) { sValue.append( (sal_Int32)rCol.GetRelWidth() ); - sValue.append( (sal_Unicode)'*' ); + sValue.append( '*' ); AddAttribute( XML_NAMESPACE_STYLE, XML_REL_COLUMN_WIDTH, sValue.makeStringAndClear() ); } @@ -618,7 +618,7 @@ void SwXMLExport::ExportTableLinesAutoStyles( const SwTableLines& rLines, else { sBuffer.append( rNamePrefix ); - sBuffer.append( (sal_Unicode)'.' ); + sBuffer.append( '.' ); if( bTop ) { OUString sTmp; diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index 6e4223f62a3b..17105e61411c 100644 --- a/sw/source/filter/xml/xmltexte.cxx +++ b/sw/source/filter/xml/xmltexte.cxx @@ -149,11 +149,11 @@ void SwXMLTextParagraphExport::exportStyleContent( if( eFunc != XML_TOKEN_INVALID ) { sBuffer.append( GetXMLToken(eFunc) ); - sBuffer.append( (sal_Unicode)'(' ); - sBuffer.append( (sal_Unicode)')' ); + sBuffer.append( '(' ); + sBuffer.append( ')' ); if( !sVal.isEmpty() ) { - sBuffer.append( (sal_Unicode)'=' ); + sBuffer.append( '=' ); sBuffer.append( sVal ); } @@ -511,11 +511,11 @@ void SwXMLTextParagraphExport::_exportTextEmbedded( case '\\': if( aBuffer.isEmpty() ) { - aBuffer.append( (sal_Unicode)'\'' ); + aBuffer.append( '\'' ); aBuffer.append( sRange.copy( 0, i ) ); } if( '\'' == c || '\\' == c ) - aBuffer.append( (sal_Unicode)'\\' ); + aBuffer.append( '\\' ); // no break! default: if( !aBuffer.isEmpty() ) @@ -524,7 +524,7 @@ void SwXMLTextParagraphExport::_exportTextEmbedded( } if( !aBuffer.isEmpty() ) { - aBuffer.append( (sal_Unicode)'\'' ); + aBuffer.append( '\'' ); sRange = aBuffer.makeStringAndClear(); } diff --git a/sw/source/ui/utlui/attrdesc.cxx b/sw/source/ui/utlui/attrdesc.cxx index 572e0584319d..dadb401cbc3f 100644 --- a/sw/source/ui/utlui/attrdesc.cxx +++ b/sw/source/ui/utlui/attrdesc.cxx @@ -1122,7 +1122,7 @@ SfxItemPresentation SwGammaGrf::GetPresentation( case SFX_ITEM_PRESENTATION_COMPLETE: if( SFX_ITEM_PRESENTATION_COMPLETE == ePres ) aText.append(SW_RESSTR(STR_GAMMA)); - aText.append(GetValue()).append(static_cast<sal_Unicode>('%')); + aText.append(GetValue()).append('%'); break; default: |