diff options
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()) |