Commit Graph

166 Commits

Author SHA1 Message Date
af452fda33 fix more warning C4804 unsafe use of type bool
... from commit bbf1bcd9ad9cc0368aef4a4de41e9538f6ad91b0

Change-Id: Ic8e52f6848e09a274133f2d8fd1c4044cae4b039
2012-11-08 18:54:01 +01:00
27239ad230 basic: String -> OUString
Change-Id: I42479b4bade5111e38d69f04c889c166f340d5ba
2012-11-07 02:14:53 -06:00
99ddd57693 Fix .Len -> getLength
Change-Id: Ibe3e97a6fa59098b9234e4aae04118abc4e37eea
2012-11-04 11:12:48 +01: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
bbf1bcd9ad basic: String -> OUString in basicmanager
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
2012-11-03 20:24:26 -05:00
ee582e991a Missing #include
Change-Id: I63e68bd37b46f339d09d97a6bf6edfeaa6a7df1d
2012-10-29 23:07:24 +01: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
f88c4a5bc1 dung out namespacing clutter.
Change-Id: I14794ca0cd2a8ea84ba41e1dc689503647696e3a
2012-09-17 16:30:45 +01:00
00b7328732 sal_Bool to bool
Change-Id: Ie8a128db35bebcdcee5eda984a7875339418d9bb
2012-09-07 09:57:39 +09:00
24391f6057 Some clean up of previous commit
Change-Id: I14097acf09e9663af7d7abc5f0c9d481880ecc51
2012-09-05 14:56:19 +02:00
1c7a54e3a1 fdo#46808, Adapt frame::ModuleManager UNO service to new style
Create a merged XModuleManager2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Explicitly document the XNameReplace interface in the IDL, which
is already implemented by the service, since there is code currently using it.

Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-05 14:56:19 +02:00
9e2f8b9ec2 Fix typo ImpLoadLibary
Change-Id: I773678437aae6577f22078e97bcac1377c4307d8
Reviewed-on: https://gerrit.libreoffice.org/495
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-08-28 19:53:36 +00:00
71c1de8f01 Remove unused member variable
Its reference through IsFoundInPath() was dropped at 4c3f33d8d54756d3988c4d4c848712b31027f919

Change-Id: I764808d8a59089a05eccedd297a61aa6e76b01e0
2012-08-28 00:20:47 +09:00
6ce769a1ad Remove useless member variable
Its usage was died at ac25ae2544969f57b0c3d51a7ee9e3eb047a8915

Change-Id: Ic98a0c36ceb02259b4f3b890f5ea701e56adbb68
2012-08-28 00:20:47 +09:00
0d5d4bacb2 Remove unused member variable
its usefulness was gone at ac25ae2544969f57b0c3d51a7ee9e3eb047a8915

Change-Id: I606cd4adb6dc92cc6d981e1da7ce3ecf2160c28e
2012-08-17 09:49:44 +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
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
ba23ece286 probably the last uses of the one argument String::CreateFromAscii variant
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
2012-06-28 13:53:36 +01:00
9bf2d51927 callcatcher: chainsaw out some unnecessary code
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-15 15:41:13 +01:00
fd58025dc7 Fix eleven year old typo
No idea if it has actually caused any uninteded behaviour, or if this
fix now then causes something to break.
2012-04-24 12:22:10 +03:00
a9bad6b8f9 made the search straightforward 2012-04-13 02:18:05 +09:00
3f82d94bdc String::CreateFromInt32->rtl::OUString::valueOf 2012-04-10 12:49:48 +01:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
99ff0ab0b2 Remove unused code from basic 2012-03-05 18:54:28 +02:00
c91f279e7e Revert "Build libsb with a few dummy classes also for --disable-scripting"
Nah, these dummy classes would turn out quite complex anyway. Better
to just use ifdefs elsewhere, the number required is not that large.

This reverts commit 6d33801b4498f5c13d2dc75588f88c22a11f455b.
2012-03-05 02:05:24 +02:00
6d33801b44 Build libsb with a few dummy classes also for --disable-scripting
Work in progress, the dummy class implementations surely still
incomplete and/or might contain methods not actually needed. More
dummy class implementations needed, hopefully not too many
though. Will add also a few ifdefs for DISABLE_SCRIPTING in some key
places in sc and elsewhere to cut down on the need.
2012-03-01 01:26:18 +02:00
761f502083 can use a reference for singleton 2012-02-13 11:02:46 +00:00
da39d1443c use TransliterationWrapper in lcl_queryMacro, fdo#45607 2012-02-10 22:59:45 +01:00
6ffc885952 Unused define 2012-01-20 17:50:49 -05:00
c6bf2fa2b2 Remove unused typedef 2012-01-20 17:50:49 -05:00
81605eaafa Replace BasicErrorManager with std::vector 2012-01-20 15:21:37 -05:00
629cd5caad callcatcher: update list 2012-01-10 10:09:29 +00:00
2d3203b2db make ReadUniOrByteString return a string 2012-01-06 09:52:42 +00:00
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
5c24789ca3 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 13:44:52 +00:00
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
2011-12-21 10:29:33 +00:00
d00fc0e293 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 10:10:58 +00:00
91d4fe75ee Fix for fdo43460 Part III getLength to isEmpty
Part III
Module
basic
2011-12-10 21:13:58 +04:00
2ca38d3c7c rmove include of pch header in basic 2011-11-27 12:55:59 -06:00
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
8b11173f34 Translated German comments, removed redundant ones till cairo (incl.) 2011-08-31 16:29:43 +03:00
e1a1091d0a catch ignored exceptions by const reference 2011-08-24 11:30:17 +09:00
53f4837b92 callcatcher: various methods 2011-08-22 09:39:17 +01:00
f418927e6f cppcheck: fix possible null pointer dereference 2011-08-12 23:53:36 +09:00
7292948992 callcatcher: yet more unused code 2011-08-11 11:10:38 +01:00
a5a1e65efe don't need to include this here 2011-08-05 15:57:20 +01:00
db1b7178dd callcatcher: unused methods 2011-08-05 10:02:57 +01:00
4c3f33d8d5 callcatcher: remove unused methods 2011-08-03 10:47:36 +01:00