diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-01-30 19:09:35 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:25:56 -0400 |
commit | da695330ee333d3210fd6ff236294684e27c5f82 (patch) | |
tree | 300b5da7ad08d4d94eea8b1b618a6f7e5969e7e4 /dtrans | |
parent | b41c9ce2aaaf7ef38071298c7427f6b0905a9bd9 (diff) |
unnecessary use of OUString constructor
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1
Reviewed-on: https://gerrit.libreoffice.org/21945
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
(cherry picked from commit 1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d)
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/cnttype/wbench/testcnttype.cxx | 3 | ||||
-rw-r--r-- | dtrans/source/win32/workbench/test_wincb.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/dtrans/source/cnttype/wbench/testcnttype.cxx b/dtrans/source/cnttype/wbench/testcnttype.cxx index 77a01ecef72e..5342adf78978 100644 --- a/dtrans/source/cnttype/wbench/testcnttype.cxx +++ b/dtrans/source/cnttype/wbench/testcnttype.cxx @@ -144,8 +144,7 @@ int SAL_CALL main( int nArgc, char* argv[] ) // get the global service-manager - OUString rdbName = OUString( RDB_SYSPATH ); - Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) ); + Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( RDB_SYSPATH ) ); // Print a message if an error occurred. if ( !g_xFactory.is( ) ) diff --git a/dtrans/source/win32/workbench/test_wincb.cxx b/dtrans/source/win32/workbench/test_wincb.cxx index c40bc19ddfd3..f3ae51c6feeb 100644 --- a/dtrans/source/win32/workbench/test_wincb.cxx +++ b/dtrans/source/win32/workbench/test_wincb.cxx @@ -217,8 +217,7 @@ int SAL_CALL main( int nArgc, char* Argv[] ) // get the global service-manager - OUString rdbName = OUString( RDB_SYSPATH ); - Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( rdbName ) ); + Reference< XMultiServiceFactory > g_xFactory( createRegistryServiceFactory( RDB_SYSPATH ) ); // Print a message if an error occurred. if ( !g_xFactory.is( ) ) |