[Libreoffice-commits] core.git: sc/source

Caolán McNamara caolanm at redhat.com
Mon Oct 3 13:26:43 UTC 2016


 sc/source/ui/view/tabview3.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 0c29c153465f80085e0c4ec0fe36e42e10ed4fb4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Oct 3 14:22:24 2016 +0100

    loplugin:vclwidgets
    
    Change-Id: If31494809ba8ce0028a15a88cf1bb2ead2769701

diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index c8774e5..3b1e334 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:


More information about the Libreoffice-commits mailing list