[Libreoffice-commits] .: stoc/source
Olivier Hallot
ohallot at kemper.freedesktop.org
Thu Jan 12 13:35:01 PST 2012
stoc/source/simpleregistry/textualservices.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ba713b5add1dfbcd17f8e6c14561dd3589a3db72
Author: Olivier Hallot <olivier.hallot at alta.org.br>
Date: Thu Jan 12 19:33:28 2012 -0200
Fix mistake in type OUStringBuffer
Fix mistake in method for type OUStringBuffer
diff --git a/stoc/source/simpleregistry/textualservices.cxx b/stoc/source/simpleregistry/textualservices.cxx
index 611d0ea..37540c8 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();
More information about the Libreoffice-commits
mailing list