summaryrefslogtreecommitdiff
path: root/sal
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 /sal
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 'sal')
-rw-r--r--sal/osl/all/debugbase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/all/debugbase.cxx b/sal/osl/all/debugbase.cxx
index d92d92dd9b09..8bc0c4619d3e 100644
--- a/sal/osl/all/debugbase.cxx
+++ b/sal/osl/all/debugbase.cxx
@@ -120,9 +120,9 @@ bool SAL_CALL osl_detail_ObjectRegistry_checkObjectCount(
bool const bRet = (nSize == nExpected);
if (! bRet) {
rtl::OStringBuffer buf;
- buf.append( RTL_CONSTASCII_STRINGPARAM("unexpected number of ") );
+ buf.append( "unexpected number of " );
buf.append( rData.m_pName );
- buf.append( RTL_CONSTASCII_STRINGPARAM(": ") );
+ buf.append( ": " );
buf.append( static_cast<sal_Int64>(nSize) );
buf.append("; Expected: ");
buf.append( static_cast<sal_Int64>(nExpected) );