[Libreoffice-commits] core.git: sax/qa
Stephan Bergmann
sbergman at redhat.com
Thu Jun 16 07:33:45 UTC 2016
sax/qa/cppunit/xmlimport.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit a3b7ef13f21d598db230a65b44f43287da202807
Author: Stephan Bergmann <sbergman at 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/" );
}
More information about the Libreoffice-commits
mailing list