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

Stephan Bergmann sbergman at redhat.com
Fri Feb 21 15:53:51 PST 2014


 vcl/qa/cppunit/app/test_IconThemeSelector.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 887931b5f9e2519dfb57ec80092309fe67a7f308
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sat Feb 22 00:53:12 2014 +0100

    C++11'ism
    
    Change-Id: If2e3f4f7cd78d37fb4bbc35c62742f56da662765

diff --git a/vcl/qa/cppunit/app/test_IconThemeSelector.cxx b/vcl/qa/cppunit/app/test_IconThemeSelector.cxx
index 6c85bcd..9da845b 100644
--- a/vcl/qa/cppunit/app/test_IconThemeSelector.cxx
+++ b/vcl/qa/cppunit/app/test_IconThemeSelector.cxx
@@ -162,7 +162,7 @@ void
 IconThemeSelectorTest::FallbackThemeIsReturnedForEmptyInput()
 {
     vcl::IconThemeSelector s;
-    OUString selected = s.SelectIconTheme(std::vector<vcl::IconThemeInfo>{}, "oxygen");
+    OUString selected = s.SelectIconTheme(std::vector<vcl::IconThemeInfo>(), "oxygen");
     CPPUNIT_ASSERT_EQUAL_MESSAGE("fallback is returned for empty input",
             vcl::IconThemeSelector::FALLBACK_ICON_THEME_ID, selected);
 }


More information about the Libreoffice-commits mailing list