vcl/workben/vcldemo.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 1b12d0dcee6981e49da2597a45ad2f2557fa6730
Author: Michael Meeks <[email protected]>
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]));
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits