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

New commits:
commit 608456eb3c190513b881eea0ab763fcc62284d2f
Author: Caolán McNamara <caol...@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
    (cherry picked from commit f792baefbfb645eafd5e6b7073bfe6e389d666dc)

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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to