summaryrefslogtreecommitdiff
path: root/stoc/source/defaultregistry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-24 12:26:33 +0200
committerNoel Grandin <noel@peralex.com>2014-04-30 08:43:41 +0200
commit1417061d1b2c110e7e690523a544b58e7ffd05c0 (patch)
tree11822ac4180dbaa97946d790f21ae2d549e2e24e /stoc/source/defaultregistry
parent4c73963171b1a7a837e4bfc75ae4e0303af7d117 (diff)
stoc: sal_Bool->bool
Change-Id: Id5aaa3ddfe2cfacbe1bddcdeccb9e775ad84d858
Diffstat (limited to 'stoc/source/defaultregistry')
-rw-r--r--stoc/source/defaultregistry/defaultregistry.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx
index 35d351a4e726..631c1d49f696 100644
--- a/stoc/source/defaultregistry/defaultregistry.cxx
+++ b/stoc/source/defaultregistry/defaultregistry.cxx
@@ -822,7 +822,7 @@ Sequence< Reference< XRegistryKey > > SAL_CALL NestedKeyImpl::openKeys( )
}
Sequence< Reference<XRegistryKey> > retSeq(local + def - len);
- sal_Bool insert = sal_True;
+ bool insert = true;
OUString name;
sal_Int32 lastIndex;
@@ -838,14 +838,14 @@ Sequence< Reference< XRegistryKey > > SAL_CALL NestedKeyImpl::openKeys( )
sal_uInt32 k = local;
for (i=0; i < def; i++)
{
- insert = sal_True;
+ insert = true;
for (j=0 ; j < local; j++)
{
if ( retSeq.getConstArray()[j]->getKeyName()
== defaultSeq.getConstArray()[i] )
{
- insert = sal_False;
+ insert = false;
break;
}
}
@@ -902,7 +902,7 @@ Sequence< OUString > SAL_CALL NestedKeyImpl::getKeyNames( )
}
Sequence<OUString> retSeq(local + def - len);
- sal_Bool insert = sal_True;
+ bool insert = true;
for (i=0; i < local; i++)
{
@@ -912,13 +912,13 @@ Sequence< OUString > SAL_CALL NestedKeyImpl::getKeyNames( )
sal_uInt32 k = local;
for (i=0; i < def; i++)
{
- insert = sal_True;
+ insert = true;
for (j=0 ; j < local; j++)
{
if ( retSeq.getConstArray()[j] == defaultSeq.getConstArray()[i] )
{
- insert = sal_False;
+ insert = false;
break;
}
}
@@ -936,7 +936,7 @@ sal_Bool SAL_CALL NestedKeyImpl::createLink( const OUString& aLinkName, const OU
{
Guard< Mutex > aGuard( m_pRegistry->m_mutex );
- sal_Bool isCreated = sal_False;
+ bool isCreated = false;
if ( !m_localKey.is() && !m_defaultKey.is() )
{
throw InvalidRegistryException();