Commit graph

984 commits

Author SHA1 Message Date
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
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
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
August Sodora
443a7229f9 Remove uses of charAt 2011-12-01 11:10:28 +01:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Joseph Powers
7dc14aba12 Remove two more unused headers from basegfx 2011-11-07 07:21:31 -08:00
Fridrich Štrba
f8508036d1 Fix linking on Windows
Don't declare dllexport classes that are purely inlined.
This will cause for the binary that links then to look for dll symbols,
which are naturlly not present.
2011-11-07 11:25:05 +01:00
Joseph Powers
59829f4fd2 Why build empty objects.
The source files don't generate any code and just declare an inline class;
thus, the compiled object is empty and we don't need to link it in.
2011-11-05 07:12:40 -07:00