From 32894034ea7b283d6c60cb77ef5d8b43a9c15d65 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 28 Jul 2017 12:07:49 +0200 Subject: loplugin:constparams in editeng Change-Id: Ice32a16d14d0132a19e8209d311bb799fd7ee0c8 Reviewed-on: https://gerrit.libreoffice.org/40526 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/editeng/svxacorr.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/editeng/svxacorr.hxx') diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index f5d3ddf0652c..1f8e31287f7e 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -178,7 +178,7 @@ class EDITENG_DLLPUBLIC SvxAutoCorrectLanguageLists tools::SvRef& rStg); static void SaveExceptList_Imp( const SvStringsISortDtor& rLst, const sal_Char* pStrmName, - tools::SvRef& rStg, + tools::SvRef const & rStg, bool bConvert = false); bool MakeBlocklist_Imp( SotStorage& rStg ); @@ -280,11 +280,11 @@ public: // to the actual SwTxtNode/EditNode string because it inserts the character // in rDoc and expects that to side-effect rTxt void DoAutoCorrect( SvxAutoCorrDoc& rDoc, const OUString& rTxt, - sal_Int32 nPos, sal_Unicode cInsChar, bool bInsert, vcl::Window* pFrameWin = nullptr ); + sal_Int32 nPos, sal_Unicode cInsChar, bool bInsert, vcl::Window const * pFrameWin = nullptr ); // Return for the autotext expansion the previous word, // AutoCorrect - corresponding algorithm - bool GetPrevAutoCorrWord( SvxAutoCorrDoc& rDoc, const OUString& rTxt, + bool GetPrevAutoCorrWord( SvxAutoCorrDoc const & rDoc, const OUString& rTxt, sal_Int32 nPos, OUString& rWord ) const; // Search for the words in the replacement table. -- cgit