diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 09:01:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 09:32:03 +0100 |
commit | 23885b06b185142d6ef4a3ceccfd3b5ad915a65f (patch) | |
tree | 868cf1ca4c2d1f9e18136497fc745a74b365bced /vcl | |
parent | 4a64a68c6828b7cf0e57ee40817f4ab1a8a75aea (diff) |
loplugin:unnecessaryparen extend to delete statements
Change-Id: Ic4383ea948876a26f791f0e5b0110cef978a26e1
Reviewed-on: https://gerrit.libreoffice.org/48027
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx index 80af9ea8d937..a55365914fb2 100644 --- a/vcl/source/gdi/gdimtf.cxx +++ b/vcl/source/gdi/gdimtf.cxx @@ -2694,7 +2694,7 @@ SvStream& ReadGDIMetaFile( SvStream& rIStm, GDIMetaFile& rGDIMetaFile ) { // to avoid possible compiler optimizations => new/delete rIStm.Seek( nStmPos ); - delete( new SVMConverter( rIStm, rGDIMetaFile, CONVERT_FROM_SVM1 ) ); + delete new SVMConverter( rIStm, rGDIMetaFile, CONVERT_FROM_SVM1 ); } } catch (...) @@ -2727,7 +2727,7 @@ SvStream& WriteGDIMetaFile( SvStream& rOStm, const GDIMetaFile& rGDIMetaFile ) } else { - delete( new SVMConverter( rOStm, const_cast< GDIMetaFile& >( rGDIMetaFile ), CONVERT_TO_SVM1 ) ); + delete new SVMConverter( rOStm, const_cast< GDIMetaFile& >( rGDIMetaFile ), CONVERT_TO_SVM1 ); } #ifdef DEBUG |