summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/htmlpars.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-06 16:18:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-07 07:21:32 +0100
commitbe354a2abd27548405caf97fdbc814b5a6b06995 (patch)
treea044c734c912a9a194f380d31aabd679772916b2 /sc/source/filter/inc/htmlpars.hxx
parentc947a25b3a785f8d43160671f79e3bb503dfb1ae (diff)
loplugin:constparams
Change-Id: Ia322ecf8f80b28c58ec33d17ca9607401a92534b Reviewed-on: https://gerrit.libreoffice.org/45959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/inc/htmlpars.hxx')
-rw-r--r--sc/source/filter/inc/htmlpars.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/inc/htmlpars.hxx b/sc/source/filter/inc/htmlpars.hxx
index 46bd7d7de699..17e84a5969d6 100644
--- a/sc/source/filter/inc/htmlpars.hxx
+++ b/sc/source/filter/inc/htmlpars.hxx
@@ -109,7 +109,7 @@ struct ScHTMLTableStackEntry
sal_uInt16 nColOffset;
sal_uInt16 nColOffsetStart;
bool bFirstRow;
- ScHTMLTableStackEntry( std::shared_ptr<ScEEParseEntry>& rE,
+ ScHTMLTableStackEntry( const std::shared_ptr<ScEEParseEntry>& rE,
const ScRangeListRef& rL, ScHTMLColOffset* pTO,
sal_uLong nFTC,
SCROW nRow,
@@ -175,7 +175,7 @@ private:
bool bInTitle:1;
DECL_LINK( HTMLImportHdl, HtmlImportInfo&, void );
- void NewActEntry( ScEEParseEntry* );
+ void NewActEntry( const ScEEParseEntry* );
static void EntryEnd( ScEEParseEntry*, const ESelection& );
void ProcToken( HtmlImportInfo* );
void CloseEntry( const HtmlImportInfo* );
@@ -192,7 +192,7 @@ private:
static void ModifyOffset( ScHTMLColOffset*, sal_uInt16& nOldOffset,
sal_uInt16& nNewOffset, sal_uInt16 nOffsetTol );
void Colonize( ScEEParseEntry* );
- sal_uInt16 GetWidth( ScEEParseEntry* );
+ sal_uInt16 GetWidth( const ScEEParseEntry* );
void SetWidths();
void Adjust();