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 --- sdext/source/minimizer/unodialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdext') diff --git a/sdext/source/minimizer/unodialog.cxx b/sdext/source/minimizer/unodialog.cxx index b213a271e2f4..b2bd9792b007 100644 --- a/sdext/source/minimizer/unodialog.cxx +++ b/sdext/source/minimizer/unodialog.cxx @@ -46,8 +46,8 @@ using namespace ::com::sun::star::script; UnoDialog::UnoDialog( const Reference< XComponentContext > &rxContext, Reference< XFrame >& rxFrame ) : mxContext( rxContext ), mxController( rxFrame->getController() ), - mxDialogModel( mxContext->getServiceManager()->createInstanceWithContext( OUString( - "com.sun.star.awt.UnoControlDialogModel" ), mxContext ), UNO_QUERY_THROW ), + mxDialogModel( mxContext->getServiceManager()->createInstanceWithContext( + "com.sun.star.awt.UnoControlDialogModel", mxContext ), UNO_QUERY_THROW ), mxDialogModelMultiPropertySet( mxDialogModel, UNO_QUERY_THROW ), mxDialogModelPropertySet( mxDialogModel, UNO_QUERY_THROW ), mxDialogModelMSF( mxDialogModel, UNO_QUERY_THROW ), -- cgit v1.2.3