From 36057c3a11deb3a7c3748d7aafd5e6dd08b58984 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Nov 2014 12:52:41 +0200 Subject: loplugin: cstylecast Change-Id: If7ada4cba0b1098bba304f1ec9b860ec7df75e7a --- sw/inc/fmtsrnd.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/inc/fmtsrnd.hxx') diff --git a/sw/inc/fmtsrnd.hxx b/sw/inc/fmtsrnd.hxx index 4b27127141b1..123717f7bdfe 100644 --- a/sw/inc/fmtsrnd.hxx +++ b/sw/inc/fmtsrnd.hxx @@ -70,7 +70,7 @@ inline SwFmtSurround &SwFmtSurround::operator=( const SwFmtSurround &rCpy ) } inline const SwFmtSurround &SwAttrSet::GetSurround(bool bInP) const - { return (const SwFmtSurround&)Get( RES_SURROUND,bInP); } + { return static_cast(Get( RES_SURROUND,bInP)); } inline const SwFmtSurround &SwFmt::GetSurround(bool bInP) const { return aSet.GetSurround(bInP); } -- cgit