filter/source/graphic/GraphicExportFilter.cxx | 5 +++-- filter/source/graphic/GraphicExportFilter.hxx | 1 + 2 files changed, 4 insertions(+), 2 deletions(-)
New commits: commit fa60e32412575e90c8f978721c029d8b82c6b8ee Author: Eike Rathke <er...@redhat.com> Date: Fri Sep 22 15:04:36 2017 +0200 Remember XComponentContext Change-Id: I52847249b3e17a31f6c6bf76af7bfe91a414d072 Reviewed-on: https://gerrit.libreoffice.org/42657 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Eike Rathke <er...@redhat.com> diff --git a/filter/source/graphic/GraphicExportFilter.cxx b/filter/source/graphic/GraphicExportFilter.cxx index 9df878abfe96..d5b64927c5f1 100644 --- a/filter/source/graphic/GraphicExportFilter.cxx +++ b/filter/source/graphic/GraphicExportFilter.cxx @@ -23,8 +23,9 @@ #include <svl/outstrm.hxx> #include <svtools/DocumentToGraphicRenderer.hxx> -GraphicExportFilter::GraphicExportFilter( const Reference<XComponentContext>& ) - : mTargetWidth(0) +GraphicExportFilter::GraphicExportFilter( const Reference<XComponentContext>& rxContext ) + : mxContext(rxContext) + , mTargetWidth(0) , mTargetHeight(0) , mbSelectionOnly(false) {} diff --git a/filter/source/graphic/GraphicExportFilter.hxx b/filter/source/graphic/GraphicExportFilter.hxx index 6249b4e81582..a7b3760a5e8d 100644 --- a/filter/source/graphic/GraphicExportFilter.hxx +++ b/filter/source/graphic/GraphicExportFilter.hxx @@ -37,6 +37,7 @@ using namespace css::document; class GraphicExportFilter : public cppu::WeakImplHelper < XFilter, XExporter, XInitialization > { + Reference<XComponentContext> mxContext; Reference<XComponent> mxDocument; Reference<io::XOutputStream> mxOutputStream; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits