diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-26 09:31:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-27 12:30:28 +0200 |
commit | 2a4a74a49913ffd42315e2e34c8d58594cebbb95 (patch) | |
tree | c935439b997db416edddc3de31561b465e786a4a /editeng/source | |
parent | ab49749dfc405752230fb7c2a0416f37e55be032 (diff) |
editeng: sal_Bool->bool
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index c60eab524e22..e8443204d62e 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -1308,9 +1308,9 @@ SfxPoolItem* SvxProtectItem::Create( SvStream& rStrm, sal_uInt16 ) const sal_Int8 cFlags; rStrm.ReadSChar( cFlags ); SvxProtectItem* pAttr = new SvxProtectItem( Which() ); - pAttr->SetPosProtect( sal_Bool( ( cFlags & 0x01 ) != 0 ) ); - pAttr->SetSizeProtect( sal_Bool( ( cFlags & 0x02 ) != 0 ) ); - pAttr->SetCntntProtect( sal_Bool( ( cFlags & 0x04 ) != 0 ) ); + pAttr->SetPosProtect( ( cFlags & 0x01 ) != 0 ); + pAttr->SetSizeProtect( ( cFlags & 0x02 ) != 0 ); + pAttr->SetCntntProtect( ( cFlags & 0x04 ) != 0 ); return pAttr; } |