diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-10 14:45:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-10 15:16:04 +0100 |
commit | 94e6a847e877f73a1aedca5d7f1604e13005b840 (patch) | |
tree | 5053b29bfda683acc017b8b1f23eab8f56e9afaa | |
parent | 52ef09114187776b8556193059cdf63554c657aa (diff) |
we don't use the SwRect FieldRect in this case
Change-Id: If58745a27e76cc4bf4063c9b0ba6f14fa59cf6d9
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 208530981e44..b50bdd97b72e 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -4164,9 +4164,8 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt) } // change ui if mouse is over SwPostItField // TODO: do the same thing for redlines IsAttrAtPos::Redline - SwRect aFieldRect; SwContentAtPos aContentAtPos( IsAttrAtPos::Field); - if( rSh.GetContentAtPos( aDocPt, aContentAtPos, false, &aFieldRect ) ) + if (rSh.GetContentAtPos(aDocPt, aContentAtPos, false)) { const SwField* pField = aContentAtPos.aFnd.pField; if (pField->Which()== SwFieldIds::Postit) |