diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-10 14:59:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-10 14:59:22 +0000 |
commit | 9ad6f07e0b5494e55d70642120f173961845ce30 (patch) | |
tree | 8e5697ad18d7dfdb0d5f246859c3c67871e1a06c | |
parent | deb9203741dcea5dd3f2260f90203c07fb79e9de (diff) |
don't trust that this is what its supposed to be
Change-Id: I8ae6252039729a1cba8c2fe34f72222c94e3e449
-rw-r--r-- | lotuswordpro/source/filter/lwpfribbreaks.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfribbreaks.cxx b/lotuswordpro/source/filter/lwpfribbreaks.cxx index 233033058b20..882694e6bd22 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); |