[PATCH] Change in core[libreoffice-4-0]: fix icon set rendering information creation, fdo#58610

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Fri Jan 11 22:33:21 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1661

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/61/1661/1

fix icon set rendering information creation, fdo#58610

Change-Id: Iad5dec601b54893ed809ab908671698919779ddb
---
M sc/source/core/data/colorscale.cxx
M sc/source/ui/condformat/condformatdlgentry.cxx
2 files changed, 2 insertions(+), 1 deletion(-)



diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index f5d23c1..073fbdc 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -894,7 +894,6 @@
 
     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 12e804a..09bcb16 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -1304,6 +1304,8 @@
     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 ):

-- 
To view, visit https://gerrit.libreoffice.org/1661
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad5dec601b54893ed809ab908671698919779ddb
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>



More information about the LibreOffice mailing list