summaryrefslogtreecommitdiff
path: root/sc/inc/textuno.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-11 16:35:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 07:31:50 +0100
commit9d4c36d7914e2746a751a56de01063c9159f0f99 (patch)
treedc1723268647e1600db2ccaae5400ad0e72524fe /sc/inc/textuno.hxx
parent31bf558349d9ab2634e9a866edf79bc115d649ce (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/inc/textuno.hxx')
-rw-r--r--sc/inc/textuno.hxx4
1 files changed, 2 insertions, 2 deletions
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<EditTextObject> mpTextObj;
css::uno::WeakReference<css::sheet::XHeaderFooterContent> xContentObj;
- ScHeaderFooterPart const nPart;
+ ScHeaderFooterPart nPart;
std::unique_ptr<ScEditEngineDefaulter> pEditEngine;
std::unique_ptr<SvxEditEngineForwarder> pForwarder;
bool bDataValid;
@@ -328,7 +328,7 @@ class ScCellTextData : public SfxListener
{
protected:
ScDocShell* pDocShell;
- ScAddress const aCellPos;
+ ScAddress aCellPos;
std::unique_ptr<ScFieldEditEngine> pEditEngine;
std::unique_ptr<SvxEditEngineForwarder> pForwarder;
std::unique_ptr<ScCellEditSource> pOriginalSource;