summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-12 19:33:28 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-12 19:33:28 -0200
commitba713b5add1dfbcd17f8e6c14561dd3589a3db72 (patch)
tree834604acd9baff6f1ed711ff31f540e374fdc799 /stoc
parent71dc235aba9597c3485a791a319a34e4258138db (diff)
Fix mistake in type OUStringBuffer
Fix mistake in method for type OUStringBuffer
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/simpleregistry/textualservices.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/simpleregistry/textualservices.cxx b/stoc/source/simpleregistry/textualservices.cxx
index 611d0ea7351e..37540c820134 100644
--- a/stoc/source/simpleregistry/textualservices.cxx
+++ b/stoc/source/simpleregistry/textualservices.cxx
@@ -422,7 +422,7 @@ rtl::OUString pathToString(std::vector< rtl::OUString > const & path) {
buf.append(sal_Unicode('/'));
buf.append(*i);
}
- if (buf.isEmpty()) {
+ if (buf.getLength() == 0) {
buf.append(sal_Unicode('/'));
}
return buf.makeStringAndClear();