summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/inputhdl.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-23 18:33:43 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-23 19:20:03 +0300
commit708fc1c187986796861c4dcecba2861ce272dd57 (patch)
treeeddd1b2260db90b6727e69b977a4f48922b6b6b2 /sc/source/ui/app/inputhdl.cxx
parentf74a6338b3897df49f3041e7ce33453eaba9e2e5 (diff)
fdo#82577, fdo#82579: Handle Cursor
Put the vcl Cursor in the vcl namespace. Avoids collision with the Xlib Cursor typedef and some ancient Carbon (?) Cursor typedef on OS X. Change-Id: I7af770c522b5774c87f58cc079ced9fc1bcc88b0
Diffstat (limited to 'sc/source/ui/app/inputhdl.cxx')
-rw-r--r--sc/source/ui/app/inputhdl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 050c254031f2..3e5021943c57 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -987,7 +987,7 @@ void ScInputHandler::ShowTip( const OUString& rText )
{
Point aPos;
pTipVisibleParent = pActiveView->GetWindow();
- Cursor* pCur = pActiveView->GetCursor();
+ vcl::Cursor* pCur = pActiveView->GetCursor();
if (pCur)
aPos = pTipVisibleParent->LogicToPixel( pCur->GetPos() );
aPos = pTipVisibleParent->OutputToScreenPixel( aPos );
@@ -1008,7 +1008,7 @@ void ScInputHandler::ShowTipBelow( const OUString& rText )
{
Point aPos;
pTipVisibleSecParent = pActiveView->GetWindow();
- Cursor* pCur = pActiveView->GetCursor();
+ vcl::Cursor* pCur = pActiveView->GetCursor();
if ( pCur )
{
Point aLogicPos = pCur->GetPos();