Commit Graph

353 Commits

Author SHA1 Message Date
27239ad230 basic: String -> OUString
Change-Id: I42479b4bade5111e38d69f04c889c166f340d5ba
2012-11-07 02:14:53 -06:00
d92814f462 basic: preliminary cosmetic clean-up
parsing 1000s of line of code is hard enough without having to fight
with weird indentation and irregular formatting.

So as the review progress, in order to follow the code, cosmetic changes
were made...

In order to minimize the task of the reviewers and allow them to
concentrate on what matter, an effort is made to collect these
cosmetic changes into this separate commit.

Change-Id: I3c9b04a0150d0d0a048c2e976fe24de4f2b6b98a
2012-11-03 20:24:28 -05:00
38968e2963 WaE [loplugin]: statement alignment
Change-Id: Ia09c74e02d261de5946e6d7e0530a7913e0bcb8d
2012-10-10 14:59:24 +03:00
407509c058 sal_Bool to bool
Change-Id: I75dd089b34c94831bfdfd0e02585af7609013a08
2012-08-22 19:25:08 +09:00
a8647dd030 sal_Bool to bool
Change-Id: I427e9bb30cab4698a2495de7445a4a4982abd7b4
2012-08-20 09:47:25 +09:00
38f3fe0432 sal_Bool to bool
Change-Id: I6206ee7e17e12388ea644123e180842df3e3a7ee
2012-08-19 17:55:27 +09:00
1f224b02c8 sal_Bool to bool
Change-Id: Idb5ef3cebdd45bd91f7c0ae34e422fd651d395c9
2012-08-14 07:37:19 +09:00
533194a6b3 bErrors was always true
Change-Id: I193029e1fb2434161679498fa0ba7e1c7c0ab3ba
2012-08-12 09:16:59 +09:00
1817cf60d1 sal_Bool to bool
Change-Id: I61a6675df622232923a827fc20bf121dd03cd7da
2012-08-12 09:16:58 +09:00
2eb40e3cec Remove a member variable no one reads
Change-Id: Iacb037bebaf1c3d77ab61be6342b42319b8a2e7b
2012-08-09 22:33:03 +09:00
df579b1f66 Fix "Boolean result is used in bitwise operation"
Change-Id: Ifed0d87da3ac5bd19a0285f1074f2eeec5717f05
2012-08-06 16:45:47 +02:00
621145a777 sal_Bool -> bool
Change-Id: I49749f327d6a9c3661ef9bd684647e0a45b9203a
2012-08-03 10:29:31 +09:00
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
9e0cbe5eb3 some pesky XubStrings
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-29 11:20:32 +01:00
ba23ece286 probably the last uses of the one argument String::CreateFromAscii variant
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
2012-06-28 13:53:36 +01:00
2110397670 Convert SV_DECL_PTRARR_DEL(SbiSymbols) to std::vector
For reasons I don't understand, the compiler would get uncopy
if I tried to declare the destructor in the header file.

Change-Id: I67fa7941da2f0ee08ae10bf350fb1f3bf1397410
2012-06-12 23:25:11 +02:00
7d042c50f5 use rtl_ustr_getLength instead of a temporary string just to find length
Change-Id: Ibbf777e57af6b98611cb5dce5a31517de80305b7
2012-06-12 13:35:49 +01:00
bc069413e5 WaE: return SYMBOL -> return true
has been return SYMBOL since initial checkin in 2000,
SYMBOL is a non-0 enum so return true here instead
2012-04-24 15:44:37 +01:00
634b211632 allow keyword Append to be used as a variable. bnc#745930
statements like
  Dim AppEnd As Integer
will generate compiler errors because Append is a special symbol/keyword in libreoffice basic. This restriction though is too strict because 'Append' is only such a keyword when used within the 'Open' statement ( where it refers to one of the possible values for a paramater ).
2012-02-21 12:26:29 +00:00
aafcf8c84c Remove unused code 2012-02-20 11:49:35 +00:00
08c475bb24 callcatcher: update unused code list 2012-02-16 10:26:03 +00:00
ebba94a957 Replaced String by rtl::OUString 2012-02-13 23:44:24 +09:00
3b4786b6b7 callcatcher: regenerate list 2012-02-13 11:02:46 +00:00
849a2471bd update unused list 2012-02-08 09:12:27 +00:00
2cae4ff166 callcatcher: update list, ByteString is on the ropes 2012-02-08 09:12:27 +00:00
5833c182ed callcatcher: update list 2012-02-01 11:13:44 +00:00
6073c31fe8 Replaced String by rtl::OUString in SbiScanner 2012-01-31 02:29:23 +09:00
746b39e4d1 Remove uses of pLine in scanner 2012-01-15 23:30:30 -05:00
d54349233f remove useless misleading macros 2012-01-15 20:27:18 +01:00
944140ae44 Remove uses of pLine in scanner 2012-01-14 18:39:58 -05:00
e4d6dfae33 Remove use of pLine in scanner 2012-01-14 18:39:57 -05:00
679a8e1cfd Remove use of pLine in scanner 2012-01-14 18:39:57 -05:00
28f16e4c25 Only set bSpaces once here 2012-01-09 00:54:30 -05:00
ed5b6ace89 Remove use of pLine in scanner 2012-01-09 00:54:30 -05:00
c3259776aa Prefer prefix increment 2012-01-09 00:54:30 -05:00
dd7eeed27d Remove uses of pLine in scanner 2012-01-08 11:48:08 -05:00
d3a52bd7b3 scanner cleanup for consistency 2012-01-07 18:33:32 -05:00
1e04280bce Refactor readLine in scanner 2012-01-07 18:33:31 -05:00
809438ad92 Remove unused code 2012-01-07 17:47:06 -05:00
e0cf30f54a Remove unused code 2012-01-07 17:47:05 -05:00
90ca7d9e24 callcatcher: remove newly unused code 2011-12-13 10:11:44 +00:00
5258afdc70 bUsedForHilite always false 2011-12-13 10:11:43 +00:00
e008580f65 SbiTokenizer::Hilite unused 2011-12-13 10:11:43 +00:00
c64efb1dd5 Remove unused code 2011-12-10 19:18:51 -05:00
87ec1f8857 callcatcher: remove unused code post automation removal 2011-12-09 13:57:16 +00:00
971bf1aa4c Use sal_Int32 in all these places 2011-12-05 17:42:26 -05:00
40be618fb3 Refactor scanAlphanumeric 2011-12-04 22:13:24 -05:00
0bcc6c93b8 Use appropriate datatypes here too 2011-12-04 18:09:07 -05:00