summaryrefslogtreecommitdiffstats
path: root/linguistic/workben/sprophelp.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 /linguistic/workben/sprophelp.cxx
parentRemove DBG_UTILx (diff)
downloadcore-65c053ca1a5a8c7318ab1e42cdde2d540a283673.tar.gz
core-65c053ca1a5a8c7318ab1e42cdde2d540a283673.zip
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'linguistic/workben/sprophelp.cxx')
-rw-r--r--linguistic/workben/sprophelp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/workben/sprophelp.cxx b/linguistic/workben/sprophelp.cxx
index bd42ed27bbe2..43ee38080b7a 100644
--- a/linguistic/workben/sprophelp.cxx
+++ b/linguistic/workben/sprophelp.cxx
@@ -316,7 +316,7 @@ void SAL_CALL
break;
}
default:
- DBG_ERROR( "unknown property" );
+ OSL_FAIL( "unknown property" );
}
if (pbVal)
rEvt.NewValue >>= *pbVal;
@@ -361,7 +361,7 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals )
case UPH_IS_SPELL_WITH_DIGITS : pbResVal = &bResIsSpellWithDigits; break;
case UPH_IS_SPELL_CAPITALIZATION : pbResVal = &bResIsSpellCapitalization; break;
default:
- DBG_ERROR( "unknown property" );
+ OSL_FAIL( "unknown property" );
}
if (pbResVal)
pVal[i].Value >>= *pbResVal;