filter/source/t602/t602filter.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 317e5b5065dd2dd5b397608a016668c18d090072 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Oct 1 17:18:40 2015 +0200 loplugin:refcounting Change-Id: If98d81e37ee939feec70db737fdbdb5f53b555c4 diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx index 118da3e..8a243fd 100644 --- a/filter/source/t602/t602filter.cxx +++ b/filter/source/t602/t602filter.cxx @@ -37,6 +37,7 @@ #include <com/sun/star/awt/XDialog.hpp> #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> #include <comphelper/oslfile2streamwrap.hxx> +#include <rtl/ref.hxx> using namespace ::cppu; using namespace ::osl; @@ -1205,8 +1206,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImport602(const OUString &rURL osl::File aInputFile(rURL); aInputFile.open(osl_File_OpenFlag_Read); css::uno::Reference<io::XInputStream> xStream(new comphelper::OSLInputStreamWrapper(aInputFile)); - T602ImportFilter::T602ImportFilter aImport(xStream); - return aImport.test(); + rtl::Reference<T602ImportFilter::T602ImportFilter> aImport( + new T602ImportFilter::T602ImportFilter(xStream)); + return aImport->test(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits