diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-06-12 11:39:15 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-17 06:39:30 +0000 |
commit | e6c004dd9f24c32f5e7468182a5e8d42293ec7b6 (patch) | |
tree | 7128862b7cfe1770d07ef2b3613a52ea26b410c6 /xmloff/source/text/XMLTextFrameContext.cxx | |
parent | 9c79945ca62b18213728cdd23d9f390304aee1de (diff) |
convert DBG_ASSERT in xmloff
Change-Id: I2f4bbbef451026fc34638e17fa29b6db2c14d850
Reviewed-on: https://gerrit.libreoffice.org/26191
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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 ); } |