summaryrefslogtreecommitdiff
path: root/sw/inc/node.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:31:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:03 +0100
commitec3aae40ec0b0b39dc255041919fda77a343f831 (patch)
tree197d3ef067d2a971dc1ebe9f1de9f5c5435671d9 /sw/inc/node.hxx
parent6e26cc140bf0254a88a1d4c6e82cbaee39ced418 (diff)
loplugin:deletedspecial
Change-Id: Ia2b137e0167966a3d0b60f3c642a106834da8f1c
Diffstat (limited to 'sw/inc/node.hxx')
-rw-r--r--sw/inc/node.hxx25
1 files changed, 10 insertions, 15 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 2b2281918dbb..c6e1731a6556 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -288,9 +288,8 @@ public:
virtual void dumpAsXml( xmlTextWriterPtr writer = NULL ) const;
private:
- /// Private constructor because copying is never allowed!!
- SwNode( const SwNode & rNodes );
- SwNode & operator= ( const SwNode & rNodes );
+ SwNode( const SwNode & rNodes ) SAL_DELETED_FUNCTION;
+ SwNode & operator= ( const SwNode & rNodes ) SAL_DELETED_FUNCTION;
};
/// Starts a section of nodes in the document model.
@@ -321,9 +320,8 @@ public:
virtual void dumpAsXml( xmlTextWriterPtr writer = NULL ) const SAL_OVERRIDE;
private:
- /// Private constructor because copying is never allowed!!
- SwStartNode( const SwStartNode & rNode );
- SwStartNode & operator= ( const SwStartNode & rNode );
+ SwStartNode( const SwStartNode & rNode ) SAL_DELETED_FUNCTION;
+ SwStartNode & operator= ( const SwStartNode & rNode ) SAL_DELETED_FUNCTION;
};
/// Ends a section of nodes in the document model.
@@ -342,9 +340,8 @@ protected:
DECL_FIXEDMEMPOOL_NEWDEL(SwEndNode)
private:
- /// Private constructor because copying is never allowed!!
- SwEndNode( const SwEndNode & rNode );
- SwEndNode & operator= ( const SwEndNode & rNode );
+ SwEndNode( const SwEndNode & rNode ) SAL_DELETED_FUNCTION;
+ SwEndNode & operator= ( const SwEndNode & rNode ) SAL_DELETED_FUNCTION;
};
// SwCntntNode
@@ -484,9 +481,8 @@ public:
virtual drawinglayer::attribute::SdrAllFillAttributesHelperPtr getSdrAllFillAttributesHelper() const;
private:
- /// Private constructor because copying is never allowed!!
- SwCntntNode( const SwCntntNode & rNode );
- SwCntntNode & operator= ( const SwCntntNode & rNode );
+ SwCntntNode( const SwCntntNode & rNode ) SAL_DELETED_FUNCTION;
+ SwCntntNode & operator= ( const SwCntntNode & rNode ) SAL_DELETED_FUNCTION;
};
// SwTableNode
@@ -523,9 +519,8 @@ public:
void RemoveRedlines();
private:
- /// Private constructor because copying is never allowed!!
- SwTableNode( const SwTableNode & rNode );
- SwTableNode & operator= ( const SwTableNode & rNode );
+ SwTableNode( const SwTableNode & rNode ) SAL_DELETED_FUNCTION;
+ SwTableNode & operator= ( const SwTableNode & rNode ) SAL_DELETED_FUNCTION;
};
class SwSectionNode