diff options
author | Jim Raykowski <raykowj@gmail.com> | 2020-03-14 18:01:11 -0800 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-03-23 15:36:14 +0100 |
commit | a5b1b65a1611fd1ad8e166cbddf6d2d9702b98d0 (patch) | |
tree | 4eb99f08a499ce4ec569ff951159b9dc8c1f78ff | |
parent | 6e83e7778d26f35d79ce573b6ee3ab149f7b6179 (diff) |
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@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | svx/source/tbxctrls/tbunocontroller.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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; |