summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)AuthorFilesLines
2017-02-28ofz: timeout, check availablity of point data before reading itCaolán McNamara1-0/+6
Change-Id: I86b3041bc5123ba10bbb9b64702dfb2060b3cc23
2017-02-28tidy this a titchCaolán McNamara1-7/+5
Change-Id: I71153579a193abc209a08a0f076ee50cf8ec5d06
2017-02-28ofz: timeout on clamping big double to 0..360Caolán McNamara2-7/+148
Change-Id: Ica2aedc5275e5f523302f5793e3f3816b3ff65b4
2017-02-28check nTargetBits sizeCaolán McNamara1-1/+4
Change-Id: I5cc7499cfdee58ffa480bb31dfc262d5b781180d
2017-02-28use memset instead of loopCaolán McNamara1-3/+7
Change-Id: I572f52658914a0814bc3d3990830e247275e110b
2017-02-28ofz: detect failure earlierCaolán McNamara1-20/+30
Change-Id: I28be740fb15b3b9ed88d2575c94073c24d53579c
2017-02-28new loplugin unoanyNoel Grandin2-14/+9
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-28ofz#704 fix tiff leakCaolán McNamara1-16/+14
Change-Id: Id43fd11b5503d1fdd967d146a71445e2fed4192f
2017-02-28sal_uLong->sal_uInt32Caolán McNamara1-8/+8
Change-Id: I49d926f4ff064871e3773fce089d7f927df9b099
2017-02-25add 602 fuzzerCaolán McNamara2-6/+4
Change-Id: I91242d4647922be1c668c6a6518dedf7048801be
2017-02-23ofz: don't read data that isn't thereCaolán McNamara1-0/+6
Change-Id: I7fdcb78bde8f650c1a57d34177d8993a6d8a0a2f
2017-02-23make this a little clearerCaolán McNamara1-3/+3
no logic change intended Change-Id: Ibfc46d0aba9e220be54270734e0cdfbc123be9a5
2017-02-23improve scopingCaolán McNamara1-3/+3
Change-Id: Ic79d46da4e322a0f52981c3a3df65f7f0294fdd8
2017-02-22ofz: don't read data that isn't thereCaolán McNamara1-0/+4
Change-Id: I9f730c321755cde169d940b49fc93bbe057ead57
2017-02-21loplugin:subtlezeroinit: filterStephan Bergmann1-2/+2
Change-Id: I4842b8a82f7fe3a4a5c33da2780ced61d66293ba
2017-02-20remove unused enumerators from SdrObjKindNoel Grandin1-2/+0
Change-Id: I7b02cb0557d55a7063f8985552bdda54657d803f Reviewed-on: https://gerrit.libreoffice.org/34472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-17tdf#105639: create valid id values in svg exportChr. Rossmanith2-7/+6
Change-Id: I01a011501af317d7a9e90d7c70d50ef84c74b24e Reviewed-on: https://gerrit.libreoffice.org/34347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-02-16tdf#100726 Improved readability of OUString concatenationsFakabbir Amin2-18/+13
Cleanup in filter, framework and svtools directory. Change-Id: Icf4f04cff1207e58ce55ea3dc8c21b0635c3b6ec Reviewed-on: https://gerrit.libreoffice.org/34298 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-15assume max compression of 255 for rasCaolán McNamara1-5/+10
Change-Id: I51dfa45b266b6b9361f48aac58f0a4bca8446bdd
2017-02-14check data needed to fulfil ras claims before allocatingCaolán McNamara1-2/+10
Change-Id: Ifdd820e4ea4287f97cc07cb86c0a180d06081449
2017-02-14this is already checked forCaolán McNamara1-7/+0
Change-Id: I01af66bfdcbee0a3d63a17c0a19fdd3c02d4acdc
2017-02-14check valid mnDstBitsPerPix before progressingCaolán McNamara1-0/+7
Change-Id: I77b8e882b537ab10b26fa021ef633c603bbd6562
2017-02-14check ras seeksCaolán McNamara1-2/+15
Change-Id: Id4c55ad57c49f08eff813a3ad5325d7788688c51
2017-02-14move allocation of bmp to after reading paletteCaolán McNamara1-11/+18
Change-Id: Ib54e0b3f3fae2c2e76cf49e03dceab2259b26b92
2017-02-14reduce scope of maBmpCaolán McNamara1-4/+3
Change-Id: I8605ec535bc8a948cf0dc0dd194e673b73939035
2017-02-14reduce scope of bPaletteCaolán McNamara1-4/+4
Change-Id: Icc1fd48e72be6c550b03008a6d7b81bf8a903d44
2017-02-13ofz: move size check before bitmap allocationCaolán McNamara1-16/+10
Change-Id: I09deab103a3bc53277ea3d545b2737438875dfc5
2017-02-13Fix typosAndrea Gelmini1-1/+1
Change-Id: Iaf6bbe81f519d49b82f624282d786c8cc18d641c Reviewed-on: https://gerrit.libreoffice.org/34199 Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com> Tested-by: Aleksandar Stefanović <theonewithideas@gmail.com>
2017-02-10coverity#736181 Out-of-bounds readCaolán McNamara1-3/+2
it should be fine, as we rely on there being at least one password char, this is the same as, commit 2d3ed7ebb592401de214eaeee68c656afbefbe05 Author: Michael Meeks <michael.meeks@collabora.com> Date: Tue Feb 25 22:48:48 2014 +0000 cid#736173 - increase default fill chars buffer size. which is another impl of this Change-Id: I5e1e07af37bea0398153ede300beed67d37d5e12
2017-02-10ofz#579 wrong variable tested for 0Caolán McNamara1-1/+1
Change-Id: I721dc9d1c15296b2658421b4c4fe794578f3f1af
2017-02-09convert PDFVersion to scoped enumNoel Grandin1-4/+4
Change-Id: I9920f4c9783eb23a41d135e5eacd12805c1b9c2b Reviewed-on: https://gerrit.libreoffice.org/34060 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-09convert BmpConversion to scoped enumNoel Grandin3-14/+14
and drop unused 4BIT_TRANS and 1BIT_MATRIX enumerators Also fix a bug in x11::convertBitmapDepth where we were incorrectly passing BmpConversion enumeratirs to ReduceColors Change-Id: I903c6866750e46ee752e10a17c05fcaaf6b11242 Reviewed-on: https://gerrit.libreoffice.org/34062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07tdf#90436 - better wording for selection in case of PDF export from CalcCor Nouws3-3/+28
improved patch Change-Id: I6baf39db88d3fe9322c573a288243689d1696d7f Reviewed-on: https://gerrit.libreoffice.org/33977 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-06Add missing #includesStephan Bergmann5-0/+5
...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
2017-02-06Resolves: ofz#547 Floating-point-exceptionCaolán McNamara1-5/+5
Change-Id: I9612bef0198ce8f09d39f5000a31819c175027d1
2017-02-03TyposJulien Nabet1-2/+2
Change-Id: I36f443c266670bd26aa6b813075e18653f372f52 Reviewed-on: https://gerrit.libreoffice.org/33900 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-03Typo about "property"Julien Nabet1-1/+1
Change-Id: I17bd9ce74d95beaa230276bec40b739b05b81cf2 Reviewed-on: https://gerrit.libreoffice.org/33898 Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-03new loplugin:unusedenumconstantsNoel Grandin3-5/+2
These are the simple removals, where it is obviously safe, the more complex ones will come in separate commits Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308 Reviewed-on: https://gerrit.libreoffice.org/33828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-02convert method names in tools::SvRef to be more like our other..Noel Grandin3-22/+22
reference classes, uno::Reference and rtl::Reference. Specifically rename Is()->is() and Clear()->clear(). Change-Id: Icb7e05e2d09cb9977121508b837ba0961dabb4ae Reviewed-on: https://gerrit.libreoffice.org/33576 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-02convert BmpCombine to scoped enum and drop unusedNoel Grandin1-1/+1
Change-Id: Ic67474683a25a25e5753777f4bbbeded6ceba414 Reviewed-on: https://gerrit.libreoffice.org/33793 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-01loplugin:useuniqueptr extend to check local varsNoel Grandin1-6/+4
just the simple and obvious case for now, of a local var being allocated and deleted inside a single local block, and the delete happening at the end of the block Change-Id: I3a7a094da543debdcd2374737c2ecff91d644625 Reviewed-on: https://gerrit.libreoffice.org/33749 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-01ofz#506 check len before allocCaolán McNamara1-3/+3
Change-Id: Ia3a30936fadde10275a964d09150a3b6e4f3e16f
2017-01-31upload libmwaw 0.3.10David Tardon2-2/+2
Change-Id: I1355f60bdaf66aecef22f1093f57369b9fd91972 Reviewed-on: https://gerrit.libreoffice.org/33745 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2017-01-31we don't actually need width amount of data in advance to fill the widthCaolán McNamara1-7/+7
seeing as we seek from previous position + bytecount on each loop we can only be sure we go forward the min (+1/+2) for each iteration Change-Id: I4f1a29d96c43ee8aa858c97405d196b89994669b
2017-01-30ofz: we're going to need at last a len field and a CounterByte on each rowCaolán McNamara1-6/+2
Change-Id: I5c5c2d67bcba7692e696be6ab96db041b20416a4
2017-01-30ofz: div by zeroCaolán McNamara1-1/+1
Change-Id: Id5174bb9f0d89fc2286c130650ec27c9df13e123
2017-01-30ofz: defer bitmap initialization until size checks are completedCaolán McNamara1-30/+58
Change-Id: I64715b5fe263889d2d62a7a9876d9856842e4a05
2017-01-29we don't need read access, only writeCaolán McNamara1-7/+0
Change-Id: If9720a402ce360fd691a4ce83f267e2d19e19652
2017-01-28ofz: cluster of unused variables -> div by zeroCaolán McNamara1-10/+1
Change-Id: Ic3ca3228b112301217f0eb239899c775de52975e
2017-01-28loplugin:stringconstant check for unnecessary OUString constructor..Noel Grandin1-1/+1
..calls when creating exceptions Change-Id: I3bc58a5aa4dc6f0508ecb88b3a843b96b8c7ebfe Reviewed-on: https://gerrit.libreoffice.org/33617 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>