summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-15 07:06:06 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-15 19:11:54 +0100
commit5b7db7ec86cc2aa8119fd29ec844d6b52f6c4fcf (patch)
treeb6fb95a57dfbfab1b66634452b83012bf3060211
parentc25bee9ca3c3015c46c8fcb28654e5bed8a4d912 (diff)
Revert "fix icon set rendering information creation, fdo#58610"
-rw-r--r--sc/source/core/data/colorscale.cxx1
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 073fbdc38ec6..f5d23c1285bd 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -894,6 +894,7 @@ 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 59ddfb3ee9eb..487842a3b41d 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -1302,8 +1302,6 @@ 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 ):