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

Stephan Bergmann sbergman at redhat.com
Thu Sep 14 06:36:47 UTC 2017


 dtrans/source/win32/dtobj/DOTransferable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7901d47cbb6feb31b9d8fd8a3c877fe2c97f62a5
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 14 08:36:20 2017 +0200

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

diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx
index ceca4996a7db..4303c69b3fb7 100644
--- a/dtrans/source/win32/dtobj/DOTransferable.cxx
+++ b/dtrans/source/win32/dtobj/DOTransferable.cxx
@@ -364,7 +364,7 @@ LCID SAL_CALL CDOTransferable::getLocaleFromClipboard( )
     {
         CFormatEtc fetc = CDataFormatTranslator::getFormatEtcForClipformat( CF_LOCALE );
         ByteSequence_t aLCIDSeq = getClipboardData( fetc );
-        lcid = *(reinterpret_cast<LCID*>( aLCIDSeq.getArray( ) ) );
+        lcid = *reinterpret_cast<LCID*>( aLCIDSeq.getArray( ) );
 
         // because of a Win95/98 Bug; there the high word
         // of a locale has the same value as the


More information about the Libreoffice-commits mailing list