diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-10 09:10:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-03-10 12:14:41 +0100 |
commit | b8e3c05261b0658fcb27c3cc12c7c0646e5aa983 (patch) | |
tree | 4396a30335a8b0872bf6912f2f81ffc83c38c40c /hwpfilter | |
parent | 317779e86a8cc4d1e2e3c7e227b732407bbadf26 (diff) |
can be const
Change-Id: Iccb2f715025aad564850f3d21d46794337400237
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131306
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 4 | ||||
-rw-r--r-- | hwpfilter/source/hwpreader.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index 0db70d2aa685..89609e65fd5f 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -3856,7 +3856,7 @@ void HwpReader::makePicture(Picture * hbox) } } -void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox) +void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, const Picture* hbox) { int x = hbox->pgx; int y = hbox->pgy; @@ -4413,7 +4413,6 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox) } } - void HwpReader::makeLine() { mxList->addAttribute("text:style-name", sXML_CDATA, "Horizontal Line"); @@ -4421,7 +4420,6 @@ void HwpReader::makeLine() mxList->clear(); } - /** * Input-comment-hidden description: shows a hidden explanation to the users. * Parse out only strings, but it may contain paragraphs. diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx index 699ea331c1a7..0cb9e62c0c19 100644 --- a/hwpfilter/source/hwpreader.hxx +++ b/hwpfilter/source/hwpreader.hxx @@ -130,7 +130,7 @@ private: void makeFormula(TxtBox *hbox); void makeHyperText(TxtBox *hbox); void makePicture(Picture *hbox); - void makePictureDRAW(HWPDrawingObject *drawobj, Picture *hbox); + void makePictureDRAW(HWPDrawingObject *drawobj, const Picture *hbox); void makeLine(); void makeHidden(Hidden *hbox); void makeFootnote(Footnote *hbox); |