summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/drawfunc/fuconarc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/drawfunc/fuconarc.cxx')
-rw-r--r--sc/source/ui/drawfunc/fuconarc.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sc/source/ui/drawfunc/fuconarc.cxx b/sc/source/ui/drawfunc/fuconarc.cxx
index 20daacffac0e..5e40fcea171d 100644
--- a/sc/source/ui/drawfunc/fuconarc.cxx
+++ b/sc/source/ui/drawfunc/fuconarc.cxx
@@ -65,19 +65,19 @@ FuConstArc::~FuConstArc()
|*
\************************************************************************/
-BOOL __EXPORT FuConstArc::MouseButtonDown( const MouseEvent& rMEvt )
+sal_Bool __EXPORT FuConstArc::MouseButtonDown( const MouseEvent& rMEvt )
{
// #95491# remember button state for creation of own MouseEvents
SetMouseButtonCode(rMEvt.GetButtons());
- BOOL bReturn = FuConstruct::MouseButtonDown( rMEvt );
+ sal_Bool bReturn = FuConstruct::MouseButtonDown( rMEvt );
if ( rMEvt.IsLeft() && !pView->IsAction() )
{
Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
pWindow->CaptureMouse();
pView->BegCreateObj( aPnt );
- bReturn = TRUE;
+ bReturn = sal_True;
}
return bReturn;
}
@@ -88,7 +88,7 @@ BOOL __EXPORT FuConstArc::MouseButtonDown( const MouseEvent& rMEvt )
|*
\************************************************************************/
-BOOL __EXPORT FuConstArc::MouseMove( const MouseEvent& rMEvt )
+sal_Bool __EXPORT FuConstArc::MouseMove( const MouseEvent& rMEvt )
{
return FuConstruct::MouseMove(rMEvt);
}
@@ -99,25 +99,25 @@ BOOL __EXPORT FuConstArc::MouseMove( const MouseEvent& rMEvt )
|*
\************************************************************************/
-BOOL __EXPORT FuConstArc::MouseButtonUp( const MouseEvent& rMEvt )
+sal_Bool __EXPORT FuConstArc::MouseButtonUp( const MouseEvent& rMEvt )
{
// #95491# remember button state for creation of own MouseEvents
SetMouseButtonCode(rMEvt.GetButtons());
- BOOL bReturn = FALSE;
+ sal_Bool bReturn = sal_False;
if ( pView->IsCreateObj() && rMEvt.IsLeft() )
{
// Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
pView->EndCreateObj( SDRCREATE_NEXTPOINT );
- bReturn = TRUE;
+ bReturn = sal_True;
}
/*
else if ( pView->IsCreateObj() && rMEvt.IsRight() )
{
// Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
pView->EndCreateObj( SDRCREATE_FORCEEND );
- bReturn = TRUE;
+ bReturn = sal_True;
}
*/
return (FuConstruct::MouseButtonUp(rMEvt) || bReturn);
@@ -127,14 +127,14 @@ BOOL __EXPORT FuConstArc::MouseButtonUp( const MouseEvent& rMEvt )
|*
|* Tastaturereignisse bearbeiten
|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert TRUE, andernfalls
+|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
|* FALSE.
|*
\************************************************************************/
-BOOL __EXPORT FuConstArc::KeyInput(const KeyEvent& rKEvt)
+sal_Bool __EXPORT FuConstArc::KeyInput(const KeyEvent& rKEvt)
{
- BOOL bReturn = FuConstruct::KeyInput(rKEvt);
+ sal_Bool bReturn = FuConstruct::KeyInput(rKEvt);
return(bReturn);
}
@@ -171,7 +171,7 @@ void FuConstArc::Activate()
break;
}
- pView->SetCurrentObj( sal::static_int_cast<UINT16>( aObjKind ) );
+ pView->SetCurrentObj( sal::static_int_cast<sal_uInt16>( aObjKind ) );
aOldPointer = pWindow->GetPointer();
pViewShell->SetActivePointer( aNewPointer );