From eaba47bce44a373116b0583dc293c8c3238b7bea Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 May 2016 14:15:36 +0200 Subject: Convert XOUTBMP to scoped enum Change-Id: I8d10cdc78ca73d86bdc9aa08fca591f6eb85eb9e Reviewed-on: https://gerrit.libreoffice.org/25196 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/core/graphichelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svx/source/core/graphichelper.cxx') diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx index b051cbd36e78..4816342a7fbc 100644 --- a/svx/source/core/graphichelper.cxx +++ b/svx/source/core/graphichelper.cxx @@ -192,9 +192,9 @@ OUString GraphicHelper::ExportGraphic( const Graphic& rGraphic, const OUString& OUString aFilter( rGraphicFilter.GetExportFormatShortName( nFilter ) ); XOutBitmap::WriteGraphic( rGraphic, sPath, aFilter, - XOUTBMP_DONT_EXPAND_FILENAME | - XOUTBMP_DONT_ADD_EXTENSION | - XOUTBMP_USE_NATIVE_IF_POSSIBLE ); + XOutFlags::DontExpandFilename | + XOutFlags::DontAddExtension | + XOutFlags::UseNativeIfPossible ); return sPath; } } -- cgit v1.2.3