From 3c4333c24882d6699b65d109f2cfbf7daf3122c6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Dec 2016 08:47:18 +0200 Subject: convert DecodeMechanism to scoped enum (cherry picked from commit bfde4866e07746eafa2f0d6173c29d805cc35ad0) (cherry picked from commit 3de922d4a695e253d4ca2d42b70e0b35b52e9b7c) Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547 --- vbahelper/source/vbahelper/vbadocumentbase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vbahelper') 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() ) { -- cgit