summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2020-06-12 16:41:07 +0200
committerDavid Tardon <dtardon@redhat.com>2020-06-12 19:05:08 +0200
commit06248bbaf21723f505d99c65906e5c6781c54c83 (patch)
tree69723c75471d0049c0edd72556cf9337b0dc692e /lotuswordpro
parent9dfa1d2f9fd94b5a8d25c8dccb2bd674886a12ba (diff)
use dynamic_cast
Change-Id: Iac420c2dd37be392ae817e0433de68c983546667
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpframelayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx
index 01be3544108d..feb6f76266f1 100644
--- a/lotuswordpro/source/filter/lwpframelayout.cxx
+++ b/lotuswordpro/source/filter/lwpframelayout.cxx
@@ -1166,7 +1166,7 @@ void LwpDropcapLayout::XFConvert(XFContentContainer* pCont)
void LwpDropcapLayout::RegisterStyle(LwpFoundry* pFoundry)
{
- LwpStory* pStory = static_cast<LwpStory*>(m_Content.obj(VO_STORY).get());
+ LwpStory* pStory = dynamic_cast<LwpStory*>(m_Content.obj(VO_STORY).get());
if (pStory)
{
pStory->SetDropcapFlag(true);