summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-22 14:46:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-22 17:37:58 +0100
commite29d89545eb4c714e6e7c82dbfb780097ee6745d (patch)
treee05c568e14e2a9ffab21819add7a2fb89f9674eb /forms
parent1a32af4192291ea5cfe7c4c143144a5dab1f156e (diff)
improve method naming
Change-Id: I9a45839f6566caf41ccee2f8d149b4d0c60c3503 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125663 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/clickableimage.cxx2
-rw-r--r--forms/source/helper/urltransformer.cxx4
-rw-r--r--forms/source/inc/urltransformer.hxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index 77dd6c5943b6..808f05e6e1ce 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -293,7 +293,7 @@ namespace frm
xSet->getPropertyValue(PROPERTY_DISPATCHURLINTERNAL) >>= bDispatchUrlInternal;
if ( bDispatchUrlInternal )
{
- m_pFeatureInterception->getTransformer().parseSmartWithAsciiProtocol( aURL, INET_FILE_SCHEME );
+ m_pFeatureInterception->getTransformer().parseSmartWithProtocol( aURL, INET_FILE_SCHEME );
OUString aTargetFrame;
xSet->getPropertyValue(PROPERTY_TARGET_FRAME) >>= aTargetFrame;
diff --git a/forms/source/helper/urltransformer.cxx b/forms/source/helper/urltransformer.cxx
index d166a85f6c39..8f7394b96ca4 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 OUString& _rAsciiURL ) const
+ void UrlTransformer::parseSmartWithProtocol( css::util::URL& _rURL, const OUString& _rProtocol ) const
{
if ( implEnsureTransformer() )
- m_xTransformer->parseSmart( _rURL, _rAsciiURL );
+ m_xTransformer->parseSmart( _rURL, _rProtocol );
}
diff --git a/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx
index 191313c431b5..3cfe225945bb 100644
--- a/forms/source/inc/urltransformer.hxx
+++ b/forms/source/inc/urltransformer.hxx
@@ -49,10 +49,10 @@ namespace frm
css::util::URL
getStrictURLFromAscii( const char* _pAsciiURL ) const;
- /** parses a given URL smartly, with a protocol given by ASCII string
+ /** parses a given URL smartly, with a given protocol
*/
void
- parseSmartWithAsciiProtocol( css::util::URL& _rURL, const OUString& _rAsciiURL ) const;
+ parseSmartWithProtocol( css::util::URL& _rURL, const OUString& _rProtocol ) const;
private:
/** ensures that we have a URLTransformer instance in <member>m_xTransformer</member>