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>
This commit is contained in:
Tomaž Vajngerl
2016-10-29 21:59:12 +02:00
committed by Tomaž Vajngerl
parent b7c2764145
commit 524dba884d

View File

@@ -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))