Commit graph

2790 commits

Author SHA1 Message Date
Thomas Arnhold
48bfb52d71 expand and remove NS_* macro 2012-02-21 14:02:45 +01:00
Noel Power
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
Petr Vorel
aafcf8c84c Remove unused code 2012-02-20 11:49:35 +00:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Caolán McNamara
08c475bb24 callcatcher: update unused code list 2012-02-16 10:26:03 +00:00
Caolán McNamara
a62395237e WaE: moaning about unintialized variables 2012-02-15 13:01:00 +00:00
Thomas Arnhold
72e04abea5 remove sunpro 5.0 handling 2012-02-14 17:45:26 +01:00
Takeshi Abe
ebba94a957 Replaced String by rtl::OUString 2012-02-13 23:44:24 +09:00
Caolán McNamara
3b4786b6b7 callcatcher: regenerate list 2012-02-13 11:02:46 +00:00
Caolán McNamara
761f502083 can use a reference for singleton 2012-02-13 11:02:46 +00:00
Markus Mohrhard
da39d1443c use TransliterationWrapper in lcl_queryMacro, fdo#45607 2012-02-10 22:59:45 +01:00
Markus Mohrhard
05d48fb71f add SbGlobal for shared static objects 2012-02-10 22:59:45 +01:00
Matúš Kukan
4b30ec9def fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC 2012-02-10 21:41:45 +01:00
Caolán McNamara
849a2471bd update unused list 2012-02-08 09:12:27 +00:00
Caolán McNamara
2cae4ff166 callcatcher: update list, ByteString is on the ropes 2012-02-08 09:12:27 +00:00
Josh Heidenreich
64e1ae0f55 Added READMEs for modules which used to be in libs-core 2012-02-08 06:37:16 +01:00
Takeshi Abe
254f372b01 Use defined utility BASIC_DLL()/BASIC_MOD() 2012-02-07 00:31:29 +09:00
Takeshi Abe
64c498ff17 Removed unused variables 2012-02-07 00:31:27 +09:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Jesús Corrius
7be0cc289d A few safe replacements of pathes->paths 2012-02-01 14:43:37 +01:00
Caolán McNamara
5833c182ed callcatcher: update list 2012-02-01 11:13:44 +00:00
Takeshi Abe
6073c31fe8 Replaced String by rtl::OUString in SbiScanner 2012-01-31 02:29:23 +09:00
Caolán McNamara
bbc94edb9a refactor ConvertLineEnd 2012-01-30 13:18:38 +00:00
Caolán McNamara
7ff0a5b0e4 callcatcher: remove unused NextChannel 2012-01-30 13:18:36 +00:00
Caolán McNamara
89dc836918 ByteString->rtl::OString 2012-01-30 13:18:34 +00:00
Takeshi Abe
9fedf7bcfa Removed unused define and extern 2012-01-29 01:17:26 +09:00
Takeshi Abe
b6ca3a8287 Use defined macro instead of magic number
This also added a missing READONLY entry
2012-01-29 01:17:26 +09:00
Tor Lillqvist
a925b72db3 Do deliver headers also for iOS even if we don't build the libs 2012-01-27 22:44:04 +02:00
Tor Lillqvist
81cf9f5099 Bypass building BASIC and scripting related modules for iOS
Any LO-based app distributed through the App Store can't have
scripting or extendability anyway.

Sure, this will break the build elsewhere because of missing headers.
No big deal, I will take care of that eventually. It isn't as if there
would anybody else building for iOS anyway, as far as I know. If there
is, please make yourself heard.
2012-01-27 22:43:58 +02:00
Caolán McNamara
9cd7d08b4a SvDispatch class doesn't exist anymore 2012-01-27 12:59:47 +00:00
Caolán McNamara
16d803021f WaE: possibly uninitialized 2012-01-26 22:35:41 +00:00
Takeshi Abe
bb51e8e72b Deleting a null pointer is safe 2012-01-26 03:03:08 +09:00
Caolán McNamara
52bb216897 tweak the ifdefs to clarify the unused SbxDecimal methods 2012-01-25 15:38:54 +00:00
Caolán McNamara
39e54d0480 move ugly WriteLines out of SvStream to beside sole user 2012-01-25 15:37:19 +00:00
Takeshi Abe
ebe3e061ac Removed unused field and non-existent class 2012-01-25 03:07:58 +09:00
Noel Power
68a55b7836 tweak treatment of '+/-' operators when dealing with Date types
Any '+' operation involving Date types results in a Date, '-' of a Date type results in a Date except if both LHS & RHS are Date(s)
2012-01-24 12:30:51 +00:00
Caolán McNamara
b1f74de031 ByteString->rtl::OString 2012-01-23 11:37:06 +00:00
Stephan Bergmann
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
August Sodora
9f1ee3e585 Remove useless macros 2012-01-20 20:47:53 -05:00
August Sodora
6ffc885952 Unused define 2012-01-20 17:50:49 -05:00
August Sodora
c6bf2fa2b2 Remove unused typedef 2012-01-20 17:50:49 -05:00
August Sodora
81605eaafa Replace BasicErrorManager with std::vector 2012-01-20 15:21:37 -05:00
Tor Lillqvist
35b5cc9522 Fix SvStream::operator>> problem that showed up with the Android gcc 4.4.3 2012-01-19 16:20:12 +02:00
Keith McRae
553b72ac78 fdo#39428 Remove/audit SvStream operator>>/<<(long)
Changed case SbxSALINT64: to use operator>>(sal_Int64)
2012-01-18 22:56:13 -05:00
August Sodora
9746244229 Remove unused macros 2012-01-17 17:45:31 -05:00
Noel Power
9eef1e2961 fix Date 'operation' Date foobar
Post commit 9df90559d4 we have problems where Date types are added and subtracted. In fact that commit makes a subset of numberic operation return the date type. This fix ensures that the Date type is only applied when processing '+' ( old behaviour broken by the commit above ) and '-' ( new behaviour for consistency ) If both LHS & RHS are Date types then the result of the operations in question return the Double type.
2012-01-17 10:17:33 +00:00
August Sodora
d9ce7a484f Remove unused SttResMgr from basic 2012-01-16 23:35:49 -05:00
August Sodora
4383bb532e Remove unused function 2012-01-16 23:35:49 -05:00
August Sodora
cd10d4e8a6 Remove SbErrorStack[Entry] 2012-01-16 20:47:40 -05:00
August Sodora
9a2859df2d Remove invalid friend declaration 2012-01-16 11:37:35 -05:00