diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 12:07:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 21:32:33 +0200 |
commit | 32894034ea7b283d6c60cb77ef5d8b43a9c15d65 (patch) | |
tree | a210de631bfb7c824c8caaf71cab098358727b81 /include/editeng/svxacorr.hxx | |
parent | 977a676a718bfa682352d023420f4026ea9d7025 (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 'include/editeng/svxacorr.hxx')
-rw-r--r-- | include/editeng/svxacorr.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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<SotStorage>& rStg); static void SaveExceptList_Imp( const SvStringsISortDtor& rLst, const sal_Char* pStrmName, - tools::SvRef<SotStorage>& rStg, + tools::SvRef<SotStorage> 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. |