[Libreoffice-commits] core.git: svx/source

Marco Cecchetti marco.cecchetti at collabora.com
Mon May 28 13:06:18 UTC 2018


 svx/source/core/graphichelper.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 796bee47e90efee7c076f6acdc2a95004ed081d0
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date:   Tue May 15 11:13:05 2018 +0200

    tdf#117172 - Image context menu Save fails to do anything
    
    Change-Id: I5c0980d85ef5ed050bfafbc368576c5ad72a80a7
    Reviewed-on: https://gerrit.libreoffice.org/54359
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

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();


More information about the Libreoffice-commits mailing list