diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-29 00:31:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-29 09:56:08 +0100 |
commit | de82a40f84c69081a517617989c344ec9597cb45 (patch) | |
tree | 6b9c15c67b11db681e6e8417b62efdd0a98b013a /svtools | |
parent | 313332e76bd17c0a5a6bd67c0abc467877948a3a (diff) |
callcatcher: drop various unused methods
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/FilterConfigItem.hxx | 1 | ||||
-rw-r--r-- | svtools/source/filter/FilterConfigItem.cxx | 34 |
2 files changed, 0 insertions, 35 deletions
diff --git a/svtools/inc/svtools/FilterConfigItem.hxx b/svtools/inc/svtools/FilterConfigItem.hxx index d2c45867844d..1ab5be9ce7a6 100644 --- a/svtools/inc/svtools/FilterConfigItem.hxx +++ b/svtools/inc/svtools/FilterConfigItem.hxx @@ -85,7 +85,6 @@ class SVT_DLLPUBLIC FilterConfigItem // and always stores into the FilterData sequence void WriteBool( const ::rtl::OUString& rKey, sal_Bool bValue ); void WriteInt32( const ::rtl::OUString& rKey, sal_Int32 nValue ); - void WriteString( const ::rtl::OUString& rKey, const ::rtl::OUString& rString ); void WriteAny( const rtl::OUString& rKey, const ::com::sun::star::uno::Any& rAny ); ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > GetFilterData() const; diff --git a/svtools/source/filter/FilterConfigItem.cxx b/svtools/source/filter/FilterConfigItem.cxx index 10428c6a2456..bbe40a0604c0 100644 --- a/svtools/source/filter/FilterConfigItem.cxx +++ b/svtools/source/filter/FilterConfigItem.cxx @@ -439,40 +439,6 @@ void FilterConfigItem::WriteInt32( const OUString& rKey, sal_Int32 nNewValue ) } } -void FilterConfigItem::WriteString( const OUString& rKey, const OUString& rNewValue ) -{ - PropertyValue aString; - aString.Name = rKey; - aString.Value <<= rNewValue; - WritePropertyValue( aFilterData, aString ); - - if ( xPropSet.is() ) - { - Any aAny; - - if ( ImplGetPropertyValue( aAny, xPropSet, rKey, sal_True ) ) - { - OUString aOldValue; - if ( aAny >>= aOldValue ) - { - if ( aOldValue != rNewValue ) - { - aAny <<= rNewValue; - try - { - xPropSet->setPropertyValue( rKey, aAny ); - bModified = sal_True; - } - catch ( ::com::sun::star::uno::Exception& ) - { - OSL_FAIL( "FilterConfigItem::WriteInt32 - could not set PropertyValue" ); - } - } - } - } - } -} - void FilterConfigItem::WriteAny( const OUString& rKey, const Any& rNewAny ) { PropertyValue aPropValue; |