diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-04 17:04:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-04 17:06:07 +0200 |
commit | d446a1ef0de593c42b0ad2a3aa52f06c9894c66c (patch) | |
tree | ab3bd632e1fa025a98b36201a39d1c6c94ab8927 /vcl/source | |
parent | 55b5a1ce04e75b16e2ae886f8ef2038c3da939d8 (diff) |
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
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/filter/wmf/enhwmf.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx index 89e92fd1d243..24629d5f9b0e 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 ) ) |