framework/source/dispatch/closedispatcher.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 4b1e8a2a2a96191ccf75f52e924d8e36755a85a4
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Sun Oct 20 21:10:43 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Oct 21 01:22:49 2024 +0200

    tdf#163486: PVS: Remove forgotten else block
    
    Since
    commit 2f303d689ea7add6a94d14e2040a4d11ab866edd
    Author: Kurt Zenker <k...@openoffice.org>
    Date:   Thu Jun 10 12:20:58 2004 +0000
    
        INTEGRATION: CWS fwk02ea (1.6.38); FILE MERGED
    
    V705    It is possible that 'else' block was forgotten or commented out, 
thus altering the program's operation logics.
    
    Change-Id: Id5a331b0338a38740b5ecf3ad881d7ce4dd6033b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175289
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/framework/source/dispatch/closedispatcher.cxx 
b/framework/source/dispatch/closedispatcher.cxx
index 2fd3bc91e39f..5c1826fb8b4a 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -337,7 +337,6 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback, 
LinkParamNone*, void)
             //     => close our frame only - nothing else.
             if (!aCheck2.m_lOtherVisibleFrames.empty() || 
(!aCheck2.m_bReferenceIsBacking && aCheck2.m_xBackingComponent.is()))
                 bCloseFrame = true;
-            else
 
             // c2) if we close the current view ... but not all other views
             //     to the same document, we must close the current frame only!

Reply via email to