summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-01 14:03:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-01 14:03:10 +0100
commitc17f5bb6fb15239809e6b8439e9e443280bc2bde (patch)
tree5520ef6767af4279280229d494eb7fe8210f2e76
parent1f13a4f40618b798fc84a058097b0ad26e77f111 (diff)
-Werror,-Wunused-private-field
Change-Id: Ic090eee9e7705baf2c44fa2990a986e06cd0cf68
-rw-r--r--sw/source/core/inc/UndoBookmark.hxx2
-rw-r--r--sw/source/core/undo/unbkmk.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/core/inc/UndoBookmark.hxx b/sw/source/core/inc/UndoBookmark.hxx
index eaa0fcb00182..8338b01376f3 100644
--- a/sw/source/core/inc/UndoBookmark.hxx
+++ b/sw/source/core/inc/UndoBookmark.hxx
@@ -71,8 +71,6 @@ class SwUndoRenameBookmark : public SwUndo
{
const OUString m_sOldName;
const OUString m_sNewName;
- const sal_uLong m_nNode;
- const sal_Int32 m_nCntnt;
public:
SwUndoRenameBookmark( const ::sw::mark::IMark&, const OUString& rNewName );
diff --git a/sw/source/core/undo/unbkmk.cxx b/sw/source/core/undo/unbkmk.cxx
index 3501ed5f616b..9620b75de6ed 100644
--- a/sw/source/core/undo/unbkmk.cxx
+++ b/sw/source/core/undo/unbkmk.cxx
@@ -90,8 +90,6 @@ SwUndoRenameBookmark::SwUndoRenameBookmark( const ::sw::mark::IMark& rBkmk, cons
: SwUndo( UNDO_BOOKMARK_RENAME )
, m_sOldName( rOldName )
, m_sNewName( rBkmk.GetName() )
- , m_nNode( rBkmk.GetMarkPos().nNode.GetIndex() )
- , m_nCntnt( rBkmk.GetMarkPos().nContent.GetIndex() )
{
}