From b5db48ada113206ac090e4a08f2ae211859103ed Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 31 Oct 2015 15:13:58 +0200 Subject: no need to use OUString constructor in call to createInstance Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins Reviewed-by: Noel Grandin --- hwpfilter/qa/cppunit/test_hwpfilter.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hwpfilter/qa/cppunit') diff --git a/hwpfilter/qa/cppunit/test_hwpfilter.cxx b/hwpfilter/qa/cppunit/test_hwpfilter.cxx index 65cc9acfe737..6fde479409fb 100644 --- a/hwpfilter/qa/cppunit/test_hwpfilter.cxx +++ b/hwpfilter/qa/cppunit/test_hwpfilter.cxx @@ -43,10 +43,8 @@ namespace { test::BootstrapFixture::setUp(); - m_xFilter = uno::Reference< document::XFilter >(m_xSFactory->createInstance( - OUString( - "com.sun.comp.hwpimport.HwpImportFilter")), - uno::UNO_QUERY_THROW); + m_xFilter.set(m_xSFactory->createInstance("com.sun.comp.hwpimport.HwpImportFilter"), + uno::UNO_QUERY_THROW); } bool HwpFilterTest::load(const OUString &, -- cgit