summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-12 07:22:31 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-12 07:26:39 +0100
commit0f6adf7a8cbccdb0a2697176a6e0e8cf58edd5fe (patch)
tree799f18dac6462d2db542e61c58e1b6ddfb05d132
parentc6f919c7288a7b59e9bad51d1452afba9a93c241 (diff)
fix icon set rendering information creation, fdo#58610
Change-Id: Iad5dec601b54893ed809ab908671698919779ddb
-rw-r--r--sc/source/core/data/colorscale.cxx1
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index f5d23c1285bd..073fbdc38ec6 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -894,7 +894,6 @@ ScIconSetInfo* ScIconSetFormat::GetIconSetInfo(const ScAddress& rAddr) const
sal_Int32 nIndex = 0;
const_iterator itr = begin();
- ++itr;
double nValMax = CalcValue(nMin, nMax, itr);
++itr;
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index 487842a3b41d..59ddfb3ee9eb 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -1302,6 +1302,8 @@ void ScIconSetFrmtEntry::ScIconSetFrmtDataEntry::SetLastEntry()
maEdEntry.Hide();
maLbEntryType.Hide();
maFtEntry.Hide();
+ maLbEntryType.SelectEntryPos(1);
+ maEdEntry.SetText(OUString("100"));
}
ScIconSetFrmtEntry::ScIconSetFrmtEntry( Window* pParent, ScDocument* pDoc, const ScAddress& rPos, const ScIconSetFormat* pFormat ):