Kaydet (Commit) ae993046 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unused variables

Change-Id: Ia5bdfd7db7ed2769b34e8dbd7e0ed7dbe5499d34
üst 87dc2bfe
...@@ -109,7 +109,7 @@ IconThemeInfoTest::ExceptionIsThrownWhenIdCannotBeDetermined1() ...@@ -109,7 +109,7 @@ IconThemeInfoTest::ExceptionIsThrownWhenIdCannotBeDetermined1()
bool thrown = false; bool thrown = false;
OUString fname("images_oxygen"); OUString fname("images_oxygen");
try { try {
OUString sname = vcl::IconThemeInfo::FileNameToThemeId(fname); vcl::IconThemeInfo::FileNameToThemeId(fname);
} }
catch (std::runtime_error&) { catch (std::runtime_error&) {
thrown = true; thrown = true;
...@@ -123,7 +123,7 @@ IconThemeInfoTest::ExceptionIsThrownWhenIdCannotBeDetermined2() ...@@ -123,7 +123,7 @@ IconThemeInfoTest::ExceptionIsThrownWhenIdCannotBeDetermined2()
bool thrown = false; bool thrown = false;
OUString fname("image_oxygen.zip"); OUString fname("image_oxygen.zip");
try { try {
OUString sname = vcl::IconThemeInfo::FileNameToThemeId(fname); vcl::IconThemeInfo::FileNameToThemeId(fname);
} }
catch (std::runtime_error&) { catch (std::runtime_error&) {
thrown = true; thrown = true;
......
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