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: ...@@ -42,8 +42,8 @@ public:
void SetRotation( long nValue ); void SetRotation( long nValue );
long GetRotation() const; long GetRotation() const;
void SetMirrored( sal_Bool bSet ); void SetMirrored( bool bSet );
sal_Bool IsMirrored() const; bool IsMirrored() const;
}; };
#endif // _SFX_IMAGEITM_HXX #endif // _SFX_IMAGEITM_HXX
......
...@@ -27,7 +27,7 @@ struct SfxImageItem_Impl ...@@ -27,7 +27,7 @@ struct SfxImageItem_Impl
{ {
String aURL; String aURL;
long nAngle; long nAngle;
sal_Bool bMirrored; bool bMirrored;
int operator == ( const SfxImageItem_Impl& rOther ) const int operator == ( const SfxImageItem_Impl& rOther ) const
{ return nAngle == rOther.nAngle && bMirrored == rOther.bMirrored; } { return nAngle == rOther.nAngle && bMirrored == rOther.bMirrored; }
}; };
...@@ -39,7 +39,7 @@ SfxImageItem::SfxImageItem( sal_uInt16 which, sal_uInt16 nImage ) ...@@ -39,7 +39,7 @@ SfxImageItem::SfxImageItem( sal_uInt16 which, sal_uInt16 nImage )
{ {
pImp = new SfxImageItem_Impl; pImp = new SfxImageItem_Impl;
pImp->nAngle = 0; pImp->nAngle = 0;
pImp->bMirrored = sal_False; pImp->bMirrored = false;
} }
SfxImageItem::SfxImageItem( const SfxImageItem& rItem ) SfxImageItem::SfxImageItem( const SfxImageItem& rItem )
...@@ -109,12 +109,12 @@ long SfxImageItem::GetRotation() const ...@@ -109,12 +109,12 @@ long SfxImageItem::GetRotation() const
return pImp->nAngle; return pImp->nAngle;
} }
void SfxImageItem::SetMirrored( sal_Bool bSet ) void SfxImageItem::SetMirrored( bool bSet )
{ {
pImp->bMirrored = bSet; pImp->bMirrored = bSet;
} }
sal_Bool SfxImageItem::IsMirrored() const bool SfxImageItem::IsMirrored() const
{ {
return pImp->bMirrored; 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