summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source')
-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) )
{