Commit Graph

350859 Commits

Author SHA1 Message Date
Caolán McNamara
cd11e8df3d forget to add test ras file
Change-Id: Icfebbe04b7842925c5afe7837cad8479e8b8ea61
2014-04-17 12:00:40 +01:00
Tor Lillqvist
04c3f6fe60 Using -Oz causes crash, revert to Os
This is with the Xcode 5.1.1 tool-chain. Either a compiler bug, or
some undefined behaviour in our code sensitive to compiler
optimisation details.

The crash we noticed was in sw/source/core/layout/paintfrm.cxx. (There
might of course be more locations with similar behaviour.)

Change-Id: I5d0f0aee369b2ca5fc77356f0a7cb88bec6cc58e
2014-04-17 12:59:41 +03:00
Noel Grandin
fee4efcb54 dbaccess: sal_Bool->bool
Change-Id: Ieb52470f9638b74898954db3890aaf2cf202290a
2014-04-17 11:17:21 +02:00
Caolán McNamara
6907b67d3d coverity#708633 Uninitialized pointer field
Change-Id: Ia629e4d41f163be0c6206943b11a4db083d713c5
2014-04-17 09:43:17 +01:00
Caolán McNamara
078803a802 coverity#708655 Uninitialized scalar field
Change-Id: Icbb7d84f127a374f0199c217de529575263a8a4e
2014-04-17 09:43:17 +01:00
Caolán McNamara
e8c424c3e3 coverity#738948 Uninitialized scalar field
Change-Id: Ieca446ab69b84249059c5ce4ec713832bd0a8134
2014-04-17 09:43:17 +01:00
Caolán McNamara
8721ae4f77 coverity#705493 Dereference null return value
Change-Id: I20133ad19197fdfe40bb449680ac274ca0fa056e
2014-04-17 09:43:17 +01:00
Caolán McNamara
6abeecc614 coverity#705524 Dereference null return value
Change-Id: Ifdb9a6d8b0b182b5214f2497cc57a419d4820e7c
2014-04-17 09:43:16 +01:00
Caolán McNamara
0995da6020 coverity#736153 Dereference null return value
Change-Id: I226626858fa517af589db7288391daa775de38a5
2014-04-17 09:43:16 +01:00
Caolán McNamara
ff5ff77094 coverity#736154 Dereference null return value
Change-Id: I8881b0bcf7347fba35edcba4ba23b873312139cb
2014-04-17 09:43:16 +01:00
Ravindra Vidhate
2496eaa5c4 fdo#77219 Image property Z-index [behindDoc] not preserved after RT
Problem description:
For the images who has the "Text wrapping" property set as Behind Text
 is not preserved after saving the file in DOCX format using LO.

Reviewed on:
	https://gerrit.libreoffice.org/9065

Change-Id: Ic8555103909c0f1ed1cb58fba4dc2ef2f84cc9dd
2014-04-17 10:10:37 +02:00
Caolán McNamara
7bda5f04a6 coverity#1202822 Dereference null return value
Change-Id: I8630bfa0c4c557ab14c3b7448b6281072eebec8a
2014-04-17 08:58:57 +01:00
Caolán McNamara
4f4d8c8edb coverity#1202823 Dereference null return value
Change-Id: I72d795203aedf34d32012ecee3c8fdfbc2a8a08f
2014-04-17 08:58:57 +01:00
Caolán McNamara
c152349f69 coverity#1202882 Dereference before null check
Change-Id: Ie61df08c11b687c0b4a3ae212b3f9a6c95171396
2014-04-17 08:58:57 +01:00
Caolán McNamara
f510a9726e coverity#735915 Dereference after null check
Change-Id: I6a846af53a2e3492905d9c89e7e55da8778405a5
2014-04-17 08:58:56 +01:00
Caolán McNamara
297df44348 coverity#704833 Dereference after null check
Change-Id: I307a277ce8f473652afd084eb9848ecb27574714
2014-04-17 08:58:56 +01:00
Miklos Vajna
213571db0e SwTxtSlot::SwTxtSlot now takes an empty reference by default, not a NULL
Change-Id: I3fc7cef18dc1df228a648edb3020a976209f12ee
2014-04-17 09:49:57 +02:00
Caolán McNamara
fede08ac7d Related: fdo#36815 print the text highlight range as well
Change-Id: Ic332b1968b5dc72d26bd704cce70a496ec81e0b8
2014-04-17 08:41:46 +01:00
Markus Mohrhard
4211ce7c62 add file
Change-Id: I45401846ae33e0b26e487093e60d90d128480c60
2014-04-17 09:30:40 +02:00
Takeshi Abe
6a964dcf0f Avoid possible memory leaks in case of exceptions
Change-Id: Ibadadacbe09a93e7d7a7210868c52a8fa582d427
2014-04-17 10:57:00 +09:00
Markus Mohrhard
326f8dc37b add test case for fdo#70609
Change-Id: I85ddd43f5c8e88c6f6bf19284b0822f8bbea1d44
2014-04-17 02:44:43 +02:00
Markus Mohrhard
0ce6d9bcea limit the range shrinking in charts to really large ranges, fdo#70609,
Also improves the situation for fdo#55697.

It is just the fist step to a better algorithm.

Change-Id: I15de1ca6604e585fcf5690f0d903c757d641e765
2014-04-17 02:08:59 +02:00
Markus Mohrhard
b7ba33e4a0 fix non unique property handle
Change-Id: I110feee77ab65bc8f528e85cba7c74063937b086
2014-04-17 02:08:59 +02:00
Stephan Bergmann
c3e84d4c74 sal/log.hxx functionality also includes the equivalent of OSL_LOG_PREFIX
Change-Id: I1bb0115a378003b5cc5b1cfc59c474a1f100d894
2014-04-16 22:42:40 +02:00
Caolán McNamara
8b9858b0ae Resolves: fdo#76916 'User paths' is missing in tab MotionMotion Paths tab
Change-Id: I38deeae3135badde23b9d454d548193af654caab
2014-04-16 20:26:43 +01:00
Caolán McNamara
b5fd106f93 add image/x-sun-raster mimetype
Change-Id: I6c53ec2ae15a68b9fa6bfd0daf81d6a21ca6c457
2014-04-16 20:26:42 +01:00
Caolán McNamara
032a127348 cppcheck: duplicate branch
Change-Id: I2348a763ba4ba2ae8d00df926d6a1dddceb02b4c
2014-04-16 20:26:42 +01:00
Caolán McNamara
c89cafb192 cppcheck: duplicate branch
Change-Id: I1731b60036d94791a39290957d6c4d3b345c077f
2014-04-16 20:26:41 +01:00
Kohei Yoshida
1d1fbbe81b fdo#74687: Undo & redo of format-only changes don't need broadcasting.
Also discovered that the undo path was broadcasting twice.  Let's only
do it once.

Change-Id: I169f1659aecb1eb78be3a497e244f79c5883e50f
2014-04-16 15:22:27 -04:00
Caolán McNamara
64b040866d coverity#735422 Logically dead code
Change-Id: I8e1694c311e1e29dc5ea59b292c6afe90fb762fa
2014-04-16 20:21:03 +01:00
Kohei Yoshida
947177a5cb fdo#74555: Avoid excessive calls to GetPreviewCellStyle().
GetOptimalHeight() gets called *all the time* and is very performance
sensitive.  Let's not do an expensive operation such as GetPreviewCellStyle()
which slows down pretty much everything else after the non-default font is
applied.

Change-Id: I5d5b2e706dd5dd98173044642b98ccaedd9536f0
2014-04-16 14:50:47 -04:00
Stephan Bergmann
2ecc196419 Do not pass bad pointers to strlen
...neither a pointer to a lone char nor null

Change-Id: I08a4f6b80310e23edd614490633b677bd50323a4
2014-04-16 20:44:36 +02:00
Chris Sherlock
948c4654f6 fdo#74702 Seperate ImplDrawGradientWallpaper and rename
I have made ImplDrawGradientWallpaper a virtual protected function as
Window needs to handle this differently to Printer and VirtualDevice
instances. I have also renamed it to DrawGradientWallpaper.

Change-Id: I529ed0a757cfcebb6fe06f3738219ec43272f657
2014-04-17 03:45:23 +10:00
Chris Sherlock
bc3625fce4 fdo#74702 Move common mask functionality to ApplyMask
There is code in OutputDevice that essentially carries out the same
functionality as ImplPrintMask, but for VirtualDevice and Window
instances. Therefore, renamed ImplPrintMask to ApplyMask and moved
OutputDevice functionality into new protected function ApplyMask.

Change-Id: Ia88469e9b149f7819dfc538ecbe014198e4534f6
2014-04-17 03:15:53 +10:00
Chris Sherlock
c1bc990aa5 No need for vcl/source/outdev/bezier.cxx any more
Change-Id: Ie3c401b5f40972999f45da7d2c4b8ed732454af0
2014-04-17 02:41:14 +10:00
Chris Sherlock
97ce12cd2e Remove commented out code in polyline.cxx
Change-Id: I400d38ccb2e87c6435bc767c13a52beb62baa435
2014-04-17 02:41:14 +10:00
Chris Sherlock
2024224a4e Move bezier functions
Move ImplSubdivideBezier(Polygon) to Polygon as a static function.
Move ImplSubdivideBezier(PolyPolygon) to PolyPolygon as a static function.

Change-Id: I0d006a8a2d3a8d9ba1aec913ceecb38507e4dd2f
2014-04-17 02:41:13 +10:00
Miklos Vajna
e1f9e73893 oox: add --data switch to generatePresetsCXX.pl
generatePresetsCXX.pl (as its name says) by default generates C++ code,
but with the new switch it filters out data from the provided
custom-shapes.log.

Change-Id: Ic59c666422db667112c280716f98342fabdae692
2014-04-16 18:36:41 +02:00
Miklos Vajna
142d63d015 oox: add a method to dump a PropertyMap as data
It was already possible to dump a PropertyMap as code, but not as data.
The plan here is that if we dump the customshape preset definitions as
data, then once there is a parser for it, we can get rid of the ugly
generated code.

Change-Id: If596941fedf71693e5d0bff436446ac0855c4c84
2014-04-16 18:36:41 +02:00
Jan Holesovsky
a60d9aa7ce package: Turn own logging infra into SAL_INFO to reduce product bin size.
Change-Id: I81b4cf62cb6ae77ea35e7781ef5f464c28b44855
2014-04-16 18:28:19 +02:00
Ravindra Vidhate
ccfc02f769 fdo#77476:FILE_SAVE : 'TIF' is changed to 'TIFF' in RT
1. Open the attached file in LO which has images [.TIF] format
2. Save the document as DOCX
3. Open the saved document in MS-Office or extract the content of the saved docx file.
 In [Content_Types].xml , .tif extension is changed to .tiff.

Change-Id: I73baea9ad6cd991b04d47e23865b77432127a510
Reviewed-on: https://gerrit.libreoffice.org/9010
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-16 15:53:43 +00:00
Stephan Bergmann
421c78e05f external/icu: Some trivial -fsanitize=undefined patches
Change-Id: I99c62b08b84d2d8afafd391257ab7b8b2d887fac
2014-04-16 17:48:37 +02:00
Jan Holesovsky
7ec515a716 writerfilter: Hide more debug strings we don't need in production builds.
Change-Id: If30d3a94cd3f18bd5c4856d8a88f6c78e0da3e76
2014-04-16 17:46:09 +02:00
Stephan Bergmann
d67da1e721 Remove FontNameHash, use standard OUStringHash
Change-Id: If123bbe8a4ee044ef45f418be0118ccf9509f4e7
2014-04-16 17:45:12 +02:00
Caolán McNamara
bcbf14f607 coverity#1202773 Logically dead code
I can't find any evidence that it was possible to be
other than true/false here before sal_Bool got converted
to bool

Change-Id: Ieacc780b5f5abce0fe166337a50284bd5e0aef45
2014-04-16 16:41:58 +01:00
Caolán McNamara
98a39af312 WaE: -Werror=maybe-uninitialized
Change-Id: Id9226a5d460c114d4811209020f408779dd2424d
2014-04-16 16:41:58 +01:00
Caolán McNamara
eff36c994e coverity#1027390 Logically dead code
Change-Id: Ie2d375093828cc2b0f9ca20b360a8fe8a5032dcf
2014-04-16 16:41:58 +01:00
Caolán McNamara
a4d5f7d085 coverity#1157770 Logically dead code
Change-Id: I28a19cbf77cf6354107a31a432a810e73ba45538
2014-04-16 16:41:58 +01:00
Caolán McNamara
e19b3b4230 coverity#735516 Logically dead code
Change-Id: I70c6ae792805fa7165f465d076e9f4cda60e5e84
2014-04-16 16:41:57 +01:00
Caolán McNamara
b56e32b3c7 coverity#735534 Logically dead code
Change-Id: If44c17bca47e461229823ad2b5d911df4b1e0319
2014-04-16 16:41:57 +01:00