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:
committed by
Noel Power
parent
caab53cf21
commit
84f1f1d149
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user