diff options
Diffstat (limited to 'sfx2/source/doc/docfac.cxx')
-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; } |