diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/pathoptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/undoopt.cxx | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx index 8356064172c1..7bfbf487e164 100644 --- a/unotools/source/config/pathoptions.cxx +++ b/unotools/source/config/pathoptions.cxx @@ -536,7 +536,7 @@ SvtPathOptions_Impl::SvtPathOptions_Impl() : } else { - DBG_ERRORFILE( "wrong any type" ); + DBG_ASSERT(!aLocale.hasValue(), "wrong any type"); m_aLocale.Language = OStringToOUString(OString("en"), RTL_TEXTENCODING_UTF8); m_aLocale.Country = OStringToOUString(OString("US"), RTL_TEXTENCODING_UTF8); m_aLocale.Variant = OStringToOUString(OString(""), RTL_TEXTENCODING_UTF8); diff --git a/unotools/source/config/undoopt.cxx b/unotools/source/config/undoopt.cxx index 36c1c2308ec5..3ae8aab68de0 100644 --- a/unotools/source/config/undoopt.cxx +++ b/unotools/source/config/undoopt.cxx @@ -120,7 +120,6 @@ void SvtUndoOptions_Impl::Load() { for ( int nProp = 0; nProp < m_aPropertyNames.getLength(); nProp++ ) { - DBG_ASSERT( pValues[nProp].hasValue(), "property value missing" ); if ( pValues[nProp].hasValue() ) { switch ( nProp ) |