diff options
author | Joren De Cuyper <jorendc@libreoffice.org> | 2014-07-30 00:11:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-07-30 08:45:42 +0000 |
commit | 4a1efd50e28ed9a38820ff8e21a21475a9096ecc (patch) | |
tree | 94ac76a520f328e09050a4ab25e50808f71d4342 | |
parent | 3e9bddfe6879580353b712d61308852e637f2e3d (diff) |
Remove redundant sal_Char *
Change-Id: I82c80134edaf34f1392d06b0bb68ff092652524b
Reviewed-on: https://gerrit.libreoffice.org/10634
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 466178104ee1..1b08aea6eb08 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -6584,18 +6584,18 @@ static void impl_WriteTabElement( FSHelperPtr pSerializer, switch (rTab.GetAdjustment()) { case SVX_TAB_ADJUST_RIGHT: - pTabElementAttrList->add( FSNS( XML_w, XML_val ), OString( (sal_Char *)"right") ); + pTabElementAttrList->add( FSNS( XML_w, XML_val ), OString( "right" ) ); break; case SVX_TAB_ADJUST_DECIMAL: - pTabElementAttrList->add( FSNS( XML_w, XML_val ), OString( (sal_Char *)"decimal") ); + pTabElementAttrList->add( FSNS( XML_w, XML_val ), OString( "decimal" ) ); break; case SVX_TAB_ADJUST_CENTER: - pTabElementAttrList->add( FSNS( XML_w, XML_val ), OString( (sal_Char *)"center") ); + pTabElementAttrList->add( FSNS( XML_w, XML_val ), OString( "center" ) ); break; case SVX_TAB_ADJUST_DEFAULT: case SVX_TAB_ADJUST_LEFT: default: - pTabElementAttrList->add( FSNS( XML_w, XML_val ), OString( (sal_Char *)"left") ); + pTabElementAttrList->add( FSNS( XML_w, XML_val ), OString( "left" ) ); break; } @@ -6606,15 +6606,15 @@ static void impl_WriteTabElement( FSHelperPtr pSerializer, sal_Unicode cFillChar = rTab.GetFill(); if ('.' == cFillChar ) - pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( (sal_Char *) "dot" ) ); + pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( "dot" ) ); else if ( '-' == cFillChar ) - pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( (sal_Char *) "hyphen" ) ); + pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( "hyphen" ) ); else if ( sal_Unicode(0xB7) == cFillChar ) // middle dot - pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( (sal_Char *) "middleDot" ) ); + pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( "middleDot" ) ); else if ( '_' == cFillChar ) - pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( (sal_Char *) "underscore" ) ); + pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( "underscore" ) ); else - pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( (sal_Char *) "none" ) ); + pTabElementAttrList->add( FSNS( XML_w, XML_leader ), OString( "none" ) ); pSerializer->singleElementNS( XML_w, XML_tab, pTabElementAttrList ); } |