[Libreoffice-commits] core.git: include/svx svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 26 16:09:31 UTC 2020


 include/svx/verttexttbxctrl.hxx         |    3 +++
 svx/source/tbxctrls/verttexttbxctrl.cxx |    7 +++++++
 2 files changed, 10 insertions(+)

New commits:
commit 2f019777fbbd2a1f9821f5d19608cc2a36413d9d
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jan 25 21:54:52 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jan 26 17:08:58 2020 +0100

    restore fix of tdf#83320 Hide vertical text commands early
    
    Change-Id: I738776028af90e2711418f922ff6e77a5cce14c4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87423
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/svx/verttexttbxctrl.hxx b/include/svx/verttexttbxctrl.hxx
index 12498068c467..77471310707a 100644
--- a/include/svx/verttexttbxctrl.hxx
+++ b/include/svx/verttexttbxctrl.hxx
@@ -43,6 +43,9 @@ public:
 
     virtual ~SvxVertCTLTextTbxCtrl() override;
 
+    // XInitialization
+    virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override;
+
     // XServiceInfo
     virtual OUString SAL_CALL getImplementationName() override = 0;
     virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
diff --git a/svx/source/tbxctrls/verttexttbxctrl.cxx b/svx/source/tbxctrls/verttexttbxctrl.cxx
index 7fbb87c245d7..2176ae8b6362 100644
--- a/svx/source/tbxctrls/verttexttbxctrl.cxx
+++ b/svx/source/tbxctrls/verttexttbxctrl.cxx
@@ -74,6 +74,13 @@ SvxVertCTLTextTbxCtrl::~SvxVertCTLTextTbxCtrl( )
 {
 }
 
+void SAL_CALL SvxVertCTLTextTbxCtrl::initialize(const css::uno::Sequence<css::uno::Any>& rArguments)
+{
+    SvxVertCTLTextTbxCtrl_Base::initialize(rArguments);
+    // fdo#83320 Hide vertical text commands early
+    setFastPropertyValue_NoBroadcast(1, css::uno::makeAny(true));
+}
+
 void SAL_CALL SvxVertCTLTextTbxCtrl::statusChanged(const css::frame::FeatureStateEvent& rEvent)
 {
     ToolBox* pToolBox = nullptr;


More information about the Libreoffice-commits mailing list