summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbadocumentbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbadocumentbase.cxx b/vbahelper/source/vbahelper/vbadocumentbase.cxx
index 335aef9e7c24..899d0de3049a 100644
--- a/vbahelper/source/vbahelper/vbadocumentbase.cxx
+++ b/vbahelper/source/vbahelper/vbadocumentbase.cxx
@@ -79,7 +79,7 @@ OUString
VbaDocumentBase::getPath() throw (uno::RuntimeException, std::exception)
{
INetURLObject aURL( getModel()->getURL() );
- OUString sURL = aURL.GetMainURL( INetURLObject::DECODE_TO_IURI );
+ OUString sURL = aURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri );
OUString sPath;
if( !sURL.isEmpty() )
{