summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-26 09:31:43 +0200
committerNoel Grandin <noel@peralex.com>2014-02-27 12:30:28 +0200
commit2a4a74a49913ffd42315e2e34c8d58594cebbb95 (patch)
treec935439b997db416edddc3de31561b465e786a4a /editeng
parentab49749dfc405752230fb7c2a0416f37e55be032 (diff)
editeng: sal_Bool->bool
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/frmitems.cxx6
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;
}