diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-13 16:08:52 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-02-13 16:08:52 +0000 |
commit | abc235e73e70ffba83240759a8500a08becc9d71 (patch) | |
tree | 614b5036cdf7950e79425938d56ab789a8f889fe /filter | |
parent | 47716efc8e829c4fc82b22e4d62bb9480eb84aad (diff) |
Remove unused code
Diffstat (limited to 'filter')
-rw-r--r-- | filter/inc/filter/msfilter/msdffimp.hxx | 1 | ||||
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/filter/inc/filter/msfilter/msdffimp.hxx b/filter/inc/filter/msfilter/msdffimp.hxx index 88a009ea260b..e2d6ced95ed9 100644 --- a/filter/inc/filter/msfilter/msdffimp.hxx +++ b/filter/inc/filter/msfilter/msdffimp.hxx @@ -129,7 +129,6 @@ public: bool GetPropertyBool( sal_uInt32 nId, bool bDefault = false ) const; /** Returns a string property. */ ::rtl::OUString GetPropertyString( sal_uInt32 nId, SvStream& rStrm ) const; - void SetPropertyValue( sal_uInt32 nId, sal_uInt32 nValue ) const; sal_Bool SeekToContent( sal_uInt32 nRecType, SvStream& rSt ) const; void Merge( DffPropSet& rMasterPropSet ) const; void InitializePropSet() const; diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index aee3bd9c46f4..da90330a47e3 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -518,16 +518,6 @@ bool DffPropSet::GetPropertyBool( sal_uInt32 nId, bool bDefault ) const return aBuffer.makeStringAndClear(); } -void DffPropSet::SetPropertyValue( sal_uInt32 nId, sal_uInt32 nValue ) const -{ - if ( !mpFlags[ nId ].bSet ) - { - ( (DffPropSet*) this )->Insert( nId, (void*)(sal_uIntPtr)nValue ); - ( (DffPropSet*) this )->mpFlags[ nId ].bSet = sal_True; - } - ( (DffPropSet*) this )->mpContents[ nId ] = nValue; -}; - sal_Bool DffPropSet::SeekToContent( sal_uInt32 nRecType, SvStream& rStrm ) const { nRecType &= 0x3ff; |