From a09092f20455ea68a22f815a8b086fc4c4c5100d Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Mon, 20 Nov 2023 09:17:29 +0100 Subject: 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 --- sd/source/ui/dlg/tpoption.cxx | 2 -- sd/source/ui/inc/tpoption.hxx | 1 - 2 files changed, 3 deletions(-) (limited to 'sd/source') 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 m_xCbxMasterPageCache; std::unique_ptr m_xCbxCopy; std::unique_ptr m_xCbxMarkedHitMovesAlways; - std::unique_ptr m_xPresentationFrame; std::unique_ptr m_xLbMetric; std::unique_ptr m_xMtrFldTabstop; -- cgit