summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)AuthorFilesLines
2015-07-15don't hang if at end of streamCaolán McNamara3-2/+25010
Change-Id: I497a30041ec667237c2aa64963dcefb67753e87c
2015-07-15WaE: C2220Caolán McNamara2-2/+4
Change-Id: Ibf9fa7ffc3beb237a470952c265fb1bce313a08a
2015-07-15bump size typeCaolán McNamara2-3/+4
Change-Id: I2c32c253499a3efb22a3312ed1f0a608649ce124
2015-07-15tools polygons limited to 16bit indexesCaolán McNamara2-6/+23
Change-Id: Ib0f727a3681492c15b807ca159d8bf7675ee8f29
2015-07-15don't hang with 0 len causing no progressionCaolán McNamara2-3/+9
Change-Id: Ie553dab291c7bfbde033d89b84159aff6b42a160
2015-07-15avoid hang in short pbmCaolán McNamara7-1/+6
Change-Id: I9b7f0832a4dc231e1e8f963858c155e3cd392667
2015-07-15check stream state more often for failuresCaolán McNamara2-10/+14
Change-Id: Ie45d858021c3123ec21829cbf4742cf30ce46665
2015-07-15file format documentation states these are signedCaolán McNamara2-9/+9
Change-Id: Iaca58dda19d24a767333ff642759414951a03e6d
2015-07-14filter: filter_utils test needs tools libraryMichael Stahl1-0/+1
Change-Id: I0de6e4598f365fda1cccd1d3466429e52cf4067f
2015-07-14Missing boost_headersStephan Bergmann1-0/+4
Change-Id: Ie42c10d09a7b6194919e57e88022e05e4cbd7016
2015-07-14tdf#92471: Improve color conversion to MSO highlightingZolnai Tamás4-1/+188
The simple color distance on RGB color space is not good enough. It leads to a better result if we use the scheme of the primary colors. This method works well with MSO highlighting color palette, but not neccessarily in general. In highlighting palette light and dark variant of the same color type (e.g. blue and light blue) has the exactly same scheme. Change-Id: Ied08b4c388b8020326709d01d2de290afdd9d77b
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann3-12/+2
...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
2015-07-13editeng: make Link<> usage typedNoel Grandin2-6/+7
Change-Id: Iec36c7e4f4fbc2ee2ee25d4d0c8488340ba7d8c4 Reviewed-on: https://gerrit.libreoffice.org/16968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-10vcl: remove boost/signal2/signal.hpp from headerMichael Stahl2-0/+4
The most relevant signal member function appears to be connect(), so let's create a wrapper function for that now, without the more esoteric ordering features for now. Move the signal member itself to a new pImpl. The benefits are worth it: preprocessor input reduced by 2.8GB, that's 9% of the total (excluding system headers which are not counted because they don't generate dependencies). Change-Id: I0aaeda51a5630a348bb12c81a83f67afbd508a14
2015-07-08Fix typosAndrea Gelmini3-6/+6
Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-07-05ppc64: fix infinite loop with default unsigned charCaolán McNamara1-8/+39
Change-Id: I4c1d4c9228113bf83e8aabb50f153d2658c3cf59
2015-07-03Fix typosAndrea Gelmini13-16/+16
Change-Id: Id884946cae0687d0b71c967e236e58df17567884 Reviewed-on: https://gerrit.libreoffice.org/16707 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-07-03tdf#39468 Translate German Comments - filter/source/graphicfilter/eps/eps.cxxPhillip Sz1-4/+4
Change-Id: Id86b7082b17a4cd702d6ab92fbeaa9ec8288d14a Reviewed-on: https://gerrit.libreoffice.org/16715 Reviewed-by: Daniel L. Robertson <danlrobertson89@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-07-02coverity#1309069 Uncaught exceptionCaolán McNamara1-0/+5
Change-Id: I1cef0d50668109100cec7077a0080eaf9ee5a710
2015-07-02coverity#1309057 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Idbb43eadaeed8e74e41b4da4f9b02d12ff755672
2015-06-30Fix typosAndrea Gelmini1-1/+1
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-29coverity#1308592 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I1a63116534430ebf8d203c21baf248a84a39b221
2015-06-28coverity#1308561 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I82dfcb853f9737e327c84996cc363e0a48d7f796
2015-06-28Fix typosAndrea Gelmini1-1/+1
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann1-5/+2
Change-Id: I8d923a656e185ebb46ab0a70c7a122b12b86ace1
2015-06-25loplugin:stringconstant: Flag more inefficienciesStephan Bergmann3-6/+6
Change-Id: I7d8b0ab33980726ffb4887b1f19797702d224191
2015-06-22Fix typosAndrea Gelmini2-5/+5
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-20filter: bestFitOpenSymbolToMSFont() parameter bDisableUnicodeSupportMichael Stahl1-2/+2
... is obsolete Change-Id: I644f80ac4bf265f2c669a9d1b87fecd012756be2
2015-06-18Fix typosAndrea Gelmini1-1/+1
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe13-43/+42
This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-16Fix typosAndrea Gelmini1-1/+1
Change-Id: Icfb885b72d51edc886851cf503c56fa12b8f559f Reviewed-on: https://gerrit.libreoffice.org/16309 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-16Fix typosAndrea Gelmini1-1/+1
Change-Id: I28cfc629dc3d6ef54128615452667ccce86c1072 Reviewed-on: https://gerrit.libreoffice.org/16297 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin4-12/+6
Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
2015-06-15Fix typosAndrea Gelmini1-1/+1
Change-Id: Id05ea8cf8aed878bedfe73c274df3c67b64bad37 Reviewed-on: https://gerrit.libreoffice.org/16263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-13Fix typosAndrea Gelmini1-2/+2
Change-Id: Ifaa52b49b717d893846fc1e7ae4ac50735f824ac Reviewed-on: https://gerrit.libreoffice.org/16260 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-06-13remove unused codeAndras Timar1-91/+0
Change-Id: If9b7870673a47b78457f6e22ee0cfa7e3a68372a
2015-06-11convert expressions like 'size() == 0' to 'empty()'Noel Grandin1-1/+1
Change-Id: Ia5c8c0f38a347f398d587970a22e03f29ffd37af
2015-06-10Prop_pSegmentInfo is totally misunderstood apparentlyCaolán McNamara1-20/+27
digging into the crash on export of kde216114-1.odt reveals various horrors Change-Id: I0d24fe303d561a00a08098b306d10fd8273af928
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann24-53/+53
Change-Id: I2976a8e6a3c9abf70e153a71bf0374d24d92968d
2015-06-05Let JUnit take care of exceptionsNoel Grandin2-135/+82
Inspired by commit 4dd0ac62855c5b9382cac004c7eebb9bed983a2b Change-Id: I6ca29aecde357a3cb5852acfc9b5443761052960 Reviewed-on: https://gerrit.libreoffice.org/16094 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-04convert B2DLineJoin to scoped enumNoel Grandin6-33/+33
Change-Id: I4fb8f2c9e2080e3aa542d2ccf838e6784baa8429
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann3-4/+4
Change-Id: I0724eff3d9fb2912ba54515945efb8aaacf486db
2015-06-01Remove unused icgm filter VirtualDevice member.Michael Meeks2-3/+0
Change-Id: I899e6cbc2fe9453ba048cd2dd147a2a29b166f22
2015-06-01tdf#91782 - fix VirtualDevice allocation crasher in eps filter.Julien Nabet1-1/+1
Change-Id: I59cc13cebf9a15e873cd0b7f8fccffa37a6a8f39
2015-06-01loplugin:loopvartoosmallNoel Grandin8-9/+9
Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
2015-05-29store FilterConfigItem options in disposeLászló Németh2-0/+2
Change-Id: I090303dcff833997774fc69826dc7feffa05a3c5
2015-05-29loplugin:loopvartoosmallNoel Grandin1-3/+3
Change-Id: Icbe68b31d4ab04ca3cd9f572e3598413946a75c7
2015-05-28tdf#91652 - store PDF FilterConfigItem options in dispose.Michael Meeks1-0/+2
Change-Id: I808aeab8fdac35330de24970b873f49e22c52c6a Reviewed-on: https://gerrit.libreoffice.org/15946 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-26tdf#91416 - fix some incorrectly allocated VirtualDevices.Michael Meeks3-3/+3
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe
2015-05-25remove some unnecessary casts and convert some to const_castNoel Grandin1-2/+2
Change-Id: I590a87c832bc59947ae04e52d3ac5ea71574bb11 Reviewed-on: https://gerrit.libreoffice.org/15888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>