summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-12 21:06:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-12 21:07:18 +0000
commitbb81c1a34f3fed12449da8a41e1012a8ec95042b (patch)
treeacd7ebb41b3e13cd7796931735c6f7b0b1684202 /lotuswordpro
parentc3c913a2958e4e984a829a60a668d6c0fb54d3aa (diff)
this cast needs to be dynamic
Change-Id: Iaf8e7a46be9c92a7cd11136cb903cc4b9ffe54f5 (cherry picked from commit 8d57f2fb953f031c48892366ce52f6d4fcb9c025)
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpnotes.cxx2
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;