[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - lotuswordpro/source
David Tardon (via logerrit)
logerrit at kemper.freedesktop.org
Sat Jun 13 14:07:06 UTC 2020
lotuswordpro/source/filter/lwpframelayout.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 40f6f850f0ad2b5899655076a317cba1b8d92e89
Author: David Tardon <dtardon at redhat.com>
AuthorDate: Fri Jun 12 16:41:07 2020 +0200
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jun 13 16:06:36 2020 +0200
use dynamic_cast
Change-Id: Iac420c2dd37be392ae817e0433de68c983546667
(cherry picked from commit 06248bbaf21723f505d99c65906e5c6781c54c83)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96270
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx
index 3e6d9580f4e6..1d7fcc09e7df 100644
--- a/lotuswordpro/source/filter/lwpframelayout.cxx
+++ b/lotuswordpro/source/filter/lwpframelayout.cxx
@@ -1172,7 +1172,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);
More information about the Libreoffice-commits
mailing list