[Libreoffice-commits] .: Branch 'libreoffice-4-0' - sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Fri Feb 1 09:06:01 PST 2013


 sc/source/ui/condformat/condformatdlgentry.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit ca92558fca923cce205bd8e67f906d1d7e03121e
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Jan 25 23:08:47 2013 +0100

    show style when dialog is created with existing cond format, fdo#59778
    
    Change-Id: Ic1218179cd9c87ec15826adc861d505339a05f2d
    Reviewed-on: https://gerrit.libreoffice.org/1943
    Reviewed-by: Kohei Yoshida <kohei.yoshida at gmail.com>
    Tested-by: Kohei Yoshida <kohei.yoshida at gmail.com>

diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index fb4a30a..f750ed5 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -516,6 +516,8 @@ ScFormulaFrmtEntry::ScFormulaFrmtEntry( Window* pParent, ScDocument* pDoc, const
     {
         maLbStyle.SelectEntryPos(1);
     }
+
+    StyleSelectHdl(NULL);
 }
 
 void ScFormulaFrmtEntry::Init()
@@ -1175,6 +1177,8 @@ ScDateFrmtEntry::ScDateFrmtEntry( Window* pParent, ScDocument* pDoc, const ScCon
         rtl::OUString aStyleName = pFormat->GetStyleName();
         maLbStyle.SelectEntry(aStyleName);
     }
+
+    StyleSelectHdl(NULL);
 }
 
 void ScDateFrmtEntry::Init()


More information about the Libreoffice-commits mailing list