Commit Graph
2472 Commits
Author SHA1 Message Date
August Sodora c64efb1dd5 Remove unused code 2011-12-10 19:18:51 -05:00
August Sodora 1274558acc Remove unused header 2011-12-10 18:51:59 -05:00
Olivier Hallot 91d4fe75ee Fix for fdo43460 Part III getLength to isEmpty
Part III
Module
basic
2011-12-10 21:13:58 +04:00
Caolán McNamara 87ec1f8857 callcatcher: remove unused code post automation removal 2011-12-09 13:57:16 +00:00
August Sodora 99ec322768 Remove archaic tests 2011-12-08 23:59:57 -05:00
Michael T. Whiteley dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
August Sodora a2eb0cf44b Remove testtool 2011-12-07 00:56:22 -05:00
August Sodora 971bf1aa4c Use sal_Int32 in all these places 2011-12-05 17:42:26 -05:00
August Sodora 40be618fb3 Refactor scanAlphanumeric 2011-12-04 22:13:24 -05:00
August Sodora 0bcc6c93b8 Use appropriate datatypes here too 2011-12-04 18:09:07 -05:00
August Sodora cc744ef568 Use sal_uInt16 here 2011-12-04 17:29:16 -05:00
Mike Whiteley 9f8d1f6b46 translated some comments from German to English 2011-12-04 07:56:51 +01:00
Eike Rathke 86adb5cacb get rid of class Date and Time default ctor with system time penalty 2011-12-01 21:04:29 +01:00
Caolán McNamara 625f1cd72e callcatcher: some unused methods 2011-11-29 10:35:13 +00:00
Takeshi Abe 3c795a953f removed dead code 2011-11-29 10:07:04 +09:00
August Sodora 13673b71bc Remove uses of OUString::setCharAt 2011-11-28 14:56:40 +01:00
Caolán McNamara 6f33482f8f ByteString->rtl::OUStringToOString 2011-11-28 09:55:03 +00:00
Norbert Thiebaud 2ca38d3c7c rmove include of pch header in basic 2011-11-27 12:55:59 -06:00
Lior Kaplan 736992fca6 Expend abbreviation of min/max, too close to last full stop 2011-11-26 14:37:56 +02:00
August Sodora 2de121e588 sal_Bool->bool 2011-11-26 00:16:58 -05:00
August Sodora 0e8ddddfd2 Change boost::ptr_vector to std::vector 2011-11-26 00:06:05 -05:00
mikew 7e9eda006b Fixed spelling: Spechial -> Special 2011-11-25 20:28:33 +00:00
mikew 5c76e221fe Some German to English comment translations. 2011-11-25 11:18:19 +00:00
David Tardon fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
Stephan Bergmann 0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
Takeshi Abe e2de4357f5 catch by const reference 2011-11-23 02:21:44 +09:00
Stephan Bergmann d6a8934eeb Remove no longer necessary "(void) x; // avoid warnings". 2011-11-22 17:03:12 +01:00
Stephan Bergmann 70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
August Sodora ee3ad385fb Convert to boost::ptr_vector 2011-11-20 23:44:21 -05:00
August Sodora 7fc462044e Remove unnecessary includes 2011-11-20 23:32:13 -05:00
August Sodora d71ffc855f Remove unnecessary includes 2011-11-20 23:26:31 -05:00
August Sodora 25ade2f357 Refactor BasicCharClass out from scanner and make it a singleton 2011-11-20 17:21:03 -05:00
August Sodora 7cc258f35b Refactor BasicCharClass out from scanner and make it a singleton 2011-11-20 17:16:35 -05:00
Caolán McNamara ca02d72808 remove [Byte]String::EraseAllChars 2011-11-19 21:11:02 +00:00
Eike Rathke 4b030331f7 add narrow (one letter) month names
While introducing Calendar2 and the XCalendar3 interface anyway, as well the
"one letter" narrow month names sometimes needed in calendaring can be added.
These are not always the first capitalized letters of the months in all
locales, and might even not necessarily be just one character.

Introduces a new struct css::i18n::Calendar2 that is not derived from
css::i18n::Calendar because it uses a new struct css::i18n::CalendarItem2 to
hold the NarrowName elements.

In locale data the elements DaysOfMonth, MonthsOfYear and GenitiveMonths now
have an optional element DefaultNarrowName. If not specified, the first
character of DefaultFullName is taken.

LocaleDataWrapper and CalendarWrapper use and return the new Calendar2 and
sequences of CalendarItem2 structs. Application code adapted.

The number formatter now displays narrow month names (genitive if applicable)
for the MMMMM code, previously it displayed the first 16 bit code point of the
full name (not even utf-16 aware).

Narrow day names currently are not used, except in svtools' Calendar control.
2011-11-19 16:15:22 +01:00
August Sodora edc4118e18 Fix scanning bug 2011-11-18 22:27:45 -05:00
August Sodora 76f4712c7d Remove uses of pLine in scanner 2011-11-18 21:40:39 -05:00
August Sodora 53a662f530 Refactoring in scanner 2011-11-18 21:40:39 -05:00
August Sodora 2edba12412 sal_Bool to bool 2011-11-18 01:53:30 -05:00
August Sodora c8f0503a1b Cleanup GetSuffixType in basic scanner 2011-11-18 01:20:36 -05:00
August Sodora f3098a52b9 Removed unused headers 2011-11-17 23:06:47 -05:00
Fridrich Štrba 1f2d0c83d0 Put back a method needed by Windows and reformat a bit 2011-11-15 13:19:24 +01:00
Julien Chaffraix e5f5167e84 FDO#39446 [EasyHack] Bloat Removal. Removing uncallable code with callcatcher
Removed most unused symbols in basic/. The remaining symbols (SdxDecimal) are
Windows specific and thus should be double-checked on a Windows machine prior
to removal.
2011-11-15 10:41:35 +00:00
Caolán McNamara f017740f50 StaticIsEnabledBroadcasting can only be true 2011-11-06 22:08:36 +00:00
Caolán McNamara 97f2f76452 callcatcher: update and remove some more unused methods 2011-11-06 22:08:36 +00:00
Ivan Timofeev 9b94d385f9 cppcheck: avoid possible null pointer dereferences 2011-11-04 23:01:17 +04:00
David Tardon 8ff1724924 these are files--no trailing / 2011-10-27 16:49:08 +02:00
Olivier Hallot a5d6dca3e9 Fix for fdo41997 continuation of VCL cleanup 2011-10-25 13:42:00 +01:00
Jan Holesovsky 548fc5db7c A small cleanup after the String -> OUString conversion. 2011-10-21 18:08:49 +02:00
August Sodora 556a61a2f8 Added Frac function to calc formulas and BASIC standard library 2011-10-21 15:10:13 +01:00