summaryrefslogtreecommitdiff
path: root/starmath/source/visitors.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-09-09 08:52:34 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-09-09 08:52:40 +0200
commit6031d34ec26b988853c4b317945b3b4256813cbc (patch)
tree37732eeceb93e6b8d4ba7e1f7b21a5e6a769cc77 /starmath/source/visitors.cxx
parentd8919a1bcca1aa0b18634be918f6bf08c6c55a3f (diff)
Math: OSL_FAIL -> SAL_WARN
And some cleanup. Change-Id: I2e5239a6f7d0dca5855b80752deae6be27c21af6
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 91032b21845c..9305f731fd66 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -477,7 +477,7 @@ SmTmpDevice2::SmTmpDevice2( OutputDevice &rTheDev, bool bUseMap100th_mm ) :
PUSH_LINECOLOR | PUSH_FILLCOLOR | PUSH_TEXTCOLOR );
if ( bUseMap100th_mm && MAP_100TH_MM != rOutDev.GetMapMode( ).GetMapUnit( ) )
{
- OSL_FAIL( "incorrect MapMode?" );
+ SAL_WARN("starmath", "incorrect MapMode?");
rOutDev.SetMapMode( MAP_100TH_MM ); //format for 100% always
}
}