Kaydet (Commit) afaaf252 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Stahl

sal_Bool->bool in svl::SfxImageItem

Change-Id: I1a6d53352c65cd0999392531d8e406154bc4bf7a
üst b8df7f62
......@@ -42,8 +42,8 @@ public:
void SetRotation( long nValue );
long GetRotation() const;
void SetMirrored( sal_Bool bSet );
sal_Bool IsMirrored() const;
void SetMirrored( bool bSet );
bool IsMirrored() const;
};
#endif // _SFX_IMAGEITM_HXX
......
......@@ -27,7 +27,7 @@ struct SfxImageItem_Impl
{
String aURL;
long nAngle;
sal_Bool bMirrored;
bool bMirrored;
int operator == ( const SfxImageItem_Impl& rOther ) const
{ return nAngle == rOther.nAngle && bMirrored == rOther.bMirrored; }
};
......@@ -39,7 +39,7 @@ SfxImageItem::SfxImageItem( sal_uInt16 which, sal_uInt16 nImage )
{
pImp = new SfxImageItem_Impl;
pImp->nAngle = 0;
pImp->bMirrored = sal_False;
pImp->bMirrored = false;
}
SfxImageItem::SfxImageItem( const SfxImageItem& rItem )
......@@ -109,12 +109,12 @@ long SfxImageItem::GetRotation() const
return pImp->nAngle;
}
void SfxImageItem::SetMirrored( sal_Bool bSet )
void SfxImageItem::SetMirrored( bool bSet )
{
pImp->bMirrored = bSet;
}
sal_Bool SfxImageItem::IsMirrored() const
bool SfxImageItem::IsMirrored() const
{
return pImp->bMirrored;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment