diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-16 15:46:57 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-16 18:49:04 -0200 |
commit | 81e50fb2e378120d05f7ffdee216ce6e248e189b (patch) | |
tree | 0fa6f4779bb3b4970e4720bef4ac36c90514b45c /tools/bootstrp | |
parent | 69d91300547f6ed45a9a499ffae71c2c0f91c441 (diff) |
Fix for fdo43460 Part XXXIX getLength() to isEmpty()
Part XXXIX
Modules
testtools, toolkit, tools
Diffstat (limited to 'tools/bootstrp')
-rw-r--r-- | tools/bootstrp/cppdep.cxx | 2 | ||||
-rw-r--r-- | tools/bootstrp/rscdep.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/bootstrp/cppdep.cxx b/tools/bootstrp/cppdep.cxx index c03a6a456bc0..3c3fd61c9d02 100644 --- a/tools/bootstrp/cppdep.cxx +++ b/tools/bootstrp/cppdep.cxx @@ -97,7 +97,7 @@ sal_Bool CppDep::Search(const rtl::OString &rFileName) rtl::OString aNewFile; if (!aResult.isEmpty()) - if ( (aNewFile = Exists( aResult )).getLength() ) + if ( !(aNewFile = Exists( aResult )).isEmpty() ) { sal_Bool bFound = sal_False; size_t nCount = m_aFileList.size(); diff --git a/tools/bootstrp/rscdep.cxx b/tools/bootstrp/rscdep.cxx index 4afde22fae14..f10448d911a0 100644 --- a/tools/bootstrp/rscdep.cxx +++ b/tools/bootstrp/rscdep.cxx @@ -125,7 +125,7 @@ int main( int argc, char** argv ) rtl::OString aToken; String aRespName( &aBuf[1], osl_getThreadTextEncoding()); SimpleConfig aConfig( aRespName ); - while ((aToken = aConfig.getNext()).getLength()) + while (!(aToken = aConfig.getNext()).isEmpty()) { char aBuf2[255]; strcpy( aBuf2, aToken.getStr()); |