summaryrefslogtreecommitdiff
path: root/forms/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-19 10:54:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-19 12:56:36 +0100
commit4bc44490f51f7cc4a36cc7131137018da986c293 (patch)
tree38670025e05b151b2e9e464427556c79d13626eb /forms/source
parentd7dbc5fd426a7f2dfda74e281bef7d3a87598203 (diff)
loplugin:stringliteraldefine in tools
Change-Id: I348b9a844c009f9c19301baa76d31b12f67c6130 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125535 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms/source')
-rw-r--r--forms/source/helper/urltransformer.cxx4
-rw-r--r--forms/source/inc/urltransformer.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/helper/urltransformer.cxx b/forms/source/helper/urltransformer.cxx
index 10f664705e61..d166a85f6c39 100644
--- a/forms/source/helper/urltransformer.cxx
+++ b/forms/source/helper/urltransformer.cxx
@@ -71,10 +71,10 @@ namespace frm
}
- void UrlTransformer::parseSmartWithAsciiProtocol( css::util::URL& _rURL, const char* _pAsciiURL ) const
+ void UrlTransformer::parseSmartWithAsciiProtocol( css::util::URL& _rURL, const OUString& _rAsciiURL ) const
{
if ( implEnsureTransformer() )
- m_xTransformer->parseSmart( _rURL, OUString::createFromAscii( _pAsciiURL ) );
+ m_xTransformer->parseSmart( _rURL, _rAsciiURL );
}
diff --git a/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx
index e11661176b92..191313c431b5 100644
--- a/forms/source/inc/urltransformer.hxx
+++ b/forms/source/inc/urltransformer.hxx
@@ -52,7 +52,7 @@ namespace frm
/** parses a given URL smartly, with a protocol given by ASCII string
*/
void
- parseSmartWithAsciiProtocol( css::util::URL& _rURL, const char* _pAsciiURL ) const;
+ parseSmartWithAsciiProtocol( css::util::URL& _rURL, const OUString& _rAsciiURL ) const;
private:
/** ensures that we have a URLTransformer instance in <member>m_xTransformer</member>