From 0bc6b243746837433713804b430f7ade44b9c8c0 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 12 Jun 2020 17:00:34 +0200 Subject: return directly Change-Id: I727a34213fef5adefdc6c1a046d47a7f37cfdcd0 --- lotuswordpro/source/filter/lwptablelayout.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index fbfc35174dd7..95aaf13715fc 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -514,8 +514,7 @@ LwpSuperTableLayout * LwpTableLayout::GetSuperTableLayout() */ LwpTable * LwpTableLayout::GetTable() { - LwpTable *pTable = dynamic_cast(m_Content.obj().get()); - return pTable; + return dynamic_cast(m_Content.obj().get()); } /** * @short Get column style name by column ID -- cgit