diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-14 12:57:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-18 11:26:05 +0200 |
commit | 96ef76c1b75332e4b8379276e396ea623153644d (patch) | |
tree | e87a6a4f7970421f777baedf83315c22579581c8 /sw | |
parent | e67d675d1e6410a95c3ea0765c12d96c3a1db512 (diff) |
sfx2: sal_Bool->bool
Change-Id: I733cd63e321bdc775739228c269fa66ff7780780
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/swserv.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/doc/swserv.cxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/swserv.hxx b/sw/inc/swserv.hxx index 48be55377544..8be8e92ea532 100644 --- a/sw/inc/swserv.hxx +++ b/sw/inc/swserv.hxx @@ -60,9 +60,9 @@ public: } virtual ~SwServerObject(); - virtual sal_Bool GetData( ::com::sun::star::uno::Any & rData, + virtual bool GetData( ::com::sun::star::uno::Any & rData, const OUString & rMimeType, - sal_Bool bSynchron = sal_False ); + bool bSynchron = false ); sal_Bool SetData( const OUString & rMimeType, const ::com::sun::star::uno::Any& rData ); diff --git a/sw/source/core/doc/swserv.cxx b/sw/source/core/doc/swserv.cxx index 8f0c4593fada..e8c83b7c0e43 100644 --- a/sw/source/core/doc/swserv.cxx +++ b/sw/source/core/doc/swserv.cxx @@ -39,10 +39,10 @@ SwServerObject::~SwServerObject() { } -sal_Bool SwServerObject::GetData( uno::Any & rData, - const OUString & rMimeType, sal_Bool ) +bool SwServerObject::GetData( uno::Any & rData, + const OUString & rMimeType, bool ) { - sal_Bool bRet = sal_False; + bool bRet = false; WriterRef xWrt; switch( SotExchange::GetFormatIdFromMimeType( rMimeType ) ) { @@ -96,7 +96,7 @@ sal_Bool SwServerObject::GetData( uno::Any & rData, rData <<= uno::Sequence< sal_Int8 >( (sal_Int8*)aMemStm.GetData(), aMemStm.Seek( STREAM_SEEK_TO_END ) ); - bRet = sal_True; + bRet = true; } delete pPam; } |