diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-11 16:35:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-12 07:31:50 +0100 |
commit | 9d4c36d7914e2746a751a56de01063c9159f0f99 (patch) | |
tree | dc1723268647e1600db2ccaae5400ad0e72524fe /sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | |
parent | 31bf558349d9ab2634e9a866edf79bc115d649ce (diff) |
Revert "loplugin:constfields in sc"
This reverts commit fb1d3b580763a333bbbfe115d09e1b5cd8849675.
Now that we know that making fields has negative side effects
like disabling assignment operator generation.
Change-Id: Ib48334ffbeb2c768896dd8ced6818aa0b9910b0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90333
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx index f27e98f5742c..aacee4d694cc 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx @@ -98,7 +98,7 @@ public: private: ScPreviewShell* mpViewShell; - ScAccessibleDocumentPagePreview* const mpAccDoc; + ScAccessibleDocumentPagePreview* mpAccDoc; typedef std::vector<ScAccNote> ScAccNotes; mutable ScAccNotes maNotes; mutable ScAccNotes maMarks; @@ -269,7 +269,7 @@ namespace { struct ScPointFound { - tools::Rectangle const maPoint; + tools::Rectangle maPoint; sal_Int32 mnParagraphs; explicit ScPointFound(const Point& rPoint) : maPoint(rPoint, Size(0, 0)), mnParagraphs(0) {} bool operator() (const ScAccNote& rNote) @@ -431,7 +431,7 @@ namespace { struct ScChildGone { - ScAccessibleDocumentPagePreview* const mpAccDoc; + ScAccessibleDocumentPagePreview* mpAccDoc; explicit ScChildGone(ScAccessibleDocumentPagePreview* pAccDoc) : mpAccDoc(pAccDoc) {} void operator() (const uno::Reference<XAccessible>& xAccessible) const { @@ -449,7 +449,7 @@ struct ScChildGone struct ScChildNew { - ScAccessibleDocumentPagePreview* const mpAccDoc; + ScAccessibleDocumentPagePreview* mpAccDoc; explicit ScChildNew(ScAccessibleDocumentPagePreview* pAccDoc) : mpAccDoc(pAccDoc) {} void operator() (const uno::Reference<XAccessible>& xAccessible) const { @@ -675,7 +675,7 @@ public: void VisAreaChanged() const; private: - ScAccessibleDocumentPagePreview* const mpAccDoc; + ScAccessibleDocumentPagePreview* mpAccDoc; ScPreviewShell* mpViewShell; ScShapeRangeVec maShapeRanges; @@ -913,7 +913,7 @@ namespace { struct ScShapePointFound { - Point const maPoint; + Point maPoint; explicit ScShapePointFound(const awt::Point& rPoint) : maPoint(VCLPoint(rPoint)) {} bool operator() (const ScShapeChild& rShape) { |