diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:09:12 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 15:06:08 +0100 |
commit | b59db0e69e83d694f6cb0bade4f567fe0da536a5 (patch) | |
tree | 05805d98ed0d80f75ce07177241ff04cbe7caa1d /starmath/source/toolbox.cxx | |
parent | 4098e3e81f28b0e89003037117dd2710f31e6a49 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'starmath/source/toolbox.cxx')
-rw-r--r-- | starmath/source/toolbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/toolbox.cxx b/starmath/source/toolbox.cxx index 214fd74c92f2..a7645cb9b703 100644 --- a/starmath/source/toolbox.cxx +++ b/starmath/source/toolbox.cxx @@ -61,7 +61,7 @@ static USHORT GetImageListRID( USHORT nCategoryRID ) case RID_FORMAT_CAT : nRes = RID_IL_FORMAT; break; case RID_MISC_CAT : nRes = RID_IL_MISC; break; default : - DBG_ERROR( "unkown category" ); + OSL_FAIL( "unkown category" ); } return nRes; } @@ -106,7 +106,7 @@ static USHORT GetCategoryRID( USHORT nResId ) if (nResId != RID_IL_CATALOG) { #if OSL_DEBUG_LEVEL > 1 - DBG_ERROR( "unkown category" ); + OSL_FAIL( "unkown category" ); #endif } } |