summaryrefslogtreecommitdiffstats
path: root/svl
Commit message (Collapse)AuthorAgeFilesLines
* gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan2012-03-104-9/+9
|
* Convert from tools/table.hxx to std::map in SvxMacroTableDtorNoel Grandin2012-03-082-72/+98
| | | | | | | | | In this case, we also convert from storing pointers to storing the items directly because SvxMacroTableDtor completely controls the lifecycle of the SvxMacro objects it contains. Also add an operator== to SvxMacroTableDtor and remove the out-of-line implementations of equals from two other places.
* String to OUString in cell.[ch]xx and follow upMarkus Mohrhard2012-03-052-0/+54
|
* fixed crashes due to transition from Table to std::mapEike Rathke2012-02-281-3/+3
| | | | | | | | | | Old code used Table Seek/Next followed by GetCurKey() that returned -1 (or some such? anyway) if after the last element, comparing with another key. Replacement code did not check for valid iterators. Crash happened when changing the locale within the number formatter and obtaining the default currency format. May also have happened when changing the default locale and documents using a number formatter were open.
* SfxStyleSheet needs a default ctorCaolán McNamara2012-02-282-43/+30
| | | | | | due to use of ImplInheritanceHelper2 SfxStyleSheet needs a default ctor, though its never called. rearrange things a little so we can have an empty ctor without pulling in a bunch of code which is never executed
* remove dangling legacy binary-compatible between-milestons temp hack nonsenseCaolán McNamara2012-02-281-2/+0
|
* SfxItemPool: replace deque with vector for SfxPoolItem arrayMichael Stahl2012-02-271-1/+1
| | | | | Yields measurable speedup on load/store of large documents, wonder where the equivalent patch i committed long time ago to OOo went...
* Removed unused codeSzabolcs Dezsi2012-02-272-30/+0
|
* drop UniString::CreateFromInt64Caolán McNamara2012-02-272-3/+3
|
* Get rid of CREATEVERSIONRESMGR[_NAME]Stephan Bergmann2012-02-231-1/+1
|
* OUString ctor for string literals without RTL_CONSTASCII stuffLuboš Luňák2012-02-221-2/+2
| | | | http://lists.freedesktop.org/archives/libreoffice/2012-February/025662.html
* gb_JunitTest_JunitTest takes only one argumentStephan Bergmann2012-02-201-1/+1
|
* Remove unused codePetr Vorel2012-02-192-10/+0
|
* Remove unused codeElton Chung2012-02-192-81/+0
|
* Removed unused code from svl and sfx2Szabolcs Dezsi2012-02-174-74/+0
|
* EasyHack 42790: get rid of PRODUCTLaurent Balland-Poirier2012-02-171-3/+3
| | | | Preprocessor constant PRODUCT is replaced by !DBG_UTIL
* callcatcher: update unused code listCaolán McNamara2012-02-162-8/+8
|
* Use RTL_CONSTASCII_STRINGPARAM instead of bare numberTakeshi Abe2012-02-161-2/+2
|
* Remove some more outdated sunpro tracesThomas Arnhold2012-02-141-7/+0
| | | | | | | On Solaris gcc should be used. See: 514cefbcb7b800f8ddd2aa595502f4fe8403882f 19480ddf483174e956bd658b76380dbe499678dd
* EasyHack: Removed gcc conditionalsAlexander Bergmann2012-02-131-2/+2
|
* WaE: NULL vs 0 with mingwCaolán McNamara2012-02-132-6/+6
|
* fix windows build, String::GetTokenCount is goneCaolán McNamara2012-02-131-1/+1
|
* fdo#39491 more of unnecessary include pathsMatúš Kukan2012-02-103-3/+0
|
* fdo#39491 remove nonexistent include pathsMatúš Kukan2012-02-102-2/+0
|
* fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan2012-02-103-3/+0
|
* Replaced String by rtl::OUString in SvxMacroTakeshi Abe2012-02-092-21/+18
|
* changes to "tools/table.hxx to std::map conversion"Eike Rathke2012-02-083-81/+76
| | | | | | | | | | | | | | | | | | * 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
* tools/table.hxx to std::map conversion in SV, SVL and SVX modulesNoel Grandin2012-02-084-149/+154
| | | | | This patch converts one use of tools/table.hxx in svl/inc/svl/zforlist.hxx, whose use in turn spans 3 modules.
* update unused listCaolán McNamara2012-02-082-5/+1
|
* Reintroduce MSVC workaroundStephan Bergmann2012-02-072-0/+5
| | | | | ...originally introduced with 02abccf953185f266979aafd946f5b96c5d59875 but erroneously purged with 9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c.
* Have SfxItemSet::HasItem take an optional pointer-to-pointer.Kohei Yoshida2012-02-072-5/+5
| | | | To make it clear that the second argument is optional.
* Perhaps it will help to set the pointer to NULL when the item is not set.Kohei Yoshida2012-02-061-1/+4
|
* I think it's time we had a real method for this...Kohei Yoshida2012-02-062-0/+7
| | | | | | This helps eliminate dozens of IS_AVAILABLE macros scattered across Calc code. I'm sure we have other similar macros like this elsewhere.
* switch to include-based build rather than sourced-based buildNorbert Thiebaud2012-02-051-35/+2
|
* Remove unused codeElton Chung2012-02-0512-61/+0
|
* Fixed cppcheck messages about rethrowing copy of exception.PKEuS2012-02-051-2/+2
|
* Some cppcheck cleaningJulien Nabet2012-02-051-2/+2
|
* Replaced String by rtl::OUStringTakeshi Abe2012-02-032-40/+41
|
* Simplify code by making getProcessComponentContext() implicit.Stephan Bergmann2012-01-311-3/+3
|
* Move unotools/configuration.hxx to comphelperStephan Bergmann2012-01-311-3/+3
| | | | ...so that other code in comphelper can use it.
* fdo#44981 - remove obsolete SWAPLONG macrosNoel Grandin2012-01-301-9/+4
|
* make svl ByteString freeCaolán McNamara2012-01-303-12/+8
|
* Do not move nCurUndoAction < 0.Stephan Bergmann2012-01-271-1/+4
| | | | (Could easily happen when max undo steps is set to 1.)
* can't see the point of calling String::Erase before delete StringCaolán McNamara2012-01-231-7/+3
|
* Removed NfCurrencyEntry::ApplyVariableInformation().Mariusz Dykierek2012-01-232-12/+0
|
* Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann2012-01-2125-176/+125
| | | | | | | | | 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.
* svl: add new test to subsequenttestsMichael Stahl2012-01-201-0/+1
|
* fdo#39428 Remove/audit SvStream operator>>/<<(long)Keith McRae2012-01-182-6/+8
| | | | | Replaced calls to operator<<(long) with sal::static_int_cast<sal_Int32> Replaced calls to operator>>(long) with operator>>(sal_Int32)
* remove unused codeThomas Arnhold2012-01-182-67/+0
|
* Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz2012-01-175-14/+14
|