diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 13:32:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 14:33:39 +0000 |
commit | e36605bae4a6c85ec5f96951b802e07af7b54308 (patch) | |
tree | fd89c90f276c3a0186e184cd2991c3774e6597c1 | |
parent | 7587973b08c663489d75646e22d3daa64d19f603 (diff) |
coverity#1027397 Logically dead code
Change-Id: Icc53c6fc52e9920ac35b5dc82ff064b8fdf258ca
-rw-r--r-- | vcl/source/gdi/region.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx index 5432c9b79267..50417023214d 100644 --- a/vcl/source/gdi/region.cxx +++ b/vcl/source/gdi/region.cxx @@ -1045,7 +1045,7 @@ bool Region::Intersect( const Region& rRegion ) else { // prepare new regionBand - RegionBand* pNew = pCurrent ? new RegionBand(*pCurrent) : new RegionBand(); + RegionBand* pNew = new RegionBand(*pCurrent); // intersect with source pNew->Intersect(*pSource); |