summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2017-01-25tdf#105502 sd increase font size: handle table selectionMiklos Vajna2-1/+6
In part of a table shape is selected, then only operate on the selected cells, not on all of them. Change-Id: I3a9ba2b99bcaa2e355b6fcdafdd142d4a809bce6 Reviewed-on: https://gerrit.libreoffice.org/33524 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-01-25loplugin: unnecessary destructor svxNoel Grandin8-21/+0
Change-Id: I7feed30eea4f7367943fa2d6e0d75be5ca209068 Reviewed-on: https://gerrit.libreoffice.org/33516 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-25loplugin: unnecessary destructor svl..svtoolsNoel Grandin20-45/+3
Change-Id: Ie96dda7194c83ba88693f8c91899c732d704a4bd Reviewed-on: https://gerrit.libreoffice.org/33515 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-25ScXMLTableRowCellContext implements fast interfaces:Mohammed Abdul Azeem3-0/+8
Implementation of fast interfaces for contexts in path from ScXMLImport::CreateFastContext to ScXMLTableRowCellContext. FastParser is enabled and duplicates are avoided at all possible places. OOoXML filters still need those legacy paths we removed, so I had to temporarily map them to fast elements, which would increase their load time, but hopefully it should help us in the long run. Change-Id: Ie997a9a8b72787da2356abc99ea2cd57c2e5b670 Reviewed-on: https://gerrit.libreoffice.org/28648 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-01-25loplugin: unnecessary destructor sfx2..storeNoel Grandin8-15/+1
Change-Id: Idbf2585e48cd89a43ab68c5c8819880d20461ccf Reviewed-on: https://gerrit.libreoffice.org/33514 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-25loplugin: unnecessary destructor oox..saxNoel Grandin3-7/+0
Change-Id: Ie12bfabc92bce04d702f3e77aa5896366e49245e Reviewed-on: https://gerrit.libreoffice.org/33509 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-25move GetPosByValue from SfxEnumItemInterface to SfxAllEnumItemNoel Grandin2-19/+5
which is it's only use-site Change-Id: I35943282ad4f5fd5ad297831d63e8abee9a2ddff
2017-01-25Fix typo in comments: relativ -> relativeTakeshi Abe5-13/+13
Change-Id: I58833e503e93b8057f92710c5828bba6cecd4e09 Reviewed-on: https://gerrit.libreoffice.org/33488 Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp> Tested-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-01-24Move two include files to oox/inc as they are used only in ooxTor Lillqvist2-247/+0
Change-Id: Ie13614c1977f45aa8086f4db65ca86b7d9212735
2017-01-24Resolves: tdf#105450 calc navigator gets 0 height on toggle off/on when dockedCaolán McNamara1-0/+2
Change-Id: Icd346cdf0a208ccaeddd77e6803f4f906361324c
2017-01-24loplugin: unnecessary destructor cppcanvas..filterNoel Grandin3-10/+0
Change-Id: I009cdd60869a67d210edf879ddb451663a7b8676 Reviewed-on: https://gerrit.libreoffice.org/33491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-24use rtl::Reference in FastParserNoel Grandin2-10/+9
instead of storing both a raw pointer and a uno::Reference Change-Id: I6b67a6098a3ccdce7e29ee8d601c743897032eaf
2017-01-24loplugin: unnecessary destructor: basctl..codemakerNoel Grandin7-15/+0
Change-Id: Iadcfa9bc4fe9efb8d24d6d6afaf2b9b3def0bc3c Reviewed-on: https://gerrit.libreoffice.org/33452 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-24Fix typo in comments: absolut -> absoluteTakeshi Abe2-2/+2
Change-Id: I8aab9004001a9a2ddd54b4c73857b6f9c5b51515 Reviewed-on: https://gerrit.libreoffice.org/33486 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-01-23drop one of the Image ctorsCaolán McNamara1-1/+0
Change-Id: I51178fa30418136d4e5d266715d450f1c967167c Reviewed-on: https://gerrit.libreoffice.org/33475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-23Change all Idle* LINKs to be Timer*Jan-Marek Glogowski24-50/+27
Seem UBSAN doesn't like my forced reinterpret_cast to set the Idles Link in the Timer class. Now there are two possible solution: 1. convert all (DECL|IMPL).*_LINK call sites to use a Timer* or 2. split the inheritance of Idle from Timer again to maintain different Link<>s and move all common code into a TimerBase. While the 1st is more correct, the 2nd has a better indicator for Idles. This implements the first solution. And while at it, this also converts all call sites of SetTimeoutHdl and SetIdleHdl to SetInvokeHandler and gets rid of some local Link objects, which are just passed to the SetInvokeHandler call. It also introduces ClearInvokeHandler() and replaces the respective call sites of SetInvokeHandler( Link<Timer *, void>() ). Change-Id: I40c4167b1493997b7f136add4dad2f4ff5504b69
2017-01-23lok: New feature flag to turn off tiled annotationsPranav Kant2-0/+9
Change-Id: Ie418642242ada98d4a41f30bb6cefcd57f398ef0 Reviewed-on: https://gerrit.libreoffice.org/33472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-01-23loplugin: unnecessary destructor: comphelper..desktopNoel Grandin5-28/+0
Change-Id: I9df4cb6a4b1734dac6141d6b0ee7a09e3e05f92e Reviewed-on: https://gerrit.libreoffice.org/33453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-23pass ownership by pointerJochen Nitschke2-4/+6
to show the intend of the code. assert on invalid objects. remove useless OSL_ENSURE. make sure list of owning pointers can't be copied. Change-Id: I3cccf8ea87585ec9fe62921203a4d12e617ce15c Reviewed-on: https://gerrit.libreoffice.org/33393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-23move defines to only userJochen Nitschke1-4/+0
Change-Id: I337cc5d58386d9fb018b5343ad76e6f8e8e61405 Reviewed-on: https://gerrit.libreoffice.org/33448 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23Revert "used std::map in SfxItemSet"Noel Grandin2-17/+25
This reverts commit 2757ee9fe610e253e4ccc37423fa420004d0f388. Besides causing a performance regression, I now notice that there is code in SW that relies on iterating over two different SfxItemSet's in parallel, and assumes that missing items are returned as nullptr, which is not the case for my std::map based change. Change-Id: I2b1110350fe4c4b74e5508558e9661ef1e1a103e
2017-01-23fix ubuntu trusty buildNoel Grandin1-0/+3
Change-Id: I9a7fa68ab69aa9e730bf1e0fb3bc0c49db5f3ef0
2017-01-23just for non exported thingsCaolán McNamara4-0/+10
Change-Id: I448d0009d7c8ffec64fdab76897e8684afe7fcd7
2017-01-23ditch some empty dtors which match the default dtorCaolán McNamara4-10/+0
Change-Id: Id2450b03e6c8c5461e92d995ea8c33d5dfd55a45
2017-01-23use rtl::Reference in SvxPixelCtlNoel Grandin1-2/+3
instead of storing both a raw pointer and an uno::Reference Change-Id: Ie9de5664452545a2a529f753e314aa4678c166fb
2017-01-23use rtl::Reference in SvxShowCharSetNoel Grandin1-2/+2
instead of storing both a raw pointer and an uno::Reference Change-Id: I71c9cc4cc643d4b73a34b74c803378da75fd8de0
2017-01-23tdf#105266 Make LIGHTEN and DARKEN follow MS specificationRegina Henschel1-1/+1
Enhanced geometry of custom shapes has got commands for LIGHTEN and DARKEN of subpaths. MS specifies, that LIGHTEN is a blending with white and DARKEN is a blending with black. This patch adapts the calcuation accordingly. Change-Id: Ie46f1a1a2210c209c3fac34a7a58758b72eb276c Reviewed-on: https://gerrit.libreoffice.org/33337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-01-23fix windows buildNoel Grandin1-1/+4
Change-Id: Ie32847e22965950d4b2a0e53ccab625a00a6589c
2017-01-23new loplugin useuniqueptrNoel Grandin2-6/+4
Change-Id: Ic7a8b32887c968d86568e4cfad7ddd1f4da7c73f Reviewed-on: https://gerrit.libreoffice.org/33339 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23use rtl::Reference in RulerNoel Grandin1-1/+2
instead of manual acquire/release Change-Id: I7815a0a3c01fce57b4798ac1dbf501e20444c61d
2017-01-23use rtl::Reference in SfxInPlaceClientNoel Grandin1-1/+2
instead of manual acquire/release Change-Id: I4ebbdbcbd619991c3dae0733b797f310903f96e6
2017-01-23use tools::SvRef in ImpSdrObjTextLinkUserDataNoel Grandin1-1/+2
since the field is SvRefBase-derived Change-Id: Ie84c48daf93e3805b2db240a497a8496779fe750
2017-01-23use rtl::Reference in OPropertyChangeListenerNoel Grandin1-2/+3
instead of manual acquire/release Change-Id: Ie80253b5a59a3e3fcd52f98d9c26bcde42fe985a
2017-01-23Lok: support for batch API callsAshod Nakashian2-0/+20
Mouse and keyboard operations typically come in batches, and often each results in tile invalidations and/or layout modifications. Processing each input event on its own, then processing the resulting output event is very costly and unecessary when we know there is more of the same. The new API adds support for batching such related input events by disabling the output events generated by Core until the batch is done. The client can then process the resulting events, which will be compressed and deduplicated. Change-Id: Id381dab807186d010021a8778ee440074a739920 Reviewed-on: https://gerrit.libreoffice.org/33402 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-01-21coverity#1399437 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I0df77d7a986ca6485cfe18ee40249d6bb5621528
2017-01-21move GetXGraphic to its only userCaolán McNamara1-1/+0
Change-Id: I72ec4a7e72ca3355a97f987fab70b3e3a8e45168
2017-01-20warn about unused ImagesCaolán McNamara1-1/+1
Change-Id: I5502b28411282354019af51a09c860099c652006 Reviewed-on: https://gerrit.libreoffice.org/33348 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-20split GetImageForCommand into GetBitmapForCommand and coCaolán McNamara1-0/+5
Change-Id: I89431532ef26fc33146252e218096e690825b896
2017-01-20use rtl::Reference in OSelectionChangeListenerNoel Grandin1-3/+4
instead of manual acquire/release Change-Id: I33e3018b5deb4240d4aff1d8136ae6f8f538c779
2017-01-20Apply stricter member access control for TasksJan-Marek Glogowski3-6/+14
This disallows changing mbAuto and changing values of ImplSchedulerData outside of Scheduler / Task functions. Change-Id: Ia624999bd63190c072eb66427aec38e7ac8cfa1b Reviewed-on: https://gerrit.libreoffice.org/33317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-01-20Images no longer loaded from resource filesCaolán McNamara3-10/+0
Change-Id: I7155a2c8280b9f511402b908f06470dec419b336
2017-01-20new loplugin: useuniqueptr: ucb..ucbhelperNoel Grandin3-4/+5
Change-Id: Ib19ca3225b96d1bfec8a43bb762e16597f33b690 Reviewed-on: https://gerrit.libreoffice.org/33297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-20use rtl::Reference in OContainerListenerNoel Grandin1-2/+3
instead of manual acquire/release Change-Id: I83e6229029e662073e2e01e98f4846fb0a0ed643
2017-01-19New loplugin:dynexcspec: Add @throws documentation, basegfxStephan Bergmann1-1/+1
Change-Id: I83cd12d9eb2d65ec5ff903b7536f28b2a0ae3c69
2017-01-19New loplugin:dynexcspec: Add @throws documentation, canvasStephan Bergmann1-0/+1
Change-Id: I70b52921291da551da7cc970e82f38b319f0ded8
2017-01-19New loplugin:dynexcspec: Add @throws documentation, codemakerStephan Bergmann1-0/+2
Change-Id: I94a9f72fc81439fc97c884009447d353c6c6a517
2017-01-19New loplugin:dynexcspec: Add @throws documentation, comphelperStephan Bergmann19-0/+179
Change-Id: I115c5c34cf97858d9fdd96432cb57bde6d4537cb
2017-01-19New loplugin:dynexcspec: Add @throws documentation, connectivityStephan Bergmann6-2/+27
Change-Id: Id8711eaeac65efaa228b60d5786169016bfb61a3
2017-01-19New loplugin:dynexcspec: Add @throws documentation, cppuhelperStephan Bergmann1-0/+6
Change-Id: I20b40d0d465cfe130e03f7a8f8da6f4dab404848
2017-01-19New loplugin:dynexcspec: Add @throws documentation, dbaccessStephan Bergmann1-0/+2
Change-Id: I117be0dca3cc5e204414613123422b4b0716d8ed