From 165d0a149d631d96a91118dfc7686bd2ebb0b6b9 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sat, 30 Sep 2017 23:58:17 +0200 Subject: clang-tidy modernize-use-equals-default in svl SfxPoolItem has a copy constructor and its copy assignment operator is deleted. Derived classes have a implicit defined copy constructor too, if all members are copy constructible. This patch removes default able copy constructors on such items. Note: clang-tidy only finds functions defined in source, inlined functions in headers are picked manualy. Change-Id: I7e642a2ecf139420c53f6fcb39208918dd1a8d52 Reviewed-on: https://gerrit.libreoffice.org/43003 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svl/rectitem.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'include/svl/rectitem.hxx') diff --git a/include/svl/rectitem.hxx b/include/svl/rectitem.hxx index 25a722227355..d37be512bc47 100644 --- a/include/svl/rectitem.hxx +++ b/include/svl/rectitem.hxx @@ -34,7 +34,6 @@ public: static SfxPoolItem* CreateDefault(); SfxRectangleItem(); SfxRectangleItem( sal_uInt16 nWhich, const tools::Rectangle& rVal ); - SfxRectangleItem( const SfxRectangleItem& ); virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, -- cgit