summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-08 14:13:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-08 16:05:24 +0100
commit669128178f4697f4fba746f1ece1c18b0056022a (patch)
treec742a7c7654ae302ad39b616a7bb80149fd68ca8 /include/tools
parentfa7085bd182e1968237b742c544de3ff0a5b9742 (diff)
Make INetURLObject-from-OUString ctor explicit
...and clean up call sites. Change-Id: I7219a33652835e82fdc44e9e801a7e62868e4f38
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/urlobj.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
index ab2ed5107c98..4d9bd10fe0c2 100644
--- a/include/tools/urlobj.hxx
+++ b/include/tools/urlobj.hxx
@@ -222,9 +222,10 @@ public:
// Strict Parsing:
- inline INetURLObject(OUString const & rTheAbsURIRef,
- EncodeMechanism eMechanism = WAS_ENCODED,
- rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
+ inline explicit INetURLObject(
+ OUString const & rTheAbsURIRef,
+ EncodeMechanism eMechanism = WAS_ENCODED,
+ rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
inline bool SetURL(OUString const & rTheAbsURIRef,
EncodeMechanism eMechanism = WAS_ENCODED,