[Libreoffice-commits] core.git: sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Mon Feb 10 14:26:54 PST 2014


 sc/source/filter/inc/stylesbuffer.hxx |    5 -----
 sc/source/filter/oox/stylesbuffer.cxx |   23 -----------------------
 2 files changed, 28 deletions(-)

New commits:
commit 4c0e5eaea9155f40766116c5c44deab38ed80eb4
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Mon Feb 10 17:30:23 2014 -0500

    Remove unused.
    
    Change-Id: Iee50396bdbf027373a544f2280cad931745a23c1

diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx
index e3c4036..19f37cb 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 d14b353..cd0a43e 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)


More information about the Libreoffice-commits mailing list