diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-10-05 22:00:35 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-10-20 14:13:25 +0200 |
commit | 387554ef787ced5d3e5c94bb824aa5dc383f133a (patch) | |
tree | 23229054eee650ddc151837c552d63256da8e1ad /sw | |
parent | 9743ecb42095b6e742ab7636ccc67b820f8b9fee (diff) |
RotGrfFlyFrame: Clang error fix
Change-Id: Ifae68d4d5a17446f01c97ce2e94cd0419217259e
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/draw/dview.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx index 7db8e4946abd..0935ddbd637c 100644 --- a/sw/source/core/draw/dview.cxx +++ b/sw/source/core/draw/dview.cxx @@ -829,11 +829,7 @@ void SwDrawView::CheckPossibilities() pFrame = pFly->GetAnchorFrame(); if ( pFly->Lower() && pFly->Lower()->IsNoTextFrame() ) { - // SwNoTextNode& rNoTNd = const_cast<SwNoTextNode&>(*static_cast<const SwNoTextNode*>((static_cast<const SwContentFrame*>(pFly->Lower()))->GetNode())); - // SwGrfNode* pGrfNd = rNoTNd.GetGrfNode(); - // SwOLENode* pOLENd = rNoTNd.GetOLENode(); - - const SwContentFrame* pCntFr = const_cast<SwContentFrame*>(static_cast<const SwContentFrame*>(pFly->Lower())); + const SwContentFrame* pCntFr(static_cast<const SwContentFrame*>(pFly->Lower())); const SwOLENode* pOLENd = pCntFr->GetNode()->GetOLENode(); const SwGrfNode* pGrfNd = pCntFr->GetNode()->GetGrfNode(); |