[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Tue Sep 12 08:00:00 UTC 2017


 sw/source/core/edit/edfcol.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit e5b307ba6707c5a45c6c974657e593fca458d6c6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 12 09:59:32 2017 +0200

    -Werror,-Wunused-private-field
    
    Change-Id: Ia0469a9bb87db261584733561282ab127416a9a3

diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index 8394a7a8abcc..d23828d35fa5 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -676,7 +676,6 @@ void SwEditShell::SetWatermark(const SfxWatermarkItem& rWatermark)
 class SwUndoParagraphSigning : public SwUndo
 {
 private:
-    sal_uLong m_nNodeIndex;
     SwDoc* m_pDoc;
     uno::Reference<text::XTextField> m_xField;
     uno::Reference<text::XTextContent> m_xParent;
@@ -697,7 +696,6 @@ SwUndoParagraphSigning::SwUndoParagraphSigning(const SwPosition& rPos,
                                                const uno::Reference<text::XTextField>& xField,
                                                const uno::Reference<text::XTextContent>& xParent)
   : SwUndo(SwUndoId::PARA_SIGN_ADD, rPos.GetDoc()),
-    m_nNodeIndex(rPos.nNode.GetIndex()),
     m_pDoc(rPos.GetDoc()),
     m_xField(xField),
     m_xParent(xParent)


More information about the Libreoffice-commits mailing list