summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 17:04:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:52 +0100
commita53cb5d7b49c0d4ae298805caea7b0f023612ed2 (patch)
tree35b9b5a6daf985ae39598626f947df632a67df2d /svl/source
parent3c232d2f86f6944a3d86df0d1f710491cee1b064 (diff)
Use bool
Change-Id: I38f7ec288b907e889c71821cfbfac46a9688ba0c
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/items/poolio.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index e4e011355bc8..f63327b66558 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -820,7 +820,7 @@ SvStream &SfxItemPool::Load1_Impl(SvStream &rStream)
rStream >> nSlot;
sal_uInt16 nMappedWhich = GetWhich(nSlot, sal_False);
- int bKnownItem = bOwnPool || IsWhich(nMappedWhich);
+ bool bKnownItem = bOwnPool || IsWhich(nMappedWhich);
sal_uInt16 nRef(0), nCount(0), nVersion(0);
sal_uInt32 nAttrSize(0);
@@ -915,7 +915,7 @@ SvStream &SfxItemPool::Load1_Impl(SvStream &rStream)
*ppArr = pNewArr;
// die Items merken, die schon im Pool sind
- int bEmpty = sal_True;
+ bool bEmpty = true;
if ( 0 != pOldArr )
for ( size_t n = 0; bEmpty && n < pOldArr->size(); ++n )
bEmpty = pOldArr->operator[](n) == 0;
@@ -968,7 +968,7 @@ SvStream &SfxItemPool::Load1_Impl(SvStream &rStream)
rStream >> nSlot;
sal_uInt16 nMappedWhich = GetWhich(nSlot, sal_False);
- int bKnownItem = bOwnPool || IsWhich(nMappedWhich);
+ bool bKnownItem = bOwnPool || IsWhich(nMappedWhich);
sal_uLong nPos = nLastPos;
sal_uInt32 nSize(0);