diff options
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/db.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/db.hxx b/xmlhelp/source/cxxhelp/provider/db.hxx index bdfaa38d84dd..1fc09e47f45d 100644 --- a/xmlhelp/source/cxxhelp/provider/db.hxx +++ b/xmlhelp/source/cxxhelp/provider/db.hxx @@ -20,7 +20,7 @@ #define INCLUDED_XMLHELP_SOURCE_CXXHELP_PROVIDER_DB_HXX #include <com/sun/star/ucb/XSimpleFileAccess3.hpp> - +#include <comphelper/fileurl.hxx> #include <osl/diagnose.h> #include <rtl/string.hxx> #include <unordered_map> @@ -95,7 +95,7 @@ namespace helpdatafileproxy { , m_nItRead( -1 ) , m_iItPos( -1 ) { - OSL_ASSERT(rFileURL.startsWith("file:")); + OSL_ASSERT(comphelper::isFileUrl(rFileURL)); } ~Hdf() { releaseHashMap(); } |