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 /jvmfwk | |
parent | NB Draw: add tabbedbar initial release (diff) | |
download | core-df1d4bd528027c60bcab2f2e0a87303610fad326.tar.gz core-df1d4bd528027c60bcab2f2e0a87303610fad326.zip |
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 'jvmfwk')
0 files changed, 0 insertions, 0 deletions