summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-19 01:15:48 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-19 01:38:15 +0000
commita71576f1c5a2a76eaedca99c025d027b55ce8c90 (patch)
treeac1ae4fce2ecdda7dc3be82ba89a700e2d5265eb /sc
parent6342041cdd700922af5e07cde0d1bd8e6ea42f0a (diff)
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@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/worksheethelper.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index fa0efef957ab..0f1c42035b7b 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);