summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-13 00:34:07 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-13 12:34:24 +0200
commitb2e6a5717db9cbe6d9fa59ceaf860697b925ba76 (patch)
treeb8ceb2197602e25a414186b974923f72fae48ace /sc
parent5134d1acafd64b214f03078186d6c76be1f72c6d (diff)
also write the value for COLORSCALE_VALUE into the model
Change-Id: I4e34f8d5c3eb3880e2ef3e7d65736057689b50bf
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index 387fb3e5f82e..a84103c08e42 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -727,6 +727,7 @@ void SetColorScaleEntry( ScColorScaleEntry* pEntry, const ListBox& rType, const
break;
case 3:
pEntry->SetType(COLORSCALE_VALUE);
+ pEntry->SetValue(nVal);
break;
case 4:
pEntry->SetType(COLORSCALE_PERCENT);