cui/source/tabpages/swpossizetabpage.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 87457a8f5883a6c200982e54973c83fa8014ae31
Author:     Miklos Vajna <[email protected]>
AuthorDate: Fri Jan 2 10:47:55 2026 +0100
Commit:     Miklos Vajna <[email protected]>
CommitDate: Mon Jan 5 19:17:03 2026 +0100

    cool#13945 cui lok: hide UI to set DOCX-incompatible anchor types
    
    This is similar to commit 4154d281fbecaadf6cd118c00cc6cff929e339a4 (sw
    lok: hide UI to set Word-incompatible anchor types, 2019-07-05), but
    here the context menu was already filtered, so just need to hide two
    radio buttons in the Writer-specific tab page of the shape position &
    size dialog.
    
    Change-Id: I575872a65deb2e6c6bc08515752911991e6505f2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196552
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Jenkins

diff --git a/cui/source/tabpages/swpossizetabpage.cxx 
b/cui/source/tabpages/swpossizetabpage.cxx
index baf69df3257b..4cf1b873d207 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -628,6 +628,13 @@ SvxSwPosSizeTabPage::SvxSwPosSizeTabPage(weld::Container* 
pPage, weld::DialogCon
 
     m_xHoriMirrorCB->connect_toggled(LINK(this, SvxSwPosSizeTabPage, 
MirrorHdl));
     m_xPositionCB->connect_toggled(LINK(this, SvxSwPosSizeTabPage, 
ProtectHdl));
+
+    if (comphelper::LibreOfficeKit::isActive())
+    {
+        // Hide these, they can't be saved to OOXML.
+        m_xToPageRB->hide();
+        m_xToFrameRB->hide();
+    }
 }
 
 SvxSwPosSizeTabPage::~SvxSwPosSizeTabPage()

Reply via email to