summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/docfac.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/docfac.cxx')
-rw-r--r--sfx2/source/doc/docfac.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx
index 6a26e7b8420f..3fcbcdc4a77d 100644
--- a/sfx2/source/doc/docfac.cxx
+++ b/sfx2/source/doc/docfac.cxx
@@ -108,10 +108,7 @@ void SfxObjectFactory::RegisterViewFactory
{
if ( (*it)->GetAPIViewName() != sViewName )
continue;
- OStringBuffer aStr("SfxObjectFactory::RegisterViewFactory: duplicate view name '");
- aStr.append(OUStringToOString(sViewName, RTL_TEXTENCODING_ASCII_US));
- aStr.append("'!");
- OSL_FAIL(aStr.getStr());
+ SAL_WARN( "sfx", "SfxObjectFactory::RegisterViewFactory: duplicate view name: " << sViewName );
break;
}
}