diff options
author | ka <kai.ahrens@oracle.com> | 2011-03-28 22:51:37 +0200 |
---|---|---|
committer | ka <kai.ahrens@oracle.com> | 2011-03-28 22:51:37 +0200 |
commit | 44775760807ba1d60153208899eec2d583e16fe6 (patch) | |
tree | 32b765f59e6118f804fc442cf98ffd386ec3f034 /svtools/source/filter/FilterConfigItem.cxx | |
parent | ka102: adjusted cairo dll name (diff) | |
parent | CWS-TOOLING: integrate CWS sw34bf04 (diff) | |
download | core-44775760807ba1d60153208899eec2d583e16fe6.tar.gz core-44775760807ba1d60153208899eec2d583e16fe6.zip |
ka102: rebased to DEV300_m104
Diffstat (limited to 'svtools/source/filter/FilterConfigItem.cxx')
-rw-r--r-- | svtools/source/filter/FilterConfigItem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/filter/FilterConfigItem.cxx b/svtools/source/filter/FilterConfigItem.cxx index 1e836cde8785..8d7752ddd7df 100644 --- a/svtools/source/filter/FilterConfigItem.cxx +++ b/svtools/source/filter/FilterConfigItem.cxx @@ -428,7 +428,7 @@ void FilterConfigItem::WriteBool( const OUString& rKey, sal_Bool bNewValue ) Any aAny; if ( ImplGetPropertyValue( aAny, xPropSet, rKey, sal_True ) ) { - sal_Bool bOldValue = bNewValue; + sal_Bool bOldValue(sal_True); if ( aAny >>= bOldValue ) { if ( bOldValue != bNewValue ) @@ -462,7 +462,7 @@ void FilterConfigItem::WriteInt32( const OUString& rKey, sal_Int32 nNewValue ) if ( ImplGetPropertyValue( aAny, xPropSet, rKey, sal_True ) ) { - sal_Int32 nOldValue = nNewValue; + sal_Int32 nOldValue = 0; if ( aAny >>= nOldValue ) { if ( nOldValue != nNewValue ) |