summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-25 23:08:47 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-26 00:49:15 +0100
commit7ea45e67c29b22b2c94375be3935f1343306a25c (patch)
tree24367066b87b84a02073f925bfb908d1dcd9387c
parentab121cf8540dc26b4877022b11e2ea50a4fd9b5e (diff)
show style when dialog is created with existing cond format, fdo#59778
Change-Id: Ic1218179cd9c87ec15826adc861d505339a05f2d
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx4
1 files changed, 4 insertions, 0 deletions
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()