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

Thomas Arnhold thomas at arnhold.org
Tue May 13 00:50:57 PDT 2014


 svx/source/unodraw/UnoGraphicExporter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ec8ab324a51b5e440310e6a49d08387ccba8df49
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sat May 10 15:11:52 2014 +0200

    coverity#1212488 Copy-paste error
    
    Change-Id: Ibdead0bf8de6ea77fe6cb0cdc4851e0eb98644a6
    Reviewed-on: https://gerrit.libreoffice.org/9302
    Tested-by: David Tardon <dtardon at redhat.com>
    Reviewed-by: David Tardon <dtardon at redhat.com>

diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index b032f7c..eeb664f 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();


More information about the Libreoffice-commits mailing list