summaryrefslogtreecommitdiffstats
path: root/filter
Commit message (Collapse)AuthorAgeFilesLines
* improve passstuffbyref return analysisNoel Grandin2016-07-272-2/+2
| | | | | | | Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#62525 vcl: use cow_wrapper for PPTCharPropSetXisco Fauli2016-07-151-50/+28
| | | | | | | Change-Id: I506688a495ac145a25d2094be48ea53497d1e8a8 Reviewed-on: https://gerrit.libreoffice.org/25914 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:passstuffbyref also for {css::uno,rtl}::ReferenceStephan Bergmann2016-07-078-12/+12
| | | | Change-Id: I121d77de11705a4314b875374bf9f499a8afff47
* crashtesting: assert on export of tdf99571-1.docx to docxCaolán McNamara2016-07-071-2/+11
| | | | Change-Id: I2c8d82ac21451a2d2cc748dc28ac210c8e5ddf5f
* restore loplugin:vclwidget checking for calling clear() on VclPtr fieldsNoel Grandin2016-07-061-0/+1
| | | | | | | Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405 Reviewed-on: https://gerrit.libreoffice.org/26806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Clarify calculation precedence tdf#39440Muhammet Kara2016-07-051-5/+5
| | | | | | | | | | | Use parentheses to clarify the code. Change-Id: I864dc6dacadb5b9ba9dca8e0abd9fa4e6db1eddc Reviewed-on: https://gerrit.libreoffice.org/25677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* merge CGMOutAct with CGMImpressOutActNoel Grandin2016-07-056-241/+184
| | | | | | | Change-Id: I4d3d59b6c34edef9cd5bfd460f6379e4d1afa460 Reviewed-on: https://gerrit.libreoffice.org/26930 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Fix some spelling errors in comments and stringsOtto Kekäläinen2016-07-045-7/+7
| | | | | | | Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e Reviewed-on: https://gerrit.libreoffice.org/26883 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* svg-export - Removal of the SVG 1.1 path API in ChromeMarco Cecchetti2016-07-011-2/+990
| | | | | | | | | | | | | | | | | | | On Chrome browser most of shape effects and slide transitions did not work anymore: that was due to the fact that several animations exploit the DOM api for handling path segments of the svg:path element. Starting from version 48 such an api has been removed from Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=539385 ; Moreover Chrome does not yet provide an implementation for the new svgpath api introduced in SVG 2.0 draft: so there is no native support for handling path data directly. The present patch adapts the JavaScript implementation of the old SVG 1.1 path api proposed here: https://github.com/progers/pathseg . Change-Id: I536202291e0b8895f91d9e499a32fa57c110b2c1 Reviewed-on: https://gerrit.libreoffice.org/26839 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* bccu#1910 - better handling of not supported animation nodes.Marco Cecchetti2016-07-011-1/+7
| | | | | | | | | | | | | Earlier, when a not supported animation node was hit all effects in the same slide was ignored since the whole animation tree was invalidated. This patch tries to minimize the impact of this issue by removing only all children nodes of the direct parent container of the not supported animation node. Change-Id: I31896cf29d18e64ff44d7d4bcdc60392ac1c1ec3 Reviewed-on: https://gerrit.libreoffice.org/26838 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* bccu#1900 - added support for discrete activitiesMarco Cecchetti2016-07-011-18/+311
| | | | | | | Change-Id: Ib11f32faf50ba9616b0d5d517ae3820806ed42d2 Reviewed-on: https://gerrit.libreoffice.org/26837 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* bccu#1900 - additive and calc mode were not parsed correctlyMarco Cecchetti2016-07-011-12/+14
| | | | | | | Change-Id: I00c4af6a6c992fc41c4b993621cded59800b5e06 Reviewed-on: https://gerrit.libreoffice.org/26836 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* bccu#1870 - added support for rotate attributeMarco Cecchetti2016-07-011-0/+26
| | | | | | | Change-Id: I0b29fa65171c12c25122176af3c9b4e7a9c0826f Reviewed-on: https://gerrit.libreoffice.org/26835 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* avoid 'Compiler Error C2026 string too big, trailing characters truncated'Andras Timar2016-07-011-1/+1
| | | | | | | Change-Id: I57e74cbf7bf3a51f73f554c1f17b8c4420a1e386 Reviewed-on: https://gerrit.libreoffice.org/26834 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* bccu#1800 fix bogus loops in slide animations and transitionsAndras Timar2016-07-011-2/+2
| | | | | | | Change-Id: Ic0b6a7b526f4ae09653d29f73bff7fde78a25cbf Reviewed-on: https://gerrit.libreoffice.org/26833 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* loplugin:stringconstantStephan Bergmann2016-07-011-1/+1
| | | | Change-Id: Ie5aee19517cff0c724f03f73c0e79a057ae9c2b6
* loplugin:defaultparamsStephan Bergmann2016-07-011-1/+1
| | | | Change-Id: I359b7c58fed6343f58a75bc2afedb78ff7c16719
* bccu#1307 - svg filter - added support for clip region meta actionMarco Cecchetti2016-07-012-4/+115
| | | | | | | Change-Id: I90beea5e101a14f0dc9df8c7db0bb55782aba110 Reviewed-on: https://gerrit.libreoffice.org/26832 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* svg filter - rewritten context handlingMarco Cecchetti2016-07-012-64/+144
| | | | | | | Change-Id: I9c18f6ca641de2957cbbf8fd57035f5aa2e5c294 Reviewed-on: https://gerrit.libreoffice.org/26831 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* svgfilter - polish code formattingMarco Cecchetti2016-07-011-23/+20
| | | | | | | Change-Id: Ic63cfeb352326f3375ba664a775e58c566901320 Reviewed-on: https://gerrit.libreoffice.org/26830 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* lool - bccu#1307 - stop colors for background gradient was wrongMarco Cecchetti2016-07-011-6/+6
| | | | | | | Change-Id: Ic5ddd4d3a3018c014a77b2e54d639b5589f9d477 Reviewed-on: https://gerrit.libreoffice.org/26829 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* lool - bccu#1307 - images must be scaled in a non-uniform wayMarco Cecchetti2016-07-011-0/+5
| | | | | | | Change-Id: I4093452d543ba45d8c1a2c1fc0811646e12c23a5 Reviewed-on: https://gerrit.libreoffice.org/26828 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com>
* loplugin:singlevalfields in filterNoel Grandin2016-06-2811-61/+5
| | | | | | | Change-Id: I6f7220e54178ba9e2c25adda2c1e048d3a222d43 Reviewed-on: https://gerrit.libreoffice.org/26709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* clang-analyzer-deadcode.DeadStoresStephan Bergmann2016-06-271-16/+22
| | | | Change-Id: I4715798922e1210babe93d861594d48bdd850bfd
* vcl: add graphic export-as-pdf filterMiklos Vajna2016-06-242-0/+18
| | | | | | | | | | | | In case the metafile was imported from a PDF originally, then this allows storing the PDF stream next to the graphic. This means that e.g. in Writer choosing 'Save' from the context menu of the graphic can write the original PDF stream, not the replacement metafile. Change-Id: I4ab45d5af17fe46d7538df6d79d6b57ed163572a Reviewed-on: https://gerrit.libreoffice.org/26628 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* loplugin:singlevalfields in vcl(part1)Noel Grandin2016-06-241-8/+1
| | | | | | | Change-Id: I0031199937cc95793951a070c4b3d8910933e69f Reviewed-on: https://gerrit.libreoffice.org/26595 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* integrate libzmfAleksas Pantechovskis2016-06-233-0/+27
| | | | | | | Change-Id: I0c7ea5b56ea4ed4839ff38798c0b915aaca81774 Reviewed-on: https://gerrit.libreoffice.org/26574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
* vcl: add initial PDF import-as-graphic filterMiklos Vajna2016-06-232-0/+18
| | | | | | | | | | | | | This allows Insert -> Image e.g. in Writer to read a PDF file, and insert the metafile equivalent of the first page into the document. Currently the original PDF document is lost on import (unlike when inserting an SVG file). Change-Id: Ib0472c5d9bd9a1da054353fa3a3a638a1052721e Reviewed-on: https://gerrit.libreoffice.org/26586 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* tdf#99589 - tolower / toupper - dangerous to Turks ...Gökhan Gurbetoğlu2016-06-231-4/+5
| | | | | | | Change-Id: I8b0fe9354232a7b60f3605fa6f90f6741f7bf683 Reviewed-on: https://gerrit.libreoffice.org/26537 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* loplugin:salbool: Implicit conversions from non-Boolean fundamental typesStephan Bergmann2016-06-191-15/+20
| | | | Change-Id: I67eac95686678e6f5a2d60798535b2c65a9ba5d7
* Remove the "using namespace std" from filterMark Page2016-06-176-34/+27
| | | | | | | Change-Id: Ied355374a0bf662a9be70d83615446cbac9ee0b2 Reviewed-on: https://gerrit.libreoffice.org/26373 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Move accessibility relations to .ui files, Part 9: tdf#87026Muhammet Kara2016-06-152-2/+6
| | | | | | | | | | By removing unnecessary variables/strings/function calls, and making proper changes in the related .ui files. Change-Id: I52e3f2a16519aee13b06f0efc6beb3385bcb0f1c Reviewed-on: https://gerrit.libreoffice.org/26066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
* tdf#42949: clean up includes in include/filter with iwyuJorenz Paragas2016-06-156-1/+13
| | | | | | | Change-Id: Id08a999764bfeeff3bb3409b46f48b278009ccbe Reviewed-on: https://gerrit.libreoffice.org/26238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* loplugin:sallogareasStephan Bergmann2016-06-132-3/+3
| | | | Change-Id: Ib28e76ed6947431c6466d11aaadca8d95abfc275
* Fix typosAndrea Gelmini2016-06-131-4/+4
| | | | | | | Change-Id: Ic3efae53430fbb2c1eb7962c3cf69bf99315e55b Reviewed-on: https://gerrit.libreoffice.org/26202 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* convert more DBG_ASSERT(false to SAL_WARNNoel Grandin2016-06-122-3/+4
| | | | | | | Change-Id: Ie52f28f28c67a91c4d3d4517d5c6a466890c7a55 Reviewed-on: https://gerrit.libreoffice.org/26195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* convert DBG_ASSERT(false, to SAL_WARN(Noel Grandin2016-06-121-1/+1
| | | | | | | Change-Id: I400d728c5d99228c5ca52e369037395b4da2af5c Reviewed-on: https://gerrit.libreoffice.org/26187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* BASIC : Add SbModule::FindMethodArnaud Versini2016-06-121-8/+2
| | | | | | | Change-Id: I3418c4a3d24b3b6630d6c80a6c8aa9d4ffb7e73a Reviewed-on: https://gerrit.libreoffice.org/24346 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Clean up uses of Any::getValue() in filterStephan Bergmann2016-06-105-53/+54
| | | | Change-Id: I4cd1b554be56d4d43db4108925397a8498781491
* dispose of ImplEscherExSdr correctlyNoel Grandin2016-06-101-0/+6
| | | | | | | to remove the warnings messages, and turn the warn into an assert to prevent it coming back Change-Id: Ie754ac07f8bb505439a1194f843d09c396353aa6
* tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko2016-06-0911-44/+11
| | | | | | | | | | | | | | | | | | | | This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* tdf#96099 Remove various smart pointer typedefsMark Page2016-06-081-1/+1
| | | | | | | Change-Id: I76843139e43ca1c158a977e24d210d5af93e4d0f Reviewed-on: https://gerrit.libreoffice.org/26014 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Simplify GfxLink using smart pointersMark Page2016-06-081-2/+1
| | | | | | | | | | | | | Uses std::shared_ptr for sharing graphic data Changed constructor to std::unique_ptr<sal_uInt8[]> to ensure the delete[] operator is called when GfxLink internals takes ownership of the data Change-Id: I4edd4634df8d6ba4d94953260c1a7ac560ccf04a Reviewed-on: https://gerrit.libreoffice.org/25402 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#99589 tolower / toupper - dangerous to Turks ...krishna keshav2016-06-071-2/+3
| | | | | | | | | | used 'toAsciiUpperCase()' and 'isAsciiUpperCase()' from rtl/character.hxx Change-Id: Iafbf97c4e2f026443411cf080ba2f0872b726bbe Reviewed-on: https://gerrit.libreoffice.org/25877 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tools: rename SvStream::Read/Write to ReadBytes/WriteBytesMichael Stahl2016-06-0620-94/+95
| | | | | | | Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* filter: "tga" import: fix some endian issues in ImplReadPaletteMichael Stahl2016-06-061-2/+9
| | | | Change-Id: Ia8ec7b7e19cf9b6b19497cbd77ae5a4e2fdccee7
* filter: PPT import: PptPlaceholder is 1 byte largeMichael Stahl2016-06-061-0/+1
| | | | | | | | | The array of 8 bytes corresponds to 8 enum values and is read directly in ReadPptSlideLayoutAto(); this was wrongly converted to enum. (regression from e5a03da8eb02c333502d6b427625e7bf554ff203) Change-Id: I5757e06459467b3c84c4a404493fa3be23e4e9a0
* tdf#96099 Reduce number of typedefs used for trivial container typeskrishna keshav2016-06-041-4/+2
| | | | | | | Change-Id: Iecf8052d3f7ec5593205184622d53550e6a52161 Reviewed-on: https://gerrit.libreoffice.org/25836 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
* Convert ComplexTextLayoutMode to scoped enumNoel Grandin2016-06-031-1/+1
| | | | | | | Change-Id: I257f8e15fec92f0701235a6fe4b6a2272498c4f1 Reviewed-on: https://gerrit.libreoffice.org/25667 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:constantparamsNoel Grandin2016-06-034-33/+24
| | | | | | | Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361 Reviewed-on: https://gerrit.libreoffice.org/25769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>