diff options
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/condformat/condformatdlgentry.cxx | 2 |
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 ): |