sd/source/ui/func/fuoltext.cxx |    3 +--
 sd/source/ui/inc/fuoltext.hxx  |    1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 06e1529d712dbfeb4a82bf489d535c6c66f8f50e
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Wed May 14 14:18:04 2025 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed May 14 18:05:18 2025 +0200

    sd: drop duplicated variable
    
    Since
    commit 291919476294f62d7af9b8b7060d138728897ee7
    Author: Sarper Akdemir <sarper.akdemir.ext...@allotropia.de>
    Date:   Thu Apr 4 07:18:38 2024 +0300
    
        tdf#33603: sd: rework notes panel
    
    Change-Id: I9da4848abbaae6f343228d15c1ad13606571fd78
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185310
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/sd/source/ui/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx
index 57f626a6ecab..ff0f49fe90f7 100644
--- a/sd/source/ui/func/fuoltext.cxx
+++ b/sd/source/ui/func/fuoltext.cxx
@@ -85,7 +85,7 @@ const sal_uInt16 SidArray[] = {
 void FuOutlineText::UpdateForKeyPress (const KeyEvent& rEvent)
 {
     FuSimpleOutlinerText::UpdateForKeyPress(rEvent);
-    pOutlineViewShell->UpdatePreview(pOutlineViewShell->GetActualPage());
+    mpViewShell->UpdatePreview(mpViewShell->GetActualPage());
 }
 
 /**
@@ -124,7 +124,6 @@ FuSimpleOutlinerText::FuSimpleOutlinerText(ViewShell* 
pViewShell, ::sd::Window*
                              ::sd::SimpleOutlinerView* pView, SdDrawDocument* 
pDoc,
                              SfxRequest& rReq)
        : FuPoor(pViewShell, pWindow, pView, pDoc, rReq),
-         pOutlineViewShell (pViewShell),
          mpSimpleOutlinerView (pView)
 {
 }
diff --git a/sd/source/ui/inc/fuoltext.hxx b/sd/source/ui/inc/fuoltext.hxx
index 9ac8e38dd692..94be7168947c 100644
--- a/sd/source/ui/inc/fuoltext.hxx
+++ b/sd/source/ui/inc/fuoltext.hxx
@@ -61,7 +61,6 @@ protected:
         SdDrawDocument* pDoc,
         SfxRequest& rReq);
 
-    ViewShell* pOutlineViewShell;
     SimpleOutlinerView* mpSimpleOutlinerView;
 };
 

Reply via email to