[Libreoffice-commits] core.git: vcl/workben
Michael Meeks
michael.meeks at collabora.com
Thu Dec 10 04:12:04 PST 2015
vcl/workben/vcldemo.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 1b12d0dcee6981e49da2597a45ad2f2557fa6730
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Thu Dec 10 12:20:15 2015 +0000
vcldemo: avoid svg load/render for icon test.
Change-Id: Ie3f49ff759f0b5b038a7b6a3fb09c5e220aa4645
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 768e725..423ff2a 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -887,6 +887,8 @@ public:
css::uno::Sequence< OUString > aAllIcons = ImageTree_getAllImageNames();
for (sal_Int32 i = 0; i < aAllIcons.getLength(); i++)
{
+ if (aAllIcons[i].endsWithIgnoreAsciiCase("svg"))
+ continue; // too slow to load.
maIconNames.push_back(aAllIcons[i]);
maIcons.push_back(BitmapEx(aAllIcons[i]));
}
More information about the Libreoffice-commits
mailing list