From 3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 30 Oct 2015 08:40:11 +0200 Subject: UNO: no need to use OUString constructor when calling createInstance Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sot/source/unoolestorage/xolesimplestorage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sot/source/unoolestorage') diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index 53ff9b6f1a99..ecd04950c5a8 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -481,7 +481,7 @@ uno::Any SAL_CALL OLESimpleStorage::getByName( const OUString& aName ) uno::Reference< container::XNameContainer > xResultNameContainer( m_xFactory->createInstanceWithArguments( - OUString("com.sun.star.embed.OLESimpleStorage"), + "com.sun.star.embed.OLESimpleStorage", aArgs ), uno::UNO_QUERY_THROW ); -- cgit