Kaydet (Commit) 9ad6f07e authored tarafından Caolán McNamara's avatar Caolán McNamara

don't trust that this is what its supposed to be

Change-Id: I8ae6252039729a1cba8c2fe34f72222c94e3e449
üst deb92037
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment