vcl/source/image/ImplImageTree.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit 524dba884ddc3a17b8c001c71d55fc680df52cc0
Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
Date:   Sat Oct 29 21:59:12 2016 +0200

    icon theme name suffixing with "_svg" is unneeded
    
    Change-Id: Ie0f9964d893c520ad02bb33a1d30821735392076
    Reviewed-on: https://gerrit.libreoffice.org/30382
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>
    Tested-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/vcl/source/image/ImplImageTree.cxx 
b/vcl/source/image/ImplImageTree.cxx
index c101e5b..00efad6 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;
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to