summaryrefslogtreecommitdiff
path: root/sc/source/core/data/colorscale.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-07-10 03:58:21 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-07-14 01:58:17 +0200
commit4b7ce45c2384fdd65c17ab18036899cd76577254 (patch)
tree8e62e5ddd010495588359e97fa5c035adbca83a4 /sc/source/core/data/colorscale.cxx
parent17722541e906cf64dcdd7169194aad72ec14bb10 (diff)
add tests for tdf#117809
Change-Id: Ifbd48879a10acfbc6fdb0f2799321ff0684cdcc4 Reviewed-on: https://gerrit.libreoffice.org/57407 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/core/data/colorscale.cxx')
-rw-r--r--sc/source/core/data/colorscale.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index e35083b639fe..3617dcf7401f 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -346,6 +346,11 @@ void ScColorScaleEntry::setListener()
}
}
+void ScColorScaleEntry::SetRepaintCallback(std::function<void()> func)
+{
+ mpListener->setCallback(func);
+}
+
ScColorFormat::ScColorFormat(ScDocument* pDoc)
: ScFormatEntry(pDoc)
, mpParent(nullptr)