summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-13 08:52:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 11:13:24 +0100
commit24cad6a6490b245bd88ec3e3c87195628914f6a2 (patch)
tree12d9e7ec629054f5ad0a6990783d3e639449afeb /vbahelper
parent8061c8c70b7ffcd8f472d2f5b909911f2095fec7 (diff)
Move MediaDescriptor from comphelper to unotools
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbadocumentsbase.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vbahelper/source/vbahelper/vbadocumentsbase.cxx b/vbahelper/source/vbahelper/vbadocumentsbase.cxx
index 2ab6b6bf95cf..b57ef0e8737b 100644
--- a/vbahelper/source/vbahelper/vbadocumentsbase.cxx
+++ b/vbahelper/source/vbahelper/vbadocumentsbase.cxx
@@ -19,7 +19,7 @@
#include "vbahelper/vbadocumentsbase.hxx"
-#include <comphelper/mediadescriptor.hxx>
+#include <unotools/mediadescriptor.hxx>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase3.hxx>
@@ -251,8 +251,8 @@ uno::Any VbaDocumentsBase::createDocument() throw (uno::RuntimeException)
throw uno::RuntimeException( "Not implemented" , uno::Reference< uno::XInterface >() );
// prepare the media descriptor
- ::comphelper::MediaDescriptor aMediaDesc;
- aMediaDesc[ ::comphelper::MediaDescriptor::PROP_MACROEXECUTIONMODE() ] <<= document::MacroExecMode::USE_CONFIG;
+ utl::MediaDescriptor aMediaDesc;
+ aMediaDesc[ utl::MediaDescriptor::PROP_MACROEXECUTIONMODE() ] <<= document::MacroExecMode::USE_CONFIG;
aMediaDesc.setComponentDataEntry( "ApplyFormDesignMode" , uno::Any( false ) );
// create the new document