summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/prevloc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/prevloc.hxx')
-rw-r--r--sc/source/ui/inc/prevloc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/prevloc.hxx b/sc/source/ui/inc/prevloc.hxx
index 7022f4dbe387..b6657ef854eb 100644
--- a/sc/source/ui/inc/prevloc.hxx
+++ b/sc/source/ui/inc/prevloc.hxx
@@ -92,7 +92,7 @@ public:
typedef std::list<std::unique_ptr<ScPreviewLocationEntry>> Entries_t;
private:
VclPtr<OutputDevice> pWindow;
- ScDocument* pDoc;
+ ScDocument* const pDoc;
MapMode aCellMapMode;
MapMode aDrawMapMode[SC_PREVIEW_MAXRANGES];
tools::Rectangle aDrawRectangle[SC_PREVIEW_MAXRANGES];