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 /sfx2/source/doc | |
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 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/docfac.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx index 67de74486ea9..fcbabc4fcf01 100644 --- a/sfx2/source/doc/docfac.cxx +++ b/sfx2/source/doc/docfac.cxx @@ -151,10 +151,9 @@ void SfxObjectFactory::RegisterViewFactory { if ( (*it)->GetAPIViewName() != sViewName ) continue; - OStringBuffer aStr(RTL_CONSTASCII_STRINGPARAM( - "SfxObjectFactory::RegisterViewFactory: duplicate view name '")); + OStringBuffer aStr("SfxObjectFactory::RegisterViewFactory: duplicate view name '"); aStr.append(OUStringToOString(sViewName, RTL_TEXTENCODING_ASCII_US)); - aStr.append(RTL_CONSTASCII_STRINGPARAM("'!")); + aStr.append("'!"); OSL_FAIL(aStr.getStr()); break; } |