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

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Apr 19 01:38:38 UTC 2016


 sc/source/filter/oox/worksheethelper.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit a71576f1c5a2a76eaedca99c025d027b55ce8c90
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Tue Apr 19 01:15:48 2016 +0200

    setting the properties through uno is not necessary anymore
    
    Change-Id: Icdd78ffb386b6b5222558dde0a6a9439b1431781
    Reviewed-on: https://gerrit.libreoffice.org/24229
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index fa0efef..0f1c420 100644
--- a/sc/source/filter/oox/worksheethelper.cxx
+++ b/sc/source/filter/oox/worksheethelper.cxx
@@ -860,10 +860,6 @@ void WorksheetGlobals::convertColumnFormat( sal_Int32 nFirstCol, sal_Int32 nLast
     {
         const StylesBuffer& rStyles = getStyles();
 
-        // Set cell styles via UNO API.  We should move these to the direct API.
-        PropertySet aPropSet( getCellRange( aRange ) );
-        rStyles.writeCellXfToPropertySet(aPropSet, nXfId);
-
         // Set cell styles via direct API - the preferred approach.
         ScDocumentImport& rDoc = getDocImport();
         rStyles.writeCellXfToDoc(rDoc, aRange, nXfId);


More information about the Libreoffice-commits mailing list