Commit Graph

350483 Commits

Author SHA1 Message Date
Michael Stahl
a7d3f57da5 warning C4101: 'e': unreferenced local variable
Change-Id: I3fb8a4f2854fb034d6b184ee46c04e8a8d03ca6a
2014-04-10 14:13:19 +02:00
Miklos Vajna
bcd243793e CppunitTest_cppcanvas_emfplus: disable this in case there is no display to use
This test is already disabled on non-Linux, but it fails in case there
is no display to use. For now just disable it in that case.

Change-Id: I29c52e803a1fca5f2bdeeb655c573ad8fef622e8
2014-04-10 14:08:16 +02:00
Tor Lillqvist
cb10a184b9 Kill the ImplSVGDIData::mbNoXORClipping flag
Instead, act as if it was true on all platforms. Don't do XOR clipping on any
platform. Simpler code is better code, and XOR tricks are generally very much
out of fashion these days, I have been told. Didn't seem to have any visible
ill effects on Linux at least.

Change-Id: I6192006c77a4a81363ec7b3292f72d512d5e9b53
Reviewed-on: https://gerrit.libreoffice.org/8901
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-10 11:42:41 +00:00
Michael Stahl
0d8e3a1459 fdo#75376: configure: disable LTO by default for MSVC too
MSVC 2010 LTO triggers some bug in painting Writer documents;
unfortunately it's not possible to put a VCVER check in there to enable
LTO by default only for MSVC2012 because the compiler detection actually
uses the ENABLE_LTO value.

Change-Id: I29ecdd552d8a8bbd673a844e6bf0c938a98825c2
2014-04-10 12:58:56 +02:00
Stephan Bergmann
5cfbf353db loplugin:bodynotinblock
Change-Id: I7262f0114f3bde17d81e14e0813cc7906e73fceb
2014-04-10 12:53:22 +02:00
Miklos Vajna
c3d90aa384 fdo#77229 testcase
We didn't have EMF+ rendering testcases so far, let's see if it works
out to render into a bitmap and then just assert pixel position colors
there. It's better than nothing for missing shapes at least.

Change-Id: I2d1c63fef1127f69af7156ed6c99553845f77c9f
2014-04-10 12:21:31 +02:00
Stephan Bergmann
8f703221a0 Clean up function declarations and some unused functions
Change-Id: Ic720aa7b30bbe56d67e0b65f3e047ad3ae521a97
2014-04-10 11:24:39 +02:00
Jan Holesovsky
492c1da6be Off by one.
Compared to 4c8d29f4f2, we do not have to
provide 0 to mark the end.

Change-Id: I3b9a3de61df48caf271cb06b27cf9cfa174dc4ed
2014-04-10 11:03:42 +02:00
Caolán McNamara
f767d4580e callcatcher: update unused code
OAuth2Handler is from libcmis

Change-Id: Ia1986d6df7ab45580c66b4e536c5882af41f357f
2014-04-10 09:50:54 +01:00
YogeshBharate
a7bc9c1e49 fdo#77051: Preservation of Index field flag '\f'.
Problem Description:
- In LibreOffice, the index field flag '\f' was not
  getting preserved after roundtrip as there was no
  support for it.
- '\f' field flag is used for Specific Entry Type.
  ex. In our case it is "Syn"

Implementation:
- Provided import & export support for Index field flag '\f'
  and added UT for the same.

Change-Id: I97c2456dd73c8bdf89ab105f8cac71bf7e2ad164
Reviewed-on: https://gerrit.libreoffice.org/8839
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-10 08:15:54 +00:00
Stephan Bergmann
1d25e1de0b Clean up function declarations and some unused functions
Change-Id: I9d6e9df0b686c61597aaa0e194ab321445671a20
2014-04-10 09:31:46 +02:00
Stephan Bergmann
4f9674beaa Missing include
Change-Id: Icd3b57c4ae3dd79f4e57b72f9b241f15060322cf
2014-04-10 09:26:05 +02:00
Markus Mohrhard
b7c7bd3de0 add teh rounded corners property back
This has been removed because it was unused.

Change-Id: If8fdf87cec1cd5fb5ee1924396643b152e6f3431
2014-04-10 00:11:23 +02:00
Markus Mohrhard
ceec6e1ac9 make sure the unique id is set correctly
Change-Id: I1b846e79c2fdd718b7c67f39cb67ca2916520cb3
2014-04-10 00:11:23 +02:00
Julien Nabet
2e1177a1b6 -Werror=deprecated-declarations (on Debian, reportedly) (part2)
Change-Id: Ifd6a9897e3ebf978968efed79a478fa72cebe51a
2014-04-09 22:53:00 +02:00
Eike Rathke
4cb706ba6f add abbreviated DateAcceptancePattern
Change-Id: I7cdc9b13fe950222521cb937e928da27ee55e866
2014-04-09 22:05:43 +02:00
Norbert Thiebaud
87ba23f38c CTRunData fix include mishap
Change-Id: If60a02f42a64ac60fb5be1072bf34efcbfa3cc6b
2014-04-09 13:47:43 -05:00
Norbert Thiebaud
b2aced2dda coretext: what to include is SDK dependant
Change-Id: Ie3cfd1427dfe668c4cf682efa1f728dea764d277
2014-04-09 12:12:02 -05:00
Norbert Thiebaud
066288976b tweak the height value in testDmlRectangleResize once again to pass on Mac
Change-Id: I4d4780bdd8491c00140babc7651fc80a711bcf20
2014-04-09 12:05:08 -05:00
Norbert Thiebaud
b8aa1f2364 vcl quartz: cache per-run glyphs information
GetNextGlyphs could only deal with 1 glyph at the time
and was recalculing a lot of thing while iterating on the glyphs

This is not just a performance issue.. the notiong of keeping
per run glyphs information will be useful to re-establish the
proper support of glyphs display positionning by SetDXArray()
which today is completely ignored, in favor or letting
CoreText spread the extra free space itself.

Change-Id: Ib267c3e490619b650d4149f4b15b5758802942ba
Reviewed-on: https://gerrit.libreoffice.org/8879
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-04-09 16:33:06 +00:00
Winfried Donkers
8facc14e88 fdo#73147 improve function code for speed
Change-Id: I8862c1aaf245796a475ce52bec6c8e9a32862bbd
Reviewed-on: https://gerrit.libreoffice.org/8841
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-04-09 15:54:28 +00:00
Stephan Bergmann
b818619266 Do not leak SfxDialogExecutor_Impl
Change-Id: Ife3e8e4b339b3e2cba3bc81e14f616d75c4f5ed0
2014-04-09 17:51:41 +02:00
Chris Sherlock
55df573e23 Minor whitespace change
Change-Id: Icf3cc0ece477a1370d6dbf609e6b121075b3b999
2014-04-10 01:36:42 +10:00
Chris Sherlock
0156a3c3ce Check if polygon is a rectangle when drawing gradient
DrawGradient should check to see if the polygon is a rectangle before
adding the gradient to the metafile. If it's a rectangle, we are
currently unnecessarily adding XGRAD_SEQ_(BEGIN|END) comment records.

Change-Id: I38aef322469f45403ed105d971d7e1d1441ba6a0
2014-04-10 01:29:53 +10:00
Chris Sherlock
8f61d6ca5d Cannot draw metafile-based grayscale gradient into a polygon
OutputDevice::DrawGradient doesn't check to see if it's meant to be
drawing a grayscale gradient when it adds it into the OutputDevice
metafile. Now fixed.

Change-Id: I83cb5255c01901e33ca1f751e91e8a77292663e6
2014-04-10 01:27:01 +10:00
Caolán McNamara
75508e5d42 WaE: -Werror=sign-compare
Change-Id: I160a760a13c8e5140d6df295a9dffd05cf5e7b81
2014-04-09 16:19:42 +01:00
Chris Sherlock
480157e58f Remove unnecessary bound-box parameter from clipping functions
The bounding rectangle actually comes from the polygon. Therefore, it's
not needed. Removed from the following functions in OutputDevice, et al

+ ClipAndDrawGradient
+ XORClipAndDrawGradient
+ ClipAndDrawGradientMetafile

Change-Id: I4a87edcddb8895871982f0448854e1c0854124bc
2014-04-10 01:11:38 +10:00
Caolán McNamara
a420aa90a8 coverity#708111 Uninitialized scalar field
Change-Id: I937d83e8c219bb1b672ec0b8b40204d9b20c8317
2014-04-09 16:08:48 +01:00
Caolán McNamara
500532cdc1 coverity#708101 Uninitialized scalar field
Change-Id: I9eff260046a08890629b41188082f196d547c734
2014-04-09 15:59:16 +01:00
Caolán McNamara
f867d3c306 coverity#708100 Uninitialized scalar field
Change-Id: I955e0dd7253c19ef7d6dad1c663bbcfd27d2b511
2014-04-09 15:53:12 +01:00
László Németh
4a8cf5221f fdo#70666 avoid only bad Graphite ligature replacement
Change-Id: Ibd42c70edbd8a5ca5eba34bcb92e801c8dc97ba0
2014-04-09 16:45:45 +02:00
Stephan Bergmann
b43ffeb828 Remove unused MacroOrganizer
Change-Id: I637e84ae7fa82f687eb3f05b3e24e236f0ba8e3c
2014-04-09 16:44:20 +02:00
Caolán McNamara
57abbae632 coverity#708099 unused mTypeClass member
Change-Id: I75a88c9fffb3d2d5c6c12e6df89ba85a8eb92d34
2014-04-09 15:42:34 +01:00
Tor Lillqvist
76f951dd4f Add an animated gif
Change-Id: Ifeeed4216275f944e61579408c77ae38945e60fa
2014-04-09 17:40:33 +03:00
Caolán McNamara
f6bb7fa9fd coverity#708097 Uninitialized scalar field
Change-Id: I17a9c275743208dcb90075b0cdbd40caae3ab642
2014-04-09 15:25:17 +01:00
Chris Sherlock
1987cdeade Fix gradient regressions
1. Fix regression 8659d189ec - rect. gradients no longer do grayscale

In commit 8659d189ec I swapped the passing
parameters going to ImplComplexGradient and ImplLinearGradient from
aGradient (the copy) to rGradient (the original which didn't have the
grayscale applied).

2. Fix regression 954d7ad4ea - grayscale applied at wrong time

In commit 954d7ad4ea grayscale was applied
in DrawGradient (Rectangle &rRect...) after the gradient was written to
the metafile. I was attempting to bring it into line with what
DrawGradient (PolyPolygon &rPolyPoly...) does. However, it remains to be
seen if that's actually doing the right thing - so best to revert this
as in all likelihood I may have caused a regression with grayscaled
gradients

Change-Id: Id94549b3366adb8fcf3cddc59d30029579430a30
Reviewed-on: https://gerrit.libreoffice.org/8908
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-09 14:19:08 +00:00
Stephan Bergmann
bf621a2e28 Remove unused MakeVariable
...unused ever since at least fd069bee7e "initial
import."

Change-Id: I6ec792b68ce6b13b1cf074d9719a23daf3356e66
2014-04-09 16:13:32 +02:00
Stephan Bergmann
8141b349dc Remove always-null SvFileObject::pDownLoadData
...left over after 66e4540041 "aDataAvailableLink
in SfxMedium was never called."

Change-Id: If2cfcc27f2b26ea3c950c2da1c673df940d94773
2014-04-09 15:37:23 +02:00
Caolán McNamara
d80d7e52d2 Resolves: fdo#73544 rename acor_ca to acor-ca-ES
some more investigation into why bare language
autocorrect files are accepted needed but this
is a reasonably safe backportable to 4-2 fix

Change-Id: Ia294219e3c9d98710c6727238cedc15b040b408d
2014-04-09 13:46:05 +01:00
Lennard Wasserthal
5b21eea4b7 fdo#69157 Apply object-in front selection on mouseUp
Before, all selection was recklessly replaced when you clicked something
else than a scaling handle (or the like).
It caused bug 69157.

But now, you can still drag the frame by gripping the interior one.
Btw, that the timer did not correctly start was because of the return
statement in the prior state.

Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net>

Conflicts:
	sw/source/core/uibase/docvw/edtwin.cxx

Change-Id: I5e02cfb2d5fe9cdb9fd7f50d0c961dcc418fadd6
2014-04-09 14:40:09 +02:00
Stephan Bergmann
b4fd20fc6b Clean up function declarations and some unused functions
Change-Id: Id9e29dcaab64b0244b5c53abb48ac27253a11917
2014-04-09 14:42:51 +02:00
Joan Montane
a9276a0f22 Updated core
Project: dictionaries  9bc8a1ce80cb0714c15d32e783db54d3cd852789
2014-04-09 12:29:44 +00:00
Tor Lillqvist
bd365a1056 Enforce "swap-in" for now for iOS with tiled rendering
Change-Id: I6c835aaca2c140cbbb6050b82278aeaaad06fc77
2014-04-09 15:22:41 +03:00
Tor Lillqvist
29885b40df Revert special-casing tiled rendering here
It seems to do more harm than good. Using the default avoids some yet
not found bug in vcl (or somewhere) and fixes the rendering of some
complex SmartArt test documents. (As long as the use of delayed
rendering for "graphics" in svx is also disabled.)

Change-Id: I0ed4b25278101bdd995ce90e8fb65f65ca644ebe
2014-04-09 15:22:40 +03:00
Tor Lillqvist
39253f9aaf Remove a couple of now unneeded includes
Change-Id: I8da8687b09c5cf33ab79f77b00ed47ed022529f6
2014-04-09 15:22:39 +03:00
Stephan Bergmann
4198039441 Remove unused functions
Change-Id: I0f305ef5b9f13e3516b3bbf45d405fad5115521a
2014-04-09 14:21:42 +02:00
Stephan Bergmann
3fd2c49080 Remove unused functions
Change-Id: I49ee400e665160daf02574a0962ba7bd0239091f
2014-04-09 14:15:04 +02:00
Stephan Bergmann
b43e03cdd8 Clean up function declarations and some unused functions
Change-Id: Ia7fdd39b700c597a85280b39550e5de2bf193756
2014-04-09 14:14:26 +02:00
Joan Montane
20fb1bfc72 Related: fdo#73544 change double quotation characters
Change-Id: I1603dfad68261c917532f88397305eef57356da6
2014-04-09 12:20:55 +01:00
Maxim Monastirsky
0ca45881df unused include
Change-Id: I41c043d5651c24a270b54ff9647b1151873b0550
2014-04-09 13:56:35 +03:00