diff options
author | Jacek Wolszczak <shutdownrunner@gmail.com> | 2011-05-21 16:01:56 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-27 06:03:38 +0200 |
commit | 2fdfcbfad3a6d4e85a2ffa1206d1dd06dc9699a5 (patch) | |
tree | 5994165df230e5db4a955f548c1903d4b6216490 /sc/source/filter/excel/xlescher.cxx | |
parent | 8b569e74d6b671c13a57c5ad72ed360d194b2dda (diff) |
Replace DBG_* with OSL_* in sc/source/filter
Diffstat (limited to 'sc/source/filter/excel/xlescher.cxx')
-rw-r--r-- | sc/source/filter/excel/xlescher.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xlescher.cxx b/sc/source/filter/excel/xlescher.cxx index 7c531a64d018..ddfb1da28231 100644 --- a/sc/source/filter/excel/xlescher.cxx +++ b/sc/source/filter/excel/xlescher.cxx @@ -88,7 +88,7 @@ double lclGetTwipsScale( MapUnit eMapUnit ) { case MAP_TWIP: fScale = 72 / POINTS_PER_INCH; break; // Calc twips <-> real twips case MAP_100TH_MM: fScale = HMM_PER_TWIPS; break; // Calc twips <-> 1/100mm - default: DBG_ERRORFILE( "lclGetTwipsScale - map unit not implemented" ); + default: OSL_FAIL( "lclGetTwipsScale - map unit not implemented" ); } return fScale; } @@ -223,7 +223,7 @@ void XclObjAnchor::SetRect( const Size& rPageSize, sal_Int32 nScaleX, sal_Int32 { case MAP_TWIP: fScale = HMM_PER_TWIPS; break; // Calc twips -> 1/100mm case MAP_100TH_MM: fScale = 1.0; break; // Calc 1/100mm -> 1/100mm - default: DBG_ERRORFILE( "XclObjAnchor::SetRect - map unit not implemented" ); + default: OSL_FAIL( "XclObjAnchor::SetRect - map unit not implemented" ); } /* In objects with DFF client anchor, the position of the shape is stored |