5970 Commits

Author SHA1 Message Date
Caolán McNamara
c91e07e45b coverity#707858 Uninitialized scalar field
Change-Id: I098842dcf6bbee41d3ef9d2b17bcb94e2cc65bf6
2014-04-23 14:28:06 +01:00
Caolán McNamara
ac3b825a3c coverity#707854 Uninitialized scalar field
Change-Id: I06948ae34c55482405983b613d1ab44ba10ed905
2014-04-23 14:28:05 +01:00
Caolán McNamara
7ad8842ca8 coverity#707853 Uninitialized scalar field
Change-Id: I6a406a990a114ba8c0d92b92bd4a5cb256954303
2014-04-23 14:28:05 +01:00
Caolán McNamara
fb3fdc66b5 coverity#707850 Uninitialized scalar field
Change-Id: Ib10e9265a6eaac8544fb6ee0cee0d606a83e15fd
2014-04-23 14:28:05 +01:00
Caolán McNamara
8012b4a340 coverity#707849 Uninitialized scalar field
Change-Id: I614a25d3988f741a2744b9e7cb1e170ddd3b2dbf
2014-04-23 14:28:05 +01:00
Caolán McNamara
f897842614 coverity#707848 Uninitialized scalar field
Change-Id: Iee18d10819ca351525fd121347ffd1478b502765
2014-04-23 14:28:05 +01:00
Caolán McNamara
3e5e3defcf coverity#707841 Uninitialized scalar field
and coverity#707840

Change-Id: Idf6e7a3f51ce148fd935b75fa63b931d9200d568
2014-04-23 14:28:04 +01:00
Caolán McNamara
5de69f0ff2 coverity#707832 Uninitialized scalar field
Change-Id: I49220146ea83b04371d80f94dbf1405b0a7aea9d
2014-04-23 14:28:04 +01:00
Caolán McNamara
b7fde5468d coverity#738636 Uninitialized pointer field
Change-Id: I577775d6b7c2bbdbe8c6503b2454dbaec1dceadb
2014-04-23 14:28:04 +01:00
Julien Nabet
b39ee2bc8f Remove dead code
See http://nabble.documentfoundation.org/Dead-code-in-escherex-cxx-filter-module-td4106079.html

Change-Id: Ieb61955cc1c401e5149d3ffd6d0c56a7cff84eb7
2014-04-23 10:08:46 +02:00
Stephan Bergmann
60db3dae6c Use already found result
Change-Id: Ifafba6f4f93b357239ddadd5ca16ac62bd6e289b
2014-04-22 15:18:57 +02:00
Stephan Bergmann
ab9813eaea Don't litter pCustomShapeTypeTranslationHashMap with dangling keys
...that are char* into temporary OString at the GetOOXMLPresetGeometry call site
in oox/source/export/shapes.cxx.

Change-Id: Ifd6533f9bd869b740a6b483f4a1f6e4860007b9c
2014-04-22 15:09:48 +02:00
Noel Grandin
d83dfeb5e5 filter: sal_Bool->bool
Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5
2014-04-22 09:56:06 +02:00
Thomas Arnhold
97a5ba4a71 remove comments why a file gets included
also remove some commented out code

Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
Caolán McNamara
4530406b7f coverity#705533 Unintentional integer overflow
Change-Id: I24a9310471bdcfc91080382b3c637982788e68d7
2014-04-20 20:40:19 +01:00
David Tardon
f6de3b7141 coverity#738628 Uninitialized scalar field
Change-Id: Ib14384f8212ae03bee4bb5ea9746681287323be4
2014-04-19 22:30:20 +02:00
David Tardon
60df2f153b coverity#738629 Uninitialized scalar field
Change-Id: Ic3bed7a422ba2073a32aefc6d44a7a4908fae8e0
2014-04-19 22:30:20 +02:00
Luboš Luňák
1139d618b8 handle strange brightness+contrast adjustment from msoffice (fdo#38410)
LO uses basically the formula "newpixel=(oldpixel-128)*contrast+128+brightness",
i.e. contrast is applied first. It looks like there's no "oficial" formula for this,
so a formula that applies brightness first would be ok too. MSO for some weird reason
apparently uses a formula that applies half of brightness before contrast and
half afterwards (insert funny political correctness or compromise joke here).
While the result is the same like with the LO formula if only either brightness
or contrast is adjusted, the result is different if both are involved. Just modify
the image using the MSO algorithm if this is the case.

Change-Id: I55fe8f395832685b90f024cf2f58b0797c1ba588
2014-04-18 20:53:01 +02:00
Caolán McNamara
58b76a1883 add ppm regression test
Change-Id: Ifd5f68a3b0dec16f8d992f75fba8c9920700f351
2014-04-18 14:37:58 +01:00
Caolán McNamara
3f4cd87ff1 add a Pict format test case
Change-Id: Ibcbb275d6c6a19b3e8ef86c9ab8d5da038d026a6
2014-04-18 14:08:25 +01:00
Caolán McNamara
a684161be3 add a Sun raster format test case
Change-Id: I0e6885b6d9fa23ed4cea2ff4f7b26599fdc368dc
2014-04-18 14:02:57 +01:00
Caolán McNamara
f38ccdcc5b coverity#1202962 Uninitialized pointer field
Change-Id: If400eda10e0b6367c58431c528b84a95a35b76f9
2014-04-18 10:41:58 +01:00
Tor Lillqvist
728ec86062 Typo: s/cant/can't/
Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
2014-04-18 00:30:35 +03:00
Tor Lillqvist
9a7fc5ee26 Typo: s/shure/sure
Change-Id: I1c55d3ee8be06deb6d48a6ad5cd30d170c8b9dbb
2014-04-18 00:30:35 +03:00
Caolán McNamara
3e28dff92c add regression tests for psd filter
Change-Id: Ia9b34bc3b77902f8edbc0e7040da5edd02e02879
2014-04-17 16:19:39 +01:00
Caolán McNamara
b4be3f153f more pcx testcases
Change-Id: I73fd736f7acfb50d151fd89db3b4d56fb13800a0
2014-04-17 15:34:17 +01:00
Maxim Monastirsky
2fe0081a4c shure -> sure
Change-Id: I3da74098f72aa3a5426ee0d750055f48146c23e2
2014-04-17 14:43:07 +03:00
Caolán McNamara
3c7d17aa6f add testcase for CVE-2007-3741
Change-Id: I33561649dc5cde240bc7a18dff082245c76543b1
2014-04-17 12:34:44 +01:00
Caolán McNamara
5535d6ee7d zero a few more things out
Change-Id: Ief743978876885745431c59a0f56f065cbd61ace
2014-04-17 12:34:44 +01:00
Caolán McNamara
9de20d1eb0 add tests for CVE-2008-1097, etc.
Change-Id: Iad6948fdf6eb60f86d764783b72a4fe7f5642e40
2014-04-17 12:00:40 +01:00
Caolán McNamara
cd11e8df3d forget to add test ras file
Change-Id: Icfebbe04b7842925c5afe7837cad8479e8b8ea61
2014-04-17 12:00:40 +01:00
Stephan Bergmann
e71a61bc09 gbuild: More crude hacking to fix over-evalutation
Change-Id: I36d7b0c40ac60c6cf9f0968530774e4b2b03b829
2014-04-16 14:13:48 +02:00
Steve Yin
b827f6f81f Related: #i124661# crash when loading and re-saving ppt file...
with a single customshape

check the equation array element number. If the number is greater than 128, the
equation array will not be imported.

(cherry picked from commit 48653aa3a1cc24ed9ad8a14ae035b38a751e561d)

Conflicts:
	filter/source/msfilter/msdffimp.cxx

Change-Id: I49ac6ec5610a7761ca3ed4905d6fe1bc7ec079d0
2014-04-16 11:58:06 +01:00
Caolán McNamara
95c802719a coverity#707859 Uninitialized pointer field
Change-Id: I1bc431746d9017db2ed2bbde797527e249804a1d
2014-04-15 20:10:15 +01:00
Andras Timar
c5265586e6 fdo#74654 fix typo: printnone -> printhigh
Change-Id: I286dedfb6dfd8d9c119bf1b6ac777a2a08f22d7e
2014-04-15 16:49:49 +02:00
Jan Holesovsky
893590f16e The entry points for these are hidden behind OSL_DEBUG_LEVEL > 1 too.
Change-Id: I728e808ac897aa1be184fb4a8bbbf781eb816cf0
2014-04-14 15:46:22 +02:00
Takeshi Abe
fbf5599c07 Avoid possible memory leaks in case of exceptions
Change-Id: Id71cb49d8aa241a17efd4cbe217a48f2d7c34e84
2014-04-14 21:47:43 +09:00
Miklos Vajna
bcccd85176 filter: use --switch=2 --readonly-tables gperf options
See 73ecb924379b8e665ee94235a353403c5d29eae6 (Use --switch=2
--readonly-tables gperf options, 2014-04-13) for reasoning.

Change-Id: Ic63747a6cd982557cad8470ae775afa4b3d8d883
2014-04-14 14:22:18 +02:00
Thomas Arnhold
fa1f7d27c1 typo: attribut -> attribute 2014-04-14 12:32:59 +02:00
Thomas Arnhold
8d202fa72f typo: paramter -> parameter 2014-04-14 12:32:54 +02:00
Thomas Arnhold
4716156530 typo: configration -> configuration 2014-04-14 12:32:37 +02:00
Thomas Arnhold
13943b18b7 typo: controlls -> controls 2014-04-14 12:32:29 +02:00
Thomas Arnhold
d47e763eab typo: simpe -> simple 2014-04-14 12:32:22 +02:00
Thomas Arnhold
2805ac13dc typo: choosen -> chosen 2014-04-14 12:32:02 +02:00
Thomas Arnhold
2ada2b3375 typo: dependend -> dependent 2014-04-14 12:31:58 +02:00
Thomas Arnhold
8b16cc50f4 typo: te -> the 2014-04-14 12:31:57 +02:00
Thomas Arnhold
60c8df4326 remove static strings 2014-04-14 12:31:55 +02:00
Thomas Arnhold
1c2f9e4189 THEFUTURE is unused ;) 2014-04-14 12:31:45 +02:00
Thomas Arnhold
792437f1f4 USED is never defined 2014-04-14 12:31:45 +02:00
Stephan Bergmann
52494aad92 Clean up function declarations and some unused functions
Change-Id: I68b488d45c77ebf82029bfede98dca2400e02f2f
2014-04-14 12:25:30 +02:00