Age | Commit message (Collapse) | Author |
|
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
|
|
|
|
This reverts commit dd47994722eaead16099145e593fbf878072d52b.
|
|
Change-Id: I1151dafcef91abdb2ce08abe3547a49fe3f4a67c
Reviewed-on: https://gerrit.libreoffice.org/3509
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
Change-Id: I9103f86a5b8414c9cdf5fd3a2d662725343f0ed8
|
|
Since we no longer support the old Apple SDK using gcc-4.0.1, we can
remove the cruft to work around its problems. Woohoo.
Change-Id: Idf275e76449443f1f0314e75dab993f213a77eb7
|
|
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
|
|
Change-Id: I1c5b66888baac8aa1bc99c06579e0ef3638a4877
|
|
Change-Id: I3a41036ec03cdaefea94b19dbedf59e5a5e37dc8
|
|
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html
Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
|
|
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>
|
|
Change-Id: I47b35af71277fdda19767a553c960bf12164b92f
|
|
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
|
|
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
|
|
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
|
|
Change-Id: Ibf82038c15c9ecf6de502bae1dd21e2393cafe09
|
|
Just as a test to check the usefulness of that tool. It needs some improvement
before really usable.
Change-Id: I875e79c1992ed5f3b695736b0d49938ad0ba2d55
|
|
Change-Id: I8d55d5ae5ae38ae2b252859b5400e36301f19ef0
|
|
Change-Id: I103ca7d72e6bae6c20605719451579dd156504ce
|
|
...instead of sal_Bool; this would cause C4800 performance warnings with MSVC,
but we disable them anyway.
Also, added unit tests that are actually executed.
Change-Id: Ib405132565918be72d93b3fc24180edcb6e565c7
|
|
valueOf(?) has been superseded by number(?).
O(U)String::valueOf(sal_Bool) has been deprecated without providing an
alternative method. Use boolean() method as a replacement for it.
Change-Id: I7eb74574fa8f1a3cf007cb0cbc32e681007ffb92
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
And remove some unneeded ones (the float actually didn't have
the necessary precision on 32bit anyway).
Change-Id: I52dd387fd319dd6a5b44333a71d012ebaaecbf18
|
|
...that had once been workarounds for compilers that did not yet support the
C++98 scoping rules for declarations in for-init-statements.
Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
|
|
Change-Id: I3961ec27d23915b038c3a803dc71e7d937ca331c
|
|
API CHANGE: Adds new methods (several overloads)
OString::number()
OUString::number()
and marks all of the existing fromValue() methods as deprecated.
The purpose of this change is to clean up call sites
by hiding the necessary casts.
The casts are necessary because of overload resolution rules which are
somewhat vague about which methods to choose when using integer types.
See mailing list discussion here:
http://nabble.documentfoundation.org/replacing-OUString-valueOf-static-cast-lt-sal-Int32-gt-td4027989.html
Subject: "replacing OUString::valueOf(static_cast<sal_Int32>) ??"
Change-Id: Id3d150a6525eb0334e41e2ec6640bb06cd790b43
Reviewed-on: https://gerrit.libreoffice.org/1625
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
|
|
My self-built 4.0.1 on Linux handles this fine, but 4.0.1 is not used
for LO building except for MacOSX. This specific operand combination
is rather unlikely, so this shouldn't actually cause any problem
in practice, hopefully, but I'd still like to check this where possible.
|
|
'long')
|
|
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: Id5ca706aa3fd1831990db2310933c6b94ca376cb
|
|
|
|
Change-Id: I096b1232427ad6996e0b2cfafc9ba38386e19208
|
|
Change-Id: I5891efcec7db373407a661636108fd979839db52
|
|
Not much point in building a string instance that will be copied elsewhere immediatelly.
Change-Id: I38b7d3696f2c619e6424eb3959b00cd2c7738c47
|
|
Ensure there will be enough extra space in a string, to be used for string
appending. A bit like rtl_(u)String_newConcat(), but without the function
actually appending anything. Unlike the stringbuffer variant this does
not allocate any extra.
Change-Id: Ic6f84bf014a713f9912c81d8f1405c593978822d
|
|
Change-Id: I223a9088a3465a51ea44ef28ac604f3d864f933c
|
|
Change-Id: I40a4aa2239736a081a94b04c2f510866be5ac54c
|
|
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: Ice9c6974f44be3bc4c9b3533de2a9beb5b146ca5
|
|
It's better to detect corner cases this way rather than get possibly
incorrect results. And strlen() should be easy to optimize out
for string literals.
Change-Id: Id762e256207668a0cbefe4e13d5f2067f373e783
|
|
Operator+ now, instead of requiring O(U)String operands and returning
another O(U)String object, keeps a track of the whole concatenation
operation using temporary O(U)StringConcat objects and performs
the whole operation only at the very end.
Change-Id: I94b3348300a137498514d26e96459c1698328520
|
|
Change-Id: Ia8b2ac25d3949508b132d1b0b05e5384633d935f
|
|
It's invalid, so the additional ambiguity here doesn't matter, but I'd
still prefer to check that it remains invalid.
Change-Id: Ie05d393ad7f51738383bb98b911938506abd64fc
|
|
Change-Id: I9f9e072c0a7ebde2de9be811f2378143b2b7abc6
Reviewed-on: https://gerrit.libreoffice.org/1209
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
|
|
... damn language tags breaking builds left and right ...
Change-Id: I73224cb3fb2bb98779fdcace700cad2a4fb7cd0e
|
|
Change-Id: I3f4a09c82df1bc71759331705c502320f973d4bb
|
|
Change-Id: I40005ef4fad4d44314ec2fb2881fec82e926970e
|
|
this time with support for the multi-byte encodings possible
in ISCII
Change-Id: I1dc09e8836676ab614b531e8dc10f91a90b7c4fd
|