summaryrefslogtreecommitdiff
path: root/configmgr/source/data.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-16 17:27:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-16 17:27:07 +0100
commit0e7804b8978e106d08d026fd959714a8094b2403 (patch)
tree4dbe1c85a39ba8f9425b94cafa1395db6531e3ae /configmgr/source/data.cxx
parentb4a73f9d003ff5c452eeb80993073137e52848e8 (diff)
configmgr: Use appropriate OUString functions on string constants
Change-Id: I7345234957aab62e884c0e884ac0b3b8a21e9cc5
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) {