diff options
-rw-r--r-- | cppuhelper/source/bootstrap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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()); |