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 m_xTransformer