summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2016-10-29 21:59:12 +0200
committerTomaž Vajngerl <quikee@gmail.com>2016-10-29 21:48:55 +0000
commit524dba884ddc3a17b8c001c71d55fc680df52cc0 (patch)
treecc08c785581dddd1958c939711c3e4c144d7523f
parentb7c2764145be2c3fc50397f241dbdb0c53f9befd (diff)
icon theme name suffixing with "_svg" is unneeded
Change-Id: Ie0f9964d893c520ad02bb33a1d30821735392076 Reviewed-on: https://gerrit.libreoffice.org/30382 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--vcl/source/image/ImplImageTree.cxx8
1 files changed, 0 insertions, 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
@@ -252,14 +252,6 @@ bool ImplImageTree::loadImage(OUString const & name, OUString const & style, Bit
{
try
{
- if (doLoadImage(name, aStyle + "_svg", rBitmap, localized, eFlags))
- return true;
- }
- catch (css::uno::RuntimeException &)
- {}
-
- try
- {
if (doLoadImage(name, aStyle, rBitmap, localized, eFlags))
return true;
}