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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 22 08:00:15 UTC 2018


 svx/source/unodraw/unoshtxt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fbfb65f140f0dea1c782d1d4c97f272d40135426
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sun Oct 21 22:44:42 2018 +0200
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Oct 22 09:59:52 2018 +0200

    tdf#120703 (PVS): Recurring check.
    
    V571 The 'mpView' condition was already verified in line 417.
    
    Change-Id: I64d522412f1f627ab04a29f90b33177ef726eb58
    Reviewed-on: https://gerrit.libreoffice.org/62157
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index 4192e359a49d..46ea6032705c 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -416,7 +416,7 @@ void SvxTextEditSourceImpl::dispose()
     if( mpView )
     {
         // remove as listener - outliner might outlive ourselves
-        if (mbNotifyEditOutlinerSet && mpView && mpView->GetTextEditOutliner())
+        if (mbNotifyEditOutlinerSet && mpView->GetTextEditOutliner())
         {
             mpView->GetTextEditOutliner()->SetNotifyHdl(Link<EENotify&,void>());
             mbNotifyEditOutlinerSet = false;


More information about the Libreoffice-commits mailing list