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

Stephan Bergmann sbergman at redhat.com
Mon Nov 23 07:58:55 PST 2015


 sw/source/uibase/docvw/SidebarWin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0721765417f787c8f4b1382b5d9100fa3a2a61ad
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 23 16:58:26 2015 +0100

    loplugin:nullptr
    
    Change-Id: Iefd6d4a08a4a5f90f4f2f95889f6425aabe61334

diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index 8d4079d..01cb771 100644
--- a/sw/source/uibase/docvw/SidebarWin.cxx
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
@@ -121,7 +121,7 @@ void lcl_translateTwips(vcl::Window& rParent, vcl::Window& rChild, MouseEvent* p
 /// Decide which one from the children of rParent should get rMouseEvent.
 vcl::Window* lcl_getHitWindow(sw::sidebarwindows::SwSidebarWin& rParent, const MouseEvent& rMouseEvent)
 {
-    vcl::Window* pRet = 0;
+    vcl::Window* pRet = nullptr;
 
     rParent.EditWin().Push(PushFlags::MAPMODE);
     rParent.EditWin().EnableMapMode();


More information about the Libreoffice-commits mailing list