diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-21 13:10:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-22 06:42:19 +0000 |
commit | c1877a16b38bfd74a52e39b49289d5f5572b610b (patch) | |
tree | aac6e79a4fc26a520ef1cd097bea7ba25d695695 /sw/source/core | |
parent | f0c7cbe1d8505d3c1f5a2b2253efda35542c898b (diff) |
loplugin:unusedfields
Change-Id: I8a114bcda99f123d230d61b0d0595bfe657cc3c0
Reviewed-on: https://gerrit.libreoffice.org/34513
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core')
-rw-r--r-- | sw/source/core/doc/doccorr.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/doccorr.cxx b/sw/source/core/doc/doccorr.cxx index fee4a4dd2a19..3401152edf51 100644 --- a/sw/source/core/doc/doccorr.cxx +++ b/sw/source/core/doc/doccorr.cxx @@ -159,7 +159,7 @@ void PaMCorrAbs( const SwPaM& rRange, if (bChange && bLeaveSection) { // the UNO cursor has left its section. We need to notify it! - sw::UnoCursorHint aHint(sw::UnoCursorHintType::LEAVES_SECTION); + sw::UnoCursorHint aHint; pUnoCursor->m_aNotifier.Broadcast(aHint); } } diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index ac97fa5f4663..add4c242d4c3 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -414,7 +414,7 @@ SwDoc::~SwDoc() getIDocumentRedlineAccess().GetRedlineTable().DeleteAndDestroyAll(); getIDocumentRedlineAccess().GetExtraRedlineTable().DeleteAndDestroyAll(); - const sw::UnoCursorHint aHint(sw::UnoCursorHintType::DOC_DISPOSING); + const sw::UnoCursorHint aHint; cleanupUnoCursorTable(); for(const auto& pWeakCursor : mvUnoCursorTable) { |