summaryrefslogtreecommitdiff
path: root/xmloff/source/style/backhdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/backhdl.cxx')
-rw-r--r--xmloff/source/style/backhdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/backhdl.cxx b/xmloff/source/style/backhdl.cxx
index 3d38bd7b5ac2..b6dde63c9cdf 100644
--- a/xmloff/source/style/backhdl.cxx
+++ b/xmloff/source/style/backhdl.cxx
@@ -247,7 +247,7 @@ void XMLBackGraphicPositionPropHdl::MergeXMLVertPos( style::GraphicLocation& ePo
void XMLBackGraphicPositionPropHdl::MergeXMLHoriPos( style::GraphicLocation& ePos, style::GraphicLocation eHori )
{
- DBG_ASSERT( style::GraphicLocation_LEFT_MIDDLE==eHori || style::GraphicLocation_MIDDLE_MIDDLE==eHori || style::GraphicLocation_RIGHT_MIDDLE==eHori,
+ SAL_WARN_IF( !(style::GraphicLocation_LEFT_MIDDLE==eHori || style::GraphicLocation_MIDDLE_MIDDLE==eHori || style::GraphicLocation_RIGHT_MIDDLE==eHori), "xmloff",
"lcl_frmitems_MergeXMLHoriPos: vertical pos must be middle" );
switch( ePos )