summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-20 15:48:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-20 15:48:19 +0100
commit0a2d29de086b71522e2b7751400dadcebc0845e9 (patch)
treef10765e91cc14e238b17c48a7f26120a4c2b305c
parent9317861e64175dd0b43e579aab57fca76e5c3393 (diff)
loplugin:cstylecast
Change-Id: I986a11f56fa8900bc8ee654ed4a614bb01c353c3
-rw-r--r--sw/source/core/docnode/ndtbl1.cxx2
1 files changed, 1 insertions, 1 deletions
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<SwFormatVertOrient&>(rToFill) = rOrient;
bOneFound = true;
}
else if( rToFill != rOrient )