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>
This commit is contained in:
Noel Grandin 2021-11-22 14:46:30 +02:00
parent 1a32af4192
commit e29d89545e
3 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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 );
}

View file

@ -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>