diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-10-04 12:02:14 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-10-04 17:20:20 +0200 |
commit | 5b8625bd88c5c23e5b7be1245737b6a2ac08c373 (patch) | |
tree | 383e45a537ceb3897ee18251f839dbd32df8b146 /sw | |
parent | 957a4d7f894e2339254c97f33f40436bf266917e (diff) |
SvxAutoCorrect::GetPrevAutoCorrWord should not be const
Change-Id: Icc5f8eae4347e097f7ff22212dd94467d0702353
Reviewed-on: https://gerrit.libreoffice.org/80198
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/editsh.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/edit/edws.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 8a2c2064d97b..29271604343d 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -816,7 +816,7 @@ public: /// Call AutoCorrect void AutoCorrect( SvxAutoCorrect& rACorr, bool bInsertMode, sal_Unicode cChar ); - bool GetPrevAutoCorrWord( SvxAutoCorrect const & rACorr, OUString& rWord ); + bool GetPrevAutoCorrWord(SvxAutoCorrect& rACorr, OUString& rWord); /// Set our styles according to the respective rules. void AutoFormat( const SvxSwAutoFormatFlags* pAFlags ); diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx index 4a238d2a34a0..1abceee1b75d 100644 --- a/sw/source/core/edit/edws.cxx +++ b/sw/source/core/edit/edws.cxx @@ -279,7 +279,7 @@ void SwEditShell::SetNewDoc() GetDoc()->getIDocumentState().SetNewDoc(true); } -bool SwEditShell::GetPrevAutoCorrWord( SvxAutoCorrect const & rACorr, OUString& rWord ) +bool SwEditShell::GetPrevAutoCorrWord(SvxAutoCorrect& rACorr, OUString& rWord) { SET_CURR_SHELL( this ); |