diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-11 10:46:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 07:56:12 +0200 |
commit | fb1d3b580763a333bbbfe115d09e1b5cd8849675 (patch) | |
tree | 93cf0598c86ba188f69ab30425ffea856ea9886b /sc/inc/afmtuno.hxx | |
parent | 40bc840da261fcc5652e5278dc2566b61f990884 (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/afmtuno.hxx')
-rw-r--r-- | sc/inc/afmtuno.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/afmtuno.hxx b/sc/inc/afmtuno.hxx index cdb1500f1f48..5e13886815d7 100644 --- a/sc/inc/afmtuno.hxx +++ b/sc/inc/afmtuno.hxx @@ -90,7 +90,7 @@ class ScAutoFormatObj : public ::cppu::WeakImplHelper< css::lang::XServiceInfo > { private: - SfxItemPropertySet aPropSet; + SfxItemPropertySet const aPropSet; sal_uInt16 nFormatIndex; ScAutoFormatFieldObj* GetObjectByIndex_Impl(sal_uInt16 nIndex); @@ -157,9 +157,9 @@ class ScAutoFormatFieldObj : public ::cppu::WeakImplHelper< css::lang::XServiceInfo > { private: - SfxItemPropertySet aPropSet; - sal_uInt16 nFormatIndex; - sal_uInt16 nFieldIndex; + SfxItemPropertySet const aPropSet; + sal_uInt16 const nFormatIndex; + sal_uInt16 const nFieldIndex; public: ScAutoFormatFieldObj(sal_uInt16 nFormat, sal_uInt16 nField); |