diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-16 15:33:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-19 09:37:11 +0200 |
commit | 3638ac34cab9b8db8454267f53f43f216a373eda (patch) | |
tree | 407961561a30bad4d0039ce4bdb74030db059717 /include | |
parent | tdf#126663 speed up styles display by sorting twice (diff) | |
download | core-3638ac34cab9b8db8454267f53f43f216a373eda.tar.gz core-3638ac34cab9b8db8454267f53f43f216a373eda.zip |
tdf#126819 Can't retrieve the mouse position written in the statusbar
regression from
commit 77e260f915e0c77ddb1e915e9fd27ab0bdccc763
Date: Mon Jul 8 11:22:12 2019 +0200
tdf#121793 speedup VCLXAccessibleStatusBarItem::GetItemText
Make the custom StatusBarControls set better text on their parent
StatusBar. Also remove some unnecessary work being done in the Paint
methods, to reduce confusion.
Change-Id: I3b0a0af3b01d3b01f85ab335a3eb5993c07a50f4
Reviewed-on: https://gerrit.libreoffice.org/77586
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit c53f3f8f58f55d0978fb968446975856d72a52f8)
Reviewed-on: https://gerrit.libreoffice.org/77697
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/pszctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/zoomctrl.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/pszctrl.hxx b/include/svx/pszctrl.hxx index d22e0ba05d18..faf8923d94cc 100644 --- a/include/svx/pszctrl.hxx +++ b/include/svx/pszctrl.hxx @@ -39,6 +39,8 @@ public: virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) override; virtual void Paint( const UserDrawEvent& rEvt ) override; virtual void Command( const CommandEvent& rCEvt ) override; +private: + void ImplUpdateItemText(); }; #endif diff --git a/include/svx/zoomctrl.hxx b/include/svx/zoomctrl.hxx index afd3130e2c20..e0daa4b971ca 100644 --- a/include/svx/zoomctrl.hxx +++ b/include/svx/zoomctrl.hxx @@ -40,6 +40,8 @@ public: SvxZoomStatusBarControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); +private: + void ImplUpdateItemText(); }; class SVX_DLLPUBLIC SvxZoomPageStatusBarControl : public SfxStatusBarControl |