summaryrefslogtreecommitdiffstats
path: root/extensions/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:35:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:35:47 +0100
commit8cff2e85e97b4059eda5b2ac126480085b170a79 (patch)
treea7ae3f0cba19217bfc02be4613f1a07391197878 /extensions/qa
parentloplugin:stringconstant: elide explicit ctor usage (automatic rewrite) (diff)
downloadcore-8cff2e85e97b4059eda5b2ac126480085b170a79.tar.gz
core-8cff2e85e97b4059eda5b2ac126480085b170a79.zip
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Ia91f035c188fa99cdf0b9e80cb256e1b86f00551
Diffstat (limited to 'extensions/qa')
-rw-r--r--extensions/qa/update/test_update.cxx16
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() );
}