From 5cb6144f2119aa1dcce161724abfc22ead1d20b5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Nov 2014 09:39:17 +0200 Subject: loplugin: cstylecast Change-Id: Ie57f543681790e662f6ac7d074ccb37925999790 --- sw/inc/tox.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc/tox.hxx') 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(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(GetRegisteredIn()); } inline sal_uInt16 SwTOXBase::GetCreateType() const { return nCreateType; } -- cgit