summaryrefslogtreecommitdiff
path: root/sc/inc/textuno.hxx
diff options
context:
space:
mode:
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 c76e67ed140e..5467c4eb6726 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -104,7 +104,7 @@ class ScHeaderFooterTextData
private:
std::unique_ptr<EditTextObject> mpTextObj;
css::uno::WeakReference<css::sheet::XHeaderFooterContent> xContentObj;
- ScHeaderFooterPart nPart;
+ ScHeaderFooterPart const nPart;
std::unique_ptr<ScEditEngineDefaulter> pEditEngine;
std::unique_ptr<SvxEditEngineForwarder> pForwarder;
bool bDataValid;
@@ -336,7 +336,7 @@ class ScCellTextData : public SfxListener
{
protected:
ScDocShell* pDocShell;
- ScAddress aCellPos;
+ ScAddress const aCellPos;
std::unique_ptr<ScFieldEditEngine> pEditEngine;
std::unique_ptr<SvxEditEngineForwarder> pForwarder;
std::unique_ptr<ScCellEditSource> pOriginalSource;