Commit Graph

5567 Commits

Author SHA1 Message Date
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
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
2fe0081a4c shure -> sure
Change-Id: I3da74098f72aa3a5426ee0d750055f48146c23e2
2014-04-17 14:43:07 +03: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
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
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
e98e738a82 replace some SvStream seeking with calls to remainingSize()
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
2014-04-11 23:08:11 +02: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
4e939b9599 Avoid possible memory leaks in case of exceptions
Change-Id: I4f1e00dd275976cdba8490f35ccbb491914829b7
2014-04-12 01:34:45 +09:00
af2a70abc0 Resolves: #i124661# secure possible out of bound access to vector
(cherry picked from commit c9cdd9751d45b5b8b0288e9dc477e6d272ba0a0d)

Change-Id: I1c0637029fd7b4ab493956538c6e9fdf33307cbe
2014-04-11 17:26:41 +01:00
5d60ae3fc1 coverity#738631 Uninitialized scalar field
Change-Id: I931e819da93ef952d9ad3a755471302472b4d580
2014-04-11 17:09:27 +01:00
cbe71fb3d4 coverity#738632 Uninitialized scalar field
Change-Id: Ic5ca12b6e18890fbc289063fc7518b44abf90e2c
2014-04-11 17:07:46 +01:00
66bafdd56f coverity#738634 Uninitialized scalar field
Change-Id: Ie83aa769b1737692a0e518b9c21371c92ec6382c
2014-04-11 15:38:05 +01:00
ea957cc01d coverity#738635 Uninitialized scalar field
Change-Id: I033b3e2420edcc8a7529cd60c2ef372f2abfed23
2014-04-11 15:30:20 +01:00
60a0a093ca coverity#738637 Uninitialized scalar field
Change-Id: I9e8abf725c348c4d779d779e24e411609df64986
2014-04-11 15:25:13 +01:00
999377f113 coverity#738639 Uninitialized scalar field
Change-Id: Ib7c75d87237113641fd80e5a87dc08cbf1910a55
2014-04-11 14:11:22 +01:00
f864c09a9d Resolves: i124608 when exporting selection...
use selection boundrect as svg canvas

(cherry picked from commit bfc1aa46b9ee9ad37728389eb636fc9fb5b9827f)

Conflicts:
	filter/source/svg/svgexport.cxx
	filter/source/svg/svgfilter.cxx
	filter/source/svg/svgfilter.hxx

Change-Id: Ib10e785ebb611f0e33ea3ae799dfea20b05d250a
2014-04-11 10:18:48 +01:00
896cacf059 Avoid possible memory leaks in case of exceptions
Change-Id: I43cce6b6c41582a65ff7e59de9a107b30cf8b1e8
2014-04-11 09:55:01 +09:00
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00