From 9e8ff13eb2405f7e3dcb4f90cb38e9e4b1da2bd5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 Nov 2015 13:26:24 +0200 Subject: use uno::Reference::set method instead of assignment Change-Id: I60e52ef2abc3107ba77e81811dfe1bffbfd77218 --- xmlhelp/source/cxxhelp/provider/resultset.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlhelp/source/cxxhelp/provider/resultset.cxx') diff --git a/xmlhelp/source/cxxhelp/provider/resultset.cxx b/xmlhelp/source/cxxhelp/provider/resultset.cxx index 597392bf4380..64b7d5f57a64 100644 --- a/xmlhelp/source/cxxhelp/provider/resultset.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultset.cxx @@ -53,12 +53,12 @@ DynamicResultSet::~DynamicResultSet() void DynamicResultSet::initStatic() { - m_xResultSet1 = Reference< XResultSet >( m_pFactory->createResultSet() ); + m_xResultSet1.set( m_pFactory->createResultSet() ); } void DynamicResultSet::initDynamic() { - m_xResultSet1 = Reference< XResultSet >( m_pFactory->createResultSet() ); + m_xResultSet1.set( m_pFactory->createResultSet() ); m_xResultSet2 = m_xResultSet1; } -- cgit