summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpfootnote.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-21 15:35:58 +0200
committerNoel Grandin <noel@peralex.com>2014-10-23 12:36:15 +0200
commit5f6f57c26ee15787ca2f775f853e57cfc11d666f (patch)
tree846d41ae24e8c84690f22ddd08929ba04120780f /lotuswordpro/source/filter/lwpfootnote.cxx
parentloplugin: cstylecast (diff)
downloadcore-5f6f57c26ee15787ca2f775f853e57cfc11d666f.tar.gz
core-5f6f57c26ee15787ca2f775f853e57cfc11d666f.zip
loplugin: cstylecast
Change-Id: Id4c581724e7e5466ffe46f11f0a8da2527c23dc6
Diffstat (limited to 'lotuswordpro/source/filter/lwpfootnote.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpfootnote.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfootnote.cxx b/lotuswordpro/source/filter/lwpfootnote.cxx
index 19467ef830f1..5c64d00ba1a1 100644
--- a/lotuswordpro/source/filter/lwpfootnote.cxx
+++ b/lotuswordpro/source/filter/lwpfootnote.cxx
@@ -375,8 +375,8 @@ LwpEnSuperTableLayout* LwpFootnote::FindFootnoteTableLayout()
pContent->IsActive() && pContent->GetLayout(NULL))
{
// Found it!
- return (LwpEnSuperTableLayout *)
- ((LwpTable*)pContent)->GetSuperTableLayout();
+ return static_cast<LwpEnSuperTableLayout *>(
+ static_cast<LwpTable*>(pContent)->GetSuperTableLayout());
}
return NULL;