summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xestyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/xestyle.cxx')
-rw-r--r--sc/source/filter/excel/xestyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index f04240de2c56..46ecbfb558ec 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -261,7 +261,7 @@ public:
private:
/** Returns the Excel index of a 0-based color index. */
- inline sal_uInt16 GetXclIndex( sal_uInt32 nIndex ) const
+ static inline sal_uInt16 GetXclIndex( sal_uInt32 nIndex )
{ return static_cast< sal_uInt16 >( nIndex + EXC_COLOR_USEROFFSET ); }
/** Returns the original inserted color represented by the color ID nColorId. */