summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/pam.hxx3
-rw-r--r--sw/source/core/crsr/pam.cxx12
2 files changed, 0 insertions, 15 deletions
diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx
index 2dc78ee5a315..771e753d7b34 100644
--- a/sw/inc/pam.hxx
+++ b/sw/inc/pam.hxx
@@ -58,9 +58,6 @@ struct SW_DLLPUBLIC SwPosition
explicit SwPosition( const SwNode& rNode );
explicit SwPosition( SwContentNode& rNode, const sal_Int32 nOffset = 0 );
- SwPosition( const SwPosition & );
- SwPosition &operator=(const SwPosition &);
-
/**
Returns the document this position is in.
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index c83361b94778..8c423847d0db 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -69,18 +69,6 @@ SwPosition::SwPosition( SwContentNode & rNode, const sal_Int32 nOffset )
{
}
-SwPosition::SwPosition( const SwPosition & rPos )
- : nNode( rPos.nNode ), nContent( rPos.nContent )
-{
-}
-
-SwPosition &SwPosition::operator=(const SwPosition &rPos)
-{
- nNode = rPos.nNode;
- nContent = rPos.nContent;
- return *this;
-}
-
bool SwPosition::operator<(const SwPosition &rPos) const
{
if( nNode < rPos.nNode )