summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-02-03 16:42:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-02-03 20:29:12 +0100
commitb4f58c63cc3d8632b3c661b93008835a090d10f8 (patch)
tree9039e123a23bebb38e83d9b39ac41842d2e653e7 /sfx2/source
parent76f5b9c9e4f0bd38c745bd590af466fbf901510f (diff)
-Werror,-Wunused-variable (clang-cl)
...found with 2db9a6813a3640005d9b38e419d5cc55f70b03cc "flush out unused MapModes" in code that had not used the variable ever since it got introduced with dd2f230139525891d60e06b4afdc977d5630d4e9 "INTEGRATION: CWS graphicapi" Change-Id: I7412a3badeec546ed1dff8dcf905036f06287e70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87892 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/doc/graphhelp.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx
index 385b075f8b29..6e7789122a3b 100644
--- a/sfx2/source/doc/graphhelp.cxx
+++ b/sfx2/source/doc/graphhelp.cxx
@@ -132,7 +132,6 @@ void* GraphicHelper::getWinMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta, co
pMF->hMF = hMeta;
pMF->mm = MM_ANISOTROPIC;
- MapMode aMetaMode = pGDIMeta->GetPrefMapMode();
MapMode aWinMode( MapUnit::Map100thMM );
if ( aWinMode == pGDIMeta->GetPrefMapMode() )