summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2018-07-06 15:21:29 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-07-06 20:43:53 +0200
commit3a27688e0b54e124ab533b9670da76ef9dc455d2 (patch)
tree2895f66b540f5160bd53c5b9925b38c6571bc1e2 /filter
parent09e8815066c133b6a53fd5bc2f3d3ab8ad6e4248 (diff)
tdf#118254 Do not rely on XStatusIndicator for SVG import
For SVGs loaded as Document and status 'hidden' is used, there is no xStatusIndicator handed over to the SVGFilter. Compared with old filter - there it was used setting it somewhere else, but not required. Remove code that it requires it. Change-Id: I9fbf2b4ea02d8c5aae234f78f96b4acd37b7341b Reviewed-on: https://gerrit.libreoffice.org/57062 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgfilter.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx
index ee6a84a97927..96a296fbd44d 100644
--- a/filter/source/svg/svgfilter.cxx
+++ b/filter/source/svg/svgfilter.cxx
@@ -117,14 +117,12 @@ sal_Bool SAL_CALL SVGFilter::filter( const Sequence< PropertyValue >& rDescripto
// use MediaDescriptor to get needed data out of Sequence< PropertyValue >
utl::MediaDescriptor aMediaDescriptor(rDescriptor);
uno::Reference<io::XInputStream> xInputStream;
- uno::Reference<task::XStatusIndicator> xStatus;
xInputStream.set(aMediaDescriptor[utl::MediaDescriptor::PROP_INPUTSTREAM()], UNO_QUERY);
- xStatus.set(aMediaDescriptor[utl::MediaDescriptor::PROP_STATUSINDICATOR()], UNO_QUERY);
- if(!xInputStream.is() || !xStatus.is())
+ if(!xInputStream.is())
{
- // we need the InputStream and StatusIndicator
+ // we need the InputStream
break;
}