summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-13 13:38:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-13 13:38:34 +0100
commitd061b4ac1a234818df1151fc0c9a4a424358b188 (patch)
treeee4f5e0bc0279534d1a05aab38571713009e2eac /unotools/source
parentb40c288be44d3eec41d30ac445a1e6b6e9a17777 (diff)
cut down on the noise
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/config/pathoptions.cxx2
-rw-r--r--unotools/source/config/undoopt.cxx1
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 )