summaryrefslogtreecommitdiff
path: root/svl/source/config
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:08:19 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 14:46:42 +0100
commit11d20507806d30e2d1955b93a568b84a2216ef69 (patch)
treeb34fa3afac27eac9404f16e46b530aa2cbcad41d /svl/source/config
parent7b981b7cab15e0fc2ebb159df2d40c3a2499b265 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'svl/source/config')
-rw-r--r--svl/source/config/asiancfg.cxx2
-rw-r--r--svl/source/config/ctloptions.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/config/asiancfg.cxx b/svl/source/config/asiancfg.cxx
index efebd3a37836..2052a2f18d42 100644
--- a/svl/source/config/asiancfg.cxx
+++ b/svl/source/config/asiancfg.cxx
@@ -260,7 +260,7 @@ void SvxAsianConfig::SetStartEndChars( const Locale& rLocale,
}
#ifdef DBG_UTIL
else if(!bFound)
- DBG_ERROR("attempt to clear unavailable data");
+ OSL_FAIL("attempt to clear unavailable data");
#endif
SetModified();
}
diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx
index 14b95906ddd1..57f445d68e62 100644
--- a/svl/source/config/ctloptions.cxx
+++ b/svl/source/config/ctloptions.cxx
@@ -119,7 +119,7 @@ sal_Bool SvtCTLOptions_Impl::IsReadOnly(SvtCTLOptions::EOption eOption) const
case SvtCTLOptions::E_CTLTEXTNUMERALS : bReadOnly = m_bROCTLTextNumerals ; break;
case SvtCTLOptions::E_CTLSEQUENCECHECKINGRESTRICTED: bReadOnly = m_bROCTLRestricted ; break;
case SvtCTLOptions::E_CTLSEQUENCECHECKINGTYPEANDREPLACE: bReadOnly = m_bROCTLTypeAndReplace; break;
- default: DBG_ERROR( "SvtCTLOptions_Impl::IsReadOnly() - invalid option" );
+ default: OSL_FAIL( "SvtCTLOptions_Impl::IsReadOnly() - invalid option" );
}
return bReadOnly;
}