summaryrefslogtreecommitdiffstats
path: root/hwpfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-25 13:31:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-26 03:04:45 +0200
commit4e67474a6e4dbfeff5316dcf08b44cfead148609 (patch)
tree630190f52de6572a46bb13b9ae6ae5b5709e64a7 /hwpfilter
parentloplugin:constmethod in forms..fpicker (diff)
downloadcore-4e67474a6e4dbfeff5316dcf08b44cfead148609.tar.gz
core-4e67474a6e4dbfeff5316dcf08b44cfead148609.zip
loplugin:constmethod in framework..lotuswordpro
Change-Id: I14a3855a75cf081d86c2a404966db38c617c0256 Reviewed-on: https://gerrit.libreoffice.org/79541 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/hwpfile.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/hwpfilter/source/hwpfile.h b/hwpfilter/source/hwpfile.h
index bf14fb58089c..768086193523 100644
--- a/hwpfilter/source/hwpfile.h
+++ b/hwpfilter/source/hwpfile.h
@@ -221,7 +221,7 @@ class DLLEXPORT HWPFile
ColumnDef* GetColumnDef(int);
int GetPageMasterNum(int page);
- int getCurrentPage(){ return m_nCurrentPage;}
+ int getCurrentPage() const{ return m_nCurrentPage;}
HWPInfo& GetHWPInfo(void) { return _hwpInfo; }
HWPFont& GetHWPFont(void) { return _hwpFont; }
HWPStyle& GetHWPStyle(void) { return _hwpStyle; }
@@ -238,16 +238,16 @@ class DLLEXPORT HWPFile
ShowPageNum *getPageNumber(int);
Table *getTable(int);
- int getParaShapeCount(){ return pslist.size(); }
- int getCharShapeCount(){ return cslist.size(); }
- int getFBoxStyleCount(){ return fbslist.size(); }
- int getDateFormatCount(){ return datecodes.size(); }
- int getHeaderFooterCount(){ return headerfooters.size(); }
- int getPageNumberCount(){ return pagenumbers.size(); }
- int getTableCount(){ return tables.size(); }
- int getColumnCount(){ return columnlist.size(); }
+ int getParaShapeCount() const{ return pslist.size(); }
+ int getCharShapeCount() const{ return cslist.size(); }
+ int getFBoxStyleCount() const{ return fbslist.size(); }
+ int getDateFormatCount() const{ return datecodes.size(); }
+ int getHeaderFooterCount() const{ return headerfooters.size(); }
+ int getPageNumberCount() const{ return pagenumbers.size(); }
+ int getTableCount() const{ return tables.size(); }
+ int getColumnCount() const{ return columnlist.size(); }
- int getMaxSettedPage(){ return m_nMaxSettedPage; }
+ int getMaxSettedPage() const{ return m_nMaxSettedPage; }
void setMaxSettedPage(){ m_nMaxSettedPage = m_nCurrentPage; }
void push_hpara_type(unsigned char scflag) { element_import_stack.push_back(scflag); }