From 7f561541162c7f32f4ededb1a7eb9f88b029c610 Mon Sep 17 00:00:00 2001 From: ka Date: Mon, 21 Feb 2011 02:57:37 +0100 Subject: [PATCH] ka102: #i116970# Write extents of exported SVG / syntax --- svtools/source/filter/FilterConfigItem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svtools/source/filter/FilterConfigItem.cxx b/svtools/source/filter/FilterConfigItem.cxx index 312f62af9d84..1e836cde8785 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; + sal_Bool bOldValue = bNewValue; 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; + sal_Int32 nOldValue = nNewValue; if ( aAny >>= nOldValue ) { if ( nOldValue != nNewValue )