diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-17 11:04:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 08:19:46 +0200 |
commit | 3ccaa4d9e9e18555e86e111259a4908413d36718 (patch) | |
tree | 0ba4e0d2706f1c17a4a33ac6b88674416fe4e2be /hwpfilter/source/hwpfile.h | |
parent | 871f1f727f0763ffec510757933f1acf22485a59 (diff) |
loplugin:constparams in scaddins,hwpfilter
Change-Id: I91b3559b9c3f5d8837d182cf9406fad9aeee78b3
Reviewed-on: https://gerrit.libreoffice.org/40049
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter/source/hwpfile.h')
-rw-r--r-- | hwpfilter/source/hwpfile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h index e86d5bd60663..75f17d19a448 100644 --- a/hwpfilter/source/hwpfile.h +++ b/hwpfilter/source/hwpfile.h @@ -212,8 +212,8 @@ class DLLEXPORT HWPFile void AddPage(){ m_nCurrentPage++;} void AddColumnInfo(); void SetColumnDef(ColumnDef *coldef); - void AddParaShape(std::shared_ptr<ParaShape>&); - void AddCharShape(std::shared_ptr<CharShape>&); + void AddParaShape(std::shared_ptr<ParaShape> const &); + void AddCharShape(std::shared_ptr<CharShape> const &); void AddFBoxStyle(FBoxStyle *); void AddDateFormat(DateCode *); void AddHeaderFooter(HeaderFooter *); @@ -253,8 +253,8 @@ class DLLEXPORT HWPFile void setMaxSettedPage(){ m_nMaxSettedPage = m_nCurrentPage; } private: - int compareCharShape(CharShape *shape); - int compareParaShape(ParaShape *shape); + int compareCharShape(CharShape const *shape); + int compareParaShape(ParaShape const *shape); public: int version; |