summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews8.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviews8.cxx')
-rwxr-xr-xsd/source/ui/view/drviews8.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sd/source/ui/view/drviews8.cxx b/sd/source/ui/view/drviews8.cxx
index f4d8ca90687b..c4f8968f9ad9 100755
--- a/sd/source/ui/view/drviews8.cxx
+++ b/sd/source/ui/view/drviews8.cxx
@@ -212,7 +212,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
case SID_COPYOBJECTS:
{
- if ( mpDrawView->IsPresObjSelected(FALSE, TRUE) )
+ if ( mpDrawView->IsPresObjSelected(sal_False, sal_True) )
{
::sd::Window* pWindow = GetActiveWindow();
InfoBox(pWindow, String(SdResId(STR_ACTION_NOTPOSSIBLE) ) ).Execute();
@@ -255,7 +255,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
case SID_ZOOM_OUT:
case SID_ZOOM_PANNING:
{
- mbZoomOnPage = FALSE;
+ mbZoomOnPage = sal_False;
SetCurrentFunction( FuZoom::Create(this, GetActiveWindow(), mpDrawView, GetDoc(), rReq) );
// Beendet sich selbst, kein Cancel() notwendig!
Invalidate( SID_ZOOM_TOOLBOX );
@@ -349,7 +349,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
case SID_CONNECTION_NEW_ROUTING:
{
SfxItemSet aDefAttr( GetPool(), SDRATTR_EDGELINE1DELTA, SDRATTR_EDGELINE3DELTA );
- GetView()->SetAttributes( aDefAttr, TRUE ); // (ReplaceAll)
+ GetView()->SetAttributes( aDefAttr, sal_True ); // (ReplaceAll)
Cancel();
rReq.Done();
@@ -358,7 +358,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
case SID_TWAIN_SELECT:
{
- BOOL bDone = FALSE;
+ sal_Bool bDone = sal_False;
if( mxScannerManager.is() )
{
@@ -385,7 +385,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
case SID_TWAIN_TRANSFER:
{
- BOOL bDone = FALSE;
+ sal_Bool bDone = sal_False;
if( mxScannerManager.is() )
{
@@ -396,7 +396,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
if( aContexts.getLength() )
{
mxScannerManager->startScan( aContexts.getConstArray()[ 0 ], mxScannerListener );
- bDone = TRUE;
+ bDone = sal_True;
}
}
catch( ... )
@@ -407,9 +407,9 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
if( !bDone )
{
#ifndef UNX
- const USHORT nId = STR_TWAIN_NO_SOURCE;
+ const sal_uInt16 nId = STR_TWAIN_NO_SOURCE;
#else
- const USHORT nId = STR_TWAIN_NO_SOURCE_UNX;
+ const sal_uInt16 nId = STR_TWAIN_NO_SOURCE_UNX;
#endif
::sd::Window* pWindow = GetActiveWindow();
@@ -512,7 +512,7 @@ void DrawViewShell::ScannerEvent( const ::com::sun::star::lang::EventObject& )
aPnt += Point( pPage->GetLftBorder(), pPage->GetUppBorder() );
Rectangle aRect( aPnt, aBmpSize );
SdrGrafObj* pGrafObj = NULL;
- BOOL bInsertNewObject = TRUE;
+ sal_Bool bInsertNewObject = sal_True;
if( GetView()->AreObjectsMarked() )
{
@@ -529,8 +529,8 @@ void DrawViewShell::ScannerEvent( const ::com::sun::star::lang::EventObject& )
if( pGrafObj->IsEmptyPresObj() )
{
- bInsertNewObject = FALSE;
- pGrafObj->SetEmptyPresObj(FALSE);
+ bInsertNewObject = sal_False;
+ pGrafObj->SetEmptyPresObj(sal_False);
pGrafObj->SetOutlinerParaObject(NULL);
pGrafObj->SetGraphic( Graphic( aScanBmp ) );
}