summaryrefslogtreecommitdiff
path: root/configmgr/source/childaccess.cxx
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-06-17 17:16:51 +0200
committerNoel Power <noel.power@suse.com>2013-06-17 19:33:01 +0000
commit97460c421abec14150c4ddde27daeef892c86b16 (patch)
tree88be538446f52694eb3b5b3d2e4aa4929e72df5f /configmgr/source/childaccess.cxx
parent9ee7be4efb494351c4be096ffa04cdbd85cdc3d4 (diff)
fdo#43460 configmgr: use isEmpty()
Change-Id: Ifab7cef3e883bc10632ac280ca382b2c68bc79e1 Reviewed-on: https://gerrit.libreoffice.org/4317 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'configmgr/source/childaccess.cxx')
-rw-r--r--configmgr/source/childaccess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/childaccess.cxx b/configmgr/source/childaccess.cxx
index 587f59bff415..b5a34efbd449 100644
--- a/configmgr/source/childaccess.cxx
+++ b/configmgr/source/childaccess.cxx
@@ -113,7 +113,7 @@ OUString ChildAccess::getRelativePathRepresentation() {
rtl::Reference< Access > parent(getParentAccess());
if (parent.is()) {
path.append(parent->getRelativePathRepresentation());
- if (path.getLength() != 0) {
+ if (!path.isEmpty()) {
path.append(sal_Unicode('/'));
}
}