writerperfect/source/impress/KeynoteImportFilter.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 17b94a616d63759294a9530dca5139972172aadf Author: Giuseppe Castagno <giuseppe.casta...@acca-esse.eu> Date: Wed Oct 19 09:25:14 2016 +0200 tdf#103274 (9): Add default XCommandEnvironment reference Change-Id: If1b7bc913e392f511caf0684baa5bc3ce2c6933d Reviewed-on: https://gerrit.libreoffice.org/30035 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.casta...@acca-esse.eu> diff --git a/writerperfect/source/impress/KeynoteImportFilter.cxx b/writerperfect/source/impress/KeynoteImportFilter.cxx index 1547d1d..cf274c8 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()) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits