forms/source/component/clickableimage.cxx |    2 +-
 forms/source/helper/urltransformer.cxx    |    4 ++--
 forms/source/inc/urltransformer.hxx       |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit e29d89545eb4c714e6e7c82dbfb780097ee6745d
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Mon Nov 22 14:46:30 2021 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Nov 22 17:37:58 2021 +0100

    improve method naming
    
    Change-Id: I9a45839f6566caf41ccee2f8d149b4d0c60c3503
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125663
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

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>

Reply via email to