diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2022-05-18 08:30:51 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2022-05-18 21:29:05 +0200 |
commit | 602299b92b7452fd47303c4de8945af2725fb255 (patch) | |
tree | ddd2d1d6e7a3aae53d7cc0147edf83896da0ff30 /oox | |
parent | 825aeb04e6c45d0ba8ef1bd08e7ade297e9f5361 (diff) |
Remove 1 ImportGraphic method
and replace its only use in Shape::renderDiagramToGraphic (oox/source/drawingml/shape.cxx)
by an existing one.
It became quite useless since 2876a0f79f94cdd139cc8fa40669acde9674bf8c (2020/03/03)
graphic: remove preview when importing with GraphicFilter
Change-Id: Iec3b13d85297bbe7cbfefe91a2a88e33e53d506b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134503
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/shape.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 3951fdc8e7df..8739d4d8989d 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -1947,7 +1947,7 @@ Reference < XShape > Shape::renderDiagramToGraphic( XmlFilterBase const & rFilte Graphic aGraphic; GraphicFilter aFilter( false ); - if ( aFilter.ImportGraphic( aGraphic, u"", aTempStream, GRFILTER_FORMAT_NOTFOUND, nullptr, GraphicFilterImportFlags::NONE, static_cast < Sequence < PropertyValue >* > ( nullptr ) ) != ERRCODE_NONE ) + if ( aFilter.ImportGraphic( aGraphic, u"", aTempStream, GRFILTER_FORMAT_NOTFOUND, nullptr, GraphicFilterImportFlags::NONE ) != ERRCODE_NONE ) { SAL_WARN( "oox.drawingml", "Shape::renderDiagramToGraphic: Unable to import rendered stream into graphic object" ); return xShape; |