summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)AuthorFilesLines
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky32-32/+0
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21remove unnecessary explicit linefeeds from end of SAL and OSL log callsNoel Grandin4-9/+9
Change-Id: I3fa363c8e76e6cfb297f4ec346e3f031c09d6fbf Reviewed-on: https://gerrit.libreoffice.org/36727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-19clang-tidy readability-simplify-boolean-expr in dbaccess..frameworkNoel Grandin5-16/+6
Change-Id: I96e1bd4000f4ade6ccfac53c57653772b249df99 Reviewed-on: https://gerrit.libreoffice.org/36678 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-19convert MeasurementSystem to scoped enumNoel Grandin1-1/+1
Change-Id: I5d26c50aa0e2c68edab6ee217ae6bdb0ee45dc09 Reviewed-on: https://gerrit.libreoffice.org/36525 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-17svg filter: fix SweepWipePath.perform (found by eslint no-undef)Thorsten Behrens1-3/+3
Change-Id: I98d64618d28a06a04ce4e191be6ed90bc9af07bb
2017-04-17svg filter: fix eslint no-redeclareThorsten Behrens1-50/+64
Change-Id: I8435d991c582d2b3102d3a42984bb773fddae87c
2017-04-17svg filter: fix eslint no-undef - var-declare stuffThorsten Behrens1-165/+165
Change-Id: I4cd00616f972a0be14ceff9311aafee39561ac35
2017-04-17svg filter: fix eslint no-constant-conditionThorsten Behrens1-4/+0
Change-Id: I8ac187702a3014f78bb711409770b4e8504bcd7d
2017-04-17svg filter: fix eslint no-unused-varsThorsten Behrens1-9/+3
Change-Id: Ia3e80992d2c5310e0a2c810ef74d710f7a0e1e0b
2017-04-17svg filter: fix eslint no-unreachableThorsten Behrens1-1/+0
Change-Id: I111c30c9e379a04a17ee057e196efe7930758933
2017-04-17svg filter: fix eslint no-extra-semiThorsten Behrens1-1/+1
Change-Id: I21aa1bad2302536803d3da931cded84742733e05
2017-04-17svg filter: fix eslint no-fallthroughThorsten Behrens1-0/+3
Change-Id: I2cbc4757042ed3934b0badff03fa291c9f36b6da
2017-04-17svg filter: fix eslint no-dupe-keysThorsten Behrens1-2/+0
Change-Id: Iea60d96b6b0c3ba84caa20dd4a0b429af20a5d09
2017-04-17svg filter: fix eslint assigned-not-used no-unused-vars errorsThorsten Behrens1-27/+10
Change-Id: I15390770b908b281319c4f620732964755aea862
2017-04-17svg filter: remove reams of commented-out JS codeThorsten Behrens1-224/+0
Change-Id: I620bb3ee72653ecc595c5da9fe0558defaf96a44
2017-04-17svg filter: fix eslint no-unused-vars errorsThorsten Behrens1-109/+23
Change-Id: I1ef6d22f21069afd8dcef5842cf819ca2fef5287
2017-04-17tdf#51358 Add Support for ParallelSnakesWipe transition in SVG ExportRohan Kumar1-24/+232
Ported the class ParallelSnakesWipePath Change-Id: Ife99723792d3d3614c7fff6bcf6abaf199568075 Reviewed-on: https://gerrit.libreoffice.org/35723 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-17tdf#51358 Added Support for DoubleDiamondWipePath in Impress SVG ExportRohan Kumar1-3/+67
Ported the class DoubleDiamondWipe Change-Id: Ic4432018278c7b3567996bc9463b0f8fc96ebbec Reviewed-on: https://gerrit.libreoffice.org/35225 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-17tdf#51358 Add support for SpiralWipe transition in svg exportRohan Kumar1-68/+237
Ported the class SpiralWipePath Change-Id: I3f24c3e32fb2994db0edb48e6c2bd017337c208a Reviewed-on: https://gerrit.libreoffice.org/35139 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-15Fix typosAndrea Gelmini1-1/+1
Change-Id: I0238202c0dc0380b0e33a9c4567a9513c0afbe91 Reviewed-on: https://gerrit.libreoffice.org/36556 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-12can use gb_CppunitTest_use_configuration and still access .ui filesCaolán McNamara1-2/+1
after... commit 506cab1a01b0481d0831a7a692a26dc5a5b55e91 Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Apr 12 16:14:10 2017 +0100 take the .ui files from $BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR Change-Id: I9cffdc092206c038da32a32a2cfe629e68b5c258 Change-Id: I906d16037cdf0b9203a4120cb1a5e9846a5c7b7f Reviewed-on: https://gerrit.libreoffice.org/36482 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-11tdf#105809: Drop the PlaceWare export filterTor Lillqvist17-1476/+0
Hard to think of any reason why anybody would need it. Change-Id: If989cdeb1728847973da601f9d3fa60aba1f3bad Reviewed-on: https://gerrit.libreoffice.org/36169 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-04-11loplugin:mergeclasses merge E3dScene with E3dPolySceneNoel Grandin2-2/+0
Change-Id: I70f28fb4c87ad8c0e0ad46f4ce04914b6536d6b9 Reviewed-on: https://gerrit.libreoffice.org/36376 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10loplugin:inlinefields in PPTTextObjNoel Grandin1-53/+34
Change-Id: If0bdb1cad649eb6acceca125367cbd1c3c267fc0 Reviewed-on: https://gerrit.libreoffice.org/36350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10loplugin:inlinefields in PPTParaPropSetNoel Grandin1-50/+42
Change-Id: I2a307d5be85f10b410f211c020fdaa9c2bec2bec Reviewed-on: https://gerrit.libreoffice.org/36349 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10loplugin:inlinefields in SvxMSDffManagerNoel Grandin1-10/+7
Change-Id: I30a7f593c1d2f751adcdde1a381fb616c2dfed74 Reviewed-on: https://gerrit.libreoffice.org/36347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10loplugin:inlinefields in PPTTextRulerInterpreterNoel Grandin2-34/+28
Change-Id: Ic814a5dce507b5a0cb49a093a60bd71768ee40d5 Reviewed-on: https://gerrit.libreoffice.org/36348 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-10loplugin:sallogareasNoel Grandin1-1/+1
Change-Id: I382360e7756c8e0afa47c6bc96dfc04fec558a45
2017-04-09ofz#1078 cgm infinite recurseCaolán McNamara2-2/+14
Change-Id: I6ba4c6a432f1dd150591f8d9b0f03e248a97c33e
2017-04-08limit symbol visibilityCaolán McNamara1-3/+6
Change-Id: I54d5fbe1cd9d5ae94cb134f08fc00593c802ebee
2017-04-07check escher seeksCaolán McNamara1-7/+11
Change-Id: I4cb523e8654defa25e75ebd54f1e125ea02e1cf9 Reviewed-on: https://gerrit.libreoffice.org/36281 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-07loplugin:redundantcast find cstyle arithmetic castsNoel Grandin4-4/+4
Change-Id: If7c259f0d12a41182f476ddb558f7cb5f76f9577 Reviewed-on: https://gerrit.libreoffice.org/36253 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-07ofz#888: use after freeCaolán McNamara1-1/+12
Change-Id: I6d3f9108b02149165b020fc9c6677880456a1ef4 Reviewed-on: https://gerrit.libreoffice.org/35298 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-07ofz#893 limit para depth to max legal ppt levelCaolán McNamara1-14/+20
Change-Id: Ie7c287964b126d143a0eeb14be53addc7c34b87f Reviewed-on: https://gerrit.libreoffice.org/35402 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-07cid#1404877: Check return valueStephan Bergmann1-2/+2
Change-Id: I6199a7604f8c978a6ebe3537f7df322f32d95c77
2017-04-06tdf#51358 Add Support for more slide transitions to Impress SVG ExportRohan Kumar1-2/+103
Ported the class WaterfallWipe. Change-Id: I4856243c4b29e45f16ee780db42c2f742a6b1dc1 Reviewed-on: https://gerrit.libreoffice.org/35107 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06tdf#51358 Support for SweepWipe transition in SVG ExportRohan Kumar1-55/+215
Ported the class SweepWipe Change-Id: Ia67b50ba53900efab977a4cb284f7d1514ff8113 Reviewed-on: https://gerrit.libreoffice.org/34906 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06tdf#51358 Add Support for FanWipe classRohan Kumar1-0/+115
Ported the class FanWipe In SVG engine. Change-Id: I8a067f2df32968bb00d5b3adc020bc9ee8296f33 Reviewed-on: https://gerrit.libreoffice.org/33910 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06tdf#51358 Support for ZigZag-Wipe transition animation in SVG supportRohan Kumar1-1/+111
Ported classes ZigZagWipe and BarnZigZagWipe Change-Id: Ib15929c24dc952944ac4de5b71c541cdd99affcc Reviewed-on: https://gerrit.libreoffice.org/33763 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-04-06loplugin:useuniqueptr extend to catch more localvar casesNoel Grandin1-5/+2
i.e. where the code looks like { foo * p = new foo; ... delete p; return ...; } Change-Id: Id5f2e55d0363fc62c72535a23faeaaf1f0ac6aee Reviewed-on: https://gerrit.libreoffice.org/36190 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06loplugin:singlevalfieldsNoel Grandin1-1/+0
Change-Id: Ia681765aa1da5c80a3dbe91b7376af841a9c9ec1 Reviewed-on: https://gerrit.libreoffice.org/36145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-06loplugin:redundantcast find cstyle double castsNoel Grandin3-12/+8
Change-Id: I5507be190dac781e5cdb545a60acf3d50056c9f8 Reviewed-on: https://gerrit.libreoffice.org/36187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-05ofz#829 ensure palette can fulfil largest index usedCaolán McNamara1-25/+42
Change-Id: I95aa4796875ee71e8b06a2bb8985845f270b8817 Reviewed-on: https://gerrit.libreoffice.org/35103 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-05sType and sSubType are already normalized to ASCII lower caseMike Kaganski1-3/+3
... upon successful return from INetContentType::parse Change-Id: I8a0c50c1c655477138578e59031b64fb6b2b7218 Reviewed-on: https://gerrit.libreoffice.org/36129 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-05loplugin:constantparam part2Noel Grandin4-13/+12
Change-Id: I7ec4c946be52a6b56aee908426f95ecacc7b0746 Reviewed-on: https://gerrit.libreoffice.org/36072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-05tdf#106955: Detect XML by MediaTypeMike Kaganski2-3/+45
According to Extensible Markup Language (XML) 1.0 (see https://www.w3.org/TR/2008/REC-xml-20081126/#sec-prolog-dtd), all parts of XML prolog (including XML declaration) are optional, so XML stream without <?xml ... ?> is well-formed (though not valid). XMLFilterDetect uses only XML declaration to detect if the file is to be processed further. However, this creates problems with said documents. This commit checks if the document has MediaType set to one of known XML media types, in case when the check for XML declaration failed. Change-Id: I31627c0e3a39bee241f609650280ebac3f1cede8 Reviewed-on: https://gerrit.libreoffice.org/36101 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-05tdf#106525: Implement an XSLT import filter for ADO rowset XMLMike Kaganski6-0/+278
There are online services and management systems (like SharePoint) that allow to export datasets in ADO rowset XML format ([MS-PRSTFR], https://msdn.microsoft.com/en-us/library/cc313112). Usually they are intended to be open with MS Excel as a spreadsheet (with autofilter). This allows to open this data in Calc. Change-Id: I495cd790138bdd6bd24630c0f422a0c8b4e3d0fb Reviewed-on: https://gerrit.libreoffice.org/35159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-04make UNO enums scoped for internal LO codeNoel Grandin2-3/+3
this modifies codemaker so that, for an UNO enum, we generate code that effectively looks like: #ifdef LIBO_INTERNAL_ONLY && HAVE_CX11_CONSTEXPR enum class XXX { ONE = 1 }; constexpr auto ONE = XXX_ONE; #else ...the old normal way.. #endif which means that for LO internal code, the enums are scoped. The "constexpr auto" trick acts like an alias so we don't have to use scoped naming everywhere. Change-Id: I3054ecb230e8666ce98b4a9cb87b384df5f64fb4 Reviewed-on: https://gerrit.libreoffice.org/34546 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-03tdf#39468 Translate German commentsJens Carl1-2/+2
Translate German comments and terms in UnoControls/, editeng/, filter/, odk/, reportdesign/, sd/, sfx2/, starmath/, svl/, svtools/, toolkit/, tools/, writerfilter/, and xmloff/. Change-Id: Ibc401a425ddfdf41e4e4a78600f3fbce8cfaa2b1 Reviewed-on: https://gerrit.libreoffice.org/35992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-03coverity#1403736 Unintentional integer overflowCaolán McNamara1-118/+106
Change-Id: I3902dda8f7b420ea3f5e7e8c5d50a47b7e762918