stoc/source/simpleregistry/textualservices.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba713b5add1dfbcd17f8e6c14561dd3589a3db72
Author: Olivier Hallot <olivier.hal...@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();
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to