diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2018-08-04 20:10:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-06 15:00:37 +0200 |
commit | df1d4bd528027c60bcab2f2e0a87303610fad326 (patch) | |
tree | 2764688c376bed313da5974757e594fb91054867 /sd/qa/unit/export-tests.cxx | |
parent | d027b4ae533d5b8d7b00f5e1b8351b8c9e203085 (diff) |
ScCompiler::IsString, pass down the string length if we know it
instead of making the constructor first perform strlen (normally for the
second time).
And drop an unnecessary if (.. > MAXSTRLEN) which is impossible to hit,
since we check that before adding to this array.
Change-Id: I8ef2e027fb4a22e06be81e8b5955350869599d85
Reviewed-on: https://gerrit.libreoffice.org/58597
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/qa/unit/export-tests.cxx')
0 files changed, 0 insertions, 0 deletions