summaryrefslogtreecommitdiff
path: root/sax/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sax/qa')
-rw-r--r--sax/qa/cppunit/attributes.cxx3
-rw-r--r--sax/qa/cppunit/parser.cxx4
-rw-r--r--sax/qa/cppunit/xmlimport.cxx4
3 files changed, 6 insertions, 5 deletions
diff --git a/sax/qa/cppunit/attributes.cxx b/sax/qa/cppunit/attributes.cxx
index 3697190277ee..7bd09b5fe8e9 100644
--- a/sax/qa/cppunit/attributes.cxx
+++ b/sax/qa/cppunit/attributes.cxx
@@ -13,6 +13,7 @@
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/plugin/TestPlugIn.h>
+#include <rtl/ref.hxx>
#include <sax/fastattribs.hxx>
using namespace css;
@@ -32,7 +33,7 @@ public:
void AttributesTest::test()
{
- uno::Reference<sax_fastparser::FastAttributeList> xAttributeList( new sax_fastparser::FastAttributeList(nullptr) );
+ rtl::Reference<sax_fastparser::FastAttributeList> xAttributeList( new sax_fastparser::FastAttributeList(nullptr) );
xAttributeList->add(1, "1");
xAttributeList->add(2, OString("2"));
diff --git a/sax/qa/cppunit/parser.cxx b/sax/qa/cppunit/parser.cxx
index 5381f36e060d..a94d5957c70d 100644
--- a/sax/qa/cppunit/parser.cxx
+++ b/sax/qa/cppunit/parser.cxx
@@ -45,8 +45,8 @@ public:
class ParserTest: public test::BootstrapFixture
{
InputSource maInput;
- uno::Reference< sax_fastparser::FastSaxParser > mxParser;
- uno::Reference< DummyTokenHandler > mxTokenHandler;
+ rtl::Reference< sax_fastparser::FastSaxParser > mxParser;
+ rtl::Reference< DummyTokenHandler > mxTokenHandler;
public:
virtual void setUp() override;
diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx
index bf7cd1512513..ab8a7593bd34 100644
--- a/sax/qa/cppunit/xmlimport.cxx
+++ b/sax/qa/cppunit/xmlimport.cxx
@@ -194,7 +194,7 @@ class XMLImportTest : public test::BootstrapFixture
{
private:
OUString m_sDirPath;
- Reference< TestDocumentHandler > m_xDocumentHandler;
+ rtl::Reference< TestDocumentHandler > m_xDocumentHandler;
Reference< xml::sax::XParser > m_xParser;
Reference< lang::XMultiServiceFactory > m_xSMgr;
@@ -217,7 +217,7 @@ void XMLImportTest::setUp()
m_xSMgr = getMultiServiceFactory();
m_xParser = xml::sax::Parser::create(
::comphelper::getProcessComponentContext() );
- m_xParser->setDocumentHandler( m_xDocumentHandler );
+ m_xParser->setDocumentHandler( m_xDocumentHandler.get() );
m_sDirPath = m_directories.getPathFromSrc( "/sax/qa/data/" );
}