summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-09 09:11:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-09 09:12:28 +0100
commitc30c6357743a4f0845269aef493a661cd1375eec (patch)
treeab7889698ac762ad27e192602e8e5d343f674827 /filter
parenttesttools: tdf#88206 replace cppu::WeakImplHelper* (diff)
downloadcore-c30c6357743a4f0845269aef493a661cd1375eec.tar.gz
core-c30c6357743a4f0845269aef493a661cd1375eec.zip
speed up eps testing
Change-Id: I5a7c42aff29277a8189dc00a4a3a185d3a8d3021
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/ieps/ieps.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx
index ddabfc7703ea..a1924c61f5df 100644
--- a/filter/source/graphicfilter/ieps/ieps.cxx
+++ b/filter/source/graphicfilter/ieps/ieps.cxx
@@ -31,6 +31,7 @@
#include <vcl/virdev.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/bmpacc.hxx>
+#include <unotools/configmgr.hxx>
#include <unotools/tempfile.hxx>
#include <osl/process.h>
#include <osl/file.hxx>
@@ -724,7 +725,7 @@ GraphicImport( SvStream & rStream, Graphic & rGraphic, FilterConfigItem* )
long nHeight = nNumb[3] - nNumb[1] + 1;
// if there is no preview -> try with gs to make one
- if( !bHasPreview )
+ if (!bHasPreview && !utl::ConfigManager::IsAvoidConfig())
{
bHasPreview = RenderAsEMF(pBuf, nBytesRead, aGraphic);
if (!bHasPreview)