summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-25 23:08:47 +0100
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-02-01 17:05:42 +0000
commitca92558fca923cce205bd8e67f906d1d7e03121e (patch)
treeb15356e32775c3c4ff3e1fa77a270884c452e358 /sc
parent7c6b21c31904b2ed007f961e4bf094af1a1981c7 (diff)
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.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Diffstat (limited to 'sc')
-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 fb4a30a005d1..f750ed593572 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()