summaryrefslogtreecommitdiff
path: root/starmath/source/visitors.cxx
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2011-06-05 10:08:38 +0200
committerPetr Mladek <pmladek@suse.cz>2011-06-08 18:43:27 +0200
commitb0ceefe1ab8a70645775eb72411a617c0c518722 (patch)
tree4402621b3403a8e8f255f73abcbba3ca58e05990 /starmath/source/visitors.cxx
parenteb4e85a63b459c02060661a187cbd250eca3844a (diff)
Replace DBG_ stuff with OSL_ equivalents in writer
Diffstat (limited to 'starmath/source/visitors.cxx')
-rw-r--r--starmath/source/visitors.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index 8a8341faaa9f..5e8a574eab7b 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -727,7 +727,7 @@ void SmDrawingVisitor::Visit( SmRectangleNode* pNode )
aTmp.Top( ) += nTmpBorderWidth;
aTmp.Bottom( ) -= nTmpBorderWidth;
- DBG_ASSERT( aTmp.GetHeight( ) > 0 && aTmp.GetWidth( ) > 0,
+ OSL_ENSURE( aTmp.GetHeight( ) > 0 && aTmp.GetWidth( ) > 0,
"Sm: leeres Rechteck" );
//! avoid GROWING AND SHRINKING of drawn rectangle when constantly