[Libreoffice-commits] core.git: lotuswordpro/source

Caolán McNamara caolanm at redhat.com
Thu Dec 10 05:32:28 PST 2015


 lotuswordpro/source/filter/lwpfribtable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f792baefbfb645eafd5e6b7073bfe6e389d666dc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 10 13:31:41 2015 +0000

    don't trust that this is what its supposed to be
    
    Change-Id: If0450bdab2c315a94a75060e1fadf2f8513f9dae

diff --git a/lotuswordpro/source/filter/lwpfribtable.cxx b/lotuswordpro/source/filter/lwpfribtable.cxx
index 7833ae4..b4e95bb 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()


More information about the Libreoffice-commits mailing list