summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-05Remove using directive that has become unusedStephan Bergmann
...with 7ebed1d63e2ad5728fa81b65fa98f09b0406965d "fix windows build" Change-Id: Ibb8182cbfab47fed117c731f24fa90519b20653b
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I5d02ba0db00e11af3c17eaf77ce19c635a52077f
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I4d19f868a618cb135aa7a949222972dc35b47d2a
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I97160fc51dc16ff92b06d44570298eeec637e132
2015-05-05Related tdf#91009: Correct thousands separator character for locale es_CRJulien Nabet
Change-Id: Icf080bb9f21ef75487d43d8a582625be512968c4 Reviewed-on: https://gerrit.libreoffice.org/15630 Tested-by: Eike Rathke <erack@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-05-05tdf#91081 Fix LO crash after dialog closing by ESCPhilippe Jung
When control is no longuer valid, skip emission of notification - chaining to the parent When opening a popup dialog by right click and immediately pressing ESC immediately, LO crashes. A focus event listener is still registered. It triggers an event on a component previously freed. Change-Id: Icfc941849be5d50e2477d4e92afff844f76892d8
2015-05-05Various loplugin warningsStephan Bergmann
Change-Id: I8d38521f08441f123a236729c01909f2da4ec478
2015-05-05seed mt19937 with random dataNorbert Thiebaud
time(NULL) is a poor seed. It is quite predictable and multiple instance starting in the same second will get the same seed and therefore the same pseudo random number sequence Use std::random_device, witch is meant to provide 'true' random data.. mix time(NULL) just in case the std implementation is crappy. PS: sadly std::random_device.entropy() cannot be relied on as clang and gcc are known to return 0 despite their random_device being non-deterministic, hence the prophylactic systematic mixing with time(null) Change-Id: I44dab9970f8f0388dc1c99e9816d49d1afbecf18 Reviewed-on: https://gerrit.libreoffice.org/15591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-05-05-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: If6643acec764def691a3229655a992ae852e1238
2015-05-05-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: Ibd9d3858f833c24f38f982a941353204d9aa9081
2015-05-05loplugin:staticcallStephan Bergmann
Change-Id: If0b59a15a2fa740760419b1dc3345cf665857114
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05tdf#34555 add crop features to swPhilippe Jung
Adds Crop (by handles) to writer. Proposal of new Format menu and image context menu organisation. 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: I6fe8907e08519326c78f0bc71f27032b5716bb8e Reviewed-on: https://gerrit.libreoffice.org/15590 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2015-05-05tdf#34555 add to scalc: crop, change img, save img, edit with ext toolsPhilippe Jung
Adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) to scalc. Proposal of new Format menu and image context menu organisation. 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: I7f5cf2d1eb3870245684eadf5909fe590d56bf42 Reviewed-on: https://gerrit.libreoffice.org/15589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
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-05fix windows buildNoel Grandin
Error is "ambiguous call to overloaded function" Rename methods to something more specific to avoid this. Change-Id: Iac275e38cf7fb06be55cd859041acc641c13db35
2015-05-05tdf#91027 - cleanup dbaccess related dispose logic.Michael Meeks
Change-Id: Ice92188b097974b8e305c0180a791e25ed537054
2015-05-05AllocateFrame() and TriggerPaintEvent() can't be static when --enable-gtk3Tor Lillqvist
Change-Id: I1d637285b6b6ef64b83ab759bd4a379713bbf96b
2015-05-05dbaccess: implement ODatabaseDocument::loadFromStorage()Miklos Vajna
With this, it's finally possible to load a .odb file embedded inside a .odt. Change-Id: Ib5eec603ce958abd848e456871aacfad4ab0a8b7
2015-05-05dbaccess: use already existing source storage in ODBFilter, if possibleMiklos Vajna
Change-Id: I4378e229c771cf79a694086b7a4ba4ac2e36b8f7
2015-05-05Adapt SwSrcEditWindow's SyntaxTimerHdl to being used in an Idle nowStephan Bergmann
...not a Timer, since d843f3de731667a298a83fc66637c7f983f3b24d "changed timers to idle" Change-Id: If8c6a52d6fb7b1e392e8f31bc8f0db22b2f049e1
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05Drop misused lcl_ prefixTor Lillqvist
If used at all, lcl_ is supposed to be used for static functions truly local to one source files. The functions here occur in several source files (well, two, the one where they are defined and one other) so they are not "local" in that sense. (But they could be local in the one file that uses them...) Also, they are already in a basegfx::internal namespace. While at it, drop the :: prefix eyesore from basegfx::internal, and align parameter lists consistently. Change-Id: I68b91075e0b1779ac0fa884d8f9e956f1ab7b308
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I90dd921077bbfc57200e398e7959306f26c65cfe
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I912187d6c481a2ba61fed9c01998bf6f3c08a6a0
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Ie7a1a5bc61d19aebd11a00c63c1f4104d893efbe
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I86e2095bee82a2a6a28b8750e5a328c4d395e2aa
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Ib765ce5a61916b0598ebb42cb9445a5f09c8d37f
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I60678dfd1bd0d2e4754dbbe6ba053e90d5870780
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I64fdb27a7f83f6417a9cd67ed5d2c44072ec7f2e
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I3d61c1c64f7e781c032a77d5d35998e953bf5c0c
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Ie6867e04156f40cacee275d5bbf3d63ac4965b30
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Idfd6368eba8e638cf9e6adf998b19ccd1f5e876c
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Iea68c4e466dd8e1cb7164959a680e5e52542166b
2015-05-05tdf#90539 special case for EMF placeholder icon of OLE objectAndras Timar
Change-Id: Id775680d6b2aec1fd84981a72a94fe4934bef003 Reviewed-on: https://gerrit.libreoffice.org/15632 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
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-05drop useless temp debugging stringsCaolán McNamara
Change-Id: Iee9c1bd37664188e4dc10b929eb72b6370001417
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-05RtfSdrExport::StartShape: use std::unique_ptr<>Miklos Vajna
Change-Id: I236d7d951bae8c40d2caaa5ecd6dfd669f8ea982
2015-05-05rework Sort trim data area logicEike Rathke
Determine the effective data area before all operations, so obtaining uniform row heights, the actual sort and setting dirty and setting row heights after sort is done only on the trimmed area. Also make sorting leading empty columns to the end work again if no row headers were given. Change-Id: If2b6a15ca69e0db2ca71a888a134f7441b04cc27
2015-05-04drop useless temp debugging stringsCaolán McNamara
Change-Id: I7e9edae135bd8f3b958c2013fe6d944ab3de2100
2015-05-04cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Icb4273515082bffaeb9d8f3ebcec8d76fa4192ef
2015-05-04cppcheck: memleakOnReallocCaolán McNamara
Change-Id: Ibdf762b0d397f798372d9bf882aa82a6e5fd0229
2015-05-04hstream.h->hstream.hxxCaolán McNamara
Change-Id: Icc4a3d3661c3d40f9e71215bdc875c6a25f40ac1
2015-05-04cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Iea5bb0504518b380c3fe7c238d376dc26be8a7ef
2015-05-04assert(nStartRow <= nEndRow)Eike Rathke
Zero or negative count is unhealthy.. Change-Id: I4cce6c896e73e8e964518cbe4a29eb03ed481251
2015-05-04Resolves tdf#90757 ensure start row / end row order makes senseEike Rathke
... in case the header is the only row. Change-Id: I5e6046007a8d668f9834e108aaf8af0072629fc8
2015-05-04Revert "Delete unused strings in undo.src and undo.hrc"Joren De Cuyper
This reverts commit 4c07124cf4f7684d271d0e71a095c67e0f988e45. It looks like these strings are used via an iteration in docundo.cxx So, restore them. Change-Id: I1b0428de3d56b04908284c94b47dc6021375cc8e Reviewed-on: https://gerrit.libreoffice.org/15629 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>