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

krishna keshav princy.krishnakeshav at gmail.com
Tue Jun 14 13:50:14 UTC 2016


 sot/source/sdstor/storinfo.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3c573174dab0f1c6a85ce50ad4210c8772bdcf9a
Author: krishna keshav <princy.krishnakeshav at gmail.com>
Date:   Tue May 31 00:20:13 2016 +0530

    tdf#96505 Get rid of cargo cult long integer literals
    
    cleanup in sot/source/stdsor/storinfo.cxx
    
    Change-Id: Ib904cb3ddc18dc90e479b35ca21ae4649abd0f0c
    Reviewed-on: https://gerrit.libreoffice.org/25684
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>

diff --git a/sot/source/sdstor/storinfo.cxx b/sot/source/sdstor/storinfo.cxx
index bfcd214..1c5025b 100644
--- a/sot/source/sdstor/storinfo.cxx
+++ b/sot/source/sdstor/storinfo.cxx
@@ -43,7 +43,7 @@ SotClipboardFormatId ReadClipboardFormat( SvStream & rStm )
         else
             rStm.SetError( SVSTREAM_GENERALERROR );
     }
-    else if( nLen == -1L )
+    else if( nLen == -1 )
     {
         // Windows clipboard format
         // SV und Win stimmen ueberein (bis einschl. SotClipboardFormatId::GDIMETAFILE)
@@ -51,7 +51,7 @@ SotClipboardFormatId ReadClipboardFormat( SvStream & rStm )
         rStm.ReadUInt32( nTmp );
         nFormat = static_cast<SotClipboardFormatId>(nTmp);
     }
-    else if( nLen == -2L )
+    else if( nLen == -2 )
     {
         sal_uInt32 nTmp;
         rStm.ReadUInt32( nTmp );


More information about the Libreoffice-commits mailing list