[Libreoffice-commits] .: cppuhelper/source
Michael Meeks
michael at kemper.freedesktop.org
Wed Apr 18 03:06:06 PDT 2012
cppuhelper/source/bootstrap.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cb5c881a7f179391ee853f76e159254c97d776a3
Author: Michael Meeks <michael.meeks at suse.com>
Date: Wed Apr 18 11:04:08 2012 +0100
avoid using the new rdb reading logic for empty/non-existent directories
diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx
index cc64e07..fad335b 100644
--- a/cppuhelper/source/bootstrap.cxx
+++ b/cppuhelper/source/bootstrap.cxx
@@ -333,7 +333,7 @@ Reference< registry::XSimpleRegistry > readRdbDirectory(
}
nXML++;
}
- if (nXML == aURLs.size())
+ if (nXML > 0 && nXML == aURLs.size())
{
OSL_TRACE (OSL_LOG_PREFIX "no legacy rdbs in directory '%s'\n",
rtl::OUStringToOString( url, RTL_TEXTENCODING_UTF8 ).getStr());
More information about the Libreoffice-commits
mailing list