summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2021-01-18 12:13:26 +0100
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2021-01-18 14:50:55 +0100
commit1c3b80e7ba0aafb0399fba2278379feed6a93eea (patch)
tree318d2d7f3e788024cdf43b8d3dc1c6855687e9da /sw/source
parent2ee26f786431bba97134f75ac3f9440712562f2a (diff)
Resolves tdf#139521 - Hide image anchor option in Writer Web mode
Change-Id: Ic5298069fcabbd2c72eb43fdf270b69c53570298 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109539 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/config/optpage.cxx2
-rw-r--r--sw/source/uibase/inc/optpage.hxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index b6f0b696a91b..57615feabf6d 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -1226,6 +1226,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"))
@@ -1258,6 +1259,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 18f2d1ee4c04..eebacf51ef53 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -242,6 +242,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;