summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-06-17 20:32:03 +0200
committerNoel Power <noel.power@suse.com>2013-06-18 17:31:20 +0000
commitcaab53cf21bc38ead3927941795b3c8a1432589a (patch)
tree088d28387c5eb7be34283502d078e3233dea88b2 /idl
parent5883e1926b80334cfdb7a3dd63d6391b1738c2a6 (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')
-rw-r--r--idl/source/objects/object.cxx2
-rw-r--r--idl/source/objects/slot.cxx2
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;