diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-20 10:05:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-20 10:07:32 +0200 |
commit | 1730df0127ff230cf6c89f4815f5b59c8603fa2b (patch) | |
tree | 4d5b32ea155c173fe3cfd905bb148e0998286d9a /svx/source/svdraw/svdpage.cxx | |
parent | 52bbd9cc00b5a1e15e4f96b5c5fa5e75855692c1 (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 'svx/source/svdraw/svdpage.cxx')
-rw-r--r-- | svx/source/svdraw/svdpage.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index addf15824787..d1deac329cbc 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -195,21 +195,19 @@ void SdrObjList::CopyObjects(const SdrObjList& rSrcList) } } else { #ifdef DBG_UTIL - OStringBuffer aStr(RTL_CONSTASCII_STRINGPARAM( - "SdrObjList::operator=(): Error when cloning ")); + OStringBuffer aStr("SdrObjList::operator=(): Error when cloning "); if(nCloneErrCnt == 1) { - aStr.append(RTL_CONSTASCII_STRINGPARAM("a drawing object.")); + aStr.append("a drawing object."); } else { aStr.append(static_cast<sal_Int32>(nCloneErrCnt)); - aStr.append(RTL_CONSTASCII_STRINGPARAM(" drawing objects.")); + aStr.append(" drawing objects."); } - aStr.append(RTL_CONSTASCII_STRINGPARAM( - " Not copying connectors.")); + aStr.append(" Not copying connectors."); OSL_FAIL(aStr.getStr()); #endif |