summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabview3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index c8774e5c3152..3b1e33411b0b 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -1922,7 +1922,6 @@ private:
public:
SameEditViewChecker()
: mpOtherEditView(nullptr)
- , mpWindow(nullptr)
{}
void SetEditView(EditView* pOtherEditView) { mpOtherEditView = pOtherEditView; }
void SetWindow(ScGridWindow* pWindow) { mpWindow = pWindow; }
@@ -1937,7 +1936,7 @@ private:
private:
EditView* mpOtherEditView;
- ScGridWindow* mpWindow;
+ VclPtr<ScGridWindow> mpWindow;
};
private: