diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-14 21:14:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-17 20:10:50 +0000 |
commit | 3b238706737c36d4772ec3f95b52fbde978bf20a (patch) | |
tree | 592679f982c113a495bdf81f5f4787cc99688fc8 /sot | |
parent | f44928cbd51fc7d08e2b81dcdf837650cd215847 (diff) |
callcatcher: remove another layer of binfilter-released methods
Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
Diffstat (limited to 'sot')
-rw-r--r-- | sot/inc/sot/stg.hxx | 1 | ||||
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 27 |
2 files changed, 0 insertions, 28 deletions
diff --git a/sot/inc/sot/stg.hxx b/sot/inc/sot/stg.hxx index 711dce29cc77..98a09cecad50 100644 --- a/sot/inc/sot/stg.hxx +++ b/sot/inc/sot/stg.hxx @@ -351,7 +351,6 @@ public: virtual sal_Bool ValidateMode( StreamMode ) const; virtual const SvStream* GetSvStream() const; virtual sal_Bool Equals( const BaseStorage& rStream ) const; - sal_Bool SetProperty( const String& rName, const ::com::sun::star::uno::Any& rValue ); sal_Bool GetProperty( const String& rEleName, const String& rName, ::com::sun::star::uno::Any& rValue ); UCBStorageElement_Impl* FindElement_Impl( const String& rName ) const; diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index c0a0021fe024..ff081f2bf70d 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -3253,31 +3253,4 @@ String UCBStorage::CreateLinkFile( const String& rName ) return String(); } -sal_Bool UCBStorage::SetProperty( const String& rName, const ::com::sun::star::uno::Any& rValue ) -{ - if ( rName.CompareToAscii("Title") == COMPARE_EQUAL ) - return sal_False; - - if ( rName.CompareToAscii("MediaType") == COMPARE_EQUAL ) - { - ::rtl::OUString aTmp; - rValue >>= aTmp; - pImp->m_aContentType = aTmp; - } - - try - { - if ( pImp->GetContent() ) - { - pImp->m_pContent->setPropertyValue( rName, rValue ); - return sal_True; - } - } - catch (const Exception&) - { - } - - return sal_False; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |