summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unomtabl.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-04-17 09:12:54 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-04-17 09:43:30 +0900
commit01c135776601cb767fb45456739596c50499820f (patch)
treea252fef3ce5cbfd18f57002f883a496bd9963240 /svx/source/unodraw/unomtabl.cxx
parent9e0f880937174486030612961a518260fc76005e (diff)
sal_Bool to bool
Change-Id: Id2ba5cf09227945fd97ef6f7e63cb40fa6488886
Diffstat (limited to 'svx/source/unodraw/unomtabl.cxx')
-rw-r--r--svx/source/unodraw/unomtabl.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx
index 1e3d5a16f990..81b61e729a10 100644
--- a/svx/source/unodraw/unomtabl.cxx
+++ b/svx/source/unodraw/unomtabl.cxx
@@ -260,7 +260,7 @@ void SAL_CALL SvxUnoMarkerTable::replaceByName( const OUString& aApiName, const
}
// if it is not in our own sets, modify the pool!
- sal_Bool bFound = sal_False;
+ bool bFound = false;
sal_uInt32 nSurrogate;
const sal_uInt32 nStartCount = mpModelPool ? mpModelPool->GetItemCount2( XATTR_LINESTART ) : 0;
@@ -270,7 +270,7 @@ void SAL_CALL SvxUnoMarkerTable::replaceByName( const OUString& aApiName, const
if( pItem && pItem->GetName() == aSearchName )
{
pItem->PutValue( aElement );
- bFound = sal_True;
+ bFound = true;
break;
}
}
@@ -282,7 +282,7 @@ void SAL_CALL SvxUnoMarkerTable::replaceByName( const OUString& aApiName, const
if( pItem && pItem->GetName() == aSearchName )
{
pItem->PutValue( aElement );
- bFound = sal_True;
+ bFound = true;
break;
}
}
@@ -293,7 +293,7 @@ void SAL_CALL SvxUnoMarkerTable::replaceByName( const OUString& aApiName, const
throw container::NoSuchElementException();
}
-static sal_Bool getByNameFromPool( const String& rSearchName, SfxItemPool* pPool, sal_uInt16 nWhich, uno::Any& rAny )
+static bool getByNameFromPool( const String& rSearchName, SfxItemPool* pPool, sal_uInt16 nWhich, uno::Any& rAny )
{
NameOrIndex *pItem;
const sal_uInt32 nSurrogateCount = pPool ? pPool->GetItemCount2( nWhich ) : 0;
@@ -304,11 +304,11 @@ static sal_Bool getByNameFromPool( const String& rSearchName, SfxItemPool* pPool
if( pItem && pItem->GetName() == rSearchName )
{
pItem->QueryValue( rAny, 0 );
- return sal_True;
+ return true;
}
}
- return sal_False;
+ return false;
}
// XNameAccess