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 --- desktop/source/app/app.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 861cb3ff2bd2..798b69552ab3 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -77,6 +77,7 @@ #include #include #include +#include #include #include #include @@ -2429,7 +2430,7 @@ OUString GetURL_Impl( // dont touch file urls, those should already be in internal form // they won't get better here (#112849#) - if (rName.startsWith("file:")) + if (comphelper::isFileUrl(rName)) { return rName; } -- cgit