summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2025-05-12 16:04:52 +0200
committerStephan Bergmann <stephan.bergmann@allotropia.de>2025-05-12 23:11:05 +0200
commit887804deb541a9a4d14cdafd7eff8f2df35a8cdc (patch)
tree922a1b35d914444fbbf5d59940904d4508ac9c28 /sd/source
parent91402db28d9d67f64fe9acc1b4fb3df747fd8f67 (diff)
New Clang 21 trunk -Werror,-Wunnecessary-virtual-specifier
...warning about non-overriding virtual dtors in final classes. Every single one of these might or might not be suspicious (e.g., in some cases it might be better to have a virtual dtor in a derived-from class). Also, for some of the virtual dtors, making them non-virtual then caused > error: unnecessary user-declared destructor [loplugin:unnecessaryoverride] so those were removed completely. Change-Id: If0ee71645a347d6096b65988c56f627c42fe54b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185223 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/inc/TemplateScanner.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/inc/TemplateScanner.hxx b/sd/source/ui/inc/TemplateScanner.hxx
index 7924cc294cee..f1a2fbd74dc4 100644
--- a/sd/source/ui/inc/TemplateScanner.hxx
+++ b/sd/source/ui/inc/TemplateScanner.hxx
@@ -76,7 +76,7 @@ public:
/** The destructor deletes any remaining entries of the local list of
templates.
*/
- virtual ~TemplateScanner();
+ ~TemplateScanner();
/** Implementation of the AsynchronousTask interface method.
*/