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

Jochen Nitschke j.nitschke+logerrit at ok.de
Mon Mar 6 05:58:23 UTC 2017


 sd/source/ui/func/fuprlout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7548289d6342bc26563360b9d8c0b37c7b03b38b
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Mar 6 00:24:09 2017 +0100

    cppcheck: knownConditionTrueFalse
    
    > Condition '!bError' is always true
    
    Change-Id: I8dc7293ab57f765cc532565cac3d009742152387
    Reviewed-on: https://gerrit.libreoffice.org/34911
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sd/source/ui/func/fuprlout.cxx b/sd/source/ui/func/fuprlout.cxx
index 5674262..e615de9 100644
--- a/sd/source/ui/func/fuprlout.cxx
+++ b/sd/source/ui/func/fuprlout.cxx
@@ -239,7 +239,7 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq )
             static_cast<DrawView*>(mpView)->BlockPageOrderChangedHint(false);
 
         // if the master page was visible, show it again
-        if (!bError && !aSelectedPages.empty())
+        if (!aSelectedPages.empty())
         {
             if (bOnMaster)
             {


More information about the Libreoffice-commits mailing list