[Libreoffice-commits] core.git: lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Thu Dec 10 07:00:20 PST 2015
lotuswordpro/source/filter/lwpfribbreaks.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9ad6f07e0b5494e55d70642120f173961845ce30
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Dec 10 14:59:22 2015 +0000
don't trust that this is what its supposed to be
Change-Id: I8ae6252039729a1cba8c2fe34f72222c94e3e449
diff --git a/lotuswordpro/source/filter/lwpfribbreaks.cxx b/lotuswordpro/source/filter/lwpfribbreaks.cxx
index 2330330..882694e 100644
--- a/lotuswordpro/source/filter/lwpfribbreaks.cxx
+++ b/lotuswordpro/source/filter/lwpfribbreaks.cxx
@@ -126,7 +126,7 @@ void LwpFribPageBreak::RegisterBreakStyle(LwpPara* pPara)
XFParaStyle* pBaseStyle = pPara->GetXFParaStyle();
if (pBaseStyle == nullptr) return;
- LwpPageLayout* pLayout = static_cast<LwpPageLayout*>(m_Layout.obj().get());
+ LwpPageLayout* pLayout = dynamic_cast<LwpPageLayout*>(m_Layout.obj().get());
if(pLayout)
{
m_pMasterPage = new LwpMasterPage(pPara, pLayout);
More information about the Libreoffice-commits
mailing list