diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwprowlayout.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwprowlayout.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwprowlayout.hxx b/lotuswordpro/source/filter/lwprowlayout.hxx index edd28656b25f..a1693f864bca 100644 --- a/lotuswordpro/source/filter/lwprowlayout.hxx +++ b/lotuswordpro/source/filter/lwprowlayout.hxx @@ -85,7 +85,7 @@ public: virtual LWP_LAYOUT_TYPE GetLayoutType () { return LWP_ROW_LAYOUT;} sal_uInt16 GetRowID() { return crowid;} virtual void RegisterStyle(); - inline LwpTableLayout * GetParentTableLayout(){return static_cast<LwpTableLayout *>(GetParent()->obj());} + inline LwpTableLayout * GetParentTableLayout(){return dynamic_cast<LwpTableLayout *>(GetParent()->obj());} void SetRowMap(void); protected: void Read(); |