summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2017-06-05 17:28:14 +0400
committerJan Holesovsky <kendy@collabora.com>2017-08-11 09:33:37 +0200
commit4c60c80ab768f466f54507277861396151249e89 (patch)
tree49daf402a1ebe1010e533da9ea36add9b49cc93f /vcl
parente2e71dd7f7e5cdc525c59aeb5f26a93663a444f0 (diff)
Correct icon size assignment
Change-Id: I9cefadba78688aebbf93e63f0bf29dbe96839fea Reviewed-on: https://gerrit.libreoffice.org/38408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/IconThemeInfo.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/vcl/source/app/IconThemeInfo.cxx b/vcl/source/app/IconThemeInfo.cxx
index 9dac8f81b913..b3f6d9a40a33 100644
--- a/vcl/source/app/IconThemeInfo.cxx
+++ b/vcl/source/app/IconThemeInfo.cxx
@@ -67,17 +67,14 @@ IconThemeInfo::IconThemeInfo(const OUString& urlToFile)
/*static*/ Size
IconThemeInfo::SizeByThemeName(const OUString& themeName)
{
- if (themeName == "tango") {
- return Size( 24, 24 );
- }
- else if (themeName == "crystal") {
+ if (themeName == "crystal") {
return Size( 22, 22 );
}
else if (themeName == "galaxy") {
- return Size( 22, 22 );
+ return Size( 26, 26 );
}
else {
- return Size( 26, 26 );
+ return Size( 24, 24 );
}
}