diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:28:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:28:47 +0200 |
commit | b2c8ea3a0253ce87f1b292fbb19b461a53c14912 (patch) | |
tree | 853cc34d4ced72c029f9b5bc4b3077d8b1944412 /sw/source/core/edit/edws.cxx | |
parent | bc2becdf1a12a1020584ee808c965e41f1837383 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8d27ae80d209159690182ab91e272cf00e9f863d
Diffstat (limited to 'sw/source/core/edit/edws.cxx')
-rw-r--r-- | sw/source/core/edit/edws.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx index 2303e07a3a45..b87ec6f742d6 100644 --- a/sw/source/core/edit/edws.cxx +++ b/sw/source/core/edit/edws.cxx @@ -172,7 +172,7 @@ SwMvContext::~SwMvContext() SwFrameFormat *SwEditShell::GetTableFormat() // fastest test on a table { const SwTableNode* pTableNd = IsCrsrInTable(); - return pTableNd ? (SwFrameFormat*)pTableNd->GetTable().GetFrameFormat() : 0; + return pTableNd ? static_cast<SwFrameFormat*>(pTableNd->GetTable().GetFrameFormat()) : 0; } // TODO: Why is this called 3x for a new document? |