summaryrefslogtreecommitdiff
path: root/sc/inc/fielduno.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/fielduno.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/fielduno.hxx')
-rw-r--r--sc/inc/fielduno.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx
index 85e641e326e5..9b6245131c85 100644
--- a/sc/inc/fielduno.hxx
+++ b/sc/inc/fielduno.hxx
@@ -60,7 +60,7 @@ class ScCellFieldsObj : public cppu::WeakImplHelper<
private:
css::uno::Reference<css::text::XTextRange> mxContent;
ScDocShell* pDocShell;
- ScAddress aCellPos;
+ ScAddress const aCellPos;
std::unique_ptr<ScEditSource> mpEditSource;
/// List of refresh listeners.
comphelper::OInterfaceContainerHelper2* mpRefreshListeners;
@@ -175,7 +175,7 @@ class ScEditFieldObj : public cppu::WeakImplHelper<
std::unique_ptr<ScEditSource> mpEditSource;
ESelection aSelection;
- sal_Int32 meType;
+ sal_Int32 const meType;
std::unique_ptr<SvxFieldData> mpData;
css::uno::Reference<css::text::XTextRange> mpContent;