diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-11 11:17:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-14 07:50:31 +0200 |
commit | 86ffac74e3e0a725abe6b0f79946b3381828bc8e (patch) | |
tree | b4e38b61202b3bd1ca0e0929e5da3bb0d18be68e /sd | |
parent | 358be80f65d335910a4add147cd15e35d3505afd (diff) |
svx: sal_Bool->bool
Change-Id: I8cee08b48660c850e32c061dde0b0e3fdde38349
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index 119fe9e0aadb..4497db1e57e5 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -341,18 +341,18 @@ void SAL_CALL SdXShape::release() throw() mpShape->release(); } -sal_Bool SdXShape::queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ) +bool SdXShape::queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ) { if( mpModel && mpModel ->IsImpressDocument() ) { if( rType == ::getCppuType(( const uno::Reference< document::XEventsSupplier >*)0) ) { aAny <<= uno::Reference< document::XEventsSupplier >(this); - return sal_True; + return true; } } - return sal_False; + return false; } uno::Sequence< uno::Type > SAL_CALL SdXShape::getTypes() diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx index 015c98f07fde..0cafd8cfb1f0 100644 --- a/sd/source/ui/unoidl/unoobj.hxx +++ b/sd/source/ui/unoidl/unoobj.hxx @@ -73,7 +73,7 @@ public: SdXShape(SvxShape* pShape, SdXImpressDocument* pModel) throw(); virtual ~SdXShape() throw(); - virtual sal_Bool queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ); + virtual bool queryAggregation( const com::sun::star::uno::Type & rType, com::sun::star::uno::Any& aAny ); virtual void dispose(); virtual void modelChanged( SdrModel* pNewModel ); virtual void pageChanged( SdrPage* pNewPage ); |