[Libreoffice-commits] core.git: sfx2/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Mon Feb 3 19:29:42 UTC 2020
sfx2/source/doc/graphhelp.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit b4f58c63cc3d8632b3c661b93008835a090d10f8
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Feb 3 16:42:15 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Feb 3 20:29:12 2020 +0100
-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 at redhat.com>
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() )
More information about the Libreoffice-commits
mailing list