Commit Graph

170 Commits

Author SHA1 Message Date
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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
2013-04-07 14:23:11 +02:00
e36a3f91ce -Werror=unused-macros
Change-Id: Ic44d85b0180612d499beec35e944402becd181a7
2013-03-27 14:07:53 +01:00
37d2588844 Remove RTL_CONSTASCII_(U)STRINGPARAM in tools
Change-Id: Id97070321ad6b20f349896d3b4e1ae51cc82ece7
Reviewed-on: https://gerrit.libreoffice.org/2769
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-16 17:12:27 +00:00
7d1f4cdec3 fdo#38838: Converting String/UniString to OUString
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9
Reviewed-on: https://gerrit.libreoffice.org/2586
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11 15:50:44 +00:00
63b0ce97ba fdo#38838 searched, replaced and removed String::CreateFromInt32().
I ran the following code replace:
    s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/

And finally removed String::CreateFromInt32().

Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5
Reviewed-on: https://gerrit.libreoffice.org/2279
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-24 12:59:02 +00:00
0d5644bbe9 UniString::Fill -> OUStringBuffer::padToLength
none of these strings starts out before "Fill" longer than the size they are
asked to be filled to so there are no trailing unfilled bits to consider

all of which means that we can get rid of UniString::Fill now

Change-Id: I8da21e9787017da9243a2c1d7118d3fbcca2a7fb
2012-12-17 09:35:24 +00:00
55b3794950 callcatcher: update unused code list
Change-Id: Ie975cd2df17461de1bb94a23d4daf081f6588fe7
2012-12-14 11:37:22 +00:00
c94b9c4866 tools String support for fast operator+
Change-Id: I13f49a49f86a7097fce115d62271ad82609036f1
2012-12-03 18:04:24 +01:00
0dd085f8f3 UniString->rtl::OUStringBuffer
Change-Id: I9938d7c4ab5594baeb10f405f0aa0964ef84d6c5
2012-10-28 23:09:32 +00:00
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
9cadf9bdf3 fdo#39468: Translated German comments in core/tools/source
Change-Id: I28ec097a70a8d71312d9e8382c3cf71a1eabde88
2012-08-19 21:26:59 +02:00
42352dff5a removed ascii-art and blank lines in tools/source
Change-Id: I3f95d12a8c325c96c586253b5d9bb7dce24c0858
2012-08-18 18:33:50 +02:00
db95e0b759 move UniString::GetQuotedToken to sc, you can keep it
Change-Id: I6bc724186d9d701316e3e945d877bfaa88ac120d
2012-08-07 16:14:45 +01:00
d4b172b819 strip down UniString some more
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
2012-08-02 08:55:53 +01:00
535e83550e re-base on ALv2 code. Includes:
Avoid some uses of non portable #!/bin/bash in shell scripts.
    Patch contributed by Pedro Giffuni
    http://svn.apache.org/viewvc?view=revision&revision=1235297
    remove redundant namespace, patch contributed Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1162610
    removal of OS/2 port changes, and preferring our similiar
    tools/inc/tools/solar.h DLLPOSTFIX cleanup.
    i118595 - Removal of the use of getopt() from rscdep.
    Patch contributed by Andre Fische
    http://svn.apache.org/viewvc?view=revision&revision=1202270
2012-07-11 18:12:35 +01:00
5218c0d6a8 UniString(const rtl::OString ...) no longer implemented
Change-Id: Ie4fc4ed1a54889c1745a0d71d02211d6868340fa
2012-07-05 21:39:45 +01:00
7439a9b714 rework UniString::CreateFromInt32 in terms of rtl::OUString::valueOf
Change-Id: Ib875b22f4e74796a0d8b38998b9c80ebf0e59455
2012-06-28 13:53:35 +01:00
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
24aa9c16b8 Remove superfluous include comments
Change-Id: Id738692aab2043755eb8f051dd8ab9e13051553a
2012-06-09 05:54:42 +02:00
e2cd6a77ea drop String::Reverse
Change-Id: Ie06635dc1f242241d48f9d6de4f592898e605bf2
2012-06-06 14:38:42 +01:00
8a0685d49f make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-30 11:22:09 +01:00
55a4020907 remove ToDouble/ToFloat 2012-03-20 12:57:34 +00:00
bdfba4dbf6 make ResId->OUString the primary route 2012-03-20 12:57:33 +00:00
906e35f80a merge GetString variants 2012-02-27 09:45:58 +00:00
b36d555440 drop UniString::CreateFromInt64 2012-02-27 09:45:57 +00:00
0e2c1fa763 ByteString is no more 2012-02-27 09:45:56 +00:00
67f67509ff lock in ByteString gains 2012-02-23 15:58:52 +00:00
48649cdfb8 lock in those ByteString gains so there's no back-sliding 2012-02-15 11:06:48 +00:00
3b4786b6b7 callcatcher: regenerate list 2012-02-13 11:02:46 +00:00
bbc94edb9a refactor ConvertLineEnd 2012-01-30 13:18:38 +00:00
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
f356303302 strip ByteClass down some more 2011-12-14 13:40:07 +00:00
5f7649aead remove include of pch header from tools 2011-11-27 13:25:56 -06:00
89f057a09d ditch dbg_dump 2011-11-24 15:29:52 +00:00
56d168cc59 strip down old string class some more 2011-11-24 15:29:52 +00:00
ca02d72808 remove [Byte]String::EraseAllChars 2011-11-19 21:11:02 +00:00
53abf4dc1c ByteString->rtl::OString[Buffer] 2011-09-20 16:54:55 +01:00
c5a994a89d oops not yet 2011-09-19 09:59:26 +01:00
d953f02bc8 remove ByteString::Assign(sal_Char) 2011-09-19 09:59:25 +01:00
2b7fdc51dc shrink ByteString api 2011-09-19 09:59:24 +01:00
5d73752cc7 rework this in terms of read_uInt8s_AsOString 2011-09-19 09:59:20 +01:00
f20bafad82 ditch ByteString::Expand 2011-09-17 23:20:46 +01:00
2bee9847ec ditch ByteString::Fill 2011-09-15 11:23:39 +01:00
4a3db11077 ImplUpdateStringFromUniString is now dangling 2011-09-14 09:54:09 +01:00
0f4ca3860d toolsin.hxx can go now 2011-09-13 17:29:39 +01:00
d1b38349da ImplDeleteCharTabData unneeded, as nothing created to delete, ditto SHL_TOOLS 2011-09-13 17:29:38 +01:00
f10a116b14 power up the chainsaw again 2011-09-13 16:02:05 +01:00
a558a8da56 can remove ByteString::Convert now 2011-09-13 10:15:23 +01:00
de82a40f84 callcatcher: drop various unused methods 2011-08-29 09:56:08 +01:00