diff options
author | Winfried Donkers <W.Donkers@dci-electronics.nl> | 2012-02-01 13:17:26 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-02-01 13:17:26 +0530 |
commit | 4daa3f54437730fe4e509082faa0d3509c62cea0 (patch) | |
tree | 57599148e17793bffcccc5b0e41d5f9d0095ba92 /svx/inc | |
parent | afc2de3e042401cee079b0bb65873ac7beca1769 (diff) |
fdo#34425: [Feature] Persist bgcolor toolbar button.
This is to avoid background color selection evertime.
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/svx/tbcontrl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/inc/svx/tbcontrl.hxx b/svx/inc/svx/tbcontrl.hxx index cdbd93b8f7a3..32f218d15f17 100644 --- a/svx/inc/svx/tbcontrl.hxx +++ b/svx/inc/svx/tbcontrl.hxx @@ -104,7 +104,7 @@ Note: Analysis of BrushItem: Brush-FillColor() is misused as switch, to distinguish whether a new style - or a new color has been set + or a new color has been set GetFillColor() == COL_BLACK -> GetStyle() , GetFillColor() == COL_WHITE -> GetColor() @@ -319,6 +319,7 @@ class SVX_DLLPUBLIC SvxFontColorExtToolBoxControl : public SfxToolBoxControl // SfxStatusForwarder aForward; ::svx::ToolboxButtonColorUpdater* pBtnUpdater; Color mLastColor; + sal_Bool bChoiceFromPalette; public: SFX_DECL_TOOLBOX_CONTROL(); |