Age | Commit message (Collapse) | Author |
|
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: I01fddeeca503ebc045c2f0e53c5917e6218e9d6e
|
|
Change-Id: I5740a22f0d768b9b1d7449f54b859bcb40401367
|
|
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: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
|
|
The result of osl_getCurrentSecurity () should always be deleted again
with osl_freeSecurityHandle ().
Change-Id: If0991937fcb24207d1f78166f61c4be22d423629
Reviewed-on: https://gerrit.libreoffice.org/4947
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
Change-Id: If801818c2efc8cdec651ff259243075abac41d20
Reviewed-on: https://gerrit.libreoffice.org/4497
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
|
|
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
|
|
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
|
|
Change-Id: I9103f86a5b8414c9cdf5fd3a2d662725343f0ed8
|
|
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
|
|
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
|
|
Just as a test to check the usefulness of that tool. It needs some improvement
before really usable.
Change-Id: I875e79c1992ed5f3b695736b0d49938ad0ba2d55
|
|
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.
Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
|
|
|
|
Change-Id: I4cd76fb5bb3187a9a25e9a73556c8ee3be1a5361
|
|
osl::semaphore was not portable & thusly long-deprecated. Also
killing further unused clients of that code in salhelper.
Change-Id: Ie1c1924e06e8ce3be33fd1dc2c6933f2de8b5217
|
|
Change-Id: Ia63e27ec40a66c52b52292549ea03899c1b3801e
|
|
|
|
Patch contributed by Herbert Duerr:
#i118662# remove berkeleyDB from module xmlhelp (author=orwitt)
http://svn.apache.org/viewvc?view=revision&revision=1213188
#i119141# remove ISCII converter for now
http://svn.apache.org/viewvc?view=revision&revision=1306246
make exceptions for cppunittester verbose
http://svn.apache.org/viewvc?view=revision&revision=1174831
Patches contributed by Pedro Giffuni:
Avoid some uses of non portable #!/bin/bash in shell scripts.
http://svn.apache.org/viewvc?view=revision&revision=1235297
Patch contributed by Oliver-Rainer Wittmann
88652: applied patch, remove unicows deps
http://svn.apache.org/viewvc?view=revision&revision=1177585
drop OS/2 code, remove in-line assembler ARM atomics,
and obsolete armarch header.
|
|
This reverts commit 8c015fbb85f00fe1cc82e00ea1771ad9fba821d2.
Conflicts:
sal/osl/unx/file_url.cxx
sal/osl/unx/makefile.mk
sal/prj/build.lst
sal/qa/osl/getsystempathfromfileurl/test-getsystempathfromfileurl.cxx
|
|
Change-Id: Ib5e606283d3d37c38e9729c79c4531807a1419d3
|
|
Change-Id: I4f3a51e1fd3ddca9442022a7134306fbf32e13ae
|
|
Change-Id: I020149a3073d8479887d108465cf5d3b727588d7
|
|
Change-Id: Ib98c4d608f15980449a6949615a38cd8a436012f
|
|
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
|
|
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
|
|
Change-Id: I78c71b22816834c66c8283e3d85e357b7b8d2836
|
|
Change-Id: I4f9649ca61c988d425b59e41549d1c46bb808f2c
|
|
Some of them were commented out for documentation purpose.
Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
|
|
|
|
Most of them in hrc files.
Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
|
|
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
|
|
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
|
|
Change-Id: I145731d9f28faf0065f5960f2c5a32f27d8c8620
|
|
Change-Id: I2c166c63e9d2ab7d60bb404f643045678ef239a2
|
|
Change-Id: I368b9538e3c2e6242fcdcabb4f8c716e17b02d88
|
|
|
|
|
|
sal/qa/rtl_strings/rtl_old_testostring.cxx contains some German comments still
but the code itself uses test strings in German. When the test strings appear
in the comments, they were left unchanged to maintain consistency.
Mark Wolf
|
|
It looks like this one is also meant to be called manually or something,
and the original version didn't skip the first argument either.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|