summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-05-06convert IMPL_FONT_ATTR constants to scoped enumNoel Grandin
Change-Id: I2b5986ea69dc09e6ba18b23a80029f6551b48152
2015-05-06convert CVC_ flags to scoped enumNoel Grandin
Change-Id: Iadc9b6240121e9fee91de299b94a9f8629656507
2015-05-06convert CONFIG_MODE constants to scoped enumNoel Grandin
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
2015-05-06Use typed ToolBox::SetDeactivateHdl LinkStephan Bergmann
Change-Id: Ia2521b000e962a0cc461a54f73b5c97bbe34a602
2015-05-06Use typed ToolBox::SetActivateHdl LinkStephan Bergmann
Change-Id: I15044bd9ea94562c1d4727f64aa0b32543e0cc0a
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05fdo#77985 make calc function NETWORKDAYS comply with ODFF1.2Winfried Donkers
Change-Id: I523b0c71bc0fed501a4d5fffd75c5a4704f6dd13 Reviewed-on: https://gerrit.libreoffice.org/9827 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-05-05vertically center toolbox/listboxesCaolán McNamara
Change-Id: I01270b85e019362e8343f4b097620620674f0443
2015-05-05Use new color selector in the toolbar for area fillsCaolán McNamara
Change-Id: I4da718620f4864c1c7742ecb9a0fcb8fc787f573
2015-05-05these are not used in this .hxxCaolán McNamara
Change-Id: I81bffed8f47849bb1289cdcef4fa10a332a1c86c
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05vcl: remove WIN32_TRANSPARENTMichael Stahl
Change-Id: I164106e89cf910c2f9fa6815b23f58ad6c6ee789
2015-05-05vcl: rename conflicting defintion of TRANSPARENT remove it from postwin.hMichael Stahl
Change-Id: I3b4e25c27593e3a61612a96baa2a4378542d151c
2015-05-05Avoid redefine of TRANSPARENT on solaris after including stream.hRichard PALO
Change-Id: I90611a4855320148f1d4b6e61a420ada47308c28 Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-05-05-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: Ibd9d3858f833c24f38f982a941353204d9aa9081
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05tdf#34555 add crop features to svxPhilippe Jung
Adds crop feature to SdrObject. In EndSdrDrag related to Crop, there is a new branch. If object is a regular SdrGrafObj (known inside svx), it is used. Else, a virtual method on the object is used. This enables to forward End of crop action to SwVirtFlyDrawObj objects (when you crop with handles in writer). Regarding writer, coordinates based on Twip/MM100 are used, not the matrix based one. This is part of a serie of 4 patches that adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) in all products (scalc, sdraw, simpress, swriter). Main menus, toolbars and contextual menus are updated accordingly. Change-Id: Ie1a133d18487f51bb9c44ae2f000e63d911bf6b3 Reviewed-on: https://gerrit.libreoffice.org/15588 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Ib765ce5a61916b0598ebb42cb9445a5f09c8d37f
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Ie6867e04156f40cacee275d5bbf3d63ac4965b30
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Iea68c4e466dd8e1cb7164959a680e5e52542166b
2015-05-05typo: strech -> stretchAndras Timar
Change-Id: I0de1cfaa0df460c7bc8e49752b31056f95c30053 Reviewed-on: https://gerrit.libreoffice.org/15628 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-05-04Use typed TabControl::SetDeactivatePageHdl LinkStephan Bergmann
Change-Id: I487aad5217cb685ece971717445a68b4fb3d2b3a
2015-05-04sal: match the defintions of SAL_MAX_SIZE and sal_SizeMichael Stahl
With 64-bit MSVC, sizeof(long) is 4 but sizeof(void*) is 8, so this would select sal_uInt64 but SAL_MAX_UINT32. This should make sizeof(sal_Size) the same as sizeof(size_t) on all supported platforms, but still sal_Size maps to different integer type (long vs. int) than size_t on 32-bit. Change-Id: I638aac6b502e624ed6b01f5921e20bc40f42480c
2015-05-02tdf#34555 Moving SID_OBJECT_CROP out of sdPhilippe Jung
The crop action in impress is defined in impress but uses code shared in svx. This patch move the declaration of the Crop action in svx so that it can be shared with sc & writer. This is part of a serie of 4 patches that adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) in all products (scalc, sdraw, simpress, swriter). Main menus, toolbars and contextual menus are updated accordingly. Change-Id: Idb6907aa09c0efd456c2ad51232cf37edb28d977 Reviewed-on: https://gerrit.libreoffice.org/15587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-05-01tdf#89790 - DOCX: saving LO version number in correct tag in app.xmlRadu Ioan
Converted existing method that provides application name and version in two functions Change-Id: I93b70da7c78ee5db3d6eb710a2a2a9f4b7b4fb86 Reviewed-on: https://gerrit.libreoffice.org/15151 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-05-01missing includeCaolán McNamara
Change-Id: If649c044d5dde770942cc4d859d1191612a247c7
2015-05-01coverity#1296292 merge these two enum typesCaolán McNamara
Change-Id: I4f82ca5f7a6b392322225c0b871dbaffeba44377
2015-05-01missing header for CheckboxCaolán McNamara
Change-Id: I7eab4aa6b248bd57aca3c2ef2a68b79a29fa9dac
2015-04-30Use typed Link for MenuButton::SetSelectHdlStephan Bergmann
(and MenuButton::GetSelectHdl was unused) Change-Id: I94df06bcda9e041fde65553e30247874b20ff74b
2015-04-30IMPL_LINK_NOARG_TYPED is more useful with a non-void* ArgTypeStephan Bergmann
...as it will be used to implement a function that needs to be compatiblie with some specific Link<Arg,Ret> type. Change-Id: Ieabd0ee499850a304e0c6e625953532be47ac784
2015-04-30Fix Link<T, void>::CallStephan Bergmann
Change-Id: Id85f33eab2767961f24688fffac84416b1cb22d8
2015-04-30No need for LINK vs LINK_TYPED distinctionStephan Bergmann
(fully qualify ::tools::detail::makeLink to avoid clashes with namespace basegfx::tools) Change-Id: I52818d0a47c78f1af7673ff91eb6517bc0820655
2015-04-30Missing param nameStephan Bergmann
Change-Id: I1fd2e76c098d0bffb446a1b2133d3392bfbb3de7
2015-04-30gtk3: Set tab normal/rollover/hightlight text colorsCaolán McNamara
Change-Id: I4dff83941df62bcd5ec5a70a87f59e9ce17c979d
2015-04-30Use typed MaybeFile LinkStephan Bergmann
Change-Id: Ic9eebca9d8fe3e9173b1873bdc7800e5161f9999
2015-04-30All-inline template should not be TOOLS_DLLPUBLIC, keep MSVC happyStephan Bergmann
Change-Id: Ib03c6ba0eac9400eba89674ca92f638baf65b203
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30Get rid of initial :: for the sdr namespaceTor Lillqvist
Change-Id: Ibbeb069b6fcb2aa0581429ac5cb6db519548fd00
2015-04-30Get rid of initial :: for the svx namespaceTor Lillqvist
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
2015-04-30Get rid of the initial :: for the vcl namespaceTor Lillqvist
We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-29fdo#69552 [part 1] make calc functions CEILING comply with ODF1.2Winfried Donkers
Also, add support for CEILING.MATH and fix small deficiencies with CEILING functions, as most are interwoven. Change-Id: I0d9a46fb17e982ccf1e9d9e403b58926172c1a7a Reviewed-on: https://gerrit.libreoffice.org/7088 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-04-29Clean up tools/link.hxxStephan Bergmann
Change-Id: I44e4abb228394f99109f7d7e005cfeb26e4b95c1
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-29Remove unnecessary IMPL_LINK_INLINE macroStephan Bergmann
Change-Id: I81cbec049b98d2d2619b0480e0cf54bd1d7b6718
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-29rhbz#1213173: connectivity: Calc driver: prevent document being disposedMichael Stahl
... by adding a XCloseListener that vetoes any attempt to close it. The Calc document can be opened by the user in the UI and closed again. Change-Id: Ied427b67274d925c911e516c0a50a4c0b2b18db9
2015-04-29dbaccess: log exception messages in ORowSetCacheMichael Stahl
Change-Id: I1c76d4ce91d1f22d88106918ab139b17f6f017f0