350483 Commits

Author SHA1 Message Date
Chris Sherlock
555d49bf1a Detect if polypolygon is a rectangle in DrawGradient
If the polypolygon that we use for DrawGradient is a rectangle, then we
need to 1) expand the gradient rectangle to avoid missing lines on the
right and bottom edge, and 2) we should pass NULL as the clipping
parameter for ImplDrawLinearGradient and ImplDrawComplexGradient.

Change-Id: I8d8289ace069b5c500db59d1a2addfcea8388dfb
2014-04-12 23:05:40 +10:00
Chris Sherlock
4981bb9eed Reduce the clip region in ClipAndDrawGradient
We should reduce OutputDevice's clipping region to the bounds of the
polypolygon. To do this we run OutputDevice::Push(PUSH_CLIPREGION)
to have it set the clip region of the device, then intersect the clip
region of the device with the bounding rectangle.

Change-Id: I58ff5d1def1eca3c1213c7fd2d6a7205b70cdd01
2014-04-12 23:05:39 +10:00
Caolán McNamara
a7228e0bdb Resolves: fdo#37130 use 10pt Default style font for comments
instead of 10pt UI font

Change-Id: I92e2b415ff37f8baae67a00cc077e431b12b924c
2014-04-12 13:35:20 +01:00
Caolán McNamara
cb35c7cd49 add test case for CVE-2007-2356
Change-Id: I9bf6ca1c5a23dd0e3ef6b7d7c0de041a48df45b6
2014-04-12 12:41:14 +01:00
Tomaž Vajngerl
272a5e7671 sd tests: tab to spaces
Change-Id: Icfc9d08b073f76d6c489a8b12a3c27b850a116ce
2014-04-12 12:58:51 +02:00
Tomaž Vajngerl
fa4c74f4d5 liblo: fix check of xcomponent
Change-Id: I8a05a067681767518c688eb836bbe676bed05996
2014-04-12 12:58:50 +02:00
Tomaž Vajngerl
5830799d5b macros_test: use "css" short form
Change-Id: I2e8d8773703df67d090059be8bd9f3c7c7335f78
2014-04-12 12:58:50 +02:00
Tomaž Vajngerl
69fe106628 sd html export: "single document" publish mode & support tables
Change-Id: I0c9f45011091f962d5304c9efcaebbed7e6c3d9d
2014-04-12 12:58:49 +02:00
Eike Rathke
f0d9aab052 do not change configured runtime system locale when setting UI locale
This was always plain wrong.

Change-Id: I2b0e3572a8285638c6d2a16e2b095c4a9847a25c
2014-04-12 11:30:29 +02:00
Tor Lillqvist
b0ca4765f3 WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'
Change-Id: Idfecaf013426bb549d3148fe0cab4c9e6c05dd2e
2014-04-12 10:46:26 +03:00
Kohei Yoshida
cd22c34423 fdo#74087: Inspect if a mis-spelled word is at cursor position...
then decide whether to launch a spell candidate menu or a regular context
menu.

Change-Id: Ib121e9c6729e068c70ff216391f863639aa01951
2014-04-11 23:09:38 -04:00
Niklas Johansson
cf1d4c02c1 fdo#76961 - Calc link auto-update interval is changed on file save
The commit fa0fe19e89ba68a6b02cbdd5eff6bc161024c53d accidentaly made the
external links auto-update interval save seconds as milliseconds. This patch
fixes the problem at least on Mac and Windows where I tested it. I also
did a successful build on Fedora 20 with this patch that works as expected.

Change-Id: Ia10d12fb678004a686a4eaa65e9e12f09378a440
Reviewed-on: https://gerrit.libreoffice.org/8934
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-04-12 02:05:45 +00:00
Kohei Yoshida
f9cc0daec2 fdo#77307: Compare external formula tokens correctly.
To avoid different external (add-in) tokens from being evaluated equal.

Change-Id: If78187901bdca7fe0da50442b0bb66e0650dc70f
2014-04-11 21:40:28 -04:00
Kohei Yoshida
d5d43b2d8d Enable scaddins for ucalc test session.
This adds several worksheet functions to the list.

Change-Id: Ib1a72c4401a4bd5e09ec98dfa1bd6175234005e0
2014-04-11 21:40:28 -04:00
Stephan Bergmann
115b295812 Clean up function declarations
Change-Id: If482545f87a9b0c066f91639c55b73bee4d01b5c
2014-04-11 23:29:36 +02:00
Michael Stahl
e98e738a82 replace some SvStream seeking with calls to remainingSize()
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
2014-04-11 23:08:11 +02:00
Caolán McNamara
e02a6cb2c3 add a ras import test
Change-Id: Idc9267a2bb1bca13c40c746ab3b1974d7e4258ab
2014-04-11 21:51:22 +01:00
Stephan Bergmann
11a210c25f Remove unused function
Change-Id: I150cbe9ca96f0fb9a6b1116f79a0711d78252ba5
2014-04-11 22:43:55 +02:00
Caolán McNamara
eacfa63670 coverity#707839 Uninitialized scalar field
Change-Id: Ib9cf1d3da0cf03b6aa0aaa7b5206803730115cc8
2014-04-11 21:16:23 +01:00
Caolán McNamara
dfc39fcdbf coverity#707837 Uninitialized scalar field
Change-Id: Icce1d2cd9abfebcf26e916c4c79341b617e97b2e
2014-04-11 20:49:57 +01:00
Caolán McNamara
2c2b3a16bd coverity#707834 Uninitialized scalar field
Change-Id: I405b981c9234a662cf1d305ad437482d10cbf432
2014-04-11 20:45:09 +01:00
Caolán McNamara
d30ee7f7ce coverity#707812 Uninitialized scalar field
Change-Id: I04e65d6c0124a2f370ae006bbaa991d5e7753e12
2014-04-11 20:37:10 +01:00
Caolán McNamara
36c84fa3fb restore original lock status of SwViewShell in correct order
in e12184393f0591b5c5d9218062cc0a4bced6d4e6 "Resolves: rhbz#1081176: don't jump
to cursor pos" for some reason I collect the old state of the various
SwViewShells and then restore them in the opposite order.

Change-Id: Ibb7bcfb07cf5038dd2e9acbac26b3246ff483a92
2014-04-11 20:27:35 +01:00
Caolán McNamara
ffa82c4d14 coverity#738630 Uninitialized scalar field
Change-Id: Ie6b6347a8cdddfcf6b1aada2aa5c34b94cc73490
2014-04-11 20:27:35 +01:00
Miklos Vajna
8f2c47739f writerfilter: remove no longer needed WRITERFILTER_WRITERFILTER_DLLPUBLIC
Change-Id: Idedee38be19bc770518b85af62c9fc2b5b64e822
2014-04-11 21:26:11 +02:00
Kohei Yoshida
c9c4148f00 Add this back.
Change-Id: Ia342671c460d07fae4764712b2c814616ff427ba
2014-04-11 15:19:31 -04:00
Zolnai Tamás
539017f1d9 fdo#72400: slideshow: display a snapshot of movie until its not started
Change-Id: Ibd81f2aada458dd7437053b59882d3200f78747e
2014-04-11 19:56:21 +02:00
Takeshi Abe
4e939b9599 Avoid possible memory leaks in case of exceptions
Change-Id: I4f1e00dd275976cdba8490f35ccbb491914829b7
2014-04-12 01:34:45 +09:00
Kohei Yoshida
0ffe4358c7 fdo#75970: Let's do it in a straightforward fashion.
No idea what the intent of this weird static heap instantiation, but
apparently it's not helping us.

Change-Id: If6cccf649958b6cf01ede992c286af68eaeb31f6
2014-04-11 12:33:43 -04:00
Armin Le Grand
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
Caolán McNamara
5d60ae3fc1 coverity#738631 Uninitialized scalar field
Change-Id: I931e819da93ef952d9ad3a755471302472b4d580
2014-04-11 17:09:27 +01:00
Caolán McNamara
cbe71fb3d4 coverity#738632 Uninitialized scalar field
Change-Id: Ic5ca12b6e18890fbc289063fc7518b44abf90e2c
2014-04-11 17:07:46 +01:00
Caolán McNamara
e6e4474aae set what system locale should resolve to for languagetag
normally this happens in desktop/source/app/langselect.cxx for
the fat app case

Change-Id: I4772172aa6f071ac03d74e2abe7a9e197f0dc964
2014-04-11 17:05:20 +01:00
Tor Lillqvist
1808330a85 Revert ""Fix" for some SmartArt rendering artefacts on iOS"
Nah, the "fix" is largely accidental. Must. Try. Harder.

This reverts commit c03986e084e8806f66f7490f2aeeb33db5748e4b.
2014-04-11 19:03:31 +03:00
Stephan Bergmann
6bb60dab6f Clean up function declarations and some unused functions
Change-Id: I45ea22c86ea66c49fd86af2b5d0df060138f7e9a
2014-04-11 18:00:18 +02:00
Stephan Bergmann
d4b8fe32f5 Clean up function declarations and some unused functions
Change-Id: I4c63cd304908ce0e8ae3f9938d7323225dd314a5
2014-04-11 17:16:52 +02:00
Michael Stahl
8755eb0274 adapt XSheetAnnotation::testGetDate() to locale change
... in c0a4de1ede27c5911fea0829deabee0b599d5d40.

Change-Id: Ic93b6febe719a465d768338faa3e222e8fca2e97
2014-04-11 16:47:35 +02:00
Caolán McNamara
66bafdd56f coverity#738634 Uninitialized scalar field
Change-Id: Ie83aa769b1737692a0e518b9c21371c92ec6382c
2014-04-11 15:38:05 +01:00
Caolán McNamara
ea957cc01d coverity#738635 Uninitialized scalar field
Change-Id: I033b3e2420edcc8a7529cd60c2ef372f2abfed23
2014-04-11 15:30:20 +01:00
Caolán McNamara
60a0a093ca coverity#738637 Uninitialized scalar field
Change-Id: I9e8abf725c348c4d779d779e24e411609df64986
2014-04-11 15:25:13 +01:00
Eike Rathke
cf9a100021 corrected copy&paste error
WORKDAY.INTL was erroneously saved as NETWORKDAYS.INTL in .xls BIFF

Change-Id: I23d7b4fb7382cfd640d1a0a19a81c4839488c1ce
2014-04-11 15:52:03 +02:00
Caolán McNamara
e12184393f Resolves: rhbz#1081176: don't jump to cursor pos when...
launching a new window view of a document. This was happening because of
(temporary) activation of the modified flag (from updating the document stats
in the bottom bar) triggering a scrolll to the current cursor position of the
old document

Change-Id: I6e1a3c07b66ff6373345850d1449f17c1f0baa17
2014-04-11 14:47:50 +01:00
Winfried Donkers
56deaabb32 fdo#73149 add Excel 2010 functions ERF.PRECISE and ERFC.PRECISE
Change-Id: I3199470ec92923e8cc12156f21dd397d870cc1e0
Reviewed-on: https://gerrit.libreoffice.org/8930
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-04-11 13:43:14 +00:00
Kohei Yoshida
ba1452c261 Several more Window events to intercept for the GL3D chart.
But not painting or resizing events. Those are generic enough that no
branching is needed.

Change-Id: I0fb186da61c583c5326d2608b2153aced3fab77b
2014-04-11 09:36:40 -04:00
Kohei Yoshida
a3354ecf4f Separate mouse event handlers for GL3D bar chart.
They are just skeletons for now.

Change-Id: I7e5e95ad8a2809125cbcf3affd17e663aafa99b0
2014-04-11 09:36:40 -04:00
Caolán McNamara
999377f113 coverity#738639 Uninitialized scalar field
Change-Id: Ib7c75d87237113641fd80e5a87dc08cbf1910a55
2014-04-11 14:11:22 +01:00
Caolán McNamara
01dca77a77 coverity#738684 Uninitialized scalar field
Change-Id: I07b698a72ada7a56fb8b63232f25ee5a5edfc185
2014-04-11 14:11:22 +01:00
Caolán McNamara
46575addc4 coverity#738695 Uninitialized scalar field
Change-Id: I5a96a726d956f0eac0a7e5441e6fcbb2fd0ae204
2014-04-11 14:11:22 +01:00
Caolán McNamara
2e87d4241f coverity#738696 Uninitialized scalar field
Change-Id: I96fd8829d8854e3d3412ef4a0ba9fadf838e0f48
2014-04-11 14:11:22 +01:00
Caolán McNamara
711470cdee coverity#738697 Uninitialized scalar field
Change-Id: I5edf11a51b4d32a1a7257857b03ce7814af442e3
2014-04-11 14:11:21 +01:00