summaryrefslogtreecommitdiffstats
path: root/sdext
Commit message (Collapse)AuthorAgeFilesLines
* formatting of public/private/protected section qualifiersNoel Grandin2015-07-176-10/+10
| | | | | | | | | | make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Fix typoTakeshi Abe2015-07-081-1/+1
| | | | Change-Id: Iec20cfa243e336d36e12e13d36564eacc9db1435
* Fix typosAndrea Gelmini2015-07-081-1/+1
| | | | | Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
* sdext: the PDF library, not the treeMichael Stahl2015-07-081-1/+1
| | | | Change-Id: Ic867140ace06337f6121d7c4576eb9850577d7cb
* Improve sdext/ README.Michael Meeks2015-07-071-0/+19
| | | | Change-Id: I64a5313f39efbe091a5c7164ca29535e4b45b00c
* loplugin:unusedmethods sdextNoel Grandin2015-07-0717-51/+0
| | | | | | | Change-Id: I9119e612a92d05f587a1f1e19ca21b2f95102891 Reviewed-on: https://gerrit.libreoffice.org/16809 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Fix typosAndrea Gelmini2015-07-042-2/+2
| | | | | | | Change-Id: Iddcc22f62ea134ea797292daa02e47042d52d0d1 Reviewed-on: https://gerrit.libreoffice.org/16710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* Work around const-ness issues in the GooString APIStephan Bergmann2015-07-011-4/+8
| | | | | | | cf. <https://gerrit.libreoffice.org/#/c/16357> "Revert the removal of cast to build on old poppler" Change-Id: I75184cec64b4f32e0cf9adedeb84c8591be4fc73
* Fix typosAndrea Gelmini2015-06-221-1/+1
| | | | | | | Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Fix check for broken standard libraryStephan Bergmann2015-06-192-3/+4
| | | | | | | | The compiler's __GNUC__ etc. need not match the libstdc++ version used (esp. when using Clang as compiler), and libstdc++'s __GLIBCXX__ macro doesn't inrease monotonically with version numbers, so resort to a configure check. Change-Id: I06de6b68324169863f6f5c31ae5d855e8b04cd6b
* Catch inadvertent uses of OUString(sal_Unicode) ctorStephan Bergmann2015-06-191-3/+3
| | | | | | | | | | | | | | | | ...with numeric values that are not meant to be characters. Inspired by <https://gerrit.libreoffice.org/#/c/16339/> "OUString: add constructor from single Unicode code point" and ecaf1cb3861c1b519a1495487fc796884cf37b92 "seems to be what was meant." Found e46e8d19458fd64ff20b1013e5eeabd07e62379c "Shall this produce a string representation of a number?" and f2a0e4032734d6be635f14ade3dea499c29ec6c2 "Don't truncate a UTF-32 code point to a UTF-16 code unit." (LIBO_INTERNAL_ONLY mostly because it uses a C++11 delegating ctor for simplicity, but also because it requires mild modifications to client code, see additional changes in this commit and some other recent commits.) Change-Id: I8a156f01d1b772c6052d7afaa088ae13ed234e2b
* once more unto the breech dear fellowsNoel Grandin2015-06-192-3/+2
| | | | | | workaround GCC4.8 issue Change-Id: Iea4d10a02a114ce94e0219e8b89acf48db5411d0
* workaround older compilers that do not have std::list::erase(const_iterator)Noel Grandin2015-06-192-4/+15
| | | | Change-Id: Iaa1164904febd8e97d4962e4004ec4719a1f4a42
* fix older compilerNoel Grandin2015-06-191-27/+29
| | | | | | | after my commit e0f3e7c007e9eeced888b491ec2698acba4bc588 "tdf#42374 some small optimisations for opening this PDF file" Change-Id: I908770ca618581ffe26ebb2205b804d1abcae5a7
* add commentNoel Grandin2015-06-191-0/+1
| | | | Change-Id: I336e6ea9b08edaa7e9718f8af9c112b983eeaa58
* fix older compilerNoel Grandin2015-06-191-34/+35
| | | | | | | after my commit e0f3e7c007e9eeced888b491ec2698acba4bc588 "tdf#42374 some small optimisations for opening this PDF file" Change-Id: Ib9dc0aaf3ad2afca272160a934049d89bbd54175
* tdf#42374 - read PDF in larger chunksNoel Grandin2015-06-191-27/+67
| | | | | | | Optimise the reading of the imported PDF file by reading in larger chunks. Eliminates roughly 10% of the time on my box Change-Id: I48fff325076850a4ccd32ad85a3092621a923034
* tdf#42374, improve perf by fixing bug in pdfi::HashedStyle::hashCode()Noel Grandin2015-06-191-1/+1
| | | | | | which was rendering it largely useless for hashing purposes Change-Id: Ie94457ea0a6e53fd9ceed9461656e2d3b0840d58
* tdf#42374 some small optimisations for opening this PDF fileNoel Grandin2015-06-192-43/+33
| | | | | | makes it about 10% faster Change-Id: I145faed5aa7c312372f08cc651df5afcf10c70ab
* the ElementTreeVisitable interface is doing nothing usefulNoel Grandin2015-06-193-26/+7
| | | | Change-Id: I89e8fb90de8aadce89a8f5e353a923c972e1569f
* Fix typosAndrea Gelmini2015-06-181-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>
* remove unnecessary check for null when calling deleteNoel Grandin2015-06-152-6/+3
| | | | | | | | 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
* Fix typosAndrea Gelmini2015-06-131-1/+1
| | | | | | | 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>
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-084-7/+7
| | | | Change-Id: I8bd47784ae34ecd57f43b1e680ab863a6272c32f
* loplugin:loopvartoosmallNoel Grandin2015-06-022-4/+4
| | | | Change-Id: Ib4def3435eab4625645c5afe3b151f9f430564ac
* loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann2015-06-022-3/+3
| | | | Change-Id: Ie77fdb078c9c8f8ed01dfd6c5dd583c6535803b2
* loplugin:loopvartoosmallNoel Grandin2015-06-023-3/+3
| | | | Change-Id: I809e408c994222cfa95ba8f56e4db7bd96be7080
* tdf#91416 - fix some incorrectly allocated VirtualDevices.Michael Meeks2015-05-261-3/+3
| | | | Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe
* tdf#63054: pdf_string_parser incorrectly handles escapesMike2015-04-291-2/+2
| | | | | | | | | | | This patch fixes the escapes handling by avoiding boost built-in functions that skip whitespaces behind the scenes. Change-Id: I9607ecd9e2e052aadcba69cf30ec25c981743c49 Reviewed-on: https://gerrit.libreoffice.org/15562 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
* More loplugin:simplifyboolStephan Bergmann2015-04-272-5/+5
| | | | Change-Id: I4ea5c7e9f807dfd5242c8e87a87d9ad604ebd035
* loplugin:simplifyboolStephan Bergmann2015-04-242-3/+3
| | | | Change-Id: If5f4042642364424f8d7e1e13b6285503df1d381
* loplugin:staticmethodsNoel Grandin2015-04-234-18/+7
| | | | Change-Id: I6207b475127099872c6f3764331006688129b673
* No more need for PartialWeakComponentImplHelper hereStephan Bergmann2015-04-211-10/+1
| | | | | | | ...since 70626249cd247d9acdad417b8eaf252bae22c059 "API CHANGE a11y unpublishing and add/removeListener rename." Change-Id: I89d81326d97712abcac94c3436a13905954c55cf
* Make cpp/poppler-version.h header optionalTomáš Chvátal2015-04-211-0/+8
| | | | | | | | | | | | Older popler (SLE11) does not have this header yet. With the code simply if the header not found define version to oldest possible working candidate and also raise the .pc check to the same. Change-Id: I039c879879188fe2eb90cd119b80a1d6354a6a9c Reviewed-on: https://gerrit.libreoffice.org/15339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-1560-720/+720
| | | | | | | | | | | | | | | | ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
* loplugin:staticmethodsNoel Grandin2015-04-071-1/+1
| | | | Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
* loplugin:staticmethodsNoel Grandin2015-04-075-16/+16
| | | | Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af
* loplugin:staticmethodsNoel Grandin2015-04-025-21/+21
| | | | Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
* loplugin:staticmethodsNoel Grandin2015-04-021-1/+1
| | | | Change-Id: I3ae555fd9f0dc3c11ea301ee1cb2c799fbec820d
* loplugin:staticfunctionNoel Grandin2015-03-3026-74/+69
| | | | Change-Id: I4b7b04031fa74956379c5a1b21abe10b0717f3e9
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-282-3/+3
| | | | Change-Id: I525293c6baaa2ab13db8f3205782a0d206d9d7ca
* const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2015-03-263-3/+3
| | | | Change-Id: I207f23b084013f9ce2fcf087a7f335bd8a194f50
* fix higher debug levelsCaolán McNamara2015-03-181-1/+1
| | | | Change-Id: I10556946c4bd6c60adcd9f662462b0f4b73781a2
* Fix various XServiceInfo implementationsStephan Bergmann2015-03-179-19/+135
| | | | | | ...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
* tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann2015-03-131-2/+4
| | | | | | | | ...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32 "tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit build Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
* add accel. to switch monitors to pres. consoleDavid Tardon2015-03-121-1/+4
| | | | Change-Id: I86c458f2c0a1c6a6baa6461a44b68c5f48ea55b0
* V801: Decreased performanceCaolán McNamara2015-03-092-13/+13
| | | | Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
* V801: Decreased performanceCaolán McNamara2015-03-093-19/+19
| | | | Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
* cppcheck: duplicate inherited memberNoel Grandin2015-03-025-8/+3
| | | | Change-Id: Iee20ca4523739eb082ea1fa8c1145891c0caed29
* Typo: embeded->embeddedJulien Nabet2015-03-011-1/+1
| | | | Change-Id: I27d0cdac158a674274647fe0081a8d8c046fe0ea