From 7ea45e67c29b22b2c94375be3935f1343306a25c Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 25 Jan 2013 23:08:47 +0100 Subject: show style when dialog is created with existing cond format, fdo#59778 Change-Id: Ic1218179cd9c87ec15826adc861d505339a05f2d --- sc/source/ui/condformat/condformatdlgentry.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index adb0f27e74a8..ed249611e328 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() @@ -1173,6 +1175,8 @@ ScDateFrmtEntry::ScDateFrmtEntry( Window* pParent, ScDocument* pDoc, const ScCon rtl::OUString aStyleName = pFormat->GetStyleName(); maLbStyle.SelectEntry(aStyleName); } + + StyleSelectHdl(NULL); } void ScDateFrmtEntry::Init() -- cgit