summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/UnoNamespaceMap.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-14 16:15:22 +0200
committerNoel Grandin <noel@peralex.com>2014-04-15 09:02:33 +0200
commitbe88947bac607013c6b7a3c923a2eccd09e50942 (patch)
tree09cdc0803437ac8c76e12c60c6644c49cb1d5dd4 /svx/source/unodraw/UnoNamespaceMap.cxx
parentcfddda092b0c105b5be7942a94cbbd88d55677f1 (diff)
svx: sal_Bool->bool
Change-Id: I464eba5fd5521c31868c6fc8a2137f17428d421e
Diffstat (limited to 'svx/source/unodraw/UnoNamespaceMap.cxx')
-rw-r--r--svx/source/unodraw/UnoNamespaceMap.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx
index 860adcbd56e4..3ef214670aa3 100644
--- a/svx/source/unodraw/UnoNamespaceMap.cxx
+++ b/svx/source/unodraw/UnoNamespaceMap.cxx
@@ -109,7 +109,7 @@ namespace svx
NamespaceIteratorImpl( sal_uInt16* pWhichIds, SfxItemPool* pPool );
- sal_Bool next( OUString& rPrefix, OUString& rURL );
+ bool next( OUString& rPrefix, OUString& rURL );
};
}
@@ -129,7 +129,7 @@ NamespaceIteratorImpl::NamespaceIteratorImpl( sal_uInt16* pWhichIds, SfxItemPool
mnItemCount = (mpWhichId && (0 != *mpWhichId) && mpPool) ? mpPool->GetItemCount2( *mpWhichId ) : 0;
}
-sal_Bool NamespaceIteratorImpl::next( OUString& rPrefix, OUString& rURL )
+bool NamespaceIteratorImpl::next( OUString& rPrefix, OUString& rURL )
{
// we still need to process the current attribute
if( mpCurrentAttr && (mnCurrentAttr != USHRT_MAX) )
@@ -138,7 +138,7 @@ sal_Bool NamespaceIteratorImpl::next( OUString& rPrefix, OUString& rURL )
rURL = mpCurrentAttr->GetNamespace( mnCurrentAttr );
mnCurrentAttr = mpCurrentAttr->GetNextNamespaceIndex( mnCurrentAttr );
- return sal_True;
+ return true;
}
// we need the next namespace item
@@ -201,7 +201,7 @@ Any SAL_CALL NamespaceMap::getByName( const OUString& aName ) throw (NoSuchEleme
OUString aPrefix;
OUString aURL;
- sal_Bool bFound;
+ bool bFound;
do
{
@@ -248,7 +248,7 @@ sal_Bool SAL_CALL NamespaceMap::hasByName( const OUString& aName ) throw (Runtim
OUString aPrefix;
OUString aURL;
- sal_Bool bFound;
+ bool bFound;
do
{