summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fudraw.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2001-09-24 16:39:54 +0000
committerNiklas Nebel <nn@openoffice.org>2001-09-24 16:39:54 +0000
commita1aa2ecb65c71fd77bfa5b449dae3843a2023a9e (patch)
tree7ac9f5aace43d8576848309a30b8296355fd1708 /sc/source/ui/drawfunc/fudraw.cxx
parent04c41c0e0b01eec115a580df5344dcf0f924ab29 (diff)
#90760# removed old ifdef VCL
Diffstat (limited to 'sc/source/ui/drawfunc/fudraw.cxx')
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 719f0d0b0e8c..cdeabcd8244b 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fudraw.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: nn $ $Date: 2000-09-22 18:53:18 $
+ * last change: $Author: nn $ $Date: 2001-09-24 17:37:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -352,11 +352,7 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt)
{
if ( !pView->IsAction() )
{
-#ifdef VCL
Point aPosPixel = pWindow->GetPointerPosPixel();
-#else
- Point aPosPixel = pWindow->ScreenToOutputPixel( Pointer::GetPosPixel() );
-#endif
BOOL bAlt = pMEvt && pMEvt->IsMod2();
Point aPnt = pWindow->PixelToLogic( aPosPixel );
SdrHdl* pHdl = pView->HitHandle(aPnt, *pWindow);
@@ -389,11 +385,7 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt)
pViewShell->SetActivePointer( pObj->GetMacroPointer(aHitRec) );
}
else if ( IsDetectiveHit( aPnt ) )
-#ifdef VCL
pViewShell->SetActivePointer( Pointer( POINTER_DETECTIVE ) );
-#else
- pViewShell->SetActivePointer( ScResId( RID_SCPTR_DETECTIVE ) );
-#endif
else
pViewShell->SetActivePointer( aNewPointer ); //! in Gridwin?
}