summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-21 13:48:51 +0200
committerNoel Grandin <noel@peralex.com>2013-11-22 08:07:18 +0200
commit6266efb0fe8cd52ee908d5d36f1de322735fe8bc (patch)
tree6a6972e2f24060ebe723d17bb6a842064cd081bc /sfx2
parent856ceb2cc5d78c36c7a8fc6118254d85f990d7e6 (diff)
some small RTL_CONSTASCII_STRINGPARAM cleanups
Change-Id: Ia701b174288647d3451fbb487d46882452ded821
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/app.cxx3
-rw-r--r--sfx2/source/doc/oleprops.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index e442875a9706..dcc48f942647 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -196,8 +196,7 @@ SfxApplication::SfxApplication()
#ifdef DBG_UTIL
if( !bOk )
{
- OStringBuffer aStr(
- RTL_CONSTASCII_STRINGPARAM("No DDE-Service possible. Error: "));
+ OStringBuffer aStr("No DDE-Service possible. Error: ");
if( GetDdeService() )
aStr.append(static_cast<sal_Int32>(GetDdeService()->GetError()));
else
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx
index 3915ae423506..1112a4dd1e36 100644
--- a/sfx2/source/doc/oleprops.cxx
+++ b/sfx2/source/doc/oleprops.cxx
@@ -316,8 +316,7 @@ OUString SfxOleStringHelper::ImplLoadString8( SvStream& rStrm ) const
rStrm >> nSize;
// size field includes trailing NUL character
DBG_ASSERT( (0 < nSize) && (nSize <= 0xFFFF),
- OStringBuffer(RTL_CONSTASCII_STRINGPARAM(
- "SfxOleStringHelper::ImplLoadString8 - invalid string of len ")).
+ OStringBuffer("SfxOleStringHelper::ImplLoadString8 - invalid string of len ").
append(nSize).getStr() );
if( (0 < nSize) && (nSize <= 0xFFFF) )
{