From 9d4c36d7914e2746a751a56de01063c9159f0f99 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 Mar 2020 16:35:10 +0200 Subject: 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 Reviewed-by: Noel Grandin --- sc/inc/textuno.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/inc/textuno.hxx') diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx index 44445c8d7527..f7023ff36835 100644 --- a/sc/inc/textuno.hxx +++ b/sc/inc/textuno.hxx @@ -105,7 +105,7 @@ class ScHeaderFooterTextData private: std::unique_ptr mpTextObj; css::uno::WeakReference xContentObj; - ScHeaderFooterPart const nPart; + ScHeaderFooterPart nPart; std::unique_ptr pEditEngine; std::unique_ptr pForwarder; bool bDataValid; @@ -328,7 +328,7 @@ class ScCellTextData : public SfxListener { protected: ScDocShell* pDocShell; - ScAddress const aCellPos; + ScAddress aCellPos; std::unique_ptr pEditEngine; std::unique_ptr pForwarder; std::unique_ptr pOriginalSource; -- cgit