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

New commits:
commit 7548289d6342bc26563360b9d8c0b37c7b03b38b
Author: Jochen Nitschke <j.nitschke+loger...@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 <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noel.gran...@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)
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to