sc/source/filter/html/htmlexp.cxx | 2 +- sc/source/filter/inc/htmlexp.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 8a00e5a456ef2f0dd1bf3cfd6fbf3e3bab22dc9b Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Jul 22 20:47:13 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Jul 23 12:29:20 2025 +0200 const up ScHTMLExport::pFontSizeCss Change-Id: I76a0a046dfe9f991447718e6dd15b1777b4afdcf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188205 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx index 07591c2ad2aa..8dfc5c02bddb 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -109,7 +109,7 @@ const sal_uInt16 ScHTMLExport::nDefaultFontSize[SC_HTML_FONTSIZES] = sal_uInt16 ScHTMLExport::nFontSize[SC_HTML_FONTSIZES] = { 0 }; -const char* ScHTMLExport::pFontSizeCss[SC_HTML_FONTSIZES] = +const char* const ScHTMLExport::pFontSizeCss[SC_HTML_FONTSIZES] = { "xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large" }; diff --git a/sc/source/filter/inc/htmlexp.hxx b/sc/source/filter/inc/htmlexp.hxx index 3cb47c03221b..14f2f43d5b1e 100644 --- a/sc/source/filter/inc/htmlexp.hxx +++ b/sc/source/filter/inc/htmlexp.hxx @@ -102,7 +102,7 @@ class ScHTMLExport : public ScExportBase static const sal_uInt16 nDefaultFontSize[SC_HTML_FONTSIZES]; // HtmlFontSz[1-7] in s*3.ini [user] static sal_uInt16 nFontSize[SC_HTML_FONTSIZES]; - static const char* pFontSizeCss[SC_HTML_FONTSIZES]; + static const char* const pFontSizeCss[SC_HTML_FONTSIZES]; static const sal_uInt16 nCellSpacing; static const char sIndentSource[];