summaryrefslogtreecommitdiff
path: root/xmlhelp/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-19 12:24:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-19 12:24:37 +0200
commit5da0dce19caaf87a6fe53750a7e9ea5d564d6a12 (patch)
tree52028a1384c5074886fdd1722f71c32f3970146f /xmlhelp/source
parent520053459aa6a34b6d9ad52d97704399e5138d3d (diff)
Consolidate isFileUrl checks
Change-Id: I1b74fdfaa09c4d0d6c296253958e83e78b546a9a
Diffstat (limited to 'xmlhelp/source')
-rw-r--r--xmlhelp/source/cxxhelp/provider/db.hxx4
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(); }