diff options
Diffstat (limited to 'idl')
-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; |