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 --- uui/source/iahndl-filter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uui') diff --git a/uui/source/iahndl-filter.cxx b/uui/source/iahndl-filter.cxx index 7f959196653a..0e1e6c9837c0 100644 --- a/uui/source/iahndl-filter.cxx +++ b/uui/source/iahndl-filter.cxx @@ -98,7 +98,7 @@ handleNoSuchFilterRequest_( try { xFilterContainer.set( xContext->getServiceManager()->createInstanceWithContext( - OUString( "com.sun.star.document.FilterFactory"), xContext ), + "com.sun.star.document.FilterFactory", xContext ), uno::UNO_QUERY ); } catch ( uno::Exception const & ) @@ -199,7 +199,7 @@ handleFilterOptionsRequest_( try { xFilterCFG.set( xContext->getServiceManager()->createInstanceWithContext( - OUString( "com.sun.star.document.FilterFactory" ), xContext ), + "com.sun.star.document.FilterFactory", xContext ), uno::UNO_QUERY ); } catch ( uno::Exception const & ) -- cgit