summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-14 14:05:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-14 14:36:09 +0000
commit01ef12d173fb2c54a49186c8eb4fa40288b82945 (patch)
tree83c5266da0d4b14b2ccc23e21b3f973c6b7f7523 /sw/source/core
parente0ae7c786b8e1a2422c8c28ca3a2a35d93e018d1 (diff)
Related: rhbz#1289394 always provide the screen area the tip applies to
this will make it easier to implement native help tips Change-Id: I984dfadaf02e9b7bf542ba82cf070911c89cb699
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/draw/dpage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/draw/dpage.cxx b/sw/source/core/draw/dpage.cxx
index f8ad9f6253cf..c8773e8c7192 100644
--- a/sw/source/core/draw/dpage.cxx
+++ b/sw/source/core/draw/dpage.cxx
@@ -237,14 +237,14 @@ bool SwDPage::RequestHelp( vcl::Window* pWindow, SdrView* pView,
sText = SwViewShell::GetShellRes()->aLinkClick + ": " + sText;
}
+ // then display the help:
+ Rectangle aRect( rEvt.GetMousePosPixel(), Size(1,1) );
if( rEvt.GetMode() & HelpEventMode::BALLOON )
{
- Help::ShowBalloon( pWindow, rEvt.GetMousePosPixel(), sText );
+ Help::ShowBalloon( pWindow, rEvt.GetMousePosPixel(), aRect, sText );
}
else
{
- // then display the help:
- Rectangle aRect( rEvt.GetMousePosPixel(), Size(1,1) );
Help::ShowQuickHelp( pWindow, aRect, sText );
}
bContinue = false;