Age | Commit message (Collapse) | Author |
|
...which has the necessary features to support it.
Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.
cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.
Includes a patch for libcmis, intended to be upstreamed.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
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
|
|
|
|
Yields measurable speedup on load/store of large documents, wonder where
the equivalent patch i committed long time ago to OOo went...
|
|
|
|
|
|
|
|
http://lists.freedesktop.org/archives/libreoffice/2012-February/025662.html
|
|
|
|
|
|
|
|
|
|
Preprocessor constant PRODUCT is replaced by !DBG_UTIL
|
|
|
|
|
|
On Solaris gcc should be used. See:
514cefbcb7b800f8ddd2aa595502f4fe8403882f
19480ddf483174e956bd658b76380dbe499678dd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
This patch converts one use of tools/table.hxx in
svl/inc/svl/zforlist.hxx, whose use in turn spans 3 modules.
|
|
|
|
...originally introduced with 02abccf953185f266979aafd946f5b96c5d59875 but
erroneously purged with 9c2f7056a82c4d7719715ca1c77f8dd4c17aa24c.
|
|
To make it clear that the second argument is optional.
|
|
|
|
This helps eliminate dozens of IS_AVAILABLE macros scattered across
Calc code. I'm sure we have other similar macros like this
elsewhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...so that other code in comphelper can use it.
|
|
|
|
|
|
(Could easily happen when max undo steps is set to 1.)
|
|
|
|
|
|
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.
|