From ec8ab324a51b5e440310e6a49d08387ccba8df49 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 10 May 2014 15:11:52 +0200 Subject: coverity#1212488 Copy-paste error Change-Id: Ibdead0bf8de6ea77fe6cb0cdc4851e0eb98644a6 Reviewed-on: https://gerrit.libreoffice.org/9302 Tested-by: David Tardon Reviewed-by: David Tardon --- svx/source/unodraw/UnoGraphicExporter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx') diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx index b032f7c65175..eeb664ffe9d1 100644 --- a/svx/source/unodraw/UnoGraphicExporter.cxx +++ b/svx/source/unodraw/UnoGraphicExporter.cxx @@ -932,7 +932,7 @@ bool GraphicExporter::GetGraphic( ExportSettings& rSettings, Graphic& aGraphic, aOut.EnableOutput( false ); aOut.SetMapMode( aMap ); if( rSettings.mbUseHighContrast ) - aOut.SetDrawMode( aVDev.GetDrawMode() | DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT ); + aOut.SetDrawMode( aOut.GetDrawMode() | DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL | DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT ); GDIMetaFile aMtf; aMtf.Clear(); -- cgit