From 4729774b244db7a175077ed0c70aa48be62bc60e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 13 Jun 2015 22:15:31 +0200 Subject: remove unnecessary check for null when calling delete Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763 --- writerperfect/source/common/WPXSvInputStream.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'writerperfect') diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx index 59895c9b2c3f..a5550fd4decb 100644 --- a/writerperfect/source/common/WPXSvInputStream.cxx +++ b/writerperfect/source/common/WPXSvInputStream.cxx @@ -817,8 +817,7 @@ WPXSvInputStream::WPXSvInputStream(Reference< XInputStream > xStream) : WPXSvInputStream::~WPXSvInputStream() { - if (mpImpl) - delete mpImpl; + delete mpImpl; } #define BUFFER_MAX 65536 -- cgit option value='distro/capgemini/cg-4.1'>distro/capgemini/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/stoc/Module_stoc.mk
AgeCommit message (Expand)Author
2019-08-16Re-enable stoc/test/uriproc/Stephan Bergmann