Kaydet (Commit) ec1c2c56 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: redundantAssignment

Change-Id: Ia53ac439c785e83de380fddd201ad4159f729cb2
üst f3274809
...@@ -48,8 +48,7 @@ IconThemeScannerTest::AddedThemeIsFoundById() ...@@ -48,8 +48,7 @@ IconThemeScannerTest::AddedThemeIsFoundById()
OUString theme("file:://images_katze.zip"); OUString theme("file:://images_katze.zip");
scanner.AddIconThemeByPath(theme); scanner.AddIconThemeByPath(theme);
OUString id = vcl::IconThemeInfo::FileNameToThemeId("images_katze.zip"); OUString id = vcl::IconThemeInfo::FileNameToThemeId("images_katze.zip");
bool found = false; bool found = scanner.IconThemeIsInstalled(id);
found = scanner.IconThemeIsInstalled(id);
CPPUNIT_ASSERT_EQUAL_MESSAGE("icon theme could be added by url", true, found); CPPUNIT_ASSERT_EQUAL_MESSAGE("icon theme could be added by url", true, found);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment