Kaydet (Commit) 6266efb0 authored tarafından Noel Grandin's avatar Noel Grandin

some small RTL_CONSTASCII_STRINGPARAM cleanups

Change-Id: Ia701b174288647d3451fbb487d46882452ded821
üst 856ceb2c
......@@ -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
......
......@@ -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) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment