summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-30 19:09:24 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-30 19:11:19 +0200
commitdf0334b9a53e3144ef87f5dda96a95626f2746cf (patch)
tree7d9998ffdd1b50c7c95af4aed0090f9f5557dfad /sc
parent74f46aaa4b9ecffc8d20b0d22bb36625eeb4391d (diff)
show correct preview when opening the dialog, fdo#51590
Change-Id: I58059655ca45c944e260cabbe348ed690dad3a22
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index afa7575839e6..6c4865be1e7d 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -214,6 +214,7 @@ ScCondFrmtEntry::ScCondFrmtEntry(Window* pParent, ScDocument* pDoc, const ScForm
const ScCondFormatEntry* pEntry = static_cast<const ScCondFormatEntry*>(pFormatEntry);
rtl::OUString aStyleName = pEntry->GetStyle();
maLbStyle.SelectEntry(aStyleName);
+ StyleSelectHdl(NULL);
ScConditionMode eMode = pEntry->GetOperation();
maLbType.SelectEntryPos(1);
maEdVal1.SetText(pEntry->GetExpression(maPos, 0));