summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-10 15:11:52 +0200
committerDavid Tardon <dtardon@redhat.com>2014-05-13 07:50:31 +0000
commitec8ab324a51b5e440310e6a49d08387ccba8df49 (patch)
tree778ce31a69c701d979edf8af95a004edf4a318ac /svx
parentc345429b27da24ac4b7ecb73a5a6311cd5e93576 (diff)
coverity#1212488 Copy-paste error
Change-Id: Ibdead0bf8de6ea77fe6cb0cdc4851e0eb98644a6 Reviewed-on: https://gerrit.libreoffice.org/9302 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx2
1 files changed, 1 insertions, 1 deletions
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();