summaryrefslogtreecommitdiff
path: root/writerfilter/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 12:55:32 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 13:32:16 +0200
commit281296330735158d6265e0b146b5d5301f6e610e (patch)
treeee8235f54b59dbec8d13f12b0bafa62e61ab9ad1 /writerfilter/qa
parent75da22e3ce80f8dcdeef0488b22c4dc522c2ec29 (diff)
use uno::Reference::set method instead of assignment
Change-Id: I31a69a997098eb1807361b8049c3312a4f287d75
Diffstat (limited to 'writerfilter/qa')
-rw-r--r--writerfilter/qa/cppunittests/rtftok/testrtftok.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/qa/cppunittests/rtftok/testrtftok.cxx b/writerfilter/qa/cppunittests/rtftok/testrtftok.cxx
index 1f3a9b461d94..8c31f92abe9a 100644
--- a/writerfilter/qa/cppunittests/rtftok/testrtftok.cxx
+++ b/writerfilter/qa/cppunittests/rtftok/testrtftok.cxx
@@ -50,7 +50,7 @@ void RtfTest::setUp()
{
test::BootstrapFixture::setUp();
- m_xFilter = uno::Reference< document::XFilter >(m_xSFactory->createInstance("com.sun.star.comp.Writer.RtfFilter"), uno::UNO_QUERY_THROW);
+ m_xFilter.set(m_xSFactory->createInstance("com.sun.star.comp.Writer.RtfFilter"), uno::UNO_QUERY_THROW);
}
bool RtfTest::load(const OUString&,