summaryrefslogtreecommitdiff
path: root/starmath/source/visitors.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:09:12 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:06:08 +0100
commitb59db0e69e83d694f6cb0bade4f567fe0da536a5 (patch)
tree05805d98ed0d80f75ce07177241ff04cbe7caa1d /starmath/source/visitors.cxx
parent4098e3e81f28b0e89003037117dd2710f31e6a49 (diff)
Move DBG_ERROR to OSL_FAIL
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 3015765b6323..d89abb8a7955 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -496,7 +496,7 @@ SmTmpDevice2::SmTmpDevice2( OutputDevice &rTheDev, bool bUseMap100th_mm ) :
PUSH_LINECOLOR | PUSH_FILLCOLOR | PUSH_TEXTCOLOR );
if ( bUseMap100th_mm && MAP_100TH_MM != rOutDev.GetMapMode( ).GetMapUnit( ) )
{
- DBG_ERROR( "incorrect MapMode?" );
+ OSL_FAIL( "incorrect MapMode?" );
rOutDev.SetMapMode( MAP_100TH_MM ); //format for 100% always
}
}