summaryrefslogtreecommitdiff
path: root/configmgr/source/data.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/data.cxx')
-rw-r--r--configmgr/source/data.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/data.cxx b/configmgr/source/data.cxx
index 23839409ed68..e322b10e07f8 100644
--- a/configmgr/source/data.cxx
+++ b/configmgr/source/data.cxx
@@ -127,7 +127,7 @@ sal_Int32 Data::parseSegment(
}
if (templateName != 0) {
if (i - index == 1 && path[index] == '*') {
- *templateName = "";
+ templateName->clear();
} else {
*templateName = path.copy(index, i - index);
}
@@ -245,7 +245,7 @@ rtl::Reference< Node > Data::resolvePathRepresentation(
return p;
}
parent = p;
- templateName = "";
+ templateName.clear();
n = parseSegment(
pathRepresentation, n, &seg, &setElement, &templateName);
if (n == -1) {