From cb5c881a7f179391ee853f76e159254c97d776a3 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 18 Apr 2012 11:04:08 +0100 Subject: avoid using the new rdb reading logic for empty/non-existent directories --- cppuhelper/source/bootstrap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppuhelper') diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx index cc64e07c2015..fad335bb880a 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()); -- cgit