summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);