| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
seeing as no-one checks the return value, we don't need
the intermediate temporary string
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
...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.
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove SvStrings definition and obsolete #defines.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* SvNumberFormatter::IsNumberFormat() ISO 8601 date input results in
yyyy-mm-dd format if no other date format was set.
* SvNumberFormatter::GetInputLineString() preserves ISO 8601 date format for
editing if such was set.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* New offapi com.sun.star.configuration entities to access the complete
configuration read-only or read/write...
* ...configmgr adapted to support those new services/singletons...
* ...new unotools/configuration.hxx is the type-safe C++ plumbing on top of
that...
* ...officecfg now generates C++ headers to access all the properties and sets
given in the .xcs files...
* ...and svl's asiancfg.cxx exemplarily makes use of the new
officecfg/Office/Common.hxx to access the configuration.
* There is still TODOs: For one, see those listed in
officecfg/registry/cppheader.xsl. For another, at least a notification
mechanism for the new read-only configuration access and the C++ wrapper is
missing.
|
|
|
|
|
| |
The slideshow uses the UNO API to access the drawing objects,
so add a property to get the temp file URL from the media object.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|