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

Jim Raykowski (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 23 14:36:49 UTC 2020


 svx/source/tbxctrls/tbunocontroller.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a5b1b65a1611fd1ad8e166cbddf6d2d9702b98d0
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sat Mar 14 18:01:11 2020 -0800
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Mar 23 15:36:14 2020 +0100

    tdf#131344 Make SvxFontSizeBox_Impl Enable and Disable work
    
    ...with change to InterimItemWindow way of using FontSizeBox as member
    variable widget
    
    Change-Id: I0ad0c3191800ce80a88e58467950a80b5791a2da
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90510
    Tested-by: Jenkins
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index 6cf14a541f1c..33cf5c4ed6c8 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -101,6 +101,9 @@ public:
     virtual void        DataChanged( const DataChangedEvent& rDCEvt ) override;
     virtual void        GetFocus() override;
 
+    void Enable() {m_xWidget->set_sensitive(true); InterimItemWindow::Enable();}
+    void Disable() {m_xWidget->set_sensitive(false); InterimItemWindow::Disable();}
+
 private:
     FontHeightToolBoxControl&                  m_rCtrl;
     OUString                                   m_aCurText;


More information about the Libreoffice-commits mailing list