From ec3aae40ec0b0b39dc255041919fda77a343f831 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 7 Feb 2015 12:31:51 +0100 Subject: loplugin:deletedspecial Change-Id: Ia2b137e0167966a3d0b60f3c642a106834da8f1c --- sw/inc/list.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw/inc/list.hxx') diff --git a/sw/inc/list.hxx b/sw/inc/list.hxx index dfa6eaafa5f6..a0a41959984c 100644 --- a/sw/inc/list.hxx +++ b/sw/inc/list.hxx @@ -53,9 +53,8 @@ class SwList bool IsListLevelMarked( const int nListLevel ) const; private: - // no copy constructor and no assignment operator - SwList( const SwList& ); - SwList& operator=( const SwList& ); + SwList( const SwList& ) SAL_DELETED_FUNCTION; + SwList& operator=( const SwList& ) SAL_DELETED_FUNCTION; SwListImpl* mpListImpl; }; -- cgit v1.2.3