diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2021-01-18 12:13:26 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-01-19 11:20:45 +0100 |
commit | 157b30d9b50c7c164648f72a34f87aff5a3a1d26 (patch) | |
tree | a23dc9d0495d2d0cf878ee5de09849e8fe01716c /sw | |
parent | 15f83d08ad2fd5be3069e2952483251f95bb9fd9 (diff) |
Resolves tdf#139521 - Hide image anchor option in Writer Web mode
Change-Id: Ic5298069fcabbd2c72eb43fdf270b69c53570298
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109523
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/config/optpage.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/optpage.hxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index 5820f260886e..26ae3fb628bd 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -1214,6 +1214,7 @@ SwShdwCursorOptionsTabPage::SwShdwCursorOptionsTabPage(weld::Container* pPage, w , m_xOnOffCB(m_xBuilder->weld_check_button("cursoronoff")) , m_xDirectCursorFillMode(m_xBuilder->weld_combo_box("cxDirectCursorFillMode")) , m_xCursorProtFrame(m_xBuilder->weld_frame("crsrprotframe")) + , m_xImageFrame(m_xBuilder->weld_frame("frmImage")) , m_xCursorInProtCB(m_xBuilder->weld_check_button("cursorinprot")) , m_xDefaultAnchorType(m_xBuilder->weld_combo_box("cxDefaultAnchor")) , m_xMathBaselineAlignmentCB(m_xBuilder->weld_check_button("mathbaseline")) @@ -1246,6 +1247,7 @@ SwShdwCursorOptionsTabPage::SwShdwCursorOptionsTabPage(weld::Container* pPage, w m_xDirectCursorFillMode->hide(); m_xCursorProtFrame->hide(); m_xCursorInProtCB->hide(); + m_xImageFrame->hide(); } SwShdwCursorOptionsTabPage::~SwShdwCursorOptionsTabPage() diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx index 93a84bbb2758..31be1cc611e9 100644 --- a/sw/source/uibase/inc/optpage.hxx +++ b/sw/source/uibase/inc/optpage.hxx @@ -238,6 +238,7 @@ class SwShdwCursorOptionsTabPage : public SfxTabPage std::unique_ptr<weld::ComboBox> m_xDirectCursorFillMode; std::unique_ptr<weld::Frame> m_xCursorProtFrame; + std::unique_ptr<weld::Frame> m_xImageFrame; std::unique_ptr<weld::CheckButton> m_xCursorInProtCB; std::unique_ptr<weld::ComboBox> m_xDefaultAnchorType; |