Commit graph

539 commits

Author SHA1 Message Date
Thomas Arnhold
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
Thomas Arnhold
34569eb28f drop bogus eof lines
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-07 13:45:27 +02:00
David Tardon
9bd1acd164 sprinkle explicit over constructors
Change-Id: I6599147a74e5c99f964b08935ec7c77f2d4cadef
2012-07-03 17:47:18 +02:00
Michael Meeks
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
Julien Nabet
c9e4cc2793 Some cppcheck cleaning
Change-Id: I7a5f34715faecd689900b5d41eae9c782e99b47b
2012-06-06 22:41:07 +02:00
Norbert Thiebaud
611f456592 targeted string re-work
Change-Id: I535fd1e4438b3ade78c1867eeb0321e6753ed22b
2012-06-02 16:48:34 -05:00
Michael Meeks
5feff80fd2 targetted minor size vs. empty reversion
Change-Id: I35aef43b4dd023440509faaa8c73a0e5a45d37a7
2012-05-31 13:09:03 +01:00
Chr. Rossmanith
bef8e358b6 fdo#48068 fix parsing of path d-attribute
Change-Id: I43a5f69a30b3766303e049ba4d66c4fd79b9de30
2012-05-15 22:14:32 +02:00
Petr Mladek
e6007cf40b fdo#48070 more on parsing of arc paths
also ignore "+" sign; remove unused sNumberString variable
2012-05-14 14:31:11 +02:00
Matúš Kukan
5c3615c115 unusedcode: basegfx::tools::equal
Change-Id: I I579fd3de05f78f06af06c53afab1cc70fc700082
2012-05-11 22:48:49 +02:00
Chr. Rossmanith
508fcf698e fdo#48070 fix parsing of arc paths
Change-Id: Iffd726eec08da453e5a72c512ef2df35f22b5573
2012-05-11 21:28:55 +02:00
Thorsten Behrens
f7d3567c1b Fix fdo#49508 incorrect square gradients in slideshow.
Make sure client code sees isotrophic aspect ratio for the
square gradient case. This somehow never worked.
2012-05-04 21:58:52 +02:00
Gábor Stefanik
7a9738f407 Clean up basegfx's polygon tools code 2012-04-14 12:18:48 +02:00
Szabolcs Dezsi
f770c5d6bc Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
Fridrich Štrba
7a19798c73 Compatibility option for incorrect relative moves after closePath (fdo#47406) 2012-03-26 12:55:59 +02:00
Tim Hardeck
f626ff59b2 removed zoomtools int functions
Changed viewport.cxx to use long instead of int like all other zoom
functions and in this succession removed the zoomtools int functions
which where only added for this one exception.
2012-03-20 17:17:36 +01:00
Stefan Knorr (astron)
f7226666d4 Add more values that zoom shouldn't skip 2012-03-10 22:00:55 +01:00
Caolán McNamara
273960e01f callcatcher: update list 2012-03-05 13:42:58 +00:00
Elton Chung
a1a1131c16 Remove unused code 2012-03-05 10:35:50 +02:00
Elton Chung
e8dbf6840c Remove unused code 2012-03-01 20:17:14 +02:00
Tor Lillqvist
4b72dd8da2 WaE: unused function 'liangBarskyClipT' 2012-03-01 01:48:38 +02:00
Elton Chung
0333d2101a Remove unused code in basegfx, comphelper 2012-02-25 20:33:57 +00:00
Thomas Arnhold
4e83223da4 WaE: duplicateBranch 2012-02-21 20:56:59 +01:00
Elton Chung
dbff99a60e Remove unused code 2012-02-20 12:08:10 +00:00
Elton Chung
af79fcb204 Remove unused code 2012-02-19 14:17:47 +04:00
Björgvin Ragnarsson
0aaecbac86 Removed unused code. 2012-02-16 12:47:04 +01:00
Thorsten Behrens
d37abad97d Fix fdo#45779 - accessing empty polygon.
Guard access to first polygon point.
2012-02-15 11:28:01 +01:00
Caolán McNamara
fb9908eece use boost::noncopyable 2012-02-08 19:52:08 +00:00
Korrawit Pruegsanusak
a330f38093 Recover some methods needed by windows directx
This partially reverts b3c3e116ff
2012-02-08 21:06:51 +07:00
Jan Holesovsky
4db617efd9 Change the zoom factor to 2^(1/6), hopefully it fits all :-) 2012-02-06 16:29:44 +01:00
Alexander Bergmann
b3c3e116ff unusedcode.easy: Removed unused code 2012-02-01 16:34:50 +00:00
Alexander Bergmann
aedea4de6c unusedcode.easy: Removed unused code (basegfx::B2DHomPoint) 2012-01-28 10:07:47 +00:00
Alexander Bergmann
6e4b79042b Actually apply substance of previous unused code removal 2012-01-28 00:23:01 +00:00
Alexander Bergmann
b8f24c52c4 unusedcode.easy: Removed unused code (basegfx::B3DPolygon, basegfx::B3DPolyPolygon) 2012-01-27 21:29:38 +00:00
Tim Hardeck
315d2ddc16 optimized zoom to use more common intervals
Round zoom values beginning with 50 to a multiple of 5, with 100 to one
of 10, with 500 to one of 50 and with 1000 to one of 100.
The step 100 is enforced to have one fixed point.
2012-01-25 12:35:54 +01:00
Alexander Bergmann
92a87649a7 Removing unused code (basegfx). 2012-01-25 12:02:25 +05:30
Thomas Arnhold
22da27d9dd Improve checking for emptiness 2012-01-21 19:58:46 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Stephan Bergmann
b2ceee71ba Code clean up. 2012-01-20 12:14:45 +01:00
Thomas Arnhold
d93536e529 remove unused methods 2012-01-19 19:15:08 +01:00
Thorsten Behrens
800806ba85 decompose() should return the original rotation angle and scales.
decompose() would return incorrect rotation angle and scales when the
angle was exactly 180 degrees, due to FPU rounding error.  This commit
fixes it.

This problem would manifest itself when inserting an image into
Calc/Draw, cropping it, and flipping it vertically or rotating it
at exactly 180 degrees.  Before the fix the image would simply disappear.
2012-01-18 14:57:04 -05:00
Thorsten Behrens
13e1fe0561 Fix error in handling 'z' for svg:d string parsing
Previously 'z' did not update the current point to the start
point of the subpath, as required by
http://www.w3.org/TR/SVG/paths.html#PathDataClosePathCommand. Fixed
now, and adapted all the unit tests.
2012-01-18 15:27:54 +01:00
Caolán McNamara
bcc25a6d8a callcatcher: remove recently unused code 2012-01-17 11:33:16 +00:00
Caolán McNamara
629cd5caad callcatcher: update list 2012-01-10 10:09:29 +00:00
August Sodora
bc2a59e09d callcatcher: Remove unused code 2012-01-08 11:48:09 -05:00
Julien Nabet
66fd9a610c Fix "Same expression on both sides of '&&'" (reported by cppcheck) 2012-01-06 18:57:39 +01:00
Matúš Kukan
b769901d5a unusedcode: remove various unused classes 2011-12-22 15:33:50 +01:00
August Sodora
cdb2736f5b Remove DebugPlotter 2011-12-19 15:33:43 -05:00
Thorsten Behrens
23c16ec47c Fix abort from stl debug iterators' invalid access.
Triggered by fdo#43725, incrementing an invalid iterator bombs -
though this seems a corner case, depends on whether one considers
"+= 0" as incrementing or not.
2011-12-13 20:58:39 +01:00
Thorsten Behrens
7b7c3b6e11 More efficient insertion of B3DPolygons
* some cleanup - removed ugly-as-hell exposure of only parts of the
   internal data struct on B2DPolygon (and reworked the only client
   of that code)
 * added stl-style begin/end to B3DPolyPolygon as well, mirroring
   B2DPolyPolygon, plus adapting the insert() func to make use of
   that (avoiding loads of temporaries)
2011-12-13 20:58:39 +01:00