Commit Graph

44 Commits

Author SHA1 Message Date
Radek Doulik
cf08e8a2ee emf+: added implementation of DrawImage record
Change-Id: I6c86c2eaca1586d915b648292373da4378c755ba
2012-07-19 11:09:07 +02:00
Stephan Bergmann
4dd7c0369d Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
Thomas Arnhold
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
Caolán McNamara
d5909e1452 replace custom readString with read_uInt16s_ToOUString
replace custom readString with more efficient and foolproof
read_uInt16s_ToOUString

Change-Id: Idf5f85adad008b4bd775badd83f55b152a6ddaaf
2012-06-25 14:19:02 +01:00
Caolán McNamara
447e5b4b36 death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-19 14:11:50 +01:00
Michael Meeks
3858ba3585 targetted string re-work
Change-Id: I9ed4df2a25c8a2a868f83de48472715a6cabe2be
2012-05-22 18:21:18 +01:00
Radek Doulik
41c4585504 tune the guessed position a bit, so that it works better with test documents 2012-04-18 19:17:11 +02:00
Radek Doulik
e14b7cdd54 implemented EmfPlusRecordTypeDrawString record 2012-04-18 19:08:43 +02:00
Radek Doulik
8e92501541 added debug message for unsupported cases 2012-04-18 15:40:05 +02:00
Radek Doulik
695d82b63d SrcRect for SrcUnit = 2 is in pixels, don't Map it 2012-04-18 15:37:50 +02:00
Radek Doulik
e94e669bd3 set minimal width if pen width is set to zero 2012-04-13 16:25:31 +02:00
Caolán McNamara
35fb870b5f fix crash on invalid/missing pen 2012-04-13 13:15:26 +01:00
Caolán McNamara
830724367d fix busted indent 2012-04-13 13:15:26 +01:00
Caolán McNamara
e443216ce2 readUnicodeString can just return the string
seeing as no-one checks the return value, we don't need
the intermediate temporary string
2012-03-26 12:18:09 +01:00
Michael Stahl
24b449b7fc cppcanvas: processEMFPlus: fix valgrind warning:
When reading EmfPlusRecordTypeDrawImagePoints, handle the variant where
points are stored as 16-bit integers instead of floats correctly.
Found via valgrind on loading bugdoc from fdo#42252.
2012-03-09 15:40:00 +01:00
Radek Doulik
0d396171b6 workaround for buggy metafile images 2012-03-07 16:59:53 +01:00
Szabolcs Dezsi
eed2695cd5 Removed unused code from cppcanvas 2012-02-17 15:48:23 +00:00
August Sodora
3b8bf60a04 Revert "callcatcher: Remove unused code"
This reverts commit 070eff8cf1.
2011-12-21 06:46:56 -05:00
August Sodora
070eff8cf1 callcatcher: Remove unused code 2011-12-21 06:25:31 -05:00
Radek Doulik
d169860411 more debug info for emf+ rendering - path 2011-11-28 10:23:51 +01:00
Caolán McNamara
8e9ad03830 Related: fdo#38580 NULL object 2011-10-10 16:51:55 +01:00
Caolán McNamara
90e9a26aa5 make base class dtor virtual
otherwise calling delete on a base class pointer to an instantiation of a
derived class doesn't call the derived class's dtor
2011-09-12 09:10:03 +01:00
Gabor Jenei
cdc4b38034 fix warnings 2011-09-01 16:42:03 +01:00
Caolán McNamara
55240e889b WaE: in debug=2 mode 2011-08-29 13:41:44 +01:00
Gabor
0e9d01756c debug build errors 2011-08-23 14:05:22 +01:00
David Tardon
8c9a0ef14f align closing brace 2011-08-11 06:47:32 +02:00
David Tardon
180c35752d WaE: add braces around empty body in else stmt 2011-08-11 06:45:08 +02:00
Radek Doulik
d7d976c257 check bitmap size before creating canvas action 2011-08-10 22:42:48 +02:00
Radek Doulik
2c9d31b48d added MultiplyWorldTransform record type 2011-08-10 22:42:47 +02:00
Radek Doulik
067362e1ce enable emf debug dump when dbglevel > 1 2011-07-26 14:30:52 +02:00
Radek Doulik
e7c9affbe4 make the debug build work again 2011-06-10 16:00:58 +02:00
Michael Meeks
be3c5022c3 cleanup 2011-03-14 10:30:59 +00:00
Norbert Thiebaud
a918e60386 mis-merge: clean-up remaining tools types 2011-03-12 19:02:03 -06:00
Caolán McNamara
753a2faaa6 cppcheck: methods can be const 2010-11-25 16:02:40 +00:00
Gert Faller
433b107ea2 RTL_CONSTASCII_USTRINGPARAM in libs-gui 01 2010-11-22 16:56:04 +01:00
Sebastian Spaeth
4905a19032 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:02:15 +02:00
Radek Doulik
4386aa5455 emf+-cppcanvas-replace-poly-factory-and-clean.diff: emf+ import
- replace deprecated polygon factory and clean the code a bit
2010-09-15 17:54:14 +02:00
Radek Doulik
2191eefb0c emf+-driver-string.diff: emf+ import - extended string rendering\n\nn#519715 2010-09-15 17:54:14 +02:00
Thorsten Behrens
f3b377d331 vcl-pluggable-mtf-renderer.diff: emf+ import - checks for valid input
in emf+ renderer, small changes to the patch by Radek (rodo@novell.com)
2010-09-15 17:54:14 +02:00
Radek Doulik
590282f4f0 emf+-embedded-mf-image.diff: emf+ import - support for embedded MF images 2010-09-15 17:54:14 +02:00
Radek Doulik
a529db20d6 emf+-multipart-objects.diff: emf+ import - support multipart objects 2010-09-15 17:54:14 +02:00
Radek Doulik
acd8f4caef emf+-crash-fix.diff: emf+ import - fix crash
n#361534
2010-09-15 17:54:14 +02:00
Radek Doulik
25a9a87739 added copyright notice 2010-09-15 17:54:14 +02:00
Radek Doulik
52505ffb37 emf+-cppcanvas-renderer.diff: emf+ import - rendering implementation 2010-09-15 17:54:14 +02:00