60db3dae6c
Use already found result
...
Change-Id: Ifafba6f4f93b357239ddadd5ca16ac62bd6e289b
2014-04-22 15:18:57 +02:00
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
d83dfeb5e5
filter: sal_Bool->bool
...
Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5
2014-04-22 09:56:06 +02:00
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
4530406b7f
coverity#705533 Unintentional integer overflow
...
Change-Id: I24a9310471bdcfc91080382b3c637982788e68d7
2014-04-20 20:40:19 +01:00
f6de3b7141
coverity#738628 Uninitialized scalar field
...
Change-Id: Ib14384f8212ae03bee4bb5ea9746681287323be4
2014-04-19 22:30:20 +02:00
60df2f153b
coverity#738629 Uninitialized scalar field
...
Change-Id: Ic3bed7a422ba2073a32aefc6d44a7a4908fae8e0
2014-04-19 22:30:20 +02:00
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
58b76a1883
add ppm regression test
...
Change-Id: Ifd5f68a3b0dec16f8d992f75fba8c9920700f351
2014-04-18 14:37:58 +01:00
3f4cd87ff1
add a Pict format test case
...
Change-Id: Ibcbb275d6c6a19b3e8ef86c9ab8d5da038d026a6
2014-04-18 14:08:25 +01:00
a684161be3
add a Sun raster format test case
...
Change-Id: I0e6885b6d9fa23ed4cea2ff4f7b26599fdc368dc
2014-04-18 14:02:57 +01:00
f38ccdcc5b
coverity#1202962 Uninitialized pointer field
...
Change-Id: If400eda10e0b6367c58431c528b84a95a35b76f9
2014-04-18 10:41:58 +01:00
728ec86062
Typo: s/cant/can't/
...
Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
2014-04-18 00:30:35 +03:00
9a7fc5ee26
Typo: s/shure/sure
...
Change-Id: I1c55d3ee8be06deb6d48a6ad5cd30d170c8b9dbb
2014-04-18 00:30:35 +03:00
3e28dff92c
add regression tests for psd filter
...
Change-Id: Ia9b34bc3b77902f8edbc0e7040da5edd02e02879
2014-04-17 16:19:39 +01:00
b4be3f153f
more pcx testcases
...
Change-Id: I73fd736f7acfb50d151fd89db3b4d56fb13800a0
2014-04-17 15:34:17 +01:00
2fe0081a4c
shure -> sure
...
Change-Id: I3da74098f72aa3a5426ee0d750055f48146c23e2
2014-04-17 14:43:07 +03:00
3c7d17aa6f
add testcase for CVE-2007-3741
...
Change-Id: I33561649dc5cde240bc7a18dff082245c76543b1
2014-04-17 12:34:44 +01:00
5535d6ee7d
zero a few more things out
...
Change-Id: Ief743978876885745431c59a0f56f065cbd61ace
2014-04-17 12:34:44 +01:00
9de20d1eb0
add tests for CVE-2008-1097, etc.
...
Change-Id: Iad6948fdf6eb60f86d764783b72a4fe7f5642e40
2014-04-17 12:00:40 +01:00
cd11e8df3d
forget to add test ras file
...
Change-Id: Icfebbe04b7842925c5afe7837cad8479e8b8ea61
2014-04-17 12:00:40 +01:00
e71a61bc09
gbuild: More crude hacking to fix over-evalutation
...
Change-Id: I36d7b0c40ac60c6cf9f0968530774e4b2b03b829
2014-04-16 14:13:48 +02:00
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
95c802719a
coverity#707859 Uninitialized pointer field
...
Change-Id: I1bc431746d9017db2ed2bbde797527e249804a1d
2014-04-15 20:10:15 +01:00
c5265586e6
fdo#74654 fix typo: printnone -> printhigh
...
Change-Id: I286dedfb6dfd8d9c119bf1b6ac777a2a08f22d7e
2014-04-15 16:49:49 +02:00
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
fbf5599c07
Avoid possible memory leaks in case of exceptions
...
Change-Id: Id71cb49d8aa241a17efd4cbe217a48f2d7c34e84
2014-04-14 21:47:43 +09:00
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
fa1f7d27c1
typo: attribut -> attribute
2014-04-14 12:32:59 +02:00
8d202fa72f
typo: paramter -> parameter
2014-04-14 12:32:54 +02:00
4716156530
typo: configration -> configuration
2014-04-14 12:32:37 +02:00
13943b18b7
typo: controlls -> controls
2014-04-14 12:32:29 +02:00
d47e763eab
typo: simpe -> simple
2014-04-14 12:32:22 +02:00
2805ac13dc
typo: choosen -> chosen
2014-04-14 12:32:02 +02:00
2ada2b3375
typo: dependend -> dependent
2014-04-14 12:31:58 +02:00
8b16cc50f4
typo: te -> the
2014-04-14 12:31:57 +02:00
60c8df4326
remove static strings
2014-04-14 12:31:55 +02:00
1c2f9e4189
THEFUTURE is unused ;)
2014-04-14 12:31:45 +02:00
792437f1f4
USED is never defined
2014-04-14 12:31:45 +02:00
52494aad92
Clean up function declarations and some unused functions
...
Change-Id: I68b488d45c77ebf82029bfede98dca2400e02f2f
2014-04-14 12:25:30 +02:00
af51f3fb5a
handle .doc cropping also inside groups (fdo#38411)
...
Writer does handle cropping on its own, but only for "toplevel" images,
not for those inside groups, so there still use the generic code.
Change-Id: I805a4cbd2d4cea7008e0322688ccd7f35a6d4a2c
2014-04-13 23:09:00 +02:00
cb35c7cd49
add test case for CVE-2007-2356
...
Change-Id: I9bf6ca1c5a23dd0e3ef6b7d7c0de041a48df45b6
2014-04-12 12:41:14 +01:00
e98e738a82
replace some SvStream seeking with calls to remainingSize()
...
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
2014-04-11 23:08:11 +02:00
e02a6cb2c3
add a ras import test
...
Change-Id: Idc9267a2bb1bca13c40c746ab3b1974d7e4258ab
2014-04-11 21:51:22 +01:00
eacfa63670
coverity#707839 Uninitialized scalar field
...
Change-Id: Ib9cf1d3da0cf03b6aa0aaa7b5206803730115cc8
2014-04-11 21:16:23 +01:00
dfc39fcdbf
coverity#707837 Uninitialized scalar field
...
Change-Id: Icce1d2cd9abfebcf26e916c4c79341b617e97b2e
2014-04-11 20:49:57 +01:00
2c2b3a16bd
coverity#707834 Uninitialized scalar field
...
Change-Id: I405b981c9234a662cf1d305ad437482d10cbf432
2014-04-11 20:45:09 +01:00
d30ee7f7ce
coverity#707812 Uninitialized scalar field
...
Change-Id: I04e65d6c0124a2f370ae006bbaa991d5e7753e12
2014-04-11 20:37:10 +01:00
ffa82c4d14
coverity#738630 Uninitialized scalar field
...
Change-Id: Ie6b6347a8cdddfcf6b1aada2aa5c34b94cc73490
2014-04-11 20:27:35 +01:00
c9c4148f00
Add this back.
...
Change-Id: Ia342671c460d07fae4764712b2c814616ff427ba
2014-04-11 15:19:31 -04:00