summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAditya <adityasahu1511@gmail.com>2019-04-06 13:23:48 +0530
committerJim Raykowski <raykowj@gmail.com>2019-04-09 03:54:41 +0200
commitf512f8818aec08a5b463c8acdf781e7ab27036f5 (patch)
treea16b1b313a79e00724b1e697935d85d824a1afd6 /include
parenttdf#45904 Move XPropertySet Java tests to C++ (diff)
downloadcore-f512f8818aec08a5b463c8acdf781e7ab27036f5.tar.gz
core-f512f8818aec08a5b463c8acdf781e7ab27036f5.zip
tdf#124247: Fix tooltip message when color added to recent colors
Presently, the tool tip text in recent colors is shown in its hexadecimal representation when the split color button is clicked. Change the hexadecimal representation of the colors in 'recent colors' to its actual color name. Change-Id: I59636eb124b75a9397337c9560bfff72804424ae Reviewed-on: https://gerrit.libreoffice.org/70337 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/tbxcolorupdate.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/tbxcolorupdate.hxx b/include/svx/tbxcolorupdate.hxx
index 03b6a091a8eb..ec7639bac3c7 100644
--- a/include/svx/tbxcolorupdate.hxx
+++ b/include/svx/tbxcolorupdate.hxx
@@ -52,6 +52,7 @@ namespace svx
void Update( const NamedColor& rNamedColor );
void Update( const Color& rColor, bool bForceUpdate = false );
Color const & GetCurrentColor() const { return maCurColor; }
+ OUString GetCurrentColorName();
private:
ToolboxButtonColorUpdater(ToolboxButtonColorUpdater const &) = delete;