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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 30 19:45:09 UTC 2020


 sfx2/source/dialog/backingcomp.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit d3abc34b6e7156105810c71ffd5bdf3635f2f7cf
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 30 12:05:56 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 30 20:44:17 2020 +0100

    pSysWindow is unused
    
    Change-Id: I36250d032af49f83f28be175a081dba344eac631
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105077
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx
index 4426db2fcc3c..2e9ccb5bd1a2 100644
--- a/sfx2/source/dialog/backingcomp.cxx
+++ b/sfx2/source/dialog/backingcomp.cxx
@@ -376,13 +376,6 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f
     if( pBack )
         pBack->setOwningFrame( m_xFrame );
 
-    // set NotebookBar
-    SystemWindow* pSysWindow = pParent;
-    if (pSysWindow)
-    {
-        //sfx2::SfxNotebookBar::StateMethod(pSysWindow, m_xFrame, "sfx/ui/notebookbar.ui");
-    }
-
     // Set a minimum size for Start Center
     if( !pParent || !pBack )
         return;


More information about the Libreoffice-commits mailing list