Age | Commit message (Collapse) | Author |
|
Convert code like
aStr.compareToAscii("XXX") == 0
to
aStr.equalsAscii("XXX")
which is both easier to read and faster.
Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
|
|
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
|
|
Change-Id: Icbed4f318043a166ed78fe0c49a53f87ebf7201d
|
|
Change-Id: I06c97b99a55d8b291ea31e6a751ced01b0b80e23
|
|
...and remove remaining unused content of sfx2/source/inc/referers.hxx.
Change-Id: I5c533f63e13da930f6944af0e85d4b061c30e5b0
|
|
Change-Id: Ia6f3cb21977095df45a176db2bf68f508c70191c
|
|
Convert code like:
if( aStr == OUString("xxxx") )
to this:
if( aStr == "xxxx" )
Change-Id: I8d201f048477731eff590fb988259ef0935c080c
|
|
Change code like this:
aStr = OUString("xxxx");
into this:
aStr = "xxxx";
Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
|
|
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
|
|
... before calling Reschedule().
Change-Id: I244fdd1a4642ea0e1ad266f6d9c4c56527018952
|
|
Change-Id: Id2e00e0b0363c58c88585dd15f34156e57a7aaac
|
|
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
|
|
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
|
|
As we have it globally in sal/types.h those are not necessary.
Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
|
|
Conflicts:
sw/source/ui/inc/content.hxx
Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6
Reviewed-on: https://gerrit.libreoffice.org/6388
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
|
|
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
|
|
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
|
|
Change-Id: I52717d85269dd1802b942ba19f5710b9e469faf1
|
|
Change-Id: Ic2afa7e60da57c5b516a043f717dea21a3cf0d55
|
|
Change-Id: I4f2342776467594f3512af624a653a9b827a0afe
|
|
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
|
|
Change-Id: I73aabeff7d28ef3526d18188c6fab2e0bc2529d7
|
|
Change-Id: I703d08f4c1080e5c5afaab9652ea2c18b4f365f1
|
|
Change-Id: I548eec1fdcc862b76361c56724667f2d9f6e0950
|
|
Change-Id: Iac6d103afb5d6ed3f59e589ec174f6aad253a0aa
|
|
Change-Id: Id416a7bcb3ac3ea5354f6f7b5ec3daa1dc742f8d
|
|
Change-Id: I52bd479bd40031acc2742b93ab77420f26070b59
|
|
Change-Id: I93796237cb953445e42fde5822ad51bc3edcce10
|
|
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
|
|
Change-Id: Ib84cee7dbb493387760ce68c25ec442bf0a4a121
|
|
Change-Id: Iaec23e1d240f675a04b52cd251c4cb2a1242bb44
|
|
Change-Id: I88dee4ae25ac57a78b72fa020b76e0d9b7709b31
|
|
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
|
|
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions.
Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT.
Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
|
|
Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
|
|
Change-Id: I6dcf91491497cd9d3662adaeceb73b4b544a56c9
|
|
Change-Id: I7f730d4f5329525eda9f78514dcaa3788149d077
|
|
Change-Id: Iafa6b5f213d37093e7e46065c9264c7bb7fae377
|
|
Change-Id: I233d067b3fcb93c80ab3c458b19b4f60680fe84b
|
|
This removes nearly all ToLowerAscii() calls.
Conflicts:
linguistic/source/convdic.cxx
linguistic/source/convdiclist.cxx
linguistic/source/dlistimp.cxx
sc/source/filter/html/htmlexp.cxx
Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd
Reviewed-on: https://gerrit.libreoffice.org/5895
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
|
|
Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X,
where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so
most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK-
related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And
GeneratedPackage needed to be made more flexible, to allow for packages that go
into either of those two places.)
For Android and iOS, gb_INSTROOT probably still needs to be set.
The most obvious missing thing yet to make instdir work for Mac OS X is the
instdir/*/LibreOffice.app/Contents/ure/ vs.
instdir/*/LibreOffice.app/Contents/ure-link/ split.
Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
|
|
I thought SAL_WARN_IF etc worked in such a way that any variables used
in the condition would be "used" from the compiler's point of view,
even in an optimising build case where SAL_DETAIL_ENABLE_LOG_WARN is
false and SAL_WARN_IF should optimise away?
Change-Id: I728e1eeb8559e1299abf403afceb0e2748d08857
|
|
...merged in via d02f75a8c36705924ddd6a5921fe3012fafce812 "Resolves: #i121420#
merge sidebar feature," but apparently already unused in the original AOO
commit.
Change-Id: I12e4ff05769d95a847881934eab6da722bb1950e
|
|
Change-Id: I577aa609179cdb83124b004ff9ef5aa2123e1e5b
|
|
Change-Id: Id563e644356a9265ded66cf08a711078c804ac84
|
|
Change-Id: If73a84a09ad54072e1251ed2db8aacc307ff32d2
|
|
Change-Id: I076eef8069e848ec3cf9c69f1b489ad44586324e
|
|
Change-Id: Ic8f3b11fac527bfe8d6643be758c85bf53e496ef
|
|
Change-Id: I71937debf674ff11173d7d8fa5aa43dc12234ce6
|