Commit graph

996 commits

Author SHA1 Message Date
Gábor Stefanik
7a9738f407 Clean up basegfx's polygon tools code 2012-04-14 12:18:48 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +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
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +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
Ivan Timofeev
0499a44cdd definition was removed, remove declaration as well 2012-02-26 16:32:56 +04: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
Michael Meeks
5dde19c453 remove redundant/empty setup/tear-down methods from unit tests 2012-02-21 15:27:42 +00:00
Korrawit Pruegsanusak
49e5d3f0e3 Add unit test for B2DRange's fround 2012-02-21 15:26:27 +00: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
Tor Lillqvist
a1fe0a772f Use the same simple lo_main() on iOS as on Android
Let's do the iOS specific stuff in separate main() source
file(s). Don't attempt to build complete iOS programs using normal
LibreOffice mechanisms, it will work for only the very lowest level
unit tests anyway, because of static linking and the circularish
UNO/URE/bootstrap/whatnot (run-time) dependencies between different
parts of the code.

We thus can't build the various iOS-specific *_cppunittester_all unit
test executables any more. Corresponding unit tests (and more complex
ones) for iOS will have to be done in a different way.
2012-02-16 15:25:37 +02: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
Matúš Kukan
4b30ec9def fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC 2012-02-10 21:41:45 +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
Josh Heidenreich
8b9615be88 Added (and improved) READMEs for modules which used to be in libs-gui 2012-02-08 07:46:57 +01:00
Jan Holesovsky
4db617efd9 Change the zoom factor to 2^(1/6), hopefully it fits all :-) 2012-02-06 16:29:44 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Alexander Bergmann
b3c3e116ff unusedcode.easy: Removed unused code 2012-02-01 16:34:50 +00:00
Thomas Arnhold
57dacf1328 remove traces of b2dhompoint 2012-01-28 11:22:52 +01: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
152eaa2985 Add more unit test coverage for generic clipper
With the changes Julien brought in via
66fd9a610c, thought it was a good idea
to cover those code paths as well - done now, via the
checkCrossoverSolver() tests.
2012-01-18 15:27:54 +01: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
Thorsten Behrens
b13852edb7 Remove old-fashioned VERBOSE, use OSL_DEBUG_LEVEL instead. 2012-01-18 15:27:53 +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
ef41022c11 unusedcode: remove Plotter 2012-01-06 11:29:45 +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