summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpfile.h
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-17 11:04:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 08:19:46 +0200
commit3ccaa4d9e9e18555e86e111259a4908413d36718 (patch)
tree0ba4e0d2706f1c17a4a33ac6b88674416fe4e2be /hwpfilter/source/hwpfile.h
parent871f1f727f0763ffec510757933f1acf22485a59 (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.h8
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;