summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-10-31 15:13:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-01 15:25:43 +0000
commitb5db48ada113206ac090e4a08f2ae211859103ed (patch)
tree5ca14a8e4209f18845476546953683b6adc860ab /dtrans
parent9da44ea99fe2fb4455b5e02ee8b178f22584254a (diff)
no need to use OUString constructor in call to createInstance
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/workbench/test_wincb.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/dtrans/source/win32/workbench/test_wincb.cxx b/dtrans/source/win32/workbench/test_wincb.cxx
index 551b798590e5..c40bc19ddfd3 100644
--- a/dtrans/source/win32/workbench/test_wincb.cxx
+++ b/dtrans/source/win32/workbench/test_wincb.cxx
@@ -231,8 +231,7 @@ int SAL_CALL main( int nArgc, char* Argv[] )
Reference< XTransferable > rXTransf( static_cast< XTransferable* >( new CTransferable ) );
- Reference< XClipboard >
- xClipboard( g_xFactory->createInstance( OUString( WINCLIPBOARD_SERVICE_NAME ) ), UNO_QUERY );
+ Reference< XClipboard >xClipboard( g_xFactory->createInstance( WINCLIPBOARD_SERVICE_NAME ), UNO_QUERY );
if ( !xClipboard.is( ) )
{
OSL_FAIL( "Error creating Clipboard Service" );