summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-04 09:07:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-04 09:16:04 +0100
commitcc7a55450658696009fe01e94632e80bb3785d5b (patch)
tree620a1d76f55a875aa29c5902f88995f5c174adee
parent35f4248206e844cabd83757ec57ddde1c2ef66b4 (diff)
only called if !bDraw
Change-Id: I7310b5f8cbbc4176e76d92ce2bcd49168470843c
-rw-r--r--sw/source/core/text/porfly.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/core/text/porfly.cxx b/sw/source/core/text/porfly.cxx
index 40663a2b4aa8..633c7b599cfc 100644
--- a/sw/source/core/text/porfly.cxx
+++ b/sw/source/core/text/porfly.cxx
@@ -420,8 +420,6 @@ void SwFlyCntPortion::GetFlyCursorOfst(const Point &rPoint, SwPosition &rPos, Sw
// not be called.
// In order to reduce management overhead for the layout page, the paragraph
// calls the FlyFrame's GetCursorOfst() only when needed
- if (bDraw)
- return;
Point aPoint(rPoint);
GetFlyFrame()->GetCursorOfst(&rPos, aPoint, pCMS);
}