diff options
Diffstat (limited to 'vcl/source/app/IconThemeInfo.cxx')
-rw-r--r-- | vcl/source/app/IconThemeInfo.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/vcl/source/app/IconThemeInfo.cxx b/vcl/source/app/IconThemeInfo.cxx index c4c2e647e5eb..6057e37a9236 100644 --- a/vcl/source/app/IconThemeInfo.cxx +++ b/vcl/source/app/IconThemeInfo.cxx @@ -66,15 +66,12 @@ IconThemeInfo::IconThemeInfo(const OUString& urlToFile) /*static*/ Size IconThemeInfo::SizeByThemeName(const OUString& themeName) { - if (themeName == "crystal") { - return Size( 22, 22 ); - } - else if (themeName == "galaxy") { - return Size( 26, 26 ); - } - else { - return Size( 24, 24 ); - } + if (themeName == "galaxy") { //kept for compiler because of unused parameter 'themeName' + return Size( 26, 26 ); + } + else { + return Size( 24, 24 ); + } } /*static*/ bool |