summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-16 09:33:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-16 09:33:12 +0200
commita3b7ef13f21d598db230a65b44f43287da202807 (patch)
tree3407c7a77008661537cfa41248b69049cdd39fd7 /sax
parent2d2ef979c2feb8cd70a1dbc3f47cf7f86a5d39ea (diff)
loplugin:refcounting
Change-Id: Iafc3987df4357098aab816fb7fd4619f9a6ee173
Diffstat (limited to 'sax')
-rw-r--r--sax/qa/cppunit/xmlimport.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx
index 394a285658b2..c8bd21740b79 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/" );
}