vcl/source/filter/wmf/enhwmf.cxx | 6 ------ 1 file changed, 6 deletions(-)
New commits: commit d446a1ef0de593c42b0ad2a3aa52f06c9894c66c Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Sep 4 17:04:02 2015 +0200 clang-tidy clang-analyzer-deadcode.DeadStores These modifications are redundant since they got moved around with a16eaec9364d0c880858108e764c510aba8c7ed6 "INTEGRATION: CWS sj22: #i122882# graphic with negative size is no longer disapearing." Change-Id: Iba58054b5638c1d78b369ca4041d0d273c5a2954 diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx index 89e92fd..24629d5 100644 --- a/vcl/source/filter/wmf/enhwmf.cxx +++ b/vcl/source/filter/wmf/enhwmf.cxx @@ -1268,9 +1268,6 @@ bool EnhWMFReader::ReadEnhWMF() Bitmap aBitmap; Rectangle aRect( Point( xDest, yDest ), Size( cxDest, cyDest ) ); - cxDest = abs( (int)cxDest ); // sj: i37894, size can be negative - cyDest = abs( (int)cyDest ); // and also 122889 - if ( (cbBitsSrc > (SAL_MAX_UINT32 - 14)) || ((SAL_MAX_UINT32 - 14) - cbBitsSrc < cbBmiSrc) ) bStatus = false; else @@ -1334,9 +1331,6 @@ bool EnhWMFReader::ReadEnhWMF() Bitmap aBitmap; Rectangle aRect( Point( xDest, yDest ), Size( cxDest, cyDest ) ); - cxDest = abs( (int)cxDest ); // sj: i37894, size can be negative - cyDest = abs( (int)cyDest ); // and also 122889 - if ( ((SAL_MAX_UINT32 - 14) < cbBitsSrc) || ((SAL_MAX_UINT32 - 14) - cbBitsSrc < cbBmiSrc ) ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits