sd/source/ui/dlg/tpoption.cxx |    2 --
 sd/source/ui/inc/tpoption.hxx |    1 -
 2 files changed, 3 deletions(-)

New commits:
commit a09092f20455ea68a22f815a8b086fc4c4c5100d
Author:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
AuthorDate: Mon Nov 20 09:17:29 2023 +0100
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
CommitDate: Mon Nov 20 10:56:23 2023 +0100

    presentationframe is no more
    
    Since 7ca9c5bd2e2e3cda5686b7b8f5b657161eb52cdd
    
    This fixes a crash when navigating to the Draw Options page
    
    Change-Id: Id0d39b7c0b1effe22eae407903b1becfd4ad0da9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159732
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>

diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index a028d0e08d58..c7ee0843a42b 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -203,7 +203,6 @@ SdTpOptionsMisc::SdTpOptionsMisc(weld::Container* pPage, 
weld::DialogController*
     , m_xCbxMasterPageCache(m_xBuilder->weld_check_button("backgroundback"))
     , m_xCbxCopy(m_xBuilder->weld_check_button("copywhenmove"))
     , m_xCbxMarkedHitMovesAlways(m_xBuilder->weld_check_button("objalwymov"))
-    , m_xPresentationFrame(m_xBuilder->weld_frame("presentationframe"))
     , m_xLbMetric(m_xBuilder->weld_combo_box("units"))
     , m_xMtrFldTabstop(m_xBuilder->weld_metric_spin_button("metricFields", 
FieldUnit::MM))
     , m_xCbxCompatibility(m_xBuilder->weld_check_button("cbCompatibility"))
@@ -524,7 +523,6 @@ void SdTpOptionsMisc::SetDrawMode()
     m_xCbxCompatibility->hide();
     m_xNewDocLb->hide();
     m_xCbScale->show();
-    m_xPresentationFrame->hide();
     m_xMtrFldInfo1->hide();
     m_xMtrFldInfo2->hide();
     m_xWidthLb->hide();
diff --git a/sd/source/ui/inc/tpoption.hxx b/sd/source/ui/inc/tpoption.hxx
index c974ccda07e6..5ba80c3842ed 100644
--- a/sd/source/ui/inc/tpoption.hxx
+++ b/sd/source/ui/inc/tpoption.hxx
@@ -83,7 +83,6 @@ private:
     std::unique_ptr<weld::CheckButton> m_xCbxMasterPageCache;
     std::unique_ptr<weld::CheckButton> m_xCbxCopy;
     std::unique_ptr<weld::CheckButton> m_xCbxMarkedHitMovesAlways;
-    std::unique_ptr<weld::Frame> m_xPresentationFrame;
 
     std::unique_ptr<weld::ComboBox> m_xLbMetric;
     std::unique_ptr<weld::MetricSpinButton> m_xMtrFldTabstop;

Reply via email to