Commit Graph

407 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
8eb5db8997 replace sxub_Unicode by sal_Unicode
Change-Id: Icf4b434a1961cc4964ee6e362491868e898a1831
Reviewed-on: https://gerrit.libreoffice.org/887
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-19 10:55:56 +00:00
af4df7ac08 fdo#48257 collect function prototypes from basic/ into single header file
Change-Id: I1666e64b2b611054e1a713a76575e2f06781f80a
2012-10-04 10:35:48 +01:00
b854de954f deprecate oustringostreaminserter.hxx
the intent of this header has canged over time. now it is already
systematically included with ustring.hxx and the operator overload it
provide fit nicely there...

Just to be safe, since that include as been added to the api during the
3.5 timeframe and therefore is already in 'production'
the header remain and simply attempt to include ustring.hxx
but a warning is issued indicating that this header should not be used
anymore... in a couple of major release we will thenr emove it completely

All internal users of that header are converted.

Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad
Reviewed-on: https://gerrit.libreoffice.org/634
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18 10:10:06 +00:00
cfa6f85242 sal_Bool to bool
Change-Id: Iebed1c159606ab695b049032da5a3509e468fb91
2012-09-05 10:40:17 +09:00
911e412b87 sal_Bool to bool
Change-Id: I96fe31c80f952b1ac6d25c65431597d81e0fdda3
2012-08-24 12:58:56 +09:00
407509c058 sal_Bool to bool
Change-Id: I75dd089b34c94831bfdfd0e02585af7609013a08
2012-08-22 19:25:08 +09:00
0c89907c83 Remove dead code
Change-Id: Ib5e794495b542ed96b5424d1aec38c4dd60ae182
2012-08-22 19:25:08 +09:00
1817cf60d1 sal_Bool to bool
Change-Id: I61a6675df622232923a827fc20bf121dd03cd7da
2012-08-12 09:16:58 +09:00
aac04652fd String::AllocBuffer replacements
Change-Id: I278cd66fb4819721bb473796c28598aaf04eb123
2012-08-07 16:14:45 +01:00
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
6a45bc96f9 very suspicious combination of used SbxValues and unused aRes
Looks like a regression from 4d949990ef1438fcae98262519c6af2b47e5ccf5 where for
every other case we did...

-    XubString aRes;
+    ::rtl::OUString aRes;
     aTmp.eType = SbxSTRING;
-    aTmp.pString = &aRes;
+    aTmp.pOUString = &aRes;

while for this case we did only...

     SbxValues aTmp;
     XubString aRes;
     aTmp.eType = SbxSTRING;
-    aTmp.pString = &aRes;

Change-Id: I106cfbcc0fc0b27a9adcbb243d0d69c65b167005
2012-07-20 16:26:47 +01:00
bfe1aa0e79 XubString->rtl::OUString
Change-Id: I584ff580e3c8eee401f07c858ecbd63e5b0bf980
2012-07-20 16:26:47 +01:00
5ac018f9e3 WaE: basic compile snafu 2012-07-18 09:29:20 +01: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
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +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
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
d9a00ace2c tidy some resource strings
Change-Id: I611a276d048121084ec842d062129e042f3baea5
2012-06-26 13:34:03 +01:00
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
06e2005ed8 convert LocaleDataWrapper to OUString
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
2012-06-18 15:13:51 +01:00
6191fa0847 reduce use of UniString ctor from null-terminated unicodearray
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-13 11:20:23 +01:00
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
7465f5e604 extract ImpGetIntntlSep() into sbxconv.hxx and reuse it 2012-04-13 02:18:05 +09:00
3f82d94bdc String::CreateFromInt32->rtl::OUString::valueOf 2012-04-10 12:49:48 +01:00
55a4020907 remove ToDouble/ToFloat 2012-03-20 12:57:34 +00:00
f150208ca8 these Links either shouldn't be links, or shouldn't exist 2012-03-08 12:02:36 +00:00
c5bf9b10b9 Remove unused SbxMemoryStream 2012-03-05 23:03:34 +02:00
b344c30ab4 Sprinkle more DISABLE_SCRIPTING ifdefs 2012-03-05 22:30:12 +02:00
8d4fe3ed1f Convert SbxFactory from SV_DECL_PTRARR_DEL to boost::ptr_vector 2012-03-05 12:57:08 +02:00
86ffa60647 Get rid of CREATEVERSIONRESMGR[_NAME] 2012-02-23 17:05:10 +01:00
aafcf8c84c Remove unused code 2012-02-20 11:49:35 +00:00
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
a62395237e WaE: moaning about unintialized variables 2012-02-15 13:01:00 +00:00
72e04abea5 remove sunpro 5.0 handling 2012-02-14 17:45:26 +01:00
9fedf7bcfa Removed unused define and extern 2012-01-29 01:17:26 +09:00
9cd7d08b4a SvDispatch class doesn't exist anymore 2012-01-27 12:59:47 +00:00
16d803021f WaE: possibly uninitialized 2012-01-26 22:35:41 +00:00
bb51e8e72b Deleting a null pointer is safe 2012-01-26 03:03:08 +09:00
52bb216897 tweak the ifdefs to clarify the unused SbxDecimal methods 2012-01-25 15:38:54 +00:00
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
35b5cc9522 Fix SvStream::operator>> problem that showed up with the Android gcc 4.4.3 2012-01-19 16:20:12 +02:00
553b72ac78 fdo#39428 Remove/audit SvStream operator>>/<<(long)
Changed case SbxSALINT64: to use operator>>(sal_Int64)
2012-01-18 22:56:13 -05:00
9eef1e2961 fix Date 'operation' Date foobar
Post commit 9df90559d40f029479c4481e31f88737b70742f6 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
09f8d4f75a WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:17 +01:00
440a7c9b92 SV_DECL_PTRARR_DEL->boost::ptr_vector 2012-01-14 15:13:05 -05:00
26712ff5a6 WaE: d shadows another d 2012-01-13 09:06:00 +00:00
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
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00