summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/xls/worksheetsettings.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/xls/worksheetsettings.cxx b/oox/source/xls/worksheetsettings.cxx
index 0dfbe8f48e47..0cc9d5f17780 100644
--- a/oox/source/xls/worksheetsettings.cxx
+++ b/oox/source/xls/worksheetsettings.cxx
@@ -31,6 +31,7 @@
#include "oox/xls/biffinputstream.hxx"
#include "oox/xls/pagesettings.hxx"
#include "oox/xls/workbooksettings.hxx"
+#include "oox/core/filterbase.hxx"
#include "properties.hxx"
#include <com/sun/star/util/XProtectable.hpp>
@@ -325,7 +326,7 @@ void WorksheetSettings::finalizeImport()
if (!maSheetSettings.maTabColor.isAuto())
{
- sal_Int32 nColor = maSheetSettings.maTabColor.getColor(getBaseFilter());
+ sal_Int32 nColor = maSheetSettings.maTabColor.getColor(getBaseFilter().getGraphicHelper());
aPropSet.setProperty(PROP_TabColor, nColor);
}
}