diff options
-rw-r--r-- | svx/source/core/graphichelper.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx index 355ba12fcec9..4c01c13191ac 100644 --- a/svx/source/core/graphichelper.cxx +++ b/svx/source/core/graphichelper.cxx @@ -331,6 +331,13 @@ OUString GraphicHelper::ExportGraphic(weld::Window* pParent, const Graphic& rGra return sPath; } } + else + { + XOutBitmap::WriteGraphic( rGraphic, sPath, aFilter, + XOutFlags::DontExpandFilename | + XOutFlags::DontAddExtension | + XOutFlags::UseNativeIfPossible ); + } } } return OUString(); |