[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sw/source

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 18 06:55:06 UTC 2019


 sw/source/uibase/uiview/viewdraw.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dac004faa077a7794bb3f33aa8a5c8344e1b891e
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Thu Apr 18 07:48:11 2019 +0200
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Thu Apr 18 08:54:16 2019 +0200

    Build fix after commit 916c5834d09a4f9742cbdd00ab5d53b140a97153
    
    Change-Id: Ia5ca829877712b9814ce6eee392d8f1f23a7e97b
    Reviewed-on: https://gerrit.libreoffice.org/70915
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index 09d49e3b52a5..86a671102228 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -353,9 +353,9 @@ void SwView::ExecDraw(SfxRequest& rReq)
             {
                 m_pWrtShell->GotoObj(true);
             }
-            else if (dynamic_cast<ConstCustomShape*>(pTempFuncPtr))
+            else if (dynamic_cast<ConstCustomShape*>(pFuncPtr))
             {
-                pTempFuncPtr->CreateDefaultObject();
+                pFuncPtr->CreateDefaultObject();
             }
             else
             {


More information about the Libreoffice-commits mailing list