summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/autostyl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/autostyl.cxx')
-rw-r--r--sc/source/ui/docshell/autostyl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx
index a60ef3f4aaf7..d7db2e4a7d5a 100644
--- a/sc/source/ui/docshell/autostyl.cxx
+++ b/sc/source/ui/docshell/autostyl.cxx
@@ -33,7 +33,7 @@ namespace {
class FindByRange
{
- ScRange maRange;
+ ScRange const maRange;
public:
explicit FindByRange(const ScRange& r) : maRange(r) {}
bool operator() (const ScAutoStyleData& rData) const { return rData.aRange == maRange; }
@@ -41,7 +41,7 @@ public:
class FindByTimeout
{
- sal_uLong mnTimeout;
+ sal_uLong const mnTimeout;
public:
explicit FindByTimeout(sal_uLong n) : mnTimeout(n) {}
bool operator() (const ScAutoStyleData& rData) const { return rData.nTimeout >= mnTimeout; }