summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-23 16:07:18 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-23 19:17:18 -0200
commit558112542348bcbd754853847c968e2203abf269 (patch)
tree26e31cff04d6c8612921b2c469702d59efb90057 /extensions
parent4a0af6a0581fc7ac2b6544e996529405276d06bf (diff)
Fix for fdo43460 Part XLIV getLength() to isEmpty()
Part XLIV many modules(inc's)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/inc/componentmodule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/inc/componentmodule.cxx b/extensions/source/inc/componentmodule.cxx
index 4a7b649c4af9..6c0b9956c5cf 100644
--- a/extensions/source/inc/componentmodule.cxx
+++ b/extensions/source/inc/componentmodule.cxx
@@ -89,7 +89,7 @@ namespace COMPMOD_NAMESPACE
// note that this method is not threadsafe, which counts for the whole class !
if (!m_pRessources && !m_bInitialized)
{
- DBG_ASSERT(m_sFilePrefix.getLength(), "OModuleImpl::getResManager: no resource file prefix!");
+ DBG_ASSERT(!m_sFilePrefix.isEmpty(), "OModuleImpl::getResManager: no resource file prefix!");
// create a manager with a fixed prefix
m_pRessources = ResMgr::CreateResMgr(m_sFilePrefix.getStr());
DBG_ASSERT(m_pRessources,
@@ -241,7 +241,7 @@ namespace COMPMOD_NAMESPACE
const Reference< XMultiServiceFactory >& _rxServiceManager)
{
OSL_ENSURE(_rxServiceManager.is(), "OModule::getComponentFactory : invalid argument (service manager) !");
- OSL_ENSURE(_rImplementationName.getLength(), "OModule::getComponentFactory : invalid argument (implementation name) !");
+ OSL_ENSURE(!_rImplementationName.isEmpty(), "OModule::getComponentFactory : invalid argument (implementation name) !");
if (!s_pImplementationNames)
{