[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 8 22:20:03 PST 2013


 sc/source/ui/condformat/condformatdlgentry.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 028c21ba5075edc90f1367061b294ef392e66ec7
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Jan 9 07:20:13 2013 +0100

    accidently moved that line around
    
    Change-Id: I8a6bbe161a91140e1ee2aca36ba848a02286108f

diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index 3406982..487842a 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -506,7 +506,6 @@ ScFormulaFrmtEntry::ScFormulaFrmtEntry( Window* pParent, ScDocument* pDoc, const
 
     FreeResource();
     maLbType.SelectEntryPos(2);
-    maLbColorFormat.SelectEntryPos(1);
 
     if(pFormat)
     {
@@ -816,6 +815,7 @@ ScColorScale3FrmtEntry::ScColorScale3FrmtEntry( Window* pParent, ScDocument* pDo
     maLbEntryTypeMin.RemoveEntry(0);
     maLbEntryTypeMiddle.RemoveEntry(0);
     maLbEntryTypeMax.RemoveEntry(0);
+    maLbColorFormat.SelectEntryPos(1);
 
     Init();
     maLbType.SelectEntryPos(0);


More information about the Libreoffice-commits mailing list