summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2020-06-12 17:00:34 +0200
committerDavid Tardon <dtardon@redhat.com>2020-06-12 19:05:09 +0200
commit0bc6b243746837433713804b430f7ade44b9c8c0 (patch)
treeb50171d162d11a0a4ad3a9651ac2ab7b4b6208dd /lotuswordpro
parent06248bbaf21723f505d99c65906e5c6781c54c83 (diff)
return directly
Change-Id: I727a34213fef5adefdc6c1a046d47a7f37cfdcd0
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwptablelayout.cxx3
1 files changed, 1 insertions, 2 deletions
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<LwpTable *>(m_Content.obj().get());
- return pTable;
+ return dynamic_cast<LwpTable *>(m_Content.obj().get());
}
/**
* @short Get column style name by column ID