diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:35:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:35:47 +0100 |
commit | 8cff2e85e97b4059eda5b2ac126480085b170a79 (patch) | |
tree | a7ae3f0cba19217bfc02be4613f1a07391197878 /extensions/qa/update/test_update.cxx | |
parent | 4770941171b0139c79b222b0754beca6bdc7162b (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Ia91f035c188fa99cdf0b9e80cb256e1b86f00551
Diffstat (limited to 'extensions/qa/update/test_update.cxx')
-rw-r--r-- | extensions/qa/update/test_update.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/qa/update/test_update.cxx b/extensions/qa/update/test_update.cxx index 4453c1157c1f..a434b580ef38 100644 --- a/extensions/qa/update/test_update.cxx +++ b/extensions/qa/update/test_update.cxx @@ -101,11 +101,11 @@ protected: rtl::Reference< UpdateCheck > aController( UpdateCheck::get() ); if ( checkForUpdates( aInfo, m_xContext, aController->getInteractionHandler(), m_xProvider, - OUString( "Linux" ), - OUString( "x86" ), + "Linux", + "x86", m_aRepositoryList, - OUString( "111111-222222-333333-444444" ), - OUString( "InstallSetID" ) ) ) + "111111-222222-333333-444444", + "InstallSetID" ) ) { CPPUNIT_ASSERT( aInfo.Sources.size() == 1 ); CPPUNIT_ASSERT( aInfo.Sources[0].URL == "http://www.libreoffice.org/download/" ); @@ -121,11 +121,11 @@ protected: rtl::Reference< UpdateCheck > aController( UpdateCheck::get() ); if ( checkForUpdates( aInfo, m_xContext, aController->getInteractionHandler(), m_xProvider, - OUString( "Linux" ), - OUString( "x86" ), + "Linux", + "x86", m_aRepositoryList, - OUString( "123456-abcdef-1a2b3c-4d5e6f" ), - OUString( "InstallSetID" ) ) ) + "123456-abcdef-1a2b3c-4d5e6f", + "InstallSetID" ) ) { CPPUNIT_ASSERT( aInfo.Sources.empty() ); } |