summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuinsert.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuinsert.cxx')
-rwxr-xr-xsd/source/ui/func/fuinsert.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
index f29288ea2b03..0e1c346f1871 100755
--- a/sd/source/ui/func/fuinsert.cxx
+++ b/sd/source/ui/func/fuinsert.cxx
@@ -165,7 +165,7 @@ void FuInsertGraphic::DoExecute( SfxRequest& )
}
else
{
- SdGRFFilter::HandleGraphicFilterError( (USHORT)nError, GraphicFilter::GetGraphicFilter()->GetLastError().nStreamError );
+ SdGRFFilter::HandleGraphicFilterError( (sal_uInt16)nError, GraphicFilter::GetGraphicFilter()->GetLastError().nStreamError );
}
}
}
@@ -200,7 +200,7 @@ FunctionReference FuInsertClipboard::Create( ViewShell* pViewSh, ::sd::Window* p
void FuInsertClipboard::DoExecute( SfxRequest& )
{
TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( mpWindow ) );
- ULONG nFormatId;
+ sal_uLong nFormatId;
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
SfxAbstractPasteDialog* pDlg = pFact->CreatePasteDialog( mpViewShell->GetActiveWindow() );
@@ -229,7 +229,7 @@ void FuInsertClipboard::DoExecute( SfxRequest& )
if( !mpView->InsertData( aDataHelper,
mpWindow->PixelToLogic( Rectangle( Point(), mpWindow->GetOutputSizePixel() ).Center() ),
- nAction, FALSE, nFormatId ) &&
+ nAction, sal_False, nFormatId ) &&
( mpViewShell && mpViewShell->ISA( DrawViewShell ) ) )
{
DrawViewShell* pDrViewSh = static_cast<DrawViewShell*>(mpViewShell);
@@ -370,7 +370,7 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
bool bRet = true;
if( pPickObj )
- mpView->ReplaceObjectAtView(pPickObj, *pPV, pOleObj, TRUE );
+ mpView->ReplaceObjectAtView(pPickObj, *pPV, pOleObj, sal_True );
else
bRet = mpView->InsertObjectAtView(pOleObj, *pPV, SDRINSERT_SETDEFLAYER);
@@ -419,7 +419,7 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
* Objekt einfuegen
**********************************************************************/
sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT;
- BOOL bCreateNew = FALSE;
+ sal_Bool bCreateNew = sal_False;
uno::Reference < embed::XEmbeddedObject > xObj;
uno::Reference < embed::XStorage > xStorage = comphelper::OStorageHelper::GetTemporaryStorage();
SvObjectServerList aServerLst;
@@ -527,9 +527,9 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
{
//TODO/LATER: needs status for RESIZEONPRINTERCHANGE
//if( SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE & xObj->getStatus( nAspect ) )
- // aIPObj->OnDocumentPrinterChanged( mpDocSh->GetPrinter(FALSE) );
+ // aIPObj->OnDocumentPrinterChanged( mpDocSh->GetPrinter(sal_False) );
- BOOL bInsertNewObject = TRUE;
+ sal_Bool bInsertNewObject = sal_True;
Size aSize;
MapUnit aMapUnit = MAP_100TH_MM;
@@ -584,8 +584,8 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
/**************************************************
* Das leere OLE-Objekt bekommt ein neues IPObj
**************************************************/
- bInsertNewObject = FALSE;
- pObj->SetEmptyPresObj(FALSE);
+ bInsertNewObject = sal_False;
+ pObj->SetEmptyPresObj(sal_False);
( (SdrOle2Obj*) pObj)->SetOutlinerParaObject(NULL);
( (SdrOle2Obj*) pObj)->SetObjRef(xObj);
( (SdrOle2Obj*) pObj)->SetPersistName(aName);