summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconarc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuconarc.cxx')
-rwxr-xr-x[-rw-r--r--]sd/source/ui/func/fuconarc.cxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx
index 7f2d1a03f57b..7810ae9dcb33 100644..100755
--- a/sd/source/ui/func/fuconarc.cxx
+++ b/sd/source/ui/func/fuconarc.cxx
@@ -95,12 +95,12 @@ void FuConstructArc::DoExecute( SfxRequest& rReq )
if (pArgs)
{
- SFX_REQUEST_ARG (rReq, pCenterX, SfxUInt32Item, ID_VAL_CENTER_X, FALSE);
- SFX_REQUEST_ARG (rReq, pCenterY, SfxUInt32Item, ID_VAL_CENTER_Y, FALSE);
- SFX_REQUEST_ARG (rReq, pAxisX, SfxUInt32Item, ID_VAL_AXIS_X, FALSE);
- SFX_REQUEST_ARG (rReq, pAxisY, SfxUInt32Item, ID_VAL_AXIS_Y, FALSE);
- SFX_REQUEST_ARG (rReq, pPhiStart, SfxUInt32Item, ID_VAL_ANGLESTART, FALSE);
- SFX_REQUEST_ARG (rReq, pPhiEnd, SfxUInt32Item, ID_VAL_ANGLEEND, FALSE);
+ SFX_REQUEST_ARG (rReq, pCenterX, SfxUInt32Item, ID_VAL_CENTER_X, sal_False);
+ SFX_REQUEST_ARG (rReq, pCenterY, SfxUInt32Item, ID_VAL_CENTER_Y, sal_False);
+ SFX_REQUEST_ARG (rReq, pAxisX, SfxUInt32Item, ID_VAL_AXIS_X, sal_False);
+ SFX_REQUEST_ARG (rReq, pAxisY, SfxUInt32Item, ID_VAL_AXIS_Y, sal_False);
+ SFX_REQUEST_ARG (rReq, pPhiStart, SfxUInt32Item, ID_VAL_ANGLESTART, sal_False);
+ SFX_REQUEST_ARG (rReq, pPhiEnd, SfxUInt32Item, ID_VAL_ANGLEEND, sal_False);
Rectangle aNewRectangle (pCenterX->GetValue () - pAxisX->GetValue () / 2,
pCenterY->GetValue () - pAxisY->GetValue () / 2,
@@ -125,15 +125,15 @@ void FuConstructArc::DoExecute( SfxRequest& rReq )
|*
\************************************************************************/
-BOOL FuConstructArc::MouseButtonDown( const MouseEvent& rMEvt )
+sal_Bool FuConstructArc::MouseButtonDown( const MouseEvent& rMEvt )
{
- BOOL bReturn = FuConstruct::MouseButtonDown( rMEvt );
+ sal_Bool bReturn = FuConstruct::MouseButtonDown( rMEvt );
if ( rMEvt.IsLeft() && !mpView->IsAction() )
{
Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
mpWindow->CaptureMouse();
- USHORT nDrgLog = USHORT ( mpWindow->PixelToLogic(Size(DRGPIX,0)).Width() );
+ sal_uInt16 nDrgLog = sal_uInt16 ( mpWindow->PixelToLogic(Size(DRGPIX,0)).Width() );
mpView->BegCreateObj(aPnt, (OutputDevice*) NULL, nDrgLog);
SdrObject* pObj = mpView->GetCreateObj();
@@ -146,7 +146,7 @@ BOOL FuConstructArc::MouseButtonDown( const MouseEvent& rMEvt )
pObj->SetMergedItemSet(aAttr);
}
- bReturn = TRUE;
+ bReturn = sal_True;
}
return bReturn;
}
@@ -157,7 +157,7 @@ BOOL FuConstructArc::MouseButtonDown( const MouseEvent& rMEvt )
|*
\************************************************************************/
-BOOL FuConstructArc::MouseMove( const MouseEvent& rMEvt )
+sal_Bool FuConstructArc::MouseMove( const MouseEvent& rMEvt )
{
return FuConstruct::MouseMove(rMEvt);
}
@@ -168,26 +168,26 @@ BOOL FuConstructArc::MouseMove( const MouseEvent& rMEvt )
|*
\************************************************************************/
-BOOL FuConstructArc::MouseButtonUp( const MouseEvent& rMEvt )
+sal_Bool FuConstructArc::MouseButtonUp( const MouseEvent& rMEvt )
{
- BOOL bReturn = FALSE;
- BOOL bCreated = FALSE;
+ sal_Bool bReturn = sal_False;
+ sal_Bool bCreated = sal_False;
if ( mpView->IsCreateObj() && rMEvt.IsLeft() )
{
Point aPnt( mpWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
- ULONG nCount = mpView->GetSdrPageView()->GetObjList()->GetObjCount();
+ sal_uLong nCount = mpView->GetSdrPageView()->GetObjList()->GetObjCount();
if (mpView->EndCreateObj(SDRCREATE_NEXTPOINT) )
{
if (nCount != mpView->GetSdrPageView()->GetObjList()->GetObjCount())
{
- bCreated = TRUE;
+ bCreated = sal_True;
}
}
- bReturn = TRUE;
+ bReturn = sal_True;
}
bReturn = FuConstruct::MouseButtonUp (rMEvt) || bReturn;
@@ -202,14 +202,14 @@ BOOL FuConstructArc::MouseButtonUp( const MouseEvent& rMEvt )
|*
|* Tastaturereignisse bearbeiten
|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert TRUE, andernfalls
-|* FALSE.
+|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
+|* sal_False.
|*
\************************************************************************/
-BOOL FuConstructArc::KeyInput(const KeyEvent& rKEvt)
+sal_Bool FuConstructArc::KeyInput(const KeyEvent& rKEvt)
{
- BOOL bReturn = FuConstruct::KeyInput(rKEvt);
+ sal_Bool bReturn = FuConstruct::KeyInput(rKEvt);
return(bReturn);
}
@@ -257,7 +257,7 @@ void FuConstructArc::Activate()
break;
}
- mpView->SetCurrentObj((UINT16)aObjKind);
+ mpView->SetCurrentObj((sal_uInt16)aObjKind);
FuConstruct::Activate();
}