diff options
Diffstat (limited to 'xmloff/source/text/XMLTextFrameContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLTextFrameContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index d0cc7c1b9ab0..c304bfb74526 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -547,7 +547,7 @@ void XMLTextFrameContext_Impl::Create( bool /*bHRefOrBase64*/ ) case XML_TEXT_FRAME_GRAPHIC: sServiceName = sGraphicServiceName; break; } Reference<XInterface> xIfc = xFactory->createInstance( sServiceName ); - DBG_ASSERT( xIfc.is(), "couldn't create frame" ); + SAL_WARN_IF( !xIfc.is(), "xmloff", "couldn't create frame" ); if( xIfc.is() ) xPropSet.set( xIfc, UNO_QUERY ); } |