summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2012-02-09Replaced String by rtl::OUString in SvxMacroTakeshi Abe
2012-02-08changes to "tools/table.hxx to std::map conversion"Eike Rathke
* use consistent indenting with 4 spaces (instead of tabs (plus one space)) * use erase(it++) instead of erase(it); ++it to not access invalidated iterator * for First(); Remove(); Next() loops over entire Table use map::clear() at the end if it isn't in a dtor * use existing typedef SvNumberFormatTable in numfmtsh.hxx instead of redefining, which means include zforlist.hxx now and some other forward declarations can be removed * removed inlined duplicated code of GetEntry(), implemented it in zforlist.cxx instead and made const GetFormatEntry() just call GetEntry() * removed the temporary sal_uIntPtr nFormat to be used as key, the sal_uIntPtr was only used because Table effectively had pointer size as keys. * made initial assignments of nDefaultFormat and nDefaultCurrencyFormat use the ternary conditional operator
2012-02-08tools/table.hxx to std::map conversion in SV, SVL and SVX modulesNoel Grandin
This patch converts one use of tools/table.hxx in svl/inc/svl/zforlist.hxx, whose use in turn spans 3 modules.
2012-02-08update unused listCaolán McNamara
2012-02-07Reintroduce MSVC workaroundStephan Bergmann
...originally introduced with 02abccf953185f266979aafd946f5b96c5d59875 but erroneously purged with 9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c.
2012-02-07Have SfxItemSet::HasItem take an optional pointer-to-pointer.Kohei Yoshida
To make it clear that the second argument is optional.
2012-02-06Perhaps it will help to set the pointer to NULL when the item is not set.Kohei Yoshida
2012-02-06I think it's time we had a real method for this...Kohei Yoshida
This helps eliminate dozens of IS_AVAILABLE macros scattered across Calc code. I'm sure we have other similar macros like this elsewhere.
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud
2012-02-05Remove unused codeElton Chung
2012-02-05Fixed cppcheck messages about rethrowing copy of exception.PKEuS
2012-02-05Some cppcheck cleaningJulien Nabet
2012-02-03Replaced String by rtl::OUStringTakeshi Abe
2012-01-31Simplify code by making getProcessComponentContext() implicit.Stephan Bergmann
2012-01-31Move unotools/configuration.hxx to comphelperStephan Bergmann
...so that other code in comphelper can use it.
2012-01-30fdo#44981 - remove obsolete SWAPLONG macrosNoel Grandin
2012-01-30make svl ByteString freeCaolán McNamara
2012-01-27Do not move nCurUndoAction < 0.Stephan Bergmann
(Could easily happen when max undo steps is set to 1.)
2012-01-23can't see the point of calling String::Erase before delete StringCaolán McNamara
2012-01-23Removed NfCurrencyEntry::ApplyVariableInformation().Mariusz Dykierek
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
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-20svl: add new test to subsequenttestsMichael Stahl
2012-01-18fdo#39428 Remove/audit SvStream operator>>/<<(long)Keith McRae
Replaced calls to operator<<(long) with sal::static_int_cast<sal_Int32> Replaced calls to operator>>(long) with operator>>(sal_Int32)
2012-01-18remove unused codeThomas Arnhold
2012-01-17Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz
2012-01-17a can't-happen-but-do-it-correct-anyway one character fixEike Rathke
2012-01-17Make test code compile on Mac OS X.Stephan Bergmann
2012-01-17Disable CppunitTest_svl_urihelper for now due to bad dependencies.Stephan Bergmann
2012-01-17Adapted svl test_URIHelper to gbuild.Stephan Bergmann
2012-01-16Replaced DBG_ERRORFILE with SAL_INFO.Marcel Metz
2012-01-14Remove SvStringsDtorAugust Sodora
2012-01-13use INCLUDE instead of SOLARINC, and after local includesEike Rathke
2012-01-13Fix for fdo43460 Part XXXVI getLength() to isEmpty()Olivier Hallot
Part XXXVI Modules svl
2012-01-11Remove SvStringISortAugust Sodora
2012-01-11fdo#44636 use date acceptance patterns in number scannerEike Rathke
Get rid of the lax "any 1-2 possible date separators used with 2-3 numbers forms a date" date recognition. Use locale data's DateAcceptancePattern elements to match against, or ISO 8601 yyyy-mm-dd, or an already applied date format.
2012-01-11lower date acceptance with only two numbersEike Rathke
2012-01-11strict date recognition using locale's separator and ISO 8601Eike Rathke
- Removed separators '-', '.' and '/' working in all combinations in all locales forcing a date even for 23/12.99 (if locale has DMY order) * Only the locale's date separator is accepted, plus '-' if the input may represent an ISO 8601 date yyyy-mm-dd, check is lax though on minimum digits, y-m-d is also accepted. * Additionally, accept yy-month-dd or dd-month-yy with month name. Year must be <1 or >31, 2-digit year magic for values 0,32..99 is applied, or has to be prefixed with leading zero.
2012-01-11accept and display years < 100Eike Rathke
+ Years < 100 without being hit by the 2 digits year magic can be entered by preceding them with a leading 0 if at least 3 digits are present, e.g. 099-1-1 is year 99, not 1999. + Years < 100 in an yyyy format are always displayed as 0099.
2012-01-10Remove _SVSTDARR_STRINGSISORTDTORAugust Sodora
2012-01-10simplify LocalFileHelper::ConvertURLToPhysicalNameCaolán McNamara
2012-01-09toLower->lowercaseCaolán McNamara
2012-01-09simplify CharClassCaolán McNamara
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-07Remove superfluous _ZFORLIST_DECLARE_TABLE definition.Marcel Metz
2012-01-06Removed unnecessary tools/debug.hxx includes.Marcel Metz
2012-01-06make ReadUniOrByteString return a stringCaolán McNamara
2012-01-05getPropertyMap can return a reference instead of a pointerCaolán McNamara
2012-01-05Translated German commentsChristina Rossmanith
2012-01-05removed unused #define_SVSTDARR_sal_uI(n)t16S(SORT)Christina Rossmanith
2012-01-06catch exception by constant referenceTakeshi Abe
2012-01-05Removed unnecessary tools includes.Marcel Metz