diff options
author | Simon Chenery <simon_chenery@yahoo.com> | 2025-02-23 11:02:10 +0100 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2025-03-12 01:41:16 +0100 |
commit | 7b9e27da2033192c628b23e4e1686209e951dadb (patch) | |
tree | 93a9ad55f32c176ff4a6f20df61f23f096455c23 /cppunit/inc/cppunit/stringhelper.hxx | |
parent | 0176752f6d9431d3b0b1e3c3d81acb2a8dca8fe0 (diff) |
tdf#147021 avoid use of SAL_N_ELEMENTS macro
HEADmaster
Refactor getMathMLEntity() to use std::string_view
and OUString for string handling, so that there is less
string conversion when calling this function.
Use std::find_if to find formula in array instead of a loop.
Change-Id: I0ed98d33e62f6bc730ac750f4fd545d2f07145fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182065
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'cppunit/inc/cppunit/stringhelper.hxx')
0 files changed, 0 insertions, 0 deletions