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

Stephan Bergmann sbergman at redhat.com
Thu Sep 14 06:39:41 UTC 2017


 sfx2/source/doc/graphhelp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d8655c09a946e9eac3a8be75a23a1516863d60e7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 14 08:38:43 2017 +0200

    loplugin:unnecessaryparen (clang-cl)
    
    Change-Id: Iebcf75f406a2cb9914bf3cbc1019a53c08e9203e

diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx
index a1129c4a3431..eb8ad7ffe736 100644
--- a/sfx2/source/doc/graphhelp.cxx
+++ b/sfx2/source/doc/graphhelp.cxx
@@ -128,7 +128,7 @@ void* GraphicHelper::getWinMetaFileFromGDI_Impl( const GDIMetaFile* pGDIMeta, co
             if ( nLength > 22 )
             {
                 HMETAFILE hMeta = SetMetaFileBitsEx( nLength - 22,
-                                ( static_cast< const unsigned char*>( pStream.GetData() ) ) + 22 );
+                                static_cast< const unsigned char*>( pStream.GetData() ) + 22 );
 
                 if ( hMeta )
                 {


More information about the Libreoffice-commits mailing list