summaryrefslogtreecommitdiffstats
path: root/svtools/source/filter/FilterConfigItem.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-29 00:31:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-29 09:56:08 +0100
commitde82a40f84c69081a517617989c344ec9597cb45 (patch)
tree6b9c15c67b11db681e6e8417b62efdd0a98b013a /svtools/source/filter/FilterConfigItem.cxx
parentvarious centralized isFOOAsciiStrings (diff)
downloadcore-de82a40f84c69081a517617989c344ec9597cb45.tar.gz
core-de82a40f84c69081a517617989c344ec9597cb45.zip
callcatcher: drop various unused methods
Diffstat (limited to 'svtools/source/filter/FilterConfigItem.cxx')
-rw-r--r--svtools/source/filter/FilterConfigItem.cxx34
1 files changed, 0 insertions, 34 deletions
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;