Age | Commit message (Collapse) | Author |
|
Change-Id: I30fe491d8257affb994083ae312d9663ef7a28e9
|
|
Change-Id: Iea5084bd1c5765197e5dcf379637a780e52f42bd
|
|
Change-Id: Ie7e08f25741772f657a71369483917d989a05537
|
|
Change-Id: Iad6023d9d16b10001bb8493dea483e655fc8519c
|
|
(cherry picked from commit ce2260c549c1cafadd1182e4e7155b18ab44e771)
|
|
convert for loops using xub_StrLen to use sal_Int32
Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
|
|
Change-Id: I5b8e08bad3d83b6df23127377c0700fcd27ff084
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
aeb41c9b9b7559c6d87bf92807acdc0df9e104cc
(remove redundant calls to OUString constructor)
introduced:
error: variable 'sComposedName' is uninitialized when used within its own initialization
Change-Id: I846337da43625d1cdbd33f0705499daa0c419894
|
|
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
|
|
Change-Id: Ie28a1e8765ab9ff6eb345198d6ea223e25429e11
|
|
Change-Id: I66a1005c3f6bcad448ed2c162a8399c7c32ad78e
|
|
for Windows build after my change in
commit e2451bd729d0f1d795a5b689deba65bc4e9d92c6
"Convert indexOf->startsWith and lastIndexOf->endsWith"
Change-Id: I9397f1310742cdd773a7d2d3c5f0dbe728041d2d
|
|
Change-Id: Ic69b8763da2933159b55a243c7aed4a8ce557183
|
|
after commit e2451bd729d0f1d795a5b689deba65bc4e9d92c6
"Convert indexOf->startsWith and lastIndexOf->endsWith"
Change-Id: I19c0e33e318cbf4be90d60bcbb83bc5de4336190
|
|
Not just a warning, but clearly an accidental editing error.
Change-Id: Ib708b1de774d56d6c4b144c4e10e280f8181b67b
|
|
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
|
|
Both winnls.h (included via windows.h) and mozilla nsCharTraits.h
define macro IS_HIGH_SURROGATE/IS_LOW_SURROGATE; it turns out that
the nsEmbedAPI.h that drags in winodws.h is apparently unused.
Change-Id: If5189c58dc1fe3a508a360a270337f97333e0ce8
|
|
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
|
|
So there is no need to do this locally, too.
Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec
|
|
Change-Id: I317f83e8aca7f61148385763bc1f0a78a84530d8
|
|
Change-Id: I5cabe21a2d675773792f9c9d5130d8660718efe8
|
|
Change-Id: Iae71aab4cd68592fa6e5a7d55468e442e6d94385
Reviewed-on: https://gerrit.libreoffice.org/6451
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
|
|
As opposed to NULL object. Else, callers that do a UNO_QUERY_THROW get unexpected results.
Change-Id: Ie9dd157eed03031ba04ed59c363a45e246bbb001
|
|
Change-Id: Id361ac34f400922893f6a906e4345eed2be1b2d2
|
|
Change-Id: I0b571a9fe719c4f18f89638eb62434dd0813bd01
|
|
Change-Id: I0317252e17b0ddadc5e4a1bebb0c7b21963d57fe
|
|
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>
|
|
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: I9d25a58f22095689eccc0ac444c163d1e9bee69f
Reviewed-on: https://gerrit.libreoffice.org/6364
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
This reverts commit b89fb0d03ead22f023f367c9a9d046d3d41ba1cf.
It was intended for stble branch only; in master, we let the
incompatible change go through, but we have introduced a
work-around to get the old behaviour again.
|
|
as opposed to a bit
Change-Id: Ife1c8cef5ca1266e161da3a9190e744dd70ec2fd
|
|
Change-Id: If28046653935051303fd487d87655bacbddf4644
|
|
This matches what OO.org / older versions of LibreOffice did, and which was inadvertently changed in 2bd856e6
Reviewed-on: https://gerrit.libreoffice.org/6275
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Conflicts:
connectivity/source/commontools/FValue.cxx
Change-Id: I1d45ea975a096c599a996caafc41e4aa06d35fcd
|
|
Change-Id: I8becffd0c2f12c17495872a99192c7679380d05f
|
|
Change-Id: If088cd33c19bccddbf145a44d19bf37adf638f3b
|
|
Change-Id: Ifd0953f779f530af6b190425794f009a891f0afb
|
|
Change-Id: Ia6fbde0521d503c3d774ebd265097804d375ed3b
|
|
since that is what the conversion in the other direction recognises.
It also recognises the "true"/"false" written by LibreOffice versions affected by fdo#68657
Change-Id: I213c23a19e4857905da93eeb2be1b9714215594a
|
|
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
|
|
Change-Id: Idef7344e215e9b58e1449fbf71f8a64d0000f8c3
|
|
Change-Id: I885b4c7a60ff51d44138c4f8a56a584c38a9804a
Reviewed-on: https://gerrit.libreoffice.org/6172
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: Ie3614d86e27aab67cfe68bea76de30b775173fb3
|
|
Change-Id: I5a8516a6cf4bd71cea2be916d5a7fcfb16b4e749
Reviewed-on: https://gerrit.libreoffice.org/6020
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: I3ad7139190758e86cadebf9555a838dbaddbbf3e
|
|
Change-Id: Ic55d1a8b14ec0355a6289007d954e89cd41c7486
|
|
Change-Id: I6c6b9452014940e09f8f4b7466c5a5f562c9fff5
|
|
Change-Id: Ic4edbbc0bf74887ab9624e4551b54ecbe3538108
|