diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-06-29 23:57:38 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-06-30 04:58:49 +0000 |
commit | 710f41b7aec8e7d35a0da8be332aa289f98942af (patch) | |
tree | b894ef2d3f06a63a85f423b2713a654ea57f9c69 /tools/source/ref/pstm.cxx | |
parent | 1ca3beae12a7f222c987481e07a544845fc9fd46 (diff) |
Clean String and sal_Bool in tools
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'tools/source/ref/pstm.cxx')
-rw-r--r-- | tools/source/ref/pstm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx index 66e4a28909c7..fae8e124d80f 100644 --- a/tools/source/ref/pstm.cxx +++ b/tools/source/ref/pstm.cxx @@ -141,7 +141,7 @@ SvPersistStream::SvPersistStream( SvClassManager & rMgr, SvStream * pStream, sal , nFlags( 0 ) { DBG_ASSERT( nStartIdx != 0, "zero index not allowed" ); - bIsWritable = sal_True; + bIsWritable = true; if( pStm ) { SetVersion( pStm->GetVersion() ); @@ -555,7 +555,7 @@ SvPersistStream& SvPersistStream::WritePointer sal_uInt32 SvPersistStream::ReadObj ( SvPersistBase * & rpObj, - sal_Bool bRegister + bool bRegister ) { sal_uInt8 nHdr; @@ -638,7 +638,7 @@ SvPersistStream& SvPersistStream::ReadPointer SvPersistBase * & rpObj ) { - ReadObj( rpObj, sal_True ); + ReadObj( rpObj, true ); return *this; } @@ -705,7 +705,7 @@ SvStream& operator >> { SvPersistBase * pEle; // read, but don't insert into table - sal_uIntPtr nId = rThis.ReadObj( pEle, sal_False ); + sal_uIntPtr nId = rThis.ReadObj( pEle, false ); if( rThis.GetError() ) break; |