Commit Graph

426 Commits

Author SHA1 Message Date
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
Michael Stahl
1b0cacf919 cppcanvas: remove obsolete makefile.mk
Change-Id: Id9ccc156371a235bca764044a8d155b8720782c0
2012-06-22 22:39:34 +02:00
Michael Stahl
0caf87c580 remove bunch of obsolete looking .dxp files
Change-Id: Ib06d88890007fd27d6838a5c8829230733d3df97
2012-06-22 22:39:34 +02:00
Takeshi Abe
cdea32dd8a removed unused forward declarations of class
except moving ScPostIt into source/filter/inc/xeescher.hxx

Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff
2012-06-23 02:48:29 +09:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Caolán McNamara
447e5b4b36 death to some UniStrings
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-19 14:11:50 +01:00
Caolán McNamara
16bf6e9c5f use a temporary rather than calling Erase
Change-Id: I77c80d332e4bef34c31accf6e2ab77e59f9bf93e
2012-06-19 14:11:49 +01:00
Caolán McNamara
67d0936315 where is the logic of having 5 pChars if we only need 4
Change-Id: I16c1f5ee7a05aa011d00e6f1de86e1aa5d9621b8
2012-06-19 14:11:49 +01:00
Caolán McNamara
64a9f8942d if the string is created of len 0, then no point passing any arguments
Change-Id: I0055ad846f438765c5259e02025e6ef5f32c6169
2012-06-19 14:11:49 +01:00
Caolán McNamara
d531ef63a4 if the string is created from 4 sal_Unicodes then it cannot be of 0 len
Change-Id: I14695ec0871e186266770d7cfe90f532de31ea57
2012-06-19 14:11:49 +01:00
Jan Holesovsky
6d78c490b0 Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-12 16:31:43 +02: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
Caolán McNamara
fc435133c3 ImplText never instantiated 2012-04-18 13:03:21 +01: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
fe630f3b09 callcatcher: update list, add README, remove some newly unused code 2012-04-05 13:59:05 +01:00
Tor Lillqvist
66aed6f470 New try to sort out the overloaded virtual method weirdness
Revert "Clang WaE: -Woverloaded-virtual weirdness, this seems to help"
as that broke tinderboxes. Try another way instead, renaming two
versions of the overloaded render() method, so that there is no longer
any overloading.

Compiles -Werror-clean with Clang, hopefully no problem with other
compilers either.

This reverts commit 86b99ab408.
2012-04-04 08:27:23 +03:00
Tor Lillqvist
86b99ab408 Clang WaE: -Woverloaded-virtual weirdness, this seems to help 2012-04-04 01:05:50 +03:00
Takeshi Abe
6f087d103a removed duplicate includes in cppcanvas / cppuhelper / cui 2012-03-30 00:42:35 +09: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
Thorsten Behrens
80fe015a86 Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changes
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16 17:02:23 +01:00
Thorsten Behrens
af1514abf2 Performance: avoid scaling just-generated bitmap 2nd time
We're creating the bitmap to exactly match our output size -
so why rounding off total transformation again, incurring another
expensive bitmap scale down in the canvas?
2012-03-16 17:02:20 +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
Alexander Bergmann
8963cc01f5 EasyHack: Removed gcc conditionals 2012-02-13 17:33:15 +00:00
Caolán McNamara
04d58ef75a String->rtl::OUString 2012-01-24 16:53:55 +00:00
Caolán McNamara
2669d048bc make VectorOfOutDevStates a class and refactor this a little 2012-01-05 09:18:17 +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
August Sodora
d498a3c2a1 callcatcher: Remove unused code 2011-12-19 23:19:45 -05:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
Radek Doulik
d169860411 more debug info for emf+ rendering - path 2011-11-28 10:23:51 +01:00
Norbert Thiebaud
c0f6713f94 remove include of pch header in cppcanvas 2011-11-27 13:02:39 -06:00
Thorsten Behrens
828abf1e06 Revive gradient clipping debug visualization code. 2011-11-21 16:37:02 +01:00
Tor Lillqvist
469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
This commit for the old build system. (Don't bother for components not
relevant for Android.)

The Android package installer (as invoked through "adb install", from
"ant debug install") silently ignores native libraries in app packages
(.apk files) whose names don't start with "lib" and end with ".so".

The package builder (as invoked through "ant debug") in the SDK gladly
includes also thusly named native libraries in the .apk, though. Yay
for consistency.
2011-11-17 15:22:59 +02:00
Caolán McNamara
76e37b7f79 adapt naming scheme 2011-11-01 09:27:24 +00:00
Caolán McNamara
67cf9cbeeb add and use an OString::equalsIgnoreAsciiCaseAscii equivalent to OUString one 2011-11-01 09:27:22 +00:00
Caolán McNamara
8e9ad03830 Related: fdo#38580 NULL object 2011-10-10 16:51:55 +01:00
Stephan Bergmann
946090359b Added the unreachable code back in, even for GCC 4.0, so Mac OS X would not fail. 2011-10-08 23:47:34 +02:00
Tor Lillqvist
288ce7b4ab WaE: unreachable code 2011-10-07 12:49:37 +03:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Tor Lillqvist
e594b27aa8 WaE: control reaches end of non-void function 2011-09-26 21:14:13 +03:00