[Libreoffice-commits] core.git: include/sfx2 sfx2/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 2 06:27:46 UTC 2019


 include/sfx2/sidebar/SidebarDockingWindow.hxx |    1 -
 sfx2/source/sidebar/SidebarDockingWindow.cxx  |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit 73f1cb6b64bd295e37af5c50b88b472c6d40b8e4
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 1 16:41:46 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Aug 2 08:26:59 2019 +0200

    -Werror,-Wunused-private-field
    
    Change-Id: Icdb749d46249ea29badbe523320b17312e077684
    Reviewed-on: https://gerrit.libreoffice.org/76811
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/include/sfx2/sidebar/SidebarDockingWindow.hxx b/include/sfx2/sidebar/SidebarDockingWindow.hxx
index e54d55f2b791..bde746e32d72 100644
--- a/include/sfx2/sidebar/SidebarDockingWindow.hxx
+++ b/include/sfx2/sidebar/SidebarDockingWindow.hxx
@@ -67,7 +67,6 @@ private:
     void DoDispose();
 
     const bool mbSidebarVisibleInLOK;
-    const SfxViewShell* mpOldViewShell;
 };
 
 } } // end of namespace sfx2::sidebar
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index 7b94a468a08d..dc558046cd05 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -43,7 +43,6 @@ SidebarDockingWindow::SidebarDockingWindow(SfxBindings* pSfxBindings, SidebarChi
     , mpSidebarController()
     , mbIsReadyToDrag(false)
     , mbSidebarVisibleInLOK(rChildWindow.IsSidebarVisibleInLOK())
-    , mpOldViewShell(SfxViewShell::Current())
 {
     // Get the XFrame from the bindings.
     if (pSfxBindings==nullptr || pSfxBindings->GetDispatcher()==nullptr)


More information about the Libreoffice-commits mailing list