summaryrefslogtreecommitdiff
path: root/include/svx/PaletteManager.hxx
diff options
context:
space:
mode:
authorRishabh Kumar <kris.kr296@gmail.com>2016-07-24 17:23:40 +0530
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-07-25 09:22:12 +0000
commitdb8ee318293da8967a8294dc558ffae898ba8e6b (patch)
treeffec9bb5b79aaebabc6c1e0ef02bf89806481aa8 /include/svx/PaletteManager.hxx
parent57c8915376dbb580760486071cac6533e05427bf (diff)
[GSoC] Fix palette selection in sidebar/toolbar color widget
Remember palette selection after the popup is destroyed Change-Id: Iecd7fd4aa89cf9d2d6842c5b544d037df6818aaf Reviewed-on: https://gerrit.libreoffice.org/27474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/svx/PaletteManager.hxx')
-rw-r--r--include/svx/PaletteManager.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/PaletteManager.hxx b/include/svx/PaletteManager.hxx
index 2d4c528a1984..09adc3653a92 100644
--- a/include/svx/PaletteManager.hxx
+++ b/include/svx/PaletteManager.hxx
@@ -46,6 +46,7 @@ class PaletteManager
long mnColorCount;
svx::ToolboxButtonColorUpdater* mpBtnUpdater;
+ XColorListRef pColorList;
Color mLastColor;
std::deque<Color> maRecentColors;
std::vector<std::unique_ptr<Palette>> m_Palettes;
@@ -61,6 +62,7 @@ public:
std::vector<OUString> GetPaletteList();
void SetPalette( sal_Int32 nPos );
sal_Int32 GetPalette();
+ OUString GetPaletteName();
long GetColorCount();
long GetRecentColorCount();