summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-04-12cppcheck: multiCondition, remove 2 duplicate "else if" blocksJulien Nabet1-4/+0
Change-Id: I538bacd0e52a5e7d5df9847ad4632e02124aeb95
2014-04-12HEADER_SEARCH_PATHS is duplicated for Debug and ReleaseTor Lillqvist1-0/+1
Change-Id: Ifbed4933f528342300642673d707c8189eda1e8c
2014-04-13fdo#38844 Reduce XOR clipping for gradientsChris Sherlock4-34/+6
Removed XOR clipping version of ClipAndDrawGradientMetafile. Because it has been removed, the other version isn't really needed in it's own function so I've moved it back into DrawGradient. Change-Id: Ib1519a019061c8c71183db63e5c11681bcad4cc4
2014-04-12Mmap in the ICU data file and pass it to udata_setCommonData()Tor Lillqvist1-0/+35
Now done in TiledLibreOffice's lo_initialize(), but should probably be done in common LO code instead. Change-Id: I398a703943d13c6d715e4c88ead2a629955fb7c9
2014-04-12Copy the ICU data file into the TiledLibreOffice appTor Lillqvist2-0/+6
Change-Id: I7f259c96dd9ab0ec833cefd2142682d08b7255b1
2014-04-12Don't create an icudata library for iOSTor Lillqvist2-8/+17
The intent being that the data file will be used instead. To avoid linking error, correspondingly include the ICU stubdata library in the list of static libraries to link with. Change-Id: I0f223fcce89dfbe283aaa2fcd2d5a58ea36ba364
2014-04-12Add udata.cpp from ICU for easy breakpoint settingTor Lillqvist1-0/+18
Change-Id: Ic830275479ef68af50e4df738d9f5d252bb1cdf0
2014-04-12Unnecessary to mention dependency on icudata as only libicuuc directly uses itTor Lillqvist8-8/+0
libicudata exports a single symbol, icudt52_data (for ICU version 52), and only libicuuc refers to it. Change-Id: Ia04356fda20cf8109156ccd1cbbd9091e70adf27
2014-04-12cppcheck: Possible inefficient checking for emptinessJulien Nabet1-1/+1
Change-Id: I2b353435b29046b05acbb1193fda168309e01f4b
2014-04-12cppcheck: Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-1/+1
Change-Id: I7060802164989c2797d4abea29a378eaa3a54b41
2014-04-12cppcheck: multiConditionJulien Nabet1-1/+1
2 "else if" with same condition, one of them is wrong and it seems here the first one. More details here: http://nabble.documentfoundation.org/Cppcheck-reports-else-if-condition-matches-previous-condition-vcl-td4104270.html Change-Id: I818cfa879a41c5818c429acc1645b1ee1f8b5103
2014-04-12fdo#74599 RTF import: enable StylesNoDefault compat settingMiklos Vajna4-3/+18
The Writer 'Heading 3' paragraph style is gray by default, but (just like in case of DOCX) that shouldn't have any influence on the RTF import result. Fix this by moving the compat setting from the DOCX filter implementation to the common dmapper. Change-Id: I86c7cf1a66f82b438ce8379467773a88c9e229af
2014-04-12Unify DrawGradient functions in OutputDeviceChris Sherlock1-157/+64
Turns out that the two versions of DrawGradient in OutputDevice are almost exactly the same in every way, except one deals with a rectangle and the other with a PolyPolygon. So I just convert the Rectangle into a PolyPolygon and use the PolyPolygon function. Now that the functions are unified, the need for a seperate function to clip and draw the gradient is no longer really required, so I've merged this back into DrawGradient. Change-Id: I94d4af1bb7dd900495672f0c0481dc9a1083ff67
2014-04-12Detect if polypolygon is a rectangle in DrawGradientChris Sherlock1-2/+14
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-12Reduce the clip region in ClipAndDrawGradientChris Sherlock1-0/+6
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-12Resolves: fdo#37130 use 10pt Default style font for commentsCaolán McNamara1-6/+0
instead of 10pt UI font Change-Id: I92e2b415ff37f8baae67a00cc077e431b12b924c
2014-04-12add test case for CVE-2007-2356Caolán McNamara1-0/+0
Change-Id: I9bf6ca1c5a23dd0e3ef6b7d7c0de041a48df45b6
2014-04-12sd tests: tab to spacesTomaž Vajngerl2-6/+6
Change-Id: Icfc9d08b073f76d6c489a8b12a3c27b850a116ce
2014-04-12liblo: fix check of xcomponentTomaž Vajngerl1-1/+1
Change-Id: I8a05a067681767518c688eb836bbe676bed05996
2014-04-12macros_test: use "css" short formTomaž Vajngerl2-11/+10
Change-Id: I2e8d8773703df67d090059be8bd9f3c7c7335f78
2014-04-12sd html export: "single document" publish mode & support tablesTomaž Vajngerl4-20/+208
Change-Id: I0c9f45011091f962d5304c9efcaebbed7e6c3d9d
2014-04-12do not change configured runtime system locale when setting UI localeEike Rathke1-1/+0
This was always plain wrong. Change-Id: I2b0e3572a8285638c6d2a16e2b095c4a9847a25c
2014-04-12WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'Tor Lillqvist1-1/+1
Change-Id: Idfecaf013426bb549d3148fe0cab4c9e6c05dd2e
2014-04-11fdo#74087: Inspect if a mis-spelled word is at cursor position...Kohei Yoshida2-36/+146
then decide whether to launch a spell candidate menu or a regular context menu. Change-Id: Ib121e9c6729e068c70ff216391f863639aa01951
2014-04-12fdo#76961 - Calc link auto-update interval is changed on file saveNiklas Johansson1-1/+1
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-11fdo#77307: Compare external formula tokens correctly.Kohei Yoshida1-0/+9
To avoid different external (add-in) tokens from being evaluated equal. Change-Id: If78187901bdca7fe0da50442b0bb66e0650dc70f
2014-04-11Enable scaddins for ucalc test session.Kohei Yoshida2-0/+15
This adds several worksheet functions to the list. Change-Id: Ib1a72c4401a4bd5e09ec98dfa1bd6175234005e0
2014-04-11Clean up function declarationsStephan Bergmann5-30/+97
Change-Id: If482545f87a9b0c066f91639c55b73bee4d01b5c
2014-04-11replace some SvStream seeking with calls to remainingSize()Michael Stahl14-63/+27
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
2014-04-11add a ras import testCaolán McNamara7-0/+114
Change-Id: Idc9267a2bb1bca13c40c746ab3b1974d7e4258ab
2014-04-11Remove unused functionStephan Bergmann1-7/+0
Change-Id: I150cbe9ca96f0fb9a6b1116f79a0711d78252ba5
2014-04-11coverity#707839 Uninitialized scalar fieldCaolán McNamara1-4/+5
Change-Id: Ib9cf1d3da0cf03b6aa0aaa7b5206803730115cc8
2014-04-11coverity#707837 Uninitialized scalar fieldCaolán McNamara1-13/+17
Change-Id: Icce1d2cd9abfebcf26e916c4c79341b617e97b2e
2014-04-11coverity#707834 Uninitialized scalar fieldCaolán McNamara1-4/+10
Change-Id: I405b981c9234a662cf1d305ad437482d10cbf432
2014-04-11coverity#707812 Uninitialized scalar fieldCaolán McNamara1-7/+43
Change-Id: I04e65d6c0124a2f370ae006bbaa991d5e7753e12
2014-04-11restore original lock status of SwViewShell in correct orderCaolán McNamara1-11/+10
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-11coverity#738630 Uninitialized scalar fieldCaolán McNamara1-3/+3
Change-Id: Ie6b6347a8cdddfcf6b1aada2aa5c34b94cc73490
2014-04-11writerfilter: remove no longer needed WRITERFILTER_WRITERFILTER_DLLPUBLICMiklos Vajna34-70/+4
Change-Id: Idedee38be19bc770518b85af62c9fc2b5b64e822
2014-04-11Add this back.Kohei Yoshida1-1/+1
Change-Id: Ia342671c460d07fae4764712b2c814616ff427ba
2014-04-11fdo#72400: slideshow: display a snapshot of movie until its not startedZolnai Tamás1-7/+10
Change-Id: Ibd81f2aada458dd7437053b59882d3200f78747e
2014-04-12Avoid possible memory leaks in case of exceptionsTakeshi Abe6-33/+22
Change-Id: I4f1e00dd275976cdba8490f35ccbb491914829b7
2014-04-11fdo#75970: Let's do it in a straightforward fashion.Kohei Yoshida1-2/+2
No idea what the intent of this weird static heap instantiation, but apparently it's not helping us. Change-Id: If6cccf649958b6cf01ede992c286af68eaeb31f6
2014-04-11Resolves: #i124661# secure possible out of bound access to vectorArmin Le Grand1-1/+12
(cherry picked from commit c9cdd9751d45b5b8b0288e9dc477e6d272ba0a0d) Change-Id: I1c0637029fd7b4ab493956538c6e9fdf33307cbe
2014-04-11coverity#738631 Uninitialized scalar fieldCaolán McNamara1-5/+6
Change-Id: I931e819da93ef952d9ad3a755471302472b4d580
2014-04-11coverity#738632 Uninitialized scalar fieldCaolán McNamara1-4/+6
Change-Id: Ic5ca12b6e18890fbc289063fc7518b44abf90e2c
2014-04-11set what system locale should resolve to for languagetagCaolán McNamara2-1/+5
normally this happens in desktop/source/app/langselect.cxx for the fat app case Change-Id: I4772172aa6f071ac03d74e2abe7a9e197f0dc964
2014-04-11Revert ""Fix" for some SmartArt rendering artefacts on iOS"Tor Lillqvist1-17/+0
Nah, the "fix" is largely accidental. Must. Try. Harder. This reverts commit c03986e084e8806f66f7490f2aeeb33db5748e4b.
2014-04-11Clean up function declarations and some unused functionsStephan Bergmann10-59/+91
Change-Id: I45ea22c86ea66c49fd86af2b5d0df060138f7e9a
2014-04-11Clean up function declarations and some unused functionsStephan Bergmann7-121/+6
Change-Id: I4c63cd304908ce0e8ae3f9938d7323225dd314a5
2014-04-11adapt XSheetAnnotation::testGetDate() to locale changeMichael Stahl1-1/+1
... in c0a4de1ede27c5911fea0829deabee0b599d5d40. Change-Id: Ic93b6febe719a465d768338faa3e222e8fca2e97