Kaydet (Commit) 387554ef authored tarafından Armin Le Grand's avatar Armin Le Grand

RotGrfFlyFrame: Clang error fix

Change-Id: Ifae68d4d5a17446f01c97ce2e94cd0419217259e
üst 9743ecb4
...@@ -829,11 +829,7 @@ void SwDrawView::CheckPossibilities() ...@@ -829,11 +829,7 @@ void SwDrawView::CheckPossibilities()
pFrame = pFly->GetAnchorFrame(); pFrame = pFly->GetAnchorFrame();
if ( pFly->Lower() && pFly->Lower()->IsNoTextFrame() ) if ( pFly->Lower() && pFly->Lower()->IsNoTextFrame() )
{ {
// SwNoTextNode& rNoTNd = const_cast<SwNoTextNode&>(*static_cast<const SwNoTextNode*>((static_cast<const SwContentFrame*>(pFly->Lower()))->GetNode())); const SwContentFrame* pCntFr(static_cast<const SwContentFrame*>(pFly->Lower()));
// SwGrfNode* pGrfNd = rNoTNd.GetGrfNode();
// SwOLENode* pOLENd = rNoTNd.GetOLENode();
const SwContentFrame* pCntFr = const_cast<SwContentFrame*>(static_cast<const SwContentFrame*>(pFly->Lower()));
const SwOLENode* pOLENd = pCntFr->GetNode()->GetOLENode(); const SwOLENode* pOLENd = pCntFr->GetNode()->GetOLENode();
const SwGrfNode* pGrfNd = pCntFr->GetNode()->GetGrfNode(); const SwGrfNode* pGrfNd = pCntFr->GetNode()->GetGrfNode();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment