From 524dba884ddc3a17b8c001c71d55fc680df52cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Vajngerl?= Date: Sat, 29 Oct 2016 21:59:12 +0200 Subject: [PATCH] icon theme name suffixing with "_svg" is unneeded MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie0f9964d893c520ad02bb33a1d30821735392076 Reviewed-on: https://gerrit.libreoffice.org/30382 Reviewed-by: Tomaž Vajngerl Tested-by: Tomaž Vajngerl --- vcl/source/image/ImplImageTree.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx index c101e5b7ed11..00efad6e18c5 100644 --- a/vcl/source/image/ImplImageTree.cxx +++ b/vcl/source/image/ImplImageTree.cxx @@ -250,14 +250,6 @@ bool ImplImageTree::loadImage(OUString const & name, OUString const & style, Bit OUString aStyle(style); while (!aStyle.isEmpty()) { - try - { - if (doLoadImage(name, aStyle + "_svg", rBitmap, localized, eFlags)) - return true; - } - catch (css::uno::RuntimeException &) - {} - try { if (doLoadImage(name, aStyle, rBitmap, localized, eFlags))