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

New commits:
commit ca92558fca923cce205bd8e67f906d1d7e03121e
Author: Markus Mohrhard <markus.mohrh...@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.yosh...@gmail.com>
    Tested-by: Kohei Yoshida <kohei.yosh...@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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to