diff options
Diffstat (limited to 'framework/source/fwe/helper/titlehelper.cxx')
-rw-r--r-- | framework/source/fwe/helper/titlehelper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index 1e7e797590f8..16ad4b3dafb4 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -651,18 +651,18 @@ OUString TitleHelper::impl_convertURL2Title(const OUString& sURL) if (aURL.HasMark()) aURL = INetURLObject(aURL.GetURLNoMark()); - sTitle = aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET); + sTitle = aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset); } else { if (aURL.hasExtension()) - sTitle = aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET); + sTitle = aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset); if ( sTitle.isEmpty() ) - sTitle = aURL.GetHostPort(INetURLObject::DECODE_WITH_CHARSET); + sTitle = aURL.GetHostPort(INetURLObject::DecodeMechanism::WithCharset); if ( sTitle.isEmpty() ) - sTitle = aURL.GetURLNoPass(INetURLObject::DECODE_WITH_CHARSET); + sTitle = aURL.GetURLNoPass(INetURLObject::DecodeMechanism::WithCharset); } return sTitle; |