fdo#43460 include,registry,svtools,svx,unodevtools: use isEmpty()

Change-Id: I6e35b91092239275694eec3666b076f7ff7e54f6
Reviewed-on: https://gerrit.libreoffice.org/4335
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
This commit is contained in:
Jelle van der Waa
2013-06-18 12:05:03 +02:00
committed by Noel Power
parent caab53cf21
commit 84f1f1d149
9 changed files with 19 additions and 19 deletions

View File

@@ -808,14 +808,14 @@ OString generateClassDefinition(std::ostream& o,
}
if (propinterfaces.find("com/sun/star/beans/XFastPropertySet")
!= propinterfaces.end()) {
if (buffer.getLength() > 0)
if (!buffer.isEmpty())
buffer.append(" | IMPLEMENTS_FAST_PROPERTY_SET");
else
buffer.append("IMPLEMENTS_FAST_PROPERTY_SET");
}
if (propinterfaces.find("com/sun/star/beans/XPropertyAccess")
!= propinterfaces.end()) {
if (buffer.getLength() > 0)
if (!buffer.isEmpty())
buffer.append(" | IMPLEMENTS_PROPERTY_ACCESS");
else
buffer.append("IMPLEMENTS_PROPERTY_ACCESS");