Commit graph

2758 commits

Author SHA1 Message Date
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
August Sodora
ad5bc7a1ec String->OUString 2012-01-16 11:37:34 -05:00
August Sodora
0ced88ad44 Remove unused enum SbLanguageMode 2012-01-16 11:37:34 -05:00
August Sodora
2a3d61a0be Remove unused enum SbTextType 2012-01-16 11:37:34 -05:00
August Sodora
a29901ae32 Remove unused struct SbTextPortion 2012-01-16 11:37:34 -05:00
August Sodora
64c8a11cc5 Remove unnecessary using declaration 2012-01-16 11:37:33 -05:00
August Sodora
746b39e4d1 Remove uses of pLine in scanner 2012-01-15 23:30:30 -05:00
David Tardon
d54349233f remove useless misleading macros 2012-01-15 20:27:18 +01:00
David Tardon
09f8d4f75a WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:17 +01:00
August Sodora
ed68d602f5 Comment out test that current fails on 64-bit systems 2012-01-14 19:21:01 -05:00
August Sodora
244382e62e Add tests for hex/octal numbers for basic scanner 2012-01-14 18:39:58 -05:00
August Sodora
944140ae44 Remove uses of pLine in scanner 2012-01-14 18:39:58 -05:00
August Sodora
e4d6dfae33 Remove use of pLine in scanner 2012-01-14 18:39:57 -05:00
August Sodora
679a8e1cfd Remove use of pLine in scanner 2012-01-14 18:39:57 -05:00
August Sodora
440a7c9b92 SV_DECL_PTRARR_DEL->boost::ptr_vector 2012-01-14 15:13:05 -05:00
Caolán McNamara
26712ff5a6 WaE: d shadows another d 2012-01-13 09:06:00 +00:00
Caolán McNamara
629cd5caad callcatcher: update list 2012-01-10 10:09:29 +00:00
Caolán McNamara
45b19123a6 simplify CharClass
multiple variants of toUpper (etc)
some that take a non-const OUString or String and modify it
some that take a const OUString or String and return a new one
some that take part of a const OUString or String and return a new one
2012-01-09 13:28:37 +00:00
Noel Power
9df90559d4 restore special DATE handling code for SbxValue::Compute
restore code that seemed to be erroneously moved as part of the currency enhancement feature
2012-01-09 13:12:38 +00:00
August Sodora
28f16e4c25 Only set bSpaces once here 2012-01-09 00:54:30 -05:00
August Sodora
ed5b6ace89 Remove use of pLine in scanner 2012-01-09 00:54:30 -05:00
August Sodora
c3259776aa Prefer prefix increment 2012-01-09 00:54:30 -05:00
August Sodora
dd7eeed27d Remove uses of pLine in scanner 2012-01-08 11:48:08 -05:00
August Sodora
d3a52bd7b3 scanner cleanup for consistency 2012-01-07 18:33:32 -05:00
August Sodora
1e04280bce Refactor readLine in scanner 2012-01-07 18:33:31 -05:00
August Sodora
db1faf4868 Remove unused class SttResId 2012-01-07 18:33:31 -05:00
August Sodora
809438ad92 Remove unused code 2012-01-07 17:47:06 -05:00
August Sodora
e0cf30f54a Remove unused code 2012-01-07 17:47:05 -05:00
Marcel Metz
5845c5b6ec Removed unnecessary tools/link.hxx includes. 2012-01-06 23:55:50 +01:00
Caolán McNamara
2d3203b2db make ReadUniOrByteString return a string 2012-01-06 09:52:42 +00:00
August Sodora
25e84ee959 fdo#44172: Basic function VAL produces bad result 2012-01-05 14:46:09 -05:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00