summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-28Prevent LOK DocView crash if document too large.Andrzej Hunt
There seems to be a maximum size that gdk's pixbuf can handle, however I have been unable to find any documentatation. Seeing as the current implementation isn't realistically useable anyway, we might as well set a hard limit here (in practice we'd have much smaller tiles + compositing). Specifically extras/source/shellnew/soffice.ods will fail without this patch. Change-Id: I6ac495adca8e15878989375ef8b2de472788279a
2014-07-28PAGE_DBWIZARD_TEXT, PAGE_TEXT, DLG_TEXT_CONNECTION_SETTINGS conversion to .uiSzymon Kłos
Change-Id: Iea5105cc33b436e9c0728df799b1ceb63f20e46e Reviewed-on: https://gerrit.libreoffice.org/10579 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28Recovery files can have an extensionMaxim Monastirsky
Looks like unintentional change made in c4a593b6b1732def0a21f455c0ca50f82a9bc40d Change-Id: If314a3f290c79909e3a807f9c9c95791c26067e9
2014-07-28Copy first-header-footer test from ww8 to ooxmlLuke Deller
The test document was converted from doc to docx using MS Word 2010. Several fixes were required to make this test pass: - Do not clear the "FirstIsShared" property on page styles, as the code instead uses the old fashioned method of translating a Word section with "different first page header/footer": two page styles linked together, the first page style and the follow page style. (Also remove a wrong test case which checks the FirstIsShared property) - Do not clear the "HeaderIsShared"/"FooterIsShared" properties on the first page style, only on the follow page style. - Actually set the "FollowStyle" property on the first page style to link it to the follow page style. This didn't matter for the very first Word section because it was mapped to the default page styles "First Page" and "Standard" which are already linked, but it does matter for subsequent Word sections. - For some reason setting a new page style at a section break was excluded in the case where the following section had a title page. Remove this exclusion. - The exclusion mentioned in the last point was masking that bnc#751077 was not entirely fixed. To resolve that issue: When checking if the last paragraph of the section is empty, consider not just text content but also shapes. - Remove a workaround for bnc#780843 involving copying of headers and footers from the "Standard" (first section) page style in the case where the following section had a title page. This workaround is no longer needed as the test case passes without it. Change-Id: Iacc9bba0720c11414da3e852892cff301ebbc4fe
2014-07-28use the Redline iteratorBjoern Michaelsen
Change-Id: Ia15e5a376b2a7503f56f183a555e21d1122fe66f
2014-07-28a const_iterator for RedlinesBjoern Michaelsen
Change-Id: I22481191d5cbc905a9af7530e075acda21fcbeba
2014-07-28xmerge: If statement is redundantrbuj
Change-Id: I62914ab65258de36790387b7a8865a32b0d7bca6 Reviewed-on: https://gerrit.libreoffice.org/10587 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28xmerge: Enhanced For-Loopsrbuj
Change-Id: Id9fbffbf74d7583bf1ac8239899abdf0c2347cf2 Reviewed-on: https://gerrit.libreoffice.org/10573 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28fix a memory leakTakeshi Abe
Change-Id: I105f0ac40251122348ed86eaab5d99a023f5c09b Reviewed-on: https://gerrit.libreoffice.org/10588 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-28sfx2: -Werror=parenthesesMichael Stahl
Change-Id: I94973343bb3ec4a055d9a46ca7ac800dd08406ad
2014-07-28Linked the sax library to CMISMihai Varga
This is needed for the use of DateTime converter. I forgot to add the makefile when I commited this patch: https://gerrit.libreoffice.org/#/c/10586/ Change-Id: I7cb9ab40fab549a95beb6818ab4ad4befdd3dea1
2014-07-28Some properties in File->Properties->General Tab are not set for remote docsMihai Varga
This patch handles the case in which no meta information could be extracted from the file, so CMIS properties are displayed instead, if it is a CMIS document. Size and creation/modification dates are handled here. Change-Id: I97f920172b15a76297d78a33ac3a07a8333ef8a6 Reviewed-on: https://gerrit.libreoffice.org/10511 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-07-28UNO to CMIS properties conversion fixMihai Varga
The initial code always extracted Strings from the UNO instead of extracting the same data type that was written into it. This patch extracts the properties according to their data type and formats them to be reconstructed into CMIS properties. Change-Id: Ib160020e9d923a46e2c4f90924da847f2dac5e7a Reviewed-on: https://gerrit.libreoffice.org/10586 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-07-28make sure ICU libs are available when neededDavid Tardon
Change-Id: I56faa8f0b1567a4e45cafc8edff17423b1e29c35
2014-07-28Use better coordinates for unit test of fdo#77229Arnaud Versini
Change-Id: I5fae217687e12313451da5bf4b4e6f914551b628 Reviewed-on: https://gerrit.libreoffice.org/10447 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-07-28Include <algorithm> for std::minTor Lillqvist
Change-Id: I012027c38a6d2b06a4bb0cb53743d350b124ccf4
2014-07-28It's called "GNU Make", not "gnumake"Tor Lillqvist
Change-Id: I54900e077d5325fb6bfad84a2afa37f3adf551bb
2014-07-28WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist
Change-Id: I18274d920865f8e28377acce8084eb1629ff8127
2014-07-28xmerge: If statement is redundantrbuj
Change-Id: Ic36d66e376f6fca536a25db4b3b69b50e2b95ae2 Reviewed-on: https://gerrit.libreoffice.org/10570 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-28xmerge: @Overriderbuj
Change-Id: I9be006d018335dcbfad5ccba5f55648ba24f609c Reviewed-on: https://gerrit.libreoffice.org/10577 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-28Improvements for Windows build with only VS2013 installedTor Lillqvist
I thought it was possible now to build on Windows with Visual Studio 2013 as the only installed Visual Studio version, but no. I tried on a fresh Windows 8.1 installation. This commit fixes the configury a bit at least. (One needs to pass the --with-visual-studio=2013 option. Otherwise configure gets confused by the partial (?) VS2012 that seems to be installed, too, when installing VS2013, and prefers that...) The build fails at least in external/lcms2, but I'll leave sorting out that for later. Change-Id: I15942e4b088a3f0a62c3f7fa8f9b45f77beaff6f
2014-07-28xmerge: javadoc <code>..</code> fixrbuj
Change-Id: I44b7014d01e481a69c514fc52ffb7e0bf09999e5 Reviewed-on: https://gerrit.libreoffice.org/10571 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-28xmerge: remove String constructor invocationrbuj
Change-Id: Ibd7a94c0f53be3b3a3e9ee764dbdeb6199857441 Reviewed-on: https://gerrit.libreoffice.org/10576 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-28xmerge: Unused assignmentrbuj
Change-Id: Ie059c6689976c0a52fedaa6fdee2dd36d944eb56 Reviewed-on: https://gerrit.libreoffice.org/10574 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-27bnc#467459 - fix editeng text search with expanded fields.Michael Meeks
Change-Id: If59d0e2f886e94148b81cb6cfcad067733fcb918
2014-07-27fdo#81617: Split formula groups at sort range boundaries.Kohei Yoshida
Otherwise, partially sorting a range may crash, or at best incorrectly update formula references. Change-Id: Iefcb86d205d83ccc5b684048bfd9aadabf6e13eb
2014-07-27fdo#81617: Write test for this first.Kohei Yoshida
This test currently crashes. Change-Id: I57133495b483664c960a15e638520d195eb02070
2014-07-27Resolves fdo#79273: Data Statistics crashes with any entryJulien Nabet
Change-Id: I50b1a14e6bb9907f3a09e515dba28f9bed5511ea
2014-07-27xmerge: remove import from same packagerbuj
Change-Id: Ia6bd561021c1042f594f20cc748c15ef8f5f00fd Reviewed-on: https://gerrit.libreoffice.org/10578 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27xmerge: javadoc <p>..</p> fixrbuj
Change-Id: Ie10a8ab293091c7528e915487728a97ce51e818f Reviewed-on: https://gerrit.libreoffice.org/10572 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27writerfilter: convert factoryimpl_ns to PythonMiklos Vajna
Change-Id: Ia2380a23e31583f40a368168bc09d7fddd3e4ab7
2014-07-27indentation fixesMiklos Vajna
Change-Id: I0a0f04d0f0e008e8947a5a7e3ed6083c1589e61b
2014-07-27Dead declarationMaxim Monastirsky
DetectFilter impl. removed in 2fcfebf3900ee4df2e2fe39e37d55ee87ab5d6cb. Change-Id: Ia21199066ac00c1b0ddc40168bcc7f1406cb9ea0
2014-07-27jurt: Enhanced For-Loopsrbuj
Change-Id: I74a9b8afd1e4a1364c61c7b85277909f38611f6d Reviewed-on: https://gerrit.libreoffice.org/10553 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27Updated coreOlivier Hallot
Project: help 4cdb8959d25330c2b26123b5a89b126617066e1e Fix fdo#80444: Help pages fo STDEV functions help page for STDEV.P and STDEV.S Change-Id: Iab0cd53f0cdda84e1331a204c74f08c154e9589b Reviewed-on: https://gerrit.libreoffice.org/10568 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27Updated coreOlivier Hallot
Project: help 762152378c05a12e0670b20b1125633d8c57dfcb Fix fdo#80443: Help pages for COVARIANCE functions Help page for COVARIANCE.P and COVARIANCE.S spreadsheet functions Change-Id: I130ec30ece2ec31cc540ab9e651140b2ea1ed07c Reviewed-on: https://gerrit.libreoffice.org/10567 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27Updated coreOlivier Hallot
Project: help 7f0032fe6975853065f593830c82ff37a9f61cd5 Fix fdo#80452, New CHISQ functions help entry for CHISQ.DIST, CHISQ.DIST.RT, CHISQ.INV, CHISQ.INV.RT,CHISQ.TEST Change-Id: I19bc7ed2b50aeb70df8126df7900192e5903e0cb Reviewed-on: https://gerrit.libreoffice.org/10566 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27Updated coreOlivier Hallot
Project: help 119c3b054da571974cb9d37acc908b9bd216fc4a Fix fdo#80445, help pages for VAR functions VAR.P and VAR.S Change-Id: I6c7204c425678810b6383c59f3c6d2e791c26977 Reviewed-on: https://gerrit.libreoffice.org/10560 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27fdo#75757: remove inheritance to std::vectorTakeshi Abe
... by boost::ptr_vector. Originally TextCharAttribList::Clear() was never called with false, so this drops the argument. Change-Id: I0306cd787dd38de0960af38afe9c08a910195b26 Reviewed-on: https://gerrit.libreoffice.org/10549 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-27fdo#81038 Fixed FormulaTokenIterator to use std::vector instead of linked listJeffrey Stedfast
Change-Id: I09f9adfa52b64732cc6200a0dbeb6263435c7c07 Reviewed-on: https://gerrit.libreoffice.org/10565 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-07-26fdo#30425 - button should be print, not print previewMartin Owens
Change-Id: I1b72fcc9d2134b9fb089db307d42d317017f4089
2014-07-26bnc#885825: Write test for this.Kohei Yoshida
Originally it was a pptx document, but switched to docx because reloading an impress document in cppunit currently mysteriously crashes. Change-Id: I3e9ba6b9a4dc7d3c0ca1d59a073dc8a4cca4008c
2014-07-26fdo#71770 Fixed Cut/Copy/Paste popup menu items to appear at the topJeffrey Stedfast
Change-Id: I14b3ad87536b2cf7e2e21ba00cb2afa18c2c95a3 Reviewed-on: https://gerrit.libreoffice.org/10564 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-07-26coverity#706594 Uncaught exceptionCaolán McNamara
Change-Id: Iad8f124706789299f36127f0d0fd0a47db07bace
2014-07-26coverity#706301 Uncaught exceptionCaolán McNamara
Change-Id: I6c81df21c7c8713e3d409fb9418e6d6bcca48d68
2014-07-26coverity#704848 Dereference after null checkCaolán McNamara
Change-Id: I1e0cc28ca52ebabb680d59e3a693a6cefd2e2f9a
2014-07-26coverity#704759 Dereference after null checkCaolán McNamara
Change-Id: I1f41d2bc43391175a4587f501f02775adc43bc8e
2014-07-26coverity#704753 Dereference after null checkCaolán McNamara
Change-Id: I4886995b925e3332e67d08a60e53a251be9f81e5
2014-07-26coverity#704748 Dereference after null checkCaolán McNamara
Change-Id: I88552b40658df85bbfbf0848e94085aa8eb649b6
2014-07-26coverity#704706 Unchecked dynamic_castCaolán McNamara
Change-Id: I22f376f747ffbb7f559d7e0ea631e2baae92138f