summaryrefslogtreecommitdiffstats
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-09-27 11:40:09 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-02 14:57:21 +0200
commitafaaf2528d11ba570ecfd466f5f06bdffc4f6fcb (patch)
tree1bebf26723920d7520388857518209fd019e5bef /svl
parentsal_Bool->bool in svl::PasswordContainer (diff)
downloadcore-afaaf2528d11ba570ecfd466f5f06bdffc4f6fcb.tar.gz
core-afaaf2528d11ba570ecfd466f5f06bdffc4f6fcb.zip
sal_Bool->bool in svl::SfxImageItem
Change-Id: I1a6d53352c65cd0999392531d8e406154bc4bf7a
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/imageitm.hxx4
-rw-r--r--svl/source/items/imageitm.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/svl/inc/svl/imageitm.hxx b/svl/inc/svl/imageitm.hxx
index fce6f4268e78..0a2e26f80086 100644
--- a/svl/inc/svl/imageitm.hxx
+++ b/svl/inc/svl/imageitm.hxx
@@ -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
diff --git a/svl/source/items/imageitm.cxx b/svl/source/items/imageitm.cxx
index 7d13eb48abb9..7db9160139c0 100644
--- a/svl/source/items/imageitm.cxx
+++ b/svl/source/items/imageitm.cxx
@@ -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;
}