diff options
Diffstat (limited to 'lotuswordpro/source/filter')
-rw-r--r-- | lotuswordpro/source/filter/lwpnotes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpnotes.cxx b/lotuswordpro/source/filter/lwpnotes.cxx index 7b2221a80a67..e203d42ae113 100644 --- a/lotuswordpro/source/filter/lwpnotes.cxx +++ b/lotuswordpro/source/filter/lwpnotes.cxx @@ -98,7 +98,7 @@ void LwpFribNote::RegisterNewStyle() */ void LwpFribNote::XFConvert(XFContentContainer* pCont) { - LwpNoteLayout* pLayout =static_cast<LwpNoteLayout*>(m_Layout.obj().get()); + LwpNoteLayout* pLayout = dynamic_cast<LwpNoteLayout*>(m_Layout.obj().get()); if(pLayout) { XFAnnotation* pXFNote = new XFAnnotation; |