chart2/source/controller/main/ChartController.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 13174d63ded1bffd6e038caa6444cfb37960136f
Author:     Mike Kaganski <[email protected]>
AuthorDate: Fri Jul 4 09:21:01 2025 +0200
Commit:     Miklos Vajna <[email protected]>
CommitDate: Wed Jul 9 08:55:20 2025 +0200

    Drop a redundant check
    
    Change-Id: Ia53c56545ce8a8092f1880075ec8908a104997a5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187359
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187514
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Miklos Vajna <[email protected]>

diff --git a/chart2/source/controller/main/ChartController.cxx 
b/chart2/source/controller/main/ChartController.cxx
index 59667d64a9f4..b7d270a99fdf 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -1045,7 +1045,7 @@ uno::Reference<frame::XDispatch> SAL_CALL
 
     if ( !m_aLifeTimeManager.impl_isDisposed() && getModel().is() )
     {
-        if( !rTargetFrameName.isEmpty() && rTargetFrameName == "_self" )
+        if (rTargetFrameName == "_self")
             return m_aDispatchContainer.getDispatchForURL( rURL );
     }
     return uno::Reference< frame::XDispatch > ();

Reply via email to