[Libreoffice-commits] core.git: extensions/qa

Stephan Bergmann sbergman at redhat.com
Thu Jun 29 16:00:47 UTC 2017


 extensions/qa/update/test_update.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7d2f53b874e586df6631f21fabb87aa5e45c36a3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 29 18:00:19 2017 +0200

    loplugin:oncevar
    
    Change-Id: I0e1e6f5214aeafc62d29cd25c40ba1c6848ca5e9

diff --git a/extensions/qa/update/test_update.cxx b/extensions/qa/update/test_update.cxx
index 1852f1d06f3e..f8654edbc40e 100644
--- a/extensions/qa/update/test_update.cxx
+++ b/extensions/qa/update/test_update.cxx
@@ -55,10 +55,10 @@ protected:
     // test the getUpdateInformationEnumeration() method
     void testGetUpdateInformationEnumeration()
     {
-        OUString aInstallSetID( "TODO" ); // unused when we do not have a 'feed'
-
         uno::Reference< container::XEnumeration > aUpdateInfoEnumeration =
-            m_xProvider->getUpdateInformationEnumeration( m_aRepositoryList, aInstallSetID );
+            m_xProvider->getUpdateInformationEnumeration(
+                m_aRepositoryList,
+                "TODO" ); // unused when we do not have a 'feed'
 
         if ( !aUpdateInfoEnumeration.is() )
             CPPUNIT_FAIL( "Calling getUpdateInformationEnumeration() with TODO failed." );


More information about the Libreoffice-commits mailing list