summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2015-05-08loplugin:staticmethodsStephan Bergmann
Change-Id: I33d722c27d85732d23510ebaaaba0b8792d0d61d
2015-05-08misspell some words, copy and paste slide to gimpCaolán McNamara
and we don't want to see the mis-spelt underlines Change-Id: Ib3ae29297a1697e0f7b0caa816504da7edf721d1
2015-05-08convert MEDIA_COMMAND constants to scoped enumNoel Grandin
Change-Id: Id3731144fab89cdab9a6f66d78a1ebe1ebd4f61c Reviewed-on: https://gerrit.libreoffice.org/15652 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-08Silence sal_Bool -> sal_IntPtr Link return value mismatches for nowStephan Bergmann
Some uses of untyped Link<> (returning sal_IntPtr) are hard to update to typed versions, but upcoming changes to loplugin:implicitboolconversion would flag these uses of sal_False/True, so just explicitly cast them to sal_IntPtr for now. Change-Id: I654e555e85faba0b30178c978e7d50fc7240b004
2015-05-07VclPtr: clicking on another sidebar button when navigator open crashesCaolán McNamara
Change-Id: Iafcc7246a1149a25f6d6fdfb09cf3e85227580db
2015-05-07VclPtr: clicking on sidebar impress navigator crashesCaolán McNamara
not sure how this ever worked, the callback is called at the end of the ctor and the callback is in the parent obj which dereferences the pointer to this obj before that pointer has been set. Just split the ctor into a ctor and a follow up post ctor init method. Change-Id: I04855c8ac95592801f2ebf0b974a9a7b597d0327
2015-05-07tdf#87862: Row spacing sneaked out, put it backKatarina Behrens
Change-Id: Ib7768e2bf7a9b9b8e1045dbce8d81ad68b94fb33
2015-05-07convert BMP_VECTORIZE constants to scoped enumNoel Grandin
Change-Id: Ifa6614f6a17356481a335a686e9ea0f9b983c5c5 Reviewed-on: https://gerrit.libreoffice.org/15647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-07Remove SvStorage aliasStephan Bergmann
Change-Id: Id07ace147ff4fd4a17d05ba3cce6408def05c9c7
2015-05-07Remove SvStorageRef aliasStephan Bergmann
Change-Id: Icd1bf88cefac929916ece9a30b9b65c5297ec2a3
2015-05-07Remove SvStorageStream aliasStephan Bergmann
Change-Id: I9d835e6032e2366e5357240609ff0e60273d475b
2015-05-07Remove SvStorageStreamRef aliasStephan Bergmann
Change-Id: Ic25c39adf8796bb433fa7746f53a68e3e2bfd228
2015-05-07VclPtr: one ref too manyCaolán McNamara
Change-Id: I84cf33c8e68c41223aaa12208a2845675bbbfd5a
2015-05-06VclPtr: one ref too manyCaolán McNamara
Change-Id: Ie360ae76f8692abbc5487f9b76b543477cce438b
2015-05-06VclPtr: someone needs to dispose this mpWindowCaolán McNamara
Change-Id: Ib08482d0a3f6cb62e16a21fba2025913ca1aedad
2015-05-06VclPtr: one ref too manyCaolán McNamara
Change-Id: I0a299050d8ae19bdac555e75116c5b85f409a6c2
2015-05-06VclPtr: one ref too manyCaolán McNamara
Change-Id: Ib045828769bece2a6524d2d84b6e8ee23d305e28
2015-05-06impress and draw want to disable the size category with brochure printingCaolán McNamara
Change-Id: I08e814a2895490faebd79ca9e340d6bd8a0b5bfd
2015-05-06convert BMP_MIRROR constants to scoped enumNoel Grandin
and fix bug in svx/source/xoutdev/_xoutbmp.cxx,XOutBitmap::MirrorGraphic where it was not correctly translating between different flags types. Change-Id: I78b4965544da2aa54b67ec18307fa54c8ffc3aee
2015-05-06convert BMP_SCALE constant to scoped enumNoel Grandin
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06convert SUBSFONT_ to scoped enumNoel Grandin
Change-Id: Ic66191ac4cdfa753dc784e7bd1a6dd20f50def6b
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I5d02ba0db00e11af3c17eaf77ce19c635a52077f
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I4d19f868a618cb135aa7a949222972dc35b47d2a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Ie7a1a5bc61d19aebd11a00c63c1f4104d893efbe
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Iea68c4e466dd8e1cb7164959a680e5e52542166b
2015-05-05cppcheck: unreadVariableCaolán McNamara
since Start slideshow with the next visible slide commit 45e4a5ef5347f7e2fe90a0d411e3749f24008c3a Author: Katarina Behrens <bubli@bubli.org> Date: Sat Mar 23 20:32:40 2013 +0100 Change-Id: Ib04aac2b223a38dbf46ee8cea3194e116e435eb6
2015-05-05cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I07aaf57291239e30b1600bd1061821b4759b8a0b
2015-05-04Use typed TabControl::SetDeactivatePageHdl LinkStephan Bergmann
Change-Id: I487aad5217cb685ece971717445a68b4fb3d2b3a
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-04-30Use typed Link for MenuButton::SetSelectHdlStephan Bergmann
(and MenuButton::GetSelectHdl was unused) Change-Id: I94df06bcda9e041fde65553e30247874b20ff74b
2015-04-30tdf#90673:FILESAVE:PPTX Paragraph text direction right-to-left is not exportedPriyankaGaikwad
Problem Description: After RT 'rtl' tag of <a:pPr> are not exported XML Diff: Original : <a:pPr marL="457200" indent="-457200" algn="r" rtl="1"> RT : <a:pPr algn="r"> Change-Id: I307bc748c73127c311cabd127bb98e43bd298271 Reviewed-on: https://gerrit.libreoffice.org/15428 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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-29coverity#1078827 Dereference before null checkCaolán McNamara
Change-Id: I3d8850900e25606c23e2209abe828e2b1e98b38e
2015-04-29coverity#1296210 Explicit null dereferencedCaolán McNamara
Change-Id: Ia5aaa3deba695f9b9aec68477f8b34f1602a8045
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 STATIC_LINK macroStephan Bergmann
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-29bogus Werror=maybe-uninitializedCaolán McNamara
Change-Id: I01eeeeff399961e59194c592139386355515d44c
2015-04-29redundant castCaolán McNamara
Change-Id: Ib812a7cafabc4820946da67fb3f8896b6aad1461
2015-04-29convert CT_ constants to scoped enumNoel Grandin
Change-Id: Icd1f009e879965feb936c6268688cdcd1edbd231
2015-04-29convert SDRMOUSE constants to scoped enumNoel Grandin
Change-Id: Ia5389095683a1c012a988ed71bf769a1f25d80fb