summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/parhtml.hxx2
-rw-r--r--include/svtools/place.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/svtools/parhtml.hxx b/include/svtools/parhtml.hxx
index 02cdc2042645..d05a9e36cc5a 100644
--- a/include/svtools/parhtml.hxx
+++ b/include/svtools/parhtml.hxx
@@ -257,7 +257,7 @@ public:
virtual bool ParseMetaOptions( const css::uno::Reference< css::document::XDocumentProperties>&,
SvKeyValueIterator* );
- void ParseScriptOptions( OUString& rLangString, const OUString&, HTMLScriptLanguage& rLang,
+ void ParseScriptOptions( OUString& rLangString, std::u16string_view rBaseURL, HTMLScriptLanguage& rLang,
OUString& rSrc, OUString& rLibrary, OUString& rModule );
// Remove a comment around the content of <SCRIPT> or <STYLE>.
diff --git a/include/svtools/place.hxx b/include/svtools/place.hxx
index 2cae08bf2e7a..315621c6504a 100644
--- a/include/svtools/place.hxx
+++ b/include/svtools/place.hxx
@@ -21,13 +21,13 @@ private:
public:
- Place( const OUString& sName, const OUString& sUrl, bool bEditable = false ) :
+ Place( const OUString& sName, std::u16string_view sUrl, bool bEditable = false ) :
msName( sName ),
maUrl( sUrl ),
mbEditable( bEditable ) {};
void SetName(const OUString& aName ) { msName = aName; }
- void SetUrl(const OUString& aUrl ) { maUrl.SetURL( aUrl ); }
+ void SetUrl(std::u16string_view aUrl ) { maUrl.SetURL( aUrl ); }
OUString& GetName( ) { return msName; }
OUString GetUrl( ) const { return maUrl.GetMainURL( INetURLObject::DecodeMechanism::NONE ); }