diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-10 17:30:23 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-10 17:31:44 -0500 |
commit | 4c0e5eaea9155f40766116c5c44deab38ed80eb4 (patch) | |
tree | 02d0e3b7996ddc67d21102c532df00075ad89f13 | |
parent | 3cd8f26c7c43b4006496817c87eda71c385ef19f (diff) |
Remove unused.
Change-Id: Iee50396bdbf027373a544f2280cad931745a23c1
-rw-r--r-- | sc/source/filter/inc/stylesbuffer.hxx | 5 | ||||
-rw-r--r-- | sc/source/filter/oox/stylesbuffer.cxx | 23 |
2 files changed, 0 insertions, 28 deletions
diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx index e3c4036e0355..19f37cbcde4c 100644 --- a/sc/source/filter/inc/stylesbuffer.hxx +++ b/sc/source/filter/inc/stylesbuffer.hxx @@ -766,11 +766,6 @@ public: /** Final processing after import of all style settings. */ void finalizeImport(); - /** Writes all formatting attributes to the passed property map. */ - void writeToPropertyMap( PropertyMap& rPropMap ) const; - /** Writes all formatting attributes to the passed property set. */ - void writeToPropertySet( PropertySet& rPropSet ) const; - void fillToItemSet( SfxItemSet& rSet ) const; private: diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx index d14b35369266..cd0a43e5c347 100644 --- a/sc/source/filter/oox/stylesbuffer.cxx +++ b/sc/source/filter/oox/stylesbuffer.cxx @@ -2475,29 +2475,6 @@ void Dxf::finalizeImport() mxFill->finalizeImport(); } -void Dxf::writeToPropertyMap( PropertyMap& rPropMap ) const -{ - if( mxFont.get() ) - mxFont->writeToPropertyMap( rPropMap, FONT_PROPTYPE_CELL ); - if( mxNumFmt.get() ) - mxNumFmt->writeToPropertyMap( rPropMap ); - if( mxAlignment.get() ) - mxAlignment->writeToPropertyMap( rPropMap ); - if( mxProtection.get() ) - mxProtection->writeToPropertyMap( rPropMap ); - if( mxBorder.get() ) - mxBorder->writeToPropertyMap( rPropMap ); - if( mxFill.get() ) - mxFill->writeToPropertyMap( rPropMap ); -} - -void Dxf::writeToPropertySet( PropertySet& rPropSet ) const -{ - PropertyMap aPropMap; - writeToPropertyMap( aPropMap ); - rPropSet.setProperties( aPropMap ); -} - void Dxf::fillToItemSet( SfxItemSet& rSet ) const { if (mxFont) |