summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpreader.cxx
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/hwpreader.cxx
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/hwpreader.cxx')
-rw-r--r--hwpfilter/source/hwpreader.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 29a884521265..8ac074eff35c 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -3136,7 +3136,7 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
}
-void HwpReader::makeFieldCode(hchar_string & rStr, FieldCode *hbox)
+void HwpReader::makeFieldCode(hchar_string const & rStr, FieldCode const *hbox)
{
/* Push frame */
if( hbox->type[0] == 4 && hbox->type[1] == 0 )
@@ -3259,7 +3259,7 @@ void HwpReader::makeFieldCode(hchar_string & rStr, FieldCode *hbox)
* Completed
* In LibreOffice, refer bookmarks as reference, but hwp doesn't have the sort of feature.
*/
-void HwpReader::makeBookmark(Bookmark * hbox)
+void HwpReader::makeBookmark(Bookmark const * hbox)
{
if (hbox->type == 0)
{
@@ -4768,7 +4768,7 @@ void HwpReader::makeMailMerge(MailMerge * hbox)
}
-void HwpReader::makeOutline(Outline * hbox)
+void HwpReader::makeOutline(Outline const * hbox)
{
if( hbox->kind == 1 )
rchars( reinterpret_cast<sal_Unicode const *>(hbox->GetUnicode().c_str()) );