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

Caolán McNamara caolanm at redhat.com
Thu May 3 19:59:32 UTC 2018


 sfx2/source/sidebar/SidebarDockingWindow.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fb85d38546f18a2f6addbe9c8acbafdb3cca989e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 3 15:25:07 2018 +0100

    coverity#1435275 Uninitialized scalar field
    
    Change-Id: I5a488d11565166c4143bd8992f40cb776906cb2b
    Reviewed-on: https://gerrit.libreoffice.org/53804
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index e241ab6cbb8e..b962d86f9e10 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -34,6 +34,7 @@ SidebarDockingWindow::SidebarDockingWindow(SfxBindings* pSfxBindings, SidebarChi
                                            vcl::Window* pParentWindow, WinBits nBits)
     : SfxDockingWindow(pSfxBindings, &rChildWindow, pParentWindow, nBits)
     , mpSidebarController()
+    , mbIsReadyToDrag(false)
 {
     // Get the XFrame from the bindings.
     if (pSfxBindings==nullptr || pSfxBindings->GetDispatcher()==nullptr)


More information about the Libreoffice-commits mailing list