diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:13:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:35:58 +0100 |
commit | 5efac16be63274ff5e578cb3406accf75ae0f174 (patch) | |
tree | 345faf1748cfc9747f1ea8b4cc456c122a4f0401 /editeng | |
parent | 913b112d952d21913cb407fc5138681c10d587e4 (diff) |
loplugin:deletedspecial
Change-Id: Ia5cdc216ef4e5ebb11709fa1079e70c9ac2ff360
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editattr.hxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editdoc.hxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editobj2.hxx | 3 | ||||
-rw-r--r-- | editeng/source/editeng/textconv.hxx | 5 | ||||
-rw-r--r-- | editeng/source/outliner/paralist.cxx | 11 |
5 files changed, 5 insertions, 18 deletions
diff --git a/editeng/source/editeng/editattr.hxx b/editeng/source/editeng/editattr.hxx index 74244179b018..c5f7a3b32f40 100644 --- a/editeng/source/editeng/editattr.hxx +++ b/editeng/source/editeng/editattr.hxx @@ -363,7 +363,7 @@ class EditCharAttribField: public EditCharAttrib Color* pTxtColor; Color* pFldColor; - EditCharAttribField& operator = ( const EditCharAttribField& rAttr ) const; + EditCharAttribField& operator = ( const EditCharAttribField& rAttr ) SAL_DELETED_FUNCTION; public: EditCharAttribField( const SvxFieldItem& rAttr, sal_uInt16 nPos ); diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index 9127ca751f60..da5841b7894b 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -606,7 +606,7 @@ private: bool bVisible : 1; // Belongs to the node! bool bForceRepaint : 1; - ParaPortion( const ParaPortion& ); + ParaPortion( const ParaPortion& ) SAL_DELETED_FUNCTION; public: ParaPortion( ContentNode* pNode ); diff --git a/editeng/source/editeng/editobj2.hxx b/editeng/source/editeng/editobj2.hxx index 131a68f99d2a..57725bced441 100644 --- a/editeng/source/editeng/editobj2.hxx +++ b/editeng/source/editeng/editobj2.hxx @@ -50,8 +50,7 @@ private: sal_uInt16 nStart; sal_uInt16 nEnd; - XEditAttribute(); - XEditAttribute( const XEditAttribute& rCopyFrom ); + XEditAttribute( const XEditAttribute& rCopyFrom ) SAL_DELETED_FUNCTION; public: XEditAttribute( const SfxPoolItem& rAttr, sal_uInt16 nStart, sal_uInt16 nEnd ); diff --git a/editeng/source/editeng/textconv.hxx b/editeng/source/editeng/textconv.hxx index 1dabca5d45b4..712e0f9dc1c3 100644 --- a/editeng/source/editeng/textconv.hxx +++ b/editeng/source/editeng/textconv.hxx @@ -68,9 +68,8 @@ class TextConvWrapper : public editeng::HangulHanjaConversion ESelection *pESelection ); void ChangeText_impl( const OUString &rNewText, bool bKeepAttributes ); - // Forbidden and not implemented. - TextConvWrapper (const TextConvWrapper &); - TextConvWrapper & operator= (const TextConvWrapper &); + TextConvWrapper (const TextConvWrapper &) SAL_DELETED_FUNCTION; + TextConvWrapper & operator= (const TextConvWrapper &) SAL_DELETED_FUNCTION; protected: virtual void GetNextPortion( OUString& /* [out] */ rNextPortion, diff --git a/editeng/source/outliner/paralist.cxx b/editeng/source/outliner/paralist.cxx index b17f74e1bd19..e9e64077164c 100644 --- a/editeng/source/outliner/paralist.cxx +++ b/editeng/source/outliner/paralist.cxx @@ -66,17 +66,6 @@ Paragraph::Paragraph( sal_Int16 nDDepth ) bVisible = true; } -Paragraph::Paragraph( const Paragraph& rPara ) -: ParagraphData( rPara ) -, aBulText( rPara.aBulText ) -, aBulSize( rPara.aBulSize ) -{ - - nDepth = rPara.nDepth; - nFlags = rPara.nFlags; - bVisible = rPara.bVisible; -} - Paragraph::Paragraph( const ParagraphData& rData ) : nFlags( 0 ) , aBulSize( -1, -1) |