summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/salgdilayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/salgdilayout.cxx')
-rw-r--r--vcl/source/gdi/salgdilayout.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx
index 7c13637fcbe3..3c9e6a0e38af 100644
--- a/vcl/source/gdi/salgdilayout.cxx
+++ b/vcl/source/gdi/salgdilayout.cxx
@@ -247,7 +247,7 @@ basegfx::B2DPoint SalGraphics::mirror( const basegfx::B2DPoint& i_rPoint, const
else
w = GetGraphicsWidth();
- DBG_ASSERT( w, "missing graphics width" );
+ SAL_WARN_IF( !w, "vcl", "missing graphics width" );
basegfx::B2DPoint aRet( i_rPoint );
if( w )
@@ -273,7 +273,7 @@ basegfx::B2DPolygon SalGraphics::mirror( const basegfx::B2DPolygon& i_rPoly, con
else
w = GetGraphicsWidth();
- DBG_ASSERT( w, "missing graphics width" );
+ SAL_WARN_IF( !w, "vcl", "missing graphics width" );
basegfx::B2DPolygon aRet;
if( w )
@@ -303,7 +303,7 @@ basegfx::B2DPolyPolygon SalGraphics::mirror( const basegfx::B2DPolyPolygon& i_rP
else
w = GetGraphicsWidth();
- DBG_ASSERT( w, "missing graphics width" );
+ SAL_WARN_IF( !w, "vcl", "missing graphics width" );
basegfx::B2DPolyPolygon aRet;
if( w )