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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index b4cc6f4826f5..ddb2d9f8c0ea 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -137,7 +137,7 @@ class XclListColor
{
private:
Color maColor; /// The color value of this palette entry.
- sal_uInt32 mnColorId; /// Unique color ID for color reduction.
+ sal_uInt32 const mnColorId; /// Unique color ID for color reduction.
sal_uInt32 mnWeight; /// Weighting for color reduction.
bool mbBaseColor; /// true = Handle as base color, (don't remove/merge).
@@ -1343,7 +1343,7 @@ size_t XclExpFontBuffer::Find( const XclFontData& rFontData )
/** Predicate for search algorithm. */
struct XclExpNumFmtPred
{
- sal_uInt32 mnScNumFmt;
+ sal_uInt32 const mnScNumFmt;
explicit XclExpNumFmtPred( sal_uInt32 nScNumFmt ) : mnScNumFmt( nScNumFmt ) {}
bool operator()( const XclExpNumFmt& rFormat ) const
{ return rFormat.mnScNumFmt == mnScNumFmt; }