summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-07 09:42:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-07 10:28:24 +0200
commit0582346a1ab5ec8d1b81ea3fef1e40db60c90823 (patch)
tree71e2cb1f96dceddbbe3457aede6bc28b098ff02b /sw/inc
parent57ea9f81ed3553ad71207db9e433774b165732a2 (diff)
loplugin:constparams in sw part8
Change-Id: I0fb51270da4b8f3049f1af2c2c788e516b3641e8 Reviewed-on: https://gerrit.libreoffice.org/40821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/hhcwrp.hxx2
-rw-r--r--sw/inc/view.hxx20
2 files changed, 11 insertions, 11 deletions
diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx
index ca9c9d6877e9..1401abdc10a9 100644
--- a/sw/inc/hhcwrp.hxx
+++ b/sw/inc/hhcwrp.hxx
@@ -56,7 +56,7 @@ class SW_DLLPUBLIC SwHHCWrapper : public editeng::HangulHanjaConversion
bool FindConvText_impl(); ///< former FindSpellError
void ConvStart_impl( SwConversionArgs *pConvArgs, SvxSpellArea eSpell ); ///< former SpellStart
- void ConvEnd_impl( SwConversionArgs *pConvArgs ); ///< former SpellEnd
+ void ConvEnd_impl( SwConversionArgs const *pConvArgs ); ///< former SpellEnd
bool ConvContinue_impl( SwConversionArgs *pConvArgs ); ///< former SpellContinue
void SelectNewUnit_impl( const sal_Int32 nUnitStart,
diff --git a/sw/inc/view.hxx b/sw/inc/view.hxx
index 7181997dd24c..c6783bb3c5cb 100644
--- a/sw/inc/view.hxx
+++ b/sw/inc/view.hxx
@@ -305,7 +305,7 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
// used for spell checking and text conversion
SAL_DLLPRIVATE void SpellStart( SvxSpellArea eSpell, bool bStartDone,
bool bEndDone, SwConversionArgs *pConvArgs );
- SAL_DLLPRIVATE void SpellEnd( SwConversionArgs *pConvArgs );
+ SAL_DLLPRIVATE void SpellEnd( SwConversionArgs const *pConvArgs );
SAL_DLLPRIVATE void HyphStart( SvxSpellArea eSpell );
SAL_DLLPRIVATE void SpellContext(bool bOn = true)
@@ -490,12 +490,12 @@ public:
// Handler
void Execute(SfxRequest&);
void ExecLingu(SfxRequest&);
- void ExecDlg(SfxRequest&);
- void ExecDlgExt(SfxRequest&);
- void ExecColl(SfxRequest&);
+ void ExecDlg(SfxRequest const &);
+ void ExecDlgExt(SfxRequest const &);
+ void ExecColl(SfxRequest const &);
void ExecutePrint(SfxRequest&);
void ExecDraw(SfxRequest&);
- void ExecTabWin(SfxRequest&);
+ void ExecTabWin(SfxRequest const &);
void ExecuteStatusLine(SfxRequest&);
DECL_LINK( ExecRulerClick, Ruler *, void );
void ExecSearch(SfxRequest&);
@@ -528,8 +528,8 @@ public:
bool IsFormMode() const;
bool IsBezierEditMode();
bool AreOnlyFormsSelected() const;
- bool HasDrwObj(SdrObject *pSdrObj) const;
- bool HasOnlyObj(SdrObject *pSdrObj, SdrInventor eObjInventor) const;
+ bool HasDrwObj(SdrObject const *pSdrObj) const;
+ bool HasOnlyObj(SdrObject const *pSdrObj, SdrInventor eObjInventor) const;
bool BeginTextEdit( SdrObject* pObj, SdrPageView* pPV=nullptr,
vcl::Window* pWin=nullptr, bool bIsNewObj=false, bool bSetSelectionToStart=false );
@@ -592,7 +592,7 @@ public:
// Enable mail merge - mail merge field dialog enabled
void EnableMailMerge();
//apply Accessiblity options
- void ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions);
+ void ApplyAccessiblityOptions(SvtAccessibilityOptions const & rAccessibilityOptions);
SwView(SfxViewFrame* pFrame, SfxViewShell*);
virtual ~SwView() override;
@@ -605,11 +605,11 @@ public:
// store MailMerge data while "Back to Mail Merge Wizard" FloatingWindow is active
// or to support printing
- void SetMailMergeConfigItem(std::shared_ptr<SwMailMergeConfigItem>& rConfigItem);
+ void SetMailMergeConfigItem(std::shared_ptr<SwMailMergeConfigItem> const & rConfigItem);
std::shared_ptr<SwMailMergeConfigItem> GetMailMergeConfigItem() const;
std::shared_ptr<SwMailMergeConfigItem> EnsureMailMergeConfigItem(const SfxItemSet* pArgs = nullptr);
- void ExecFormatPaintbrush(SfxRequest &);
+ void ExecFormatPaintbrush(SfxRequest const &);
void StateFormatPaintbrush(SfxItemSet &);
//public fuer D&D