diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:08:19 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 14:46:42 +0100 |
commit | 11d20507806d30e2d1955b93a568b84a2216ef69 (patch) | |
tree | b34fa3afac27eac9404f16e46b530aa2cbcad41d /unotools/source/config/saveopt.cxx | |
parent | 7b981b7cab15e0fc2ebb159df2d40c3a2499b265 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'unotools/source/config/saveopt.cxx')
-rw-r--r-- | unotools/source/config/saveopt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx index 3a28cbc0a8e1..80ba32920550 100644 --- a/unotools/source/config/saveopt.cxx +++ b/unotools/source/config/saveopt.cxx @@ -442,7 +442,7 @@ SvtSaveOptions_Impl::SvtSaveOptions_Impl() if ( pValues[nProp] >>= nTemp ) nAutoSaveTime = nTemp; else { - DBG_ERROR( "Wrong Type!" ); + OSL_FAIL( "Wrong Type!" ); }; bROAutoSaveTime = pROStates[nProp]; break; @@ -533,7 +533,7 @@ SvtSaveOptions_Impl::SvtSaveOptions_Impl() } else { - DBG_ERROR( "Wrong Type!" ); + OSL_FAIL( "Wrong Type!" ); } } } @@ -559,7 +559,7 @@ SvtSaveOptions_Impl::SvtSaveOptions_Impl() ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TimeIntervall"))) >>= nAutoSaveTime; } catch(const css::uno::Exception&) - { DBG_ERROR("Could not find needed informations for AutoSave feature."); } + { OSL_FAIL("Could not find needed informations for AutoSave feature."); } } SvtSaveOptions_Impl::~SvtSaveOptions_Impl() |