summaryrefslogtreecommitdiffstats
path: root/svtools/source/filter/FilterConfigItem.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-26 13:39:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-27 09:45:57 +0000
commit874966bd304d0ef5e6cb9cf7b60e6240a37d70b3 (patch)
treea76d29537bdc61933f03bab7d3aeff8e485cb9b9 /svtools/source/filter/FilterConfigItem.cxx
parentfix CntHTTPCookieList_impl leak (diff)
downloadcore-874966bd304d0ef5e6cb9cf7b60e6240a37d70b3.tar.gz
core-874966bd304d0ef5e6cb9cf7b60e6240a37d70b3.zip
ditch archaic filter-tracer remnants
Diffstat (limited to 'svtools/source/filter/FilterConfigItem.cxx')
-rw-r--r--svtools/source/filter/FilterConfigItem.cxx47
1 files changed, 0 insertions, 47 deletions
diff --git a/svtools/source/filter/FilterConfigItem.cxx b/svtools/source/filter/FilterConfigItem.cxx
index 5368c94af1d5..275bcebdebbf 100644
--- a/svtools/source/filter/FilterConfigItem.cxx
+++ b/svtools/source/filter/FilterConfigItem.cxx
@@ -356,25 +356,6 @@ OUString FilterConfigItem::ReadString( const OUString& rKey, const OUString& rDe
return aRetValue;
}
-Any FilterConfigItem::ReadAny( const ::rtl::OUString& rKey, const Any& rDefault )
-{
- Any aAny, aRetValue( rDefault );
- PropertyValue* pPropVal = GetPropertyValue( aFilterData, rKey );
- if ( pPropVal )
- {
- aRetValue = pPropVal->Value;
- }
- else if ( ImplGetPropertyValue( aAny, xPropSet, rKey, sal_True ) )
- {
- aRetValue = aAny;
- }
- PropertyValue aPropValue;
- aPropValue.Name = rKey;
- aPropValue.Value = aRetValue;
- WritePropertyValue( aFilterData, aPropValue );
- return aRetValue;
-}
-
void FilterConfigItem::WriteBool( const OUString& rKey, sal_Bool bNewValue )
{
PropertyValue aBool;
@@ -442,34 +423,6 @@ void FilterConfigItem::WriteInt32( const OUString& rKey, sal_Int32 nNewValue )
}
}
-void FilterConfigItem::WriteAny( const OUString& rKey, const Any& rNewAny )
-{
- PropertyValue aPropValue;
- aPropValue.Name = rKey;
- aPropValue.Value = rNewAny;
- WritePropertyValue( aFilterData, aPropValue );
- if ( xPropSet.is() )
- {
- Any aAny;
- if ( ImplGetPropertyValue( aAny, xPropSet, rKey, sal_True ) )
- {
- if ( aAny != rNewAny )
- {
- try
- {
- xPropSet->setPropertyValue( rKey, rNewAny );
- bModified = sal_True;
- }
- catch ( com::sun::star::uno::Exception& )
- {
- OSL_FAIL( "FilterConfigItem::WriteAny - could not set PropertyValue" );
-
- }
- }
- }
- }
-}
-
// ------------------------------------------------------------------------
Sequence< PropertyValue > FilterConfigItem::GetFilterData() const