diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-10 09:39:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-10 15:22:15 +0200 |
commit | 5cb6144f2119aa1dcce161724abfc22ead1d20b5 (patch) | |
tree | 1296cb64a64b4f8bb7ec633ee605c9ef80a5dee7 /sw/inc/tox.hxx | |
parent | 7623a4832441691a486673cea981ef32b8d72ae7 (diff) |
loplugin: cstylecast
Change-Id: Ie57f543681790e662f6ac7d074ccb37925999790
Diffstat (limited to 'sw/inc/tox.hxx')
-rw-r--r-- | sw/inc/tox.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index 4165a66b7255..6cbb7e83d65b 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -547,7 +547,7 @@ inline OUString SwTOXMark::GetEntryTypeName() const { return m_aEntryTypeName; } inline const SwTOXType* SwTOXMark::GetTOXType() const - { return (SwTOXType*)GetRegisteredIn(); } + { return static_cast<const SwTOXType*>(GetRegisteredIn()); } inline bool SwTOXMark::IsAlternativeText() const { return !aAltText.isEmpty(); } @@ -685,7 +685,7 @@ inline TOXTypes SwTOXType::GetType() const // SwTOXBase inline const SwTOXType* SwTOXBase::GetTOXType() const - { return (SwTOXType*)GetRegisteredIn(); } + { return static_cast<const SwTOXType*>(GetRegisteredIn()); } inline sal_uInt16 SwTOXBase::GetCreateType() const { return nCreateType; } |