From 8cff2e85e97b4059eda5b2ac126480085b170a79 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Nov 2015 09:35:47 +0100 Subject: loplugin:stringconstant: elide explicit ctor usage (automatic rewrite) Change-Id: Ia91f035c188fa99cdf0b9e80cb256e1b86f00551 --- extensions/qa/update/test_update.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'extensions/qa') 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() ); } -- cgit