summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-10 13:31:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-10 13:32:41 +0000
commit608456eb3c190513b881eea0ab763fcc62284d2f (patch)
tree68f9a1720af5e3651401de8a5ff43de78a3e5079
parentbe413828f13871100f99ba17b37e59bb95158ab9 (diff)
don't trust that this is what its supposed to be
Change-Id: If0450bdab2c315a94a75060e1fadf2f8513f9dae (cherry picked from commit f792baefbfb645eafd5e6b7073bfe6e389d666dc)
-rw-r--r--lotuswordpro/source/filter/lwpfribtable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfribtable.cxx b/lotuswordpro/source/filter/lwpfribtable.cxx
index 7833ae4477a5..b4e95bb0b8ac 100644
--- a/lotuswordpro/source/filter/lwpfribtable.cxx
+++ b/lotuswordpro/source/filter/lwpfribtable.cxx
@@ -72,7 +72,7 @@ void LwpFribTable::Read(LwpObjectStream* pObjStrm, sal_uInt16 /*len*/)
LwpSuperTableLayout* LwpFribTable::GetSuperTable()
{
- return static_cast<LwpSuperTableLayout*>(m_objTable.obj().get());
+ return dynamic_cast<LwpSuperTableLayout*>(m_objTable.obj().get());
}
void LwpFribTable::RegisterNewStyle()