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

Noel Grandin noel.grandin at collabora.co.uk
Fri Nov 25 08:03:58 UTC 2016


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

New commits:
commit 8b511fa1fbc63c449de95b3b4de05298a5944312
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Nov 25 10:03:27 2016 +0200

    warning C4701: potentially uninitialized local variable
    
    Change-Id: I8f68531f2ffa419f7a1fd5b4cda1b43988de6b68

diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx
index 482d794..3e48e06 100644
--- a/sw/source/uibase/docvw/romenu.cxx
+++ b/sw/source/uibase/docvw/romenu.cxx
@@ -266,7 +266,7 @@ void SwReadOnlyPopup::Execute( vcl::Window* pWin, sal_uInt16 nId )
 
     sal_uInt16 nExecId = USHRT_MAX;
     bool bFilterSet = false;
-    LoadUrlFlags nFilter;
+    LoadUrlFlags nFilter = LoadUrlFlags::NONE;
     switch( nId )
     {
         case SID_WIN_FULLSCREEN :           nExecId = SID_WIN_FULLSCREEN; break;


More information about the Libreoffice-commits mailing list