diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-01-06 12:46:45 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-02-02 00:57:00 +0100 |
commit | 585b0a39d7170ef30d0a1d03601e008613df9807 (patch) | |
tree | c1224284b29fcf2328bdb04882b9795862bfb46a /svtools | |
parent | 876da94619d561e4b4c6c7d12a8d6726eb857df8 (diff) |
Fix typo in code
As per request in comments here:
https://gerrit.libreoffice.org/c/core/+/108661
I don't remember if it was already corrected and rejected.
Anyway, this is massive and it compiles on my laptop.
Let's see adding devs.
Thanks a lot to Seth!
Change-Id: I27d1fe1dccecd6644304fc6c3c2feb8413598285
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108816
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/htmlkywd.cxx | 2 | ||||
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/svhtml/htmlkywd.cxx b/svtools/source/svhtml/htmlkywd.cxx index 482bfab5e611..1873b8ee186a 100644 --- a/svtools/source/svhtml/htmlkywd.cxx +++ b/svtools/source/svhtml/htmlkywd.cxx @@ -82,7 +82,7 @@ HTML_TokenEntry const aHTMLTokenTab[] = { {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_linebreak), HtmlTokenId::LINEBREAK}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_caption), HtmlTokenId::CAPTION_ON}, // HTML 3.0 {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_center), HtmlTokenId::CENTER_ON}, // Netscape - {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_citiation), HtmlTokenId::CITIATION_ON}, + {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_citation), HtmlTokenId::CITATION_ON}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_code), HtmlTokenId::CODE_ON}, {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_col), HtmlTokenId::COL_ON}, // HTML 3 Table Model Draft {std::u16string_view(u"" OOO_STRING_SVTOOLS_HTML_colgroup), HtmlTokenId::COLGROUP_ON}, // HTML 3 Table Model Draft diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index be66cc8b6ac8..6796c6ca8738 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -1714,8 +1714,8 @@ HtmlTokenId HTMLParser::FilterPRE( HtmlTokenId nToken ) case HtmlTokenId::EMPHASIS_ON: case HtmlTokenId::EMPHASIS_OFF: - case HtmlTokenId::CITIATION_ON: - case HtmlTokenId::CITIATION_OFF: + case HtmlTokenId::CITATION_ON: + case HtmlTokenId::CITATION_OFF: case HtmlTokenId::STRONG_ON: case HtmlTokenId::STRONG_OFF: case HtmlTokenId::CODE_ON: |