sax/qa/cppunit/xmlimport.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit a3b7ef13f21d598db230a65b44f43287da202807 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Jun 16 09:33:12 2016 +0200 loplugin:refcounting Change-Id: Iafc3987df4357098aab816fb7fd4619f9a6ee173 diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx index 394a285..c8bd217 100644 --- a/sax/qa/cppunit/xmlimport.cxx +++ b/sax/qa/cppunit/xmlimport.cxx @@ -324,8 +324,8 @@ class XMLImportTest : public test::BootstrapFixture { private: OUString m_sDirPath; - Reference< TestDocumentHandler > m_xDocumentHandler; - Reference< TestFastDocumentHandler > m_xFastDocumentHandler; + rtl::Reference< TestDocumentHandler > m_xDocumentHandler; + rtl::Reference< TestFastDocumentHandler > m_xFastDocumentHandler; Reference< XParser > m_xParser; Reference< XFastParser > m_xFastParser; Reference< XFastTokenHandler > m_xFastTokenHandler; @@ -352,8 +352,8 @@ void XMLImportTest::setUp() ::comphelper::getProcessComponentContext() ); m_xFastParser = FastParser::create( ::comphelper::getProcessComponentContext() ); - m_xParser->setDocumentHandler( m_xDocumentHandler ); - m_xFastParser->setFastDocumentHandler( m_xFastDocumentHandler ); + m_xParser->setDocumentHandler( m_xDocumentHandler.get() ); + m_xFastParser->setFastDocumentHandler( m_xFastDocumentHandler.get() ); m_xFastParser->setTokenHandler( m_xFastTokenHandler ); m_sDirPath = m_directories.getPathFromSrc( "/sax/qa/data/" ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits