summaryrefslogtreecommitdiff
path: root/rdbmaker/source/rdbmaker/rdbmaker.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@documentfoundation.org>2012-01-02 15:58:10 -0200
committerLuboš Luňák <l.lunak@suse.cz>2012-01-02 19:17:17 +0100
commit85d1ce27ad9ce7a3740bd8bbbaf1d3abe643ba10 (patch)
tree9c27a22d1d2ccb1bd78658ee4152c30ea4a70137 /rdbmaker/source/rdbmaker/rdbmaker.cxx
parent829db12d7e3e93b4a44f79b39a0a9f0630439109 (diff)
Fix for fdo43460 Part XXVII getLength() to isEmpty()
Please find attached a partial fix for Easy Hack FDO43460 Part XXVII Modules padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
Diffstat (limited to 'rdbmaker/source/rdbmaker/rdbmaker.cxx')
-rw-r--r--rdbmaker/source/rdbmaker/rdbmaker.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/rdbmaker/source/rdbmaker/rdbmaker.cxx b/rdbmaker/source/rdbmaker/rdbmaker.cxx
index 4a4e8ae32a60..a383346d79bb 100644
--- a/rdbmaker/source/rdbmaker/rdbmaker.cxx
+++ b/rdbmaker/source/rdbmaker/rdbmaker.cxx
@@ -335,7 +335,7 @@ int __cdecl main( int argc, char * argv[] )
}
}
- if ( bootReg.getLength() )
+ if ( !bootReg.isEmpty() )
{
pTypeMgr = new SpecialTypeManager();
useSpecial = sal_True;
@@ -429,7 +429,7 @@ int __cdecl main( int argc, char * argv[] )
tmpName = typeName.copy( lastIndex+1 );
if (tmpName == "*")
{
- if (bootReg.getLength())
+ if (!bootReg.isEmpty())
{
fprintf(stderr, "%s ERROR: %s\n",
options.getProgramName().getStr(),
@@ -443,7 +443,7 @@ int __cdecl main( int argc, char * argv[] )
} else
{
tmpName = typeName.copy(0, typeName.lastIndexOf('.')).replace('.', '/');
- if (tmpName.getLength() == 0)
+ if (tmpName.isEmpty())
tmpName = "/";
else
tmpName.replace('.', '/');
@@ -476,7 +476,7 @@ int __cdecl main( int argc, char * argv[] )
{
} else
{
- if (!bootReg.getLength())
+ if (bootReg.isEmpty())
{
// produce all types
if (!produceAllTypes("/", typeMgr, typeDependencies, &options, sal_True,