diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-17 20:32:03 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-06-18 17:31:20 +0000 |
commit | caab53cf21bc38ead3927941795b3c8a1432589a (patch) | |
tree | 088d28387c5eb7be34283502d078e3233dea88b2 /idl/source | |
parent | 5883e1926b80334cfdb7a3dd63d6391b1738c2a6 (diff) |
fdo#43460 connectivity,extensions,filter,idl,idlc: use isEmpty()
Change-Id: I78ba286be5aa4d731f734e5eb16adb77c686aad9
Reviewed-on: https://gerrit.libreoffice.org/4325
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'idl/source')
-rw-r--r-- | idl/source/objects/object.cxx | 2 | ||||
-rw-r--r-- | idl/source/objects/slot.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx index 226788ea803c..b926b26e21e5 100644 --- a/idl/source/objects/object.cxx +++ b/idl/source/objects/object.cxx @@ -505,7 +505,7 @@ void SvMetaClass::InsertSlots( SvSlotElementList& rList, std::vector<sal_uLong>& SvClassElement * pEle = aClassList[n]; SvMetaClass * pCl = pEle->GetClass(); OStringBuffer rPre(rPrefix); - if( rPre.getLength() && pEle->GetPrefix().getLength() ) + if( !rPre.isEmpty() && !pEle->GetPrefix().isEmpty() ) rPre.append('.'); rPre.append(pEle->GetPrefix()); diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index 5cb323326260..e77bd54d346b 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -790,7 +790,7 @@ void SvMetaSlot::WriteAttributesSvIdl( SvIdlDataBase & rBase, aDel = ", "; } - if( aOut.getLength() ) + if( !aOut.isEmpty() ) { WriteTab( rOutStm, nTab ); rOutStm << aOut.getStr() << endl; |