summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-04 10:15:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-04 11:55:27 +0200
commit902d87147d779c84b4ea84ef7779897d89b1fab2 (patch)
tree3ed603fedf6db10111a3f47202d83c5b223eff65 /sw/inc/editsh.hxx
parentbca55386e187e2cb4ab277a597a420f15c6cebcf (diff)
loplugin:constparams in sw part3
Change-Id: I05ad3204af4e6ec3c832b185a1b35fdb75a229b2 Reviewed-on: https://gerrit.libreoffice.org/40760 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 7e2d8b739427..85ad57b560fa 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -377,7 +377,7 @@ public:
/// Verify the paragraph at the cursor.
void VerifyParagraph(SwPaM* pPaM);
- void Insert2(SwField&, const bool bForceExpandHints);
+ void Insert2(SwField const &, const bool bForceExpandHints);
void UpdateFields( SwField & ); ///< One single field.
@@ -388,7 +388,7 @@ public:
void RemoveFieldType(size_t nField);
void RemoveFieldType(SwFieldIds nResId, const OUString& rName);
- void FieldToText( SwFieldType* pType );
+ void FieldToText( SwFieldType const * pType );
void ChangeAuthorityData(const SwAuthEntry* pNewData);
@@ -399,7 +399,7 @@ public:
void ChangeDBFields( const std::vector<OUString>& rOldNames,
const OUString& rNewName );
void GetAllUsedDB( std::vector<OUString>& rDBNameList,
- std::vector<OUString>* pAllDBNames );
+ std::vector<OUString> const * pAllDBNames );
bool IsAnyDatabaseFieldInDoc()const;
@@ -430,7 +430,7 @@ public:
void Insert(const SwTOXMark& rMark);
- void DeleteTOXMark(SwTOXMark* pMark);
+ void DeleteTOXMark(SwTOXMark const * pMark);
/// Get all marks at current SPoint.
void GetCurTOXMarks(SwTOXMarks& rMarks) const ;
@@ -743,10 +743,10 @@ public:
SwDocPositions eCurr, SwConversionArgs *pConvArgs = nullptr );
/// Restore selections.
- void SpellEnd( SwConversionArgs *pConvArgs = nullptr, bool bRestoreSelection = true );
+ void SpellEnd( SwConversionArgs const *pConvArgs = nullptr, bool bRestoreSelection = true );
css::uno::Any SpellContinue(
sal_uInt16* pPageCnt, sal_uInt16* pPageSt,
- SwConversionArgs *pConvArgs );
+ SwConversionArgs const *pConvArgs );
/** Spells on a sentence basis - the SpellPortions are needed
@return false if no error could be found. */
@@ -792,7 +792,7 @@ public:
/// Call AutoCorrect
void AutoCorrect( SvxAutoCorrect& rACorr, bool bInsertMode,
sal_Unicode cChar );
- bool GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, OUString& rWord );
+ bool GetPrevAutoCorrWord( SvxAutoCorrect const & rACorr, OUString& rWord );
/// Set our styles according to the respective rules.
void AutoFormat( const SvxSwAutoFormatFlags* pAFlags );