diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2016-11-28 05:24:24 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-11-29 09:27:58 +0000 |
commit | a029a479429d334875b73e2fc4e34b314a1ad369 (patch) | |
tree | 87b99250da9d332a4940e9c69e7fdf12fa7ec9ff /sw/source/core/doc/doccorr.cxx | |
parent | 361c6eb18c9ba4043652ba91036094379aeaf05f (diff) |
get rid of LegacyModifyHint
Change-Id: Idb789f8786abeed07299baf4ce7507628f9ff173
Reviewed-on: https://gerrit.libreoffice.org/31304
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw/source/core/doc/doccorr.cxx')
-rw-r--r-- | sw/source/core/doc/doccorr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/doccorr.cxx b/sw/source/core/doc/doccorr.cxx index e207e856117d..cb07e364052f 100644 --- a/sw/source/core/doc/doccorr.cxx +++ b/sw/source/core/doc/doccorr.cxx @@ -159,8 +159,8 @@ void PaMCorrAbs( const SwPaM& rRange, if (bChange && bLeaveSection) { // the UNO cursor has left its section. We need to notify it! - SwMsgPoolItem aHint( RES_UNOCURSOR_LEAVES_SECTION ); - pUnoCursor->ModifyNotification( &aHint, nullptr ); + sw::UnoCursorHint aHint(sw::UnoCursorHintType::LEAVES_SECTION); + pUnoCursor->CallSwClientNotify(aHint); } } } |