[Libreoffice-commits] core.git: vcl/source

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Sat Oct 29 21:49:24 UTC 2016


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

New commits:
commit 524dba884ddc3a17b8c001c71d55fc680df52cc0
Author: Tomaž Vajngerl <tomaz.vajngerl at 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 <quikee at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at 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;
         }


More information about the Libreoffice-commits mailing list