summaryrefslogtreecommitdiff
path: root/oox/README.vars
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-15 14:22:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-04-19 08:31:03 +0200
commit075ae953e3e673dedcb74d693e516a07b0bebca2 (patch)
treedde770d6842a198662f235b1b3de16188da19296 /oox/README.vars
parentb3066bc55830e3fff93dbc68f666c5b961c051c7 (diff)
Fix two string matches to not include the trailing NULs
...which had apparently been broken ever since they got introduced with 399fb822ef81bd2440da8ab48cc2028a6b44d5b7 "swunolocking1: #i105557#: fix locking for SwXDocumentIndex". (The first mis-use of sizeof had already been silently fixed with 46ce0d28b4c765076c7871358375c4e85e44534b "loplugin:stringliteralvar look for assignments". And we can now use the OUString::match overloads that take const char arrays, instead of using OUString::matchAsciiL, and simplify the first one even further to use OUString::startsWith.) Change-Id: I1e7975f29e225bae74ed0c2d447e541fa47bd954 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114146 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox/README.vars')
0 files changed, 0 insertions, 0 deletions