diff options
author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-10-19 09:25:14 +0200 |
---|---|---|
committer | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-10-19 10:44:15 +0000 |
commit | 17b94a616d63759294a9530dca5139972172aadf (patch) | |
tree | 468b326c80be011f4076f8cbd66754c0190898a8 /writerperfect | |
parent | 99ee085d436a7287895c62d5d4451385868b9c2c (diff) |
tdf#103274 (9): Add default XCommandEnvironment reference
Change-Id: If1b7bc913e392f511caf0684baa5bc3ce2c6933d
Reviewed-on: https://gerrit.libreoffice.org/30035
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/impress/KeynoteImportFilter.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/writerperfect/source/impress/KeynoteImportFilter.cxx b/writerperfect/source/impress/KeynoteImportFilter.cxx index 1547d1d27222..cf274c85f56a 100644 --- a/writerperfect/source/impress/KeynoteImportFilter.cxx +++ b/writerperfect/source/impress/KeynoteImportFilter.cxx @@ -24,6 +24,7 @@ #include <osl/diagnose.h> #include <rtl/tencinfo.h> #include <ucbhelper/content.hxx> +#include <unotools/ucbhelper.hxx> #include <DirectoryStream.hxx> #include <DocumentHandler.hxx> @@ -132,7 +133,9 @@ throw(css::uno::RuntimeException, std::exception) */ if (xContent.is()) { - ucbhelper::Content aContent(xContent, Reference< ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext()); + ucbhelper::Content aContent(xContent, + utl::UCBContentHelper::getDefaultCommandEnvironment(), + comphelper::getProcessComponentContext()); try { if (aContent.isFolder()) |