diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-09-04 14:14:39 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-11-29 10:54:38 +0100 |
commit | 65066627c26059caedbf239cb41b97c1721334a0 (patch) | |
tree | 57d73783d316565575d62e167fe7cf3f1a94f0a0 /sw/source/filter/xml/xmlexp.cxx | |
parent | Add comment to translators of "Grammar By" text entry box (diff) | |
download | core-65066627c26059caedbf239cb41b97c1721334a0.tar.gz core-65066627c26059caedbf239cb41b97c1721334a0.zip |
tdf#109202: Convert images to desired format in (f)odt filter
Pass down mimetype to SvXMLGraphicHelper
Change-Id: I9c81c06d2a1d6168704440094081e99d0bcbbff9
Reviewed-on: https://gerrit.libreoffice.org/41893
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit 082cdbc991a2e31556bab53a5b8214cb89138354)
Reviewed-on: https://gerrit.libreoffice.org/45401
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/filter/xml/xmlexp.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlexp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index ac6fbe5f5f6a..7d6d88940005 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -241,7 +241,7 @@ ErrCode SwXMLExport::exportDoc( enum XMLTokenEnum eClass ) rtl::Reference<SvXMLGraphicHelper> xGraphicResolver; if( !GetGraphicResolver().is() ) { - xGraphicResolver = SvXMLGraphicHelper::Create( SvXMLGraphicHelperMode::Write ); + xGraphicResolver = SvXMLGraphicHelper::Create( SvXMLGraphicHelperMode::Write, GetImageFilterName() ); SetGraphicResolver( xGraphicResolver.get() ); } |