summaryrefslogtreecommitdiffstats
path: root/basegfx
Commit message (Collapse)AuthorAgeFilesLines
* Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-121-1/+1
| | | | Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
* clang-analyzer-deadcode.DeadStoresStephan Bergmann2015-10-052-5/+0
| | | | Change-Id: Id2d7c2aa0ba1783710a141bd910af785ecf81f8a
* Fix typosAndrea Gelmini2015-09-304-5/+5
| | | | | | | Change-Id: Ie0e941d48457d758525353d6c5cf858652f86fd3 Reviewed-on: https://gerrit.libreoffice.org/18938 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* loplugin:removeunusedmethods, remove unused stuffNoel Grandin2015-09-291-22/+0
| | | | Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
* boost->stdCaolán McNamara2015-09-182-7/+6
| | | | | | | | Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin: defaultparamsNoel Grandin2015-08-115-9/+9
| | | | Change-Id: I29ef505ee77965df33677f8051ec39398ef0c74e
* com::sun::star->css in basegfxNoel Grandin2015-07-206-70/+70
| | | | | | | Change-Id: I27f28e6a09e8bc9e90f0b60a7ac8519b2ab41860 Reviewed-on: https://gerrit.libreoffice.org/17166 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Revert "Avoid loplugin:staticmethods in non-debug build"Stephan Bergmann2015-07-141-1/+0
| | | | | | This reverts commit d0ba487bae3a0f6d1fcb9af13397c85e70ad8e1b, obsoleted by cbce40e965acef51822b31d73da5fbc271fbcad0 "Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug builds."
* do not include boost/utility.hppMichael Stahl2015-07-102-2/+2
| | | | | | | | | | It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
* Avoid loplugin:staticmethods in non-debug buildStephan Bergmann2015-07-081-0/+1
| | | | Change-Id: Ie943f6a998f142014c0405892264c8257dccaf6f
* s/Coordiante/CoordinateTor Lillqvist2015-07-082-61/+61
| | | | Change-Id: Iac584b09844b5877586061e9a44b1f7473bffed4
* Fix typosAndrea Gelmini2015-07-081-1/+1
| | | | | | | Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix some misspellingsTor Lillqvist2015-07-072-2/+2
| | | | Change-Id: Iff2303650e1dcfc56064907a28df1c4c452eac56
* Fix typosAndrea Gelmini2015-07-043-3/+3
| | | | | | | Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc Reviewed-on: https://gerrit.libreoffice.org/16705 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* Fix typosAndrea Gelmini2015-06-302-2/+2
| | | | | | | Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Fix typosAndrea Gelmini2015-06-282-2/+2
| | | | | | | Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2015-06-222-2/+2
| | | | | | | 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 typosAndrea Gelmini2015-06-211-1/+1
| | | | | | | Change-Id: I2297bf392a405f02be2450f4624f1c9fc0b512ce Reviewed-on: https://gerrit.libreoffice.org/16373 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Fix typosAndrea Gelmini2015-06-161-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>
* cppcheck: redundantCondition [part1]Julien Nabet2015-06-141-2/+1
| | | | Change-Id: I21c5340e7b5ec09248b08aa76f43acf883c56cd8
* Typo: vertival -> verticalAndras Timar2015-06-111-2/+2
| | | | Change-Id: I3dce3d131ce78713333d6e4bc2f3e839af5e04ec
* Removed getNormal() from polygontools, it just calls B3DPolygon::getNormal()Zsolt Bölöny2015-06-041-5/+0
| | | | | | | | Change-Id: I5a59ff8e0db1aee52d0b683c9c64e4b18b64e66b Reviewed-on: https://gerrit.libreoffice.org/16077 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* uno::Sequence provides now begin and endNoel Grandin2015-06-041-3/+1
| | | | | | | | | | | | use begin() and end() when calling std::copy on an uno::Sequence Inspired by commit b34b648fc3262c5d9aa295f621e8fe9c97d4c6b2 "uno::Sequence provides now begin and end" Change-Id: I08e8c3fd6144e77b95a26f85bc0daf6a9edeeb0b Reviewed-on: https://gerrit.libreoffice.org/16057 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* convert B2DLineJoin to scoped enumNoel Grandin2015-06-041-7/+7
| | | | Change-Id: I4fb8f2c9e2080e3aa542d2ccf838e6784baa8429
* convert B2VectorContinuity to scoped enumNoel Grandin2015-06-046-14/+14
| | | | Change-Id: Ifa401dd0d2d1bef8c0ae2987d2aee86100b59816
* convert B2VectorOrientation to scoped enumNoel Grandin2015-06-0410-79/+79
| | | | Change-Id: Id7e444bc896ae5d52e5a0bd1b471679c4945afa4
* Replaced boost::tuple with std::tupleZsolt Bölöny2015-06-023-8/+5
| | | | | | | | Change-Id: Ia001c8e1e00df85d2be93e330811a1081179785d Reviewed-on: https://gerrit.libreoffice.org/15816 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove B1IRange, it's not used anywhereZsolt Bölöny2015-06-012-3/+0
| | | | | | | Change-Id: I2eeded849b9b36611407e8ecc545d7801939e4c9 Reviewed-on: https://gerrit.libreoffice.org/15815 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Remove B1IBox, it's not used anywhereZsolt Bölöny2015-06-011-60/+0
| | | | | | | Change-Id: Ifff5fc008552f80fcbb705013c1f578f5f825b24 Reviewed-on: https://gerrit.libreoffice.org/15814 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* new clang plugin: loopvartoosmallNoel Grandin2015-05-285-12/+12
| | | | | | | | | | | | | Idea from bubli - look for loops where the index variable is of such size that it cannot cover the range revealed by examining the length part of the condition. So far, I have only run the plugin up till the VCL module. Also the plugin deliberately excludes anything more complicated than a straightforward incrementing for loop. Change-Id: Ifced18b01c03ea537c64168465ce0b8287a42015
* Remove B3IPoint, it's not used anywhereZsolt Bölöny2015-05-272-70/+0
| | | | | | | Change-Id: I7031c126179bbceebc40dcbdab5a0570db5bc29f Reviewed-on: https://gerrit.libreoffice.org/15813 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* B3IVector is not used anywhereZsolt Bölöny2015-05-272-42/+0
| | | | | | | Change-Id: Ic439b33c974500f1b351b41a0e391ffec71007b3 Reviewed-on: https://gerrit.libreoffice.org/15808 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove B3IRange, it's not used anywhereZsolt Bölöny2015-05-271-1/+0
| | | | | | | Change-Id: I19a6835eaab2efba530d30f871f1b4509b683801 Reviewed-on: https://gerrit.libreoffice.org/15812 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove B3I64Tuple, it's not used by anythingZsolt Bölöny2015-05-262-30/+0
| | | | | | | Change-Id: Ie1b05375a8e8d634e6ef6b2bf6edde65b32574bd Reviewed-on: https://gerrit.libreoffice.org/15811 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* comments: fix mis-use of eventual in EnglishThorsten Behrens2015-05-241-2/+2
| | | | | | | The adjective was used as the German meaning, which translates to maybe or possibly. Change-Id: Iaf5b38f628b23796829a1c4bd3919d4e13b874f0
* Typo: Trapeziod->TrapezoidJulien Nabet2015-05-231-2/+2
| | | | Change-Id: Iab575622819e245b1459cba72dc34a9c387d00b6
* Use the better precision equality check in b2trapezoid.cxxZsolt Bölöny2015-05-211-21/+21
| | | | | | | Change-Id: Ie048543ad19c12dc47f6638af7dc029a38da964e Reviewed-on: https://gerrit.libreoffice.org/15805 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* That was totally pointlessZsolt Bölöny2015-05-191-3/+1
| | | | | | | Change-Id: I6046461b2e26a8506249c4a2fdd783bbd2ec223f Reviewed-on: https://gerrit.libreoffice.org/15810 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* cppunit: noExplicitConstructorCaolán McNamara2015-05-181-1/+1
| | | | Change-Id: Iaf1387ea236bf3a5db9b2165d5b827dbdcf95207
* simplify code by replacing std::find_if with std::any_of/std::none_ofTakeshi Abe2015-05-071-2/+2
| | | | | | | Change-Id: Ife6ab3544f73b1de60f5241c68466045161a4d88 Reviewed-on: https://gerrit.libreoffice.org/15615 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Drop misused lcl_ prefixTor Lillqvist2015-05-053-137/+143
| | | | | | | | | | | | | If used at all, lcl_ is supposed to be used for static functions truly local to one source files. The functions here occur in several source files (well, two, the one where they are defined and one other) so they are not "local" in that sense. (But they could be local in the one file that uses them...) Also, they are already in a basegfx::internal namespace. While at it, drop the :: prefix eyesore from basegfx::internal, and align parameter lists consistently. Change-Id: I68b91075e0b1779ac0fa884d8f9e956f1ab7b308
* More loplugin:simplifyboolStephan Bergmann2015-04-271-4/+4
| | | | Change-Id: Ic0e8d409e33dcc494a6111eba9ba405424ecd53f
* fix crash on export of ooo30155-1.sxw to odtCaolán McNamara2015-04-211-1/+1
| | | | Change-Id: I1dd087ea6803f29756e1b78385a4a98f7378e616
* loplugin:staticfunctionNoel Grandin2015-03-275-7/+9
| | | | Change-Id: I982ba552579019e4902ae59fddf14a6b34ba5954
* convert CUTFLAG_ constants to enum classNoel Grandin2015-03-273-31/+31
| | | | Change-Id: I98dc5488954a4d46f7e0158790a4c3dabebfc1b3
* V813: Decreased performanceCaolán McNamara2015-03-041-4/+4
| | | | Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
* tdf#39440 - cppcheck cleanlinessRadu Ioan2015-02-171-1/+0
| | | | | | | | | Fixed some cppcheck defects Change-Id: I25fd6aba9d76df98d20b9a1bb4c9d3c1bf6f84bb Reviewed-on: https://gerrit.libreoffice.org/14487 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Updated all precompiled headers.Ashod Nakashian2015-02-051-0/+1
| | | | | | | | Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove unused fileMarkus Mohrhard2015-01-183-67/+2
| | | | Change-Id: I8cc33007e99da38869daa48ff898593abc52c4ac
* Removed lcl_putNumberChar() from basegfx.Zsolt Bölöny2015-01-123-9/+3
| | | | | | | | | It just calls OUStringBuffer.append() and doesn't do anything special. Change-Id: Ie59a797a8d0d24cfab826516e2b5c4e58f90dd01 Reviewed-on: https://gerrit.libreoffice.org/13850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>