[Libreoffice-commits] core.git: sw/source

Heiko Tietze (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 18 13:51:41 UTC 2021


 sw/source/ui/config/optpage.cxx  |    2 ++
 sw/source/uibase/inc/optpage.hxx |    1 +
 2 files changed, 3 insertions(+)

New commits:
commit 1c3b80e7ba0aafb0399fba2278379feed6a93eea
Author:     Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Mon Jan 18 12:13:26 2021 +0100
Commit:     Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Mon Jan 18 14:50:55 2021 +0100

    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 at documentfoundation.org>

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;


More information about the Libreoffice-commits mailing list