From 0a2d29de086b71522e2b7751400dadcebc0845e9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 20 Dec 2015 15:48:19 +0100 Subject: loplugin:cstylecast Change-Id: I986a11f56fa8900bc8ee654ed4a614bb01c353c3 --- sw/source/core/docnode/ndtbl1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/core') diff --git a/sw/source/core/docnode/ndtbl1.cxx b/sw/source/core/docnode/ndtbl1.cxx index a95cec88befa..1a53db7fdb3b 100644 --- a/sw/source/core/docnode/ndtbl1.cxx +++ b/sw/source/core/docnode/ndtbl1.cxx @@ -1220,7 +1220,7 @@ bool SwDoc::GetBoxAttr( const SwCursor& rCursor, SfxPoolItem& rToFill ) aBoxes[i]->GetFrameFormat()->GetVertOrient(); if( !bOneFound ) { - (SwFormatVertOrient&)rToFill = rOrient; + static_cast(rToFill) = rOrient; bOneFound = true; } else if( rToFill != rOrient ) -- cgit v1.2.3