diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-12 21:06:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-12 21:06:51 +0000 |
commit | 8d57f2fb953f031c48892366ce52f6d4fcb9c025 (patch) | |
tree | 5033c39f22b85cbeec485ff860f7b2238c90a901 /lotuswordpro | |
parent | e9801b286b7af0a6043a3a70090a49c5959abe16 (diff) |
this cast needs to be dynamic
Change-Id: Iaf8e7a46be9c92a7cd11136cb903cc4b9ffe54f5
Diffstat (limited to 'lotuswordpro')
-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; |