summaryrefslogtreecommitdiff
path: root/svtools/source/filter/FilterConfigItem.cxx
diff options
context:
space:
mode:
authorka <kai.ahrens@oracle.com>2011-03-28 22:51:37 +0200
committerka <kai.ahrens@oracle.com>2011-03-28 22:51:37 +0200
commit44775760807ba1d60153208899eec2d583e16fe6 (patch)
tree32b765f59e6118f804fc442cf98ffd386ec3f034 /svtools/source/filter/FilterConfigItem.cxx
parente9fc30b6901b3af4b406bd3820125d6c607f9784 (diff)
parentd26d7768d7315d783fd143765ae68bc802c4445b (diff)
ka102: rebased to DEV300_m104
Diffstat (limited to 'svtools/source/filter/FilterConfigItem.cxx')
-rw-r--r--svtools/source/filter/FilterConfigItem.cxx4
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 )