summaryrefslogtreecommitdiff
path: root/sc/inc/hints.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-11 10:46:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-15 07:56:12 +0200
commitfb1d3b580763a333bbbfe115d09e1b5cd8849675 (patch)
tree93cf0598c86ba188f69ab30425ffea856ea9886b /sc/inc/hints.hxx
parent40bc840da261fcc5652e5278dc2566b61f990884 (diff)
loplugin:constfields in sc
Change-Id: If326175d571d15752efd1b63df45b2bc785f7541 Reviewed-on: https://gerrit.libreoffice.org/61653 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/hints.hxx')
-rw-r--r--sc/inc/hints.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx
index f2b45cecdce3..55fc22c450b7 100644
--- a/sc/inc/hints.hxx
+++ b/sc/inc/hints.hxx
@@ -27,8 +27,8 @@
class SC_DLLPUBLIC ScPaintHint : public SfxHint
{
- ScRange aRange;
- PaintPartFlags nParts;
+ ScRange const aRange;
+ PaintPartFlags const nParts;
bool bPrint; // flag indicating whether print/preview if affected
public:
@@ -49,11 +49,11 @@ public:
class ScUpdateRefHint : public SfxHint
{
- UpdateRefMode eUpdateRefMode;
- ScRange aRange;
- SCCOL nDx;
- SCROW nDy;
- SCTAB nDz;
+ UpdateRefMode const eUpdateRefMode;
+ ScRange const aRange;
+ SCCOL const nDx;
+ SCROW const nDy;
+ SCTAB const nDz;
public:
ScUpdateRefHint( UpdateRefMode eMode, const ScRange& rR,
@@ -102,10 +102,10 @@ public:
class ScAutoStyleHint : public SfxHint
{
- ScRange aRange;
- OUString aStyle1;
- OUString aStyle2;
- sal_uLong nTimeout;
+ ScRange const aRange;
+ OUString const aStyle1;
+ OUString const aStyle2;
+ sal_uLong const nTimeout;
public:
ScAutoStyleHint( const ScRange& rR, const OUString& rSt1,
@@ -120,7 +120,7 @@ public:
class ScDBRangeRefreshedHint : public SfxHint
{
- ScImportParam aParam;
+ ScImportParam const aParam;
public:
ScDBRangeRefreshedHint( const ScImportParam& rP );
@@ -131,7 +131,7 @@ public:
class ScDataPilotModifiedHint : public SfxHint
{
- OUString maName;
+ OUString const maName;
public:
ScDataPilotModifiedHint( const OUString& rName );