summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objembed.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-10 16:07:18 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-10 16:07:18 +0100
commit3f4e9b4c3cd9028744ea6ed5e93c41c51a15d229 (patch)
tree65f4fe38cd7c7ba5805435393b299eb0b8ff31c6 /sfx2/source/doc/objembed.cxx
parent61a8280d645fe1b6957591d5d338d073040e8b2e (diff)
removetooltypes01: #i112600# remove tooltypes from sfx2
Diffstat (limited to 'sfx2/source/doc/objembed.cxx')
-rw-r--r--sfx2/source/doc/objembed.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/doc/objembed.cxx b/sfx2/source/doc/objembed.cxx
index 1c2105c210b9..a83335ea9fcd 100644
--- a/sfx2/source/doc/objembed.cxx
+++ b/sfx2/source/doc/objembed.cxx
@@ -101,7 +101,7 @@ void SfxObjectShell::OnDocumentPrinterChanged( Printer* /*pNewPrinter*/ )
}
// -----------------------------------------------------------------------
-Rectangle SfxObjectShell::GetVisArea( USHORT nAspect ) const
+Rectangle SfxObjectShell::GetVisArea( sal_uInt16 nAspect ) const
{
if( nAspect == ASPECT_CONTENT )
return pImp->m_aVisArea;
@@ -131,7 +131,7 @@ void SfxObjectShell::SetVisArea( const Rectangle & rVisArea )
if ( GetCreateMode() == SFX_CREATE_MODE_EMBEDDED )
{
if ( IsEnableSetModified() )
- SetModified( TRUE );
+ SetModified( sal_True );
SFX_APP()->NotifyEvent(SfxEventHint( SFX_EVENT_VISAREACHANGED, GlobalEventConfig::GetEventName(STR_EVENT_VISAREACHANGED), this));
@@ -184,7 +184,7 @@ void SfxObjectShell::SetVisAreaSize( const Size & rVisSize )
}
// -----------------------------------------------------------------------
-ULONG SfxObjectShell::GetMiscStatus() const
+sal_uIntPtr SfxObjectShell::GetMiscStatus() const
{
return 0;
}
@@ -213,7 +213,7 @@ void SfxObjectShell::FillTransferableObjectDescriptor( TransferableObjectDescrip
rDesc.maSize = OutputDevice::LogicToLogic( GetVisArea().GetSize(), GetMapUnit(), MAP_100TH_MM );
rDesc.maDragStartPos = Point();
rDesc.maDisplayName = String();
- rDesc.mbCanLink = FALSE;
+ rDesc.mbCanLink = sal_False;
}
// -----------------------------------------------------------------------
@@ -221,7 +221,7 @@ void SfxObjectShell::DoDraw( OutputDevice* pDev,
const Point & rObjPos,
const Size & rSize,
const JobSetup & rSetup,
- USHORT nAspect )
+ sal_uInt16 nAspect )
{
MapMode aMod = pDev->GetMapMode();
Size aSize = GetVisArea( nAspect ).GetSize();
@@ -245,7 +245,7 @@ void SfxObjectShell::DoDraw_Impl( OutputDevice* pDev,
const Fraction & rScaleX,
const Fraction & rScaleY,
const JobSetup & rSetup,
- USHORT nAspect )
+ sal_uInt16 nAspect )
{
Rectangle aVisArea = GetVisArea( nAspect );
// MapUnit des Ziels