diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-05 10:11:47 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-05 10:11:47 +0200 |
commit | b7e7d2d1b1620c326e9cc2f22e41bfd4604480ca (patch) | |
tree | d152acd36d8ca61a1242cdca84fd64e3ea8b4afd /sfx2 | |
parent | 409aab708a51211dd7a10bfc415c99b46b1ec7a2 (diff) |
loplugin:casttovoid (clang-cl): sfx2
Change-Id: If96173b69f07712c1914cc711279527e69870100
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/graphhelp.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx index 7e78818c0732..407a035f15ba 100644 --- a/sfx2/source/doc/graphhelp.cxx +++ b/sfx2/source/doc/graphhelp.cxx @@ -78,7 +78,6 @@ SvMemoryStream* GraphicHelper::getFormatStrFromGDI_Impl( const GDIMetaFile* pGDI // static void* GraphicHelper::getEnhMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta ) { - (void)pGDIMeta; // unused void* pResult = nullptr; #ifdef _WIN32 @@ -103,6 +102,8 @@ void* GraphicHelper::getEnhMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta ) pResult = GetEnhMetaFileA( aWinFile.getStr() ); } } +#else + (void)pGDIMeta; // unused #endif return pResult; @@ -112,8 +113,6 @@ void* GraphicHelper::getEnhMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta ) // static void* GraphicHelper::getWinMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta, const Size& aMetaSize ) { - (void)pGDIMeta; // unused - (void)aMetaSize; // unused void* pResult = nullptr; #ifdef _WIN32 @@ -168,6 +167,9 @@ void* GraphicHelper::getWinMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta, co } } } +#else + (void)pGDIMeta; // unused + (void)aMetaSize; // unused #endif |