summaryrefslogtreecommitdiff
path: root/cppuhelper/source/factory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/factory.cxx')
-rw-r--r--cppuhelper/source/factory.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index 5748921fd73a..891db88d2266 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -461,8 +461,8 @@ void OFactoryComponentHelper::dispose()
sal_Bool SAL_CALL OFactoryComponentHelper::releaseOnNotification() throw(css::uno::RuntimeException, std::exception)
{
if( bOneInstance)
- return sal_False;
- return sal_True;
+ return false;
+ return true;
}
class ORegistryFactoryHelper : public OFactoryComponentHelper,
@@ -940,7 +940,7 @@ sal_Bool SAL_CALL OFactoryProxyHelper::releaseOnNotification() throw(css::uno::R
Reference<XUnloadingPreference> pref( xFactory, UNO_QUERY);
if( pref.is())
return pref->releaseOnNotification();
- return sal_True;
+ return true;
}
// global function