From 5da0dce19caaf87a6fe53750a7e9ea5d564d6a12 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 19 Aug 2015 12:24:37 +0200 Subject: Consolidate isFileUrl checks Change-Id: I1b74fdfaa09c4d0d6c296253958e83e78b546a9a --- xmlhelp/source/cxxhelp/provider/db.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlhelp') 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 - +#include #include #include #include @@ -95,7 +95,7 @@ namespace helpdatafileproxy { , m_nItRead( -1 ) , m_iItPos( -1 ) { - OSL_ASSERT(rFileURL.startsWith("file:")); + OSL_ASSERT(comphelper::isFileUrl(rFileURL)); } ~Hdf() { releaseHashMap(); } -- cgit