summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-20 10:05:20 +0200
committerNoel Grandin <noel@peralex.com>2013-11-20 10:07:32 +0200
commit1730df0127ff230cf6c89f4815f5b59c8603fa2b (patch)
tree4d5b32ea155c173fe3cfd905bb148e0998286d9a /svtools/source/svhtml
parent52bbd9cc00b5a1e15e4f96b5c5fa5e75855692c1 (diff)
remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::append
Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r--svtools/source/svhtml/htmlout.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index 4ad0a8542711..913e4efa0655 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -613,10 +613,10 @@ SvStream& HTMLOutFuncs::Out_ImageMap( SvStream& rStream,
OStringBuffer sOut;
sOut.append('<')
- .append(RTL_CONSTASCII_STRINGPARAM(OOO_STRING_SVTOOLS_HTML_map))
+ .append(OOO_STRING_SVTOOLS_HTML_map)
.append(' ')
- .append(RTL_CONSTASCII_STRINGPARAM(OOO_STRING_SVTOOLS_HTML_O_name))
- .append(RTL_CONSTASCII_STRINGPARAM("=\""));
+ .append(OOO_STRING_SVTOOLS_HTML_O_name)
+ .append("=\"");
rStream << sOut.makeStringAndClear().getStr();
Out_String( rStream, rOutName, eDestEnc, pNonConvertableChars );
rStream << "\">";
@@ -791,13 +791,13 @@ SvStream& HTMLOutFuncs::OutScript( SvStream& rStrm,
// Script wird komplett nicht eingerueckt!
OStringBuffer sOut;
sOut.append('<')
- .append(RTL_CONSTASCII_STRINGPARAM(OOO_STRING_SVTOOLS_HTML_script));
+ .append(OOO_STRING_SVTOOLS_HTML_script);
if( !rLanguage.isEmpty() )
{
sOut.append(' ')
- .append(RTL_CONSTASCII_STRINGPARAM(OOO_STRING_SVTOOLS_HTML_O_language))
- .append(RTL_CONSTASCII_STRINGPARAM("=\""));
+ .append(OOO_STRING_SVTOOLS_HTML_O_language)
+ .append("=\"");
rStrm << sOut.makeStringAndClear().getStr();
Out_String( rStrm, rLanguage, eDestEnc, pNonConvertableChars );
sOut.append('\"');
@@ -847,8 +847,8 @@ SvStream& HTMLOutFuncs::OutScript( SvStream& rStrm,
{
if( pSBLibrary )
{
- sOut.append(RTL_CONSTASCII_STRINGPARAM("' "))
- .append(RTL_CONSTASCII_STRINGPARAM(OOO_STRING_SVTOOLS_HTML_SB_library))
+ sOut.append("' ")
+ .append(OOO_STRING_SVTOOLS_HTML_SB_library)
.append(' ')
.append(OUStringToOString(*pSBLibrary, eDestEnc));
rStrm << sOut.makeStringAndClear().getStr() << SAL_NEWLINE_STRING;
@@ -856,8 +856,8 @@ SvStream& HTMLOutFuncs::OutScript( SvStream& rStrm,
if( pSBModule )
{
- sOut.append(RTL_CONSTASCII_STRINGPARAM("' "))
- .append(RTL_CONSTASCII_STRINGPARAM(OOO_STRING_SVTOOLS_HTML_SB_module))
+ sOut.append("' ")
+ .append(OOO_STRING_SVTOOLS_HTML_SB_module)
.append(' ')
.append(OUStringToOString(*pSBModule, eDestEnc));
rStrm << sOut.makeStringAndClear().getStr() << SAL_NEWLINE_STRING;
@@ -939,14 +939,14 @@ OString HTMLOutFuncs::CreateTableDataOptionsValNum(
OString sTmp(OUStringToOString(aValStr, eDestEnc));
aStrTD.append(' ').
append(OOO_STRING_SVTOOLS_HTML_O_SDval).
- append(RTL_CONSTASCII_STRINGPARAM("=\"")).
+ append("=\"").
append(sTmp).append('\"');
}
if ( bValue || nFormat )
{
aStrTD.append(' ').
append(OOO_STRING_SVTOOLS_HTML_O_SDnum).
- append(RTL_CONSTASCII_STRINGPARAM("=\"")).
+ append("=\"").
append(static_cast<sal_Int32>(
Application::GetSettings().GetLanguageTag().getLanguageType())).
append(';'); // Language fuer Format 0