From 8d57f2fb953f031c48892366ce52f6d4fcb9c025 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 12 Dec 2015 21:06:51 +0000 Subject: this cast needs to be dynamic Change-Id: Iaf8e7a46be9c92a7cd11136cb903cc4b9ffe54f5 --- lotuswordpro/source/filter/lwpnotes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lotuswordpro/source/filter') 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(m_Layout.obj().get()); + LwpNoteLayout* pLayout = dynamic_cast(m_Layout.obj().get()); if(pLayout) { XFAnnotation* pXFNote = new XFAnnotation; -- cgit