summaryrefslogtreecommitdiff
path: root/editeng/source/items/itemtype.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:07:44 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:04:37 +0100
commit65c053ca1a5a8c7318ab1e42cdde2d540a283673 (patch)
tree2e1a29f5d832ff0cb0d4c095f038392b472459d1 /editeng/source/items/itemtype.cxx
parent40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'editeng/source/items/itemtype.cxx')
-rw-r--r--editeng/source/items/itemtype.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/itemtype.cxx b/editeng/source/items/itemtype.cxx
index 0bc0e3921b12..0d169e4b0b00 100644
--- a/editeng/source/items/itemtype.cxx
+++ b/editeng/source/items/itemtype.cxx
@@ -96,7 +96,7 @@ XubString GetMetricText( long nVal, SfxMapUnit eSrcUnit, SfxMapUnit eDestUnit, c
nVal, (MapUnit)eSrcUnit, (MapUnit)eDestUnit ));
default:
- DBG_ERROR( "not supported mapunit" );
+ OSL_FAIL( "not supported mapunit" );
return sRet;
}
@@ -227,7 +227,7 @@ sal_uInt16 GetMetricId( SfxMapUnit eUnit )
break;
default:
- DBG_ERROR( "not supported mapunit" );
+ OSL_FAIL( "not supported mapunit" );
}
return nId;
}