sw/source/ui/docvw/edtwin.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 1fe4aa6ed810d1be7b81875977da1da33e9fe4bf Author: Miklos Vajna <vmik...@suse.cz> Date: Tue Sep 18 12:31:31 2012 +0200 n#778148 sw: fix mouse pointer over urls with background image Change-Id: Idbc93dfc95dfefc4c962ef36e0557a717550b7d7 diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index ad26ab3..f9ae3ce 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -578,7 +578,9 @@ void SwEditWin::UpdatePointer(const Point &rLPt, sal_uInt16 nModifier ) eStyle = POINTER_ARROW; else { - if( bCntAtPos ) + // Even if we already have something, prefer URLs if possible. + SwContentAtPos aUrlPos(SwContentAtPos::SW_INETATTR); + if (bCntAtPos || rSh.GetContentAtPos(rLPt, aUrlPos)) { SwContentAtPos aSwContentAtPos( SwContentAtPos::SW_CLICKFIELD| _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits