[PATCH] coverity#704302 Logically dead code

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Sun Mar 24 14:13:47 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2977

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/77/2977/1

coverity#704302 Logically dead code

Change-Id: Ibdea2ca5225ac13e80b0a76cd0fd79e463c32e37
---
M sfx2/source/dialog/filedlghelper.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 164bc7e..6108a62 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -529,7 +529,7 @@
         for ( sal_uInt32 nCtrl = 0; nCtrl < nCount; ++nCtrl )
             if ( aCtrlList[ nCtrl ] == "SelectionBox" )
             {
-                bSelectionBoxFound = sal_False;
+                bSelectionBoxFound = sal_True;
                 break;
             }
     }

-- 
To view, visit https://gerrit.libreoffice.org/2977
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibdea2ca5225ac13e80b0a76cd0fd79e463c32e37
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <serval2412 at yahoo.fr>



More information about the LibreOffice mailing list