summaryrefslogtreecommitdiff
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:12:42 +0200
commitd500b55a4ab9b4ec29b8432a638dfb5a1da6fe6c (patch)
tree5752940117ac31582eaea3ade387bab5bb51aec6
parent28e1bfff072d4954a42fb98c4a5c7e955104bd88 (diff)
show correct preview when opening the dialog, fdo#51590
Change-Id: I58059655ca45c944e260cabbe348ed690dad3a22
-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 486dcb137693..862df3e8dca2 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));