summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-10 14:41:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-11 09:06:06 +0100
commit7002caa97e10d29353d3490b4fbb782d436575b3 (patch)
tree98c254c9f94272e145417034f5cdc85b942edf74 /package
parenta370e7ff7e8225b8343678401eca5a1721b2b9bb (diff)
new loplugin:trivialdestructor
look for potentially trivial destructors that can then be elided Change-Id: I435c251bd4291b5864c20d68f88676faac7c43fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131318 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package')
-rw-r--r--package/inc/CRC32.hxx1
-rw-r--r--package/source/zipapi/CRC32.cxx3
2 files changed, 0 insertions, 4 deletions
diff --git a/package/inc/CRC32.hxx b/package/inc/CRC32.hxx
index 72243d0d8342..a2ca1b435e0e 100644
--- a/package/inc/CRC32.hxx
+++ b/package/inc/CRC32.hxx
@@ -30,7 +30,6 @@ class CRC32 final
sal_uInt32 nCRC;
public:
CRC32();
- ~CRC32();
/// @throws css::uno::RuntimeException
sal_Int64 updateStream (css::uno::Reference < css::io::XInputStream > const & xStream);
diff --git a/package/source/zipapi/CRC32.cxx b/package/source/zipapi/CRC32.cxx
index 2440630db856..bd06822486b3 100644
--- a/package/source/zipapi/CRC32.cxx
+++ b/package/source/zipapi/CRC32.cxx
@@ -32,9 +32,6 @@ CRC32::CRC32()
: nCRC(0)
{
}
-CRC32::~CRC32()
-{
-}
void CRC32::reset()
{
nCRC=0;