diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-04-18 11:04:08 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-04-18 11:04:42 +0100 |
commit | cb5c881a7f179391ee853f76e159254c97d776a3 (patch) | |
tree | fba2dc2bd079e8594ee9b992186462daf767d38f /cppuhelper | |
parent | lp#720716: add unity quicklist support (diff) | |
download | core-cb5c881a7f179391ee853f76e159254c97d776a3.tar.gz core-cb5c881a7f179391ee853f76e159254c97d776a3.zip |
avoid using the new rdb reading logic for empty/non-existent directories
Diffstat (limited to 'cppuhelper')
-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()); |