summaryrefslogtreecommitdiff
path: root/editeng/source/misc/svxacorr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 12:07:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 21:32:33 +0200
commit32894034ea7b283d6c60cb77ef5d8b43a9c15d65 (patch)
treea210de631bfb7c824c8caaf71cab098358727b81 /editeng/source/misc/svxacorr.cxx
parent977a676a718bfa682352d023420f4026ea9d7025 (diff)
loplugin:constparams in editeng
Change-Id: Ice32a16d14d0132a19e8209d311bb799fd7ee0c8 Reviewed-on: https://gerrit.libreoffice.org/40526 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/misc/svxacorr.cxx')
-rw-r--r--editeng/source/misc/svxacorr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 75528c98f1fa..3f52dec6ff34 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1234,7 +1234,7 @@ OUString SvxAutoCorrect::GetQuote( SvxAutoCorrDoc const & rDoc, sal_Int32 nInsPo
void SvxAutoCorrect::DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt,
sal_Int32 nInsPos, sal_Unicode cChar,
- bool bInsert, vcl::Window* pFrameWin )
+ bool bInsert, vcl::Window const * pFrameWin )
{
bool bIsNextRun = bRunNext;
bRunNext = false; // if it was set, then it has to be turned off
@@ -1515,7 +1515,7 @@ bool SvxAutoCorrect::AddWrtSttException( const OUString& rNew,
return pLists && pLists->AddToWrdSttExceptList(rNew);
}
-bool SvxAutoCorrect::GetPrevAutoCorrWord( SvxAutoCorrDoc& rDoc,
+bool SvxAutoCorrect::GetPrevAutoCorrWord( SvxAutoCorrDoc const & rDoc,
const OUString& rTxt, sal_Int32 nPos,
OUString& rWord ) const
{
@@ -2048,7 +2048,7 @@ void SvxAutoCorrectLanguageLists::LoadXMLExceptList_Imp(
void SvxAutoCorrectLanguageLists::SaveExceptList_Imp(
const SvStringsISortDtor& rLst,
const sal_Char* pStrmName,
- tools::SvRef<SotStorage> &rStg,
+ tools::SvRef<SotStorage> const &rStg,
bool bConvert )
{
if( rStg.is() )