summaryrefslogtreecommitdiff
path: root/framework/source/fwe
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-19 17:06:06 +0200
committerNoel Grandin <noel@peralex.com>2013-11-20 10:07:32 +0200
commit52bbd9cc00b5a1e15e4f96b5c5fa5e75855692c1 (patch)
tree72d0d1d16806f1c785a4f79ea2c0cdfe54bb8101 /framework/source/fwe
parent3af99e4d59d89c343965a928681a30f36b1007d2 (diff)
remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii calls
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
Diffstat (limited to 'framework/source/fwe')
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx
index dd301e6ad653..b7f56a1ea6de 100644
--- a/framework/source/fwe/helper/titlehelper.cxx
+++ b/framework/source/fwe/helper/titlehelper.cxx
@@ -373,7 +373,7 @@ void TitleHelper::impl_updateTitleForModel (const css::uno::Reference< css::fram
if (nLeasedNumber != css::frame::UntitledNumbersConst::INVALID_NUMBER)
sNewTitle.append ((::sal_Int32)nLeasedNumber);
else
- sNewTitle.appendAscii ("?");
+ sNewTitle.appendAscii("?");
sTitle = sNewTitle.makeStringAndClear ();
}
@@ -522,7 +522,7 @@ void TitleHelper::impl_appendProductName (OUStringBuffer& sTitle)
if (!name.isEmpty())
{
if (!sTitle.isEmpty())
- sTitle.appendAscii(RTL_CONSTASCII_STRINGPARAM(" - "));
+ sTitle.append(" - ");
sTitle.append(name);
}
}
@@ -569,9 +569,9 @@ void TitleHelper::impl_appendDebugVersion (OUStringBuffer& sTitle)
sTitle.append(version);
OUString sDefault("development");
OUString sVersion = ::utl::Bootstrap::getBuildIdData(sDefault);
- sTitle.appendAscii(RTL_CONSTASCII_STRINGPARAM(" ["));
+ sTitle.append(" [");
sTitle.append(sVersion);
- sTitle.appendAscii(RTL_CONSTASCII_STRINGPARAM("]"));
+ sTitle.append("]");
}
#else
void TitleHelper::impl_appendDebugVersion (OUStringBuffer&)