summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/highred.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/highred.hxx')
-rw-r--r--sc/source/ui/inc/highred.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/highred.hxx b/sc/source/ui/inc/highred.hxx
index 316c5a62ee07..566811eacd22 100644
--- a/sc/source/ui/inc/highred.hxx
+++ b/sc/source/ui/inc/highred.hxx
@@ -33,7 +33,7 @@ class ScHighlightChgDlg : public ScAnyRefDlgController
{
private:
ScViewData* pViewData;
- ScDocument* pDoc;
+ ScDocument& rDoc;
ScChangeViewSettings aChangeViewSet;
std::unique_ptr<weld::CheckButton> m_xHighlightBox;