Age | Commit message (Collapse) | Author |
|
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
|
|
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
|
|
This is both an optimisation and a cleanup.
This converts code like
aStr.indexOf("XX") == 0
to
aStr.startsWith("XX")
and converts code like
aStr.lastIndexOf("XXX") == aStr.getLength() - 3
to
aStr.endsWith("XXX")
Note that in general
aStr.lastIndexOf("X") == aStr.getLength() - 1
converts to
aStr.isEmpty() || aStr.endsWith("X")
so I used the surrounding context to determine if aStr could be empty
when modifying the code.
Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
|
|
So there is no need to do this locally, too.
Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec
|
|
Convert places that call
aStr[aStr.getLength()-1] == 'x'
to use the shorter form
aStr.endsWith("x")
Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
|
|
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
|
|
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
|
|
Change-Id: Ic14565414637a6d08aee94ad183dd852eb7875f0
|
|
...so it can easily be reused to test unoidl-write, too.
Change-Id: I4992850b44faaa152bcf1d281f2787824d6ad036
|
|
Change-Id: I861b85ac38a2881ff4b993047c1a15335308ba62
|
|
a bit of guesswork here I admit
Change-Id: I774da6f585e4b81a25660b7823d6bb150630f44f
|
|
Remove an odd {1} repeat count, and remove the "."{DIGIT}+ pattern that is
already covered by the following {DIGIT}*"."{DIGIT}+ pattern.
Change-Id: If99dfe10a5e37225355472bf4deceb34c0a92eb9
|
|
Change-Id: Id28fb53a98ff164cd14f8f9dcb4ebee7a71bfd1e
|
|
Change-Id: Ief0109289c6dc70b51193fa5f4432efe2b48c3fb
|
|
(note: object is of type 'AstTypeDef'); Clang -fsanitize=undefined
Change-Id: I1b11a7678f18557c8040af2118c1c0101913f086
|
|
(note: object is of type 'AstDeclaration'); Clang -fsanitize=undefined
Change-Id: I08eef7d3e8b298abd16b0c6d72cfb72b75190cd5
|
|
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
|
|
Change-Id: I78ba286be5aa4d731f734e5eb16adb77c686aad9
Reviewed-on: https://gerrit.libreoffice.org/4325
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
|
|
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
lets try this hack, if it fails revert and I'll just
manually update the baseline with a newer flex than
flex-2.5.4a-41.fc6
Change-Id: If644489e80fc4e4cdba97808af0fe4d544d08646
|
|
|
|
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
|
|
|
|
Change-Id: I728b162e21a7a2c02cb76af110cc0a01a762fdbd
|
|
Change-Id: Ib97f667c9acb644c3becb81f851ad8c7e4ff31ea
|
|
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
|
|
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
|
|
...does not make sense. Adapted some old-style services accordingly, where the
inherited service had been changed to new-style after the fact.
Change-Id: I5f3e4ddf99160778a319062a6c84f83529ff177b
|
|
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
|
|
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
|
|
...replacing hard-coded GCC version checks. Those checks that guard
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
appear relevant only for GCC itself, not Clang (which used to fail the old
guards because it typically announces itself with a rather low
__GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3
"Enable -Wnon-virtual-dtor for GCC 4.6"
Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
|
|
Change-Id: I3748d0034b2c8e9d9122ad2a9001763eb1265e1d
|
|
Change-Id: I7a5087b2ac89ee2839f0e0d8450efc7fca1dd68b
|
|
Change-Id: I54d1b22859bd4f0a1e68ce79ed2ce4d7fbeb5107
|
|
Change-Id: I6b735ca48bd996c71ad6c6103e68af2cd2890d98
|
|
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
|
|
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms
Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Done with a perl regex:
s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms
Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
|
|
Now we build only what we really need for 'build' platform - there is
new build-tools make target.
The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk.
Also similar is done to some extent for 'host' platform using
gb_Module_add_targets_for_build which is ignored for 'host'.
Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2
|
|
Change-Id: I52eb4153c3396be88b72cab3b7899f0c6ab18103
|
|
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments.
All other instances of the misspelling have remained the same.
Example: AF_REMOVEABLE
Change-Id: I391f4101bbc3e06689318235a37d616065bc1686
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
|
|
Change-Id: Id7b5e421f8ff9d6db923a1fb01b1071f75a6842d
|
|
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
|
|
Change-Id: I099171d85a51095f0ff6d592c1260d931f9769b2
|
|
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
|
|
Change-Id: I13f2f1d38b99a5eb1d10f40c524894e37a47f7e2
|
|
Change-Id: Ie169ac426d6de107025023dae987cbce6179007f
|
|
Change-Id: I49ffee7c1e65d8e79865e5b596d18111e0c64279
|