diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-07 15:40:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-08 09:50:33 +0100 |
commit | 95945a601b7b3310ba3a891f374cfb2cabe49226 (patch) | |
tree | 09fb207326613c49a9195eddaab1a0e6b7c2ee35 /include | |
parent | 64d0e5cfb8e9b05b5de02121b948c15b94310204 (diff) |
AreaPropertyPanelBase::Initialize not called in chart sidebar
AreaPropertyPanelBase::Initialize used to be called twice in
the "normal" sidebar, the effort in
commit 40fe5b93bc0838e04b46bfc7942d1ee6a2482ce0
Author: Caolán McNamara <caolanm@redhat.com>
Date: Thu Jan 2 14:45:32 2020 +0000
weld AreaPropertyPanel
to get it called once in the normal case caused it to get
called 0 times in the chart case, fix it to get called once
in either case
Change-Id: I2c4acffb58ed3b45e86e3bf0ce91db52989a0e25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86356
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/sidebar/AreaPropertyPanelBase.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/sidebar/AreaPropertyPanelBase.hxx b/include/svx/sidebar/AreaPropertyPanelBase.hxx index bc72b8b7c4aa..d6bde2831b80 100644 --- a/include/svx/sidebar/AreaPropertyPanelBase.hxx +++ b/include/svx/sidebar/AreaPropertyPanelBase.hxx @@ -97,6 +97,9 @@ public: void updateFillColor(bool bDefaultOrSet, const SfxPoolItem* pState); void updateFillBitmap(bool BDisabled, bool bDefaultOrSet, const SfxPoolItem* pState); +private: + void Initialize(); + protected: sal_uInt16 meLastXFS; @@ -158,7 +161,6 @@ protected: DECL_LINK(ClickImportBitmapHdl, weld::Button&, void); DECL_LINK(ToolbarHdl_Impl, const OString&, void); - void Initialize(); void Update(); void ImpUpdateTransparencies(); void SetTransparency(sal_uInt16 nVal); |