summaryrefslogtreecommitdiff
path: root/stoc/source/servicemanager
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/servicemanager
parent4c73963171b1a7a837e4bfc75ae4e0303af7d117 (diff)
stoc: sal_Bool->bool
Change-Id: Id5aaa3ddfe2cfacbe1bddcdeccb9e775ad84d858
Diffstat (limited to 'stoc/source/servicemanager')
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx
index fd42e730099e..4d5ab2cd090a 100644
--- a/stoc/source/servicemanager/servicemanager.cxx
+++ b/stoc/source/servicemanager/servicemanager.cxx
@@ -292,7 +292,7 @@ Any ImplementationEnumeration_Impl::nextElement()
*****************************************************************************/
struct equalOWString_Impl
{
- sal_Bool operator()(const OUString & s1, const OUString & s2) const
+ bool operator()(const OUString & s1, const OUString & s2) const
{ return s1 == s2; }
};
@@ -456,7 +456,7 @@ protected:
inline void check_undisposed() const SAL_THROW( (lang::DisposedException) );
virtual void SAL_CALL disposing() SAL_OVERRIDE;
- sal_Bool haveFactoryWithThisImplementation(const OUString& aImplName);
+ bool haveFactoryWithThisImplementation(const OUString& aImplName);
virtual Sequence< Reference< XInterface > > queryServiceFactories(
const OUString& aServiceName, Reference< XComponentContext > const & xContext );
@@ -1232,7 +1232,7 @@ void OServiceManager::insert( const Any & Element )
}
// helper function
-sal_Bool OServiceManager::haveFactoryWithThisImplementation(const OUString& aImplName)
+bool OServiceManager::haveFactoryWithThisImplementation(const OUString& aImplName)
{
return ( m_ImplementationNameMap.find(aImplName) != m_ImplementationNameMap.end());
}
@@ -1374,7 +1374,7 @@ private:
const OUString & rImplName, Reference< XComponentContext > const & xContext );
void fillAllNamesFromRegistry( HashSet_OWString & );
- sal_Bool m_searchedRegistry;
+ bool m_searchedRegistry;
Reference<XSimpleRegistry > m_xRegistry; // readonly property Registry
Reference<XRegistryKey > m_xRootKey;
@@ -1388,7 +1388,7 @@ private:
*/
ORegistryServiceManager::ORegistryServiceManager( Reference< XComponentContext > const & xContext )
: OServiceManager( xContext )
- , m_searchedRegistry(sal_False)
+ , m_searchedRegistry(false)
#if OSL_DEBUG_LEVEL > 0
, m_init( false )
#endif
@@ -1431,7 +1431,7 @@ Reference<XRegistryKey > ORegistryServiceManager::getRootKey()
if( !m_xRegistry.is() && !m_searchedRegistry )
{
// merken, es wird nur einmal gesucht
- m_searchedRegistry = sal_True;
+ m_searchedRegistry = true;
m_xRegistry.set(
createInstanceWithContext(