diff options
Diffstat (limited to 'sw/source/uibase/uiview/view2.cxx')
-rw-r--r-- | sw/source/uibase/uiview/view2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index c32e469a1951..155cd1738aad 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -266,7 +266,7 @@ int SwView::InsertGraphic( const OUString &rPath, const OUString &rFilter, SwDocShell* pDocSh = GetDocShell(); INetURLObject aTemp( pDocSh->HasName() ? - pDocSh->GetMedium()->GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) : + pDocSh->GetMedium()->GetURLObject().GetMainURL( INetURLObject::DecodeMechanism::NONE ) : OUString()); OUString sURL = URIHelper::SmartRel2Abs( @@ -1928,7 +1928,7 @@ bool SwView::JumpToSwMark( const OUString& rMark ) const SwFormatINetFormat* pINet; OUString sCmp; OUString sMark( INetURLObject::decode( rMark, - INetURLObject::DECODE_WITH_CHARSET )); + INetURLObject::DecodeMechanism::WithCharset )); sal_Int32 nLastPos, nPos = sMark.indexOf( cMarkSeparator ); if( -1 != nPos ) |