summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-18gpg4libre - tdf#113188 add option for minimal PGPKeyPacketThorsten Behrens
Change-Id: I660e68074616f6953e6527e40ec22276ce8ef2fb Reviewed-on: https://gerrit.libreoffice.org/43492 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-18potential deref of empty xStateSetCaolán McNamara
Change-Id: I83d876b0d966b18cdf85249b7e856e4e4f4dec27 Reviewed-on: https://gerrit.libreoffice.org/43488 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-18Resolves: tdf#109282: a11y crash in use after disposeCaolán McNamara
calc, chart in tab 3 with a11y enabled, select chart switch to tab 1, crash cause mpParent has been deleted, IsDisposed is correctly set, but shape accesses parent anyway Change-Id: I6f57a798bfcc82eebb883291cec54e157ff5187b Reviewed-on: https://gerrit.libreoffice.org/43487 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-18use std::unique_ptr in wmfemfhelper::TargetHolderNoel Grandin
Change-Id: I2fab3b9a111513ac711a6480eb240de99eea1991 Reviewed-on: https://gerrit.libreoffice.org/43486 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18use rtl::Reference in sc/../uno/*Noel Grandin
instead of manual reference counting Change-Id: I60798316f2b63800a9f539cb719305c00d91ecc5 Reviewed-on: https://gerrit.libreoffice.org/43491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18Updated coreAndras Timar
Project: translations 639342ecb83334102cb3659a5894643ac64d7327 Updated Slovenian translation Change-Id: I4f383165e70367dae3f1bd7fe3bf975830b9245b
2017-10-18EPUB export: handle headings inside sectionsMiklos Vajna
On one hand, we don't want to split inside a section as there might be elements we need to close/open at split boundary, OTOH this is currently not a problem as we don't produce any output for sections. So remove the level management for sections (this way allowing headings to split inside sections), let's get back to this when there is a concept how e.g. multiple columns would be represented in EPUB. Use case is when sections are used to just group paragraph together and mark all of them read-only: in this case it's unexpected that headings are handled differently to not-in-section ones. Change-Id: If419624f8eec4a6f676ad7f186484c0035f62626 Reviewed-on: https://gerrit.libreoffice.org/43482 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-18svx: remove pointless duplicate SdrFitToSizeTypeMichael Stahl
Change-Id: I7a59ecfdb8d09ecbc0b760003dbc453ac5646d1c
2017-10-18offapi: clarify documentation of TextFitToSizeTypeMichael Stahl
Change-Id: Iae2ee1e77d9cdc0b98241c47e009d37a9e72e000
2017-10-18use std::unique_ptr in PPDCacheNoel Grandin
Change-Id: Ib47ffaa0fe754d8aafdf338d8ec8c2109beb21a5 Reviewed-on: https://gerrit.libreoffice.org/43484 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18add CVE-2017-0199 test-casesCaolán McNamara
Change-Id: I562c16a1dfcf4d8ba6b893da71ae557c4811ac24 Reviewed-on: https://gerrit.libreoffice.org/43480 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-18strip out trivial indirectionNoel Grandin
Change-Id: If025c6ed77faa52383609367169611c2a3e89360 Reviewed-on: https://gerrit.libreoffice.org/43473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18use rtl::Reference in SwChartDataSequenceNoel Grandin
instead of manual acquire/release Change-Id: I2d827b2f785b34b77adb95ac62afb885bb423879 Reviewed-on: https://gerrit.libreoffice.org/43478 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18xmlsecurity: remove unused m_xElementStackKeeperMiklos Vajna
Change-Id: Ibd7d39e288a4121428e83408ce67205eab3340c6 Reviewed-on: https://gerrit.libreoffice.org/43479 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-18presumably we don't need to recalculate on subsequenct 'show' nowCaolán McNamara
Change-Id: I7e5fdd2b328a7d88e11cc15ba9e1027ef55c5e17 Reviewed-on: https://gerrit.libreoffice.org/43461 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-18use std::unique_ptr in SvTreeListNoel Grandin
Change-Id: Ibfba32d6855532aeb42c45f493a4f01f7d0cd4ee Reviewed-on: https://gerrit.libreoffice.org/43475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18tdf#99537 set expand for re-used sidebar panelsJan-Marek Glogowski
When re-using a panel, reset the expand state from the stored state in the PanelContexDescriptor. Change-Id: I00851982bbd36cacdc57459bb6e5be9fcc719e81 Reviewed-on: https://gerrit.libreoffice.org/43466 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-10-18Replace some lists by vectors in hwpfilterJulien Nabet
+ simplify some parts Change-Id: I340d6b6d17f591a58c405965367c15be674103d0 Reviewed-on: https://gerrit.libreoffice.org/43439 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18Replace lists by vectors in svlJulien Nabet
+ remove using namespace std and use prefix std:: Change-Id: Iab432f2c88ba5a15541bd97567682c6a34b0af2e Reviewed-on: https://gerrit.libreoffice.org/43471 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18Replace lists by vectors in ooxJulien Nabet
Change-Id: I951466552fd1cdb3b8f1cbfc07e64f5e0424552e Reviewed-on: https://gerrit.libreoffice.org/43469 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18use std::vector<Complex> in ComplexListNoel Grandin
no need to use dynamic allocation here Change-Id: I49192a8ba5e20891572e9ce3bc4dec51fafba0dc Reviewed-on: https://gerrit.libreoffice.org/43474 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18no need to call acquire()Noel Grandin
when we are returning an uno::Reference Change-Id: Ifff0dba20f45f5321f398577fa7d5fb073278a94 Reviewed-on: https://gerrit.libreoffice.org/43472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18dyncolcontainer: convert aColWidthPath to std::mapNoel Grandin
Change-Id: Ifb86372de3671b81c0438c0096b375b07d2f6754 Reviewed-on: https://gerrit.libreoffice.org/43468 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18dyncolcontainer: use std::map in DifAttrCacheNoel Grandin
Change-Id: Ic3280c5548555ceeb722788dc0a90f8898f46c2e Reviewed-on: https://gerrit.libreoffice.org/43467 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18use rtl::Reference in ODatabaseContextNoel Grandin
Change-Id: I6ed51a1eabe240c199b9f250744729b19efdd24e Reviewed-on: https://gerrit.libreoffice.org/43457 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-18tdf#75256 Sifr update for open symbol with white backgroundMatthias Freund
Change-Id: Ie576d1ef9592ea88dec67d0f4928cc6c5e0153c3 Reviewed-on: https://gerrit.libreoffice.org/43476 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matthias Freund <matti_lx@secure.mailbox.org>
2017-10-18tdf#109306 ooxmlimport: consider table sizes < 10%Justin Luth
Change-Id: I336d5a498f4f4523e03b1316b7adaca21df4de82 Reviewed-on: https://gerrit.libreoffice.org/43385 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
2017-10-18tdf#112689 - Replace chained O(U)StringBuffer::append() with operator+ekuiitr
replaced use of append with operator+ Change-Id: I9eb36fd1f94475df57de7015f8dfabf95676b87d Reviewed-on: https://gerrit.libreoffice.org/43403 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-17tdf#75256 Sifr update for roman list style dark and svgMatthias Freund
Change-Id: I7eb12b26cc1cc0871226e4c972ccd0170ef7856f Reviewed-on: https://gerrit.libreoffice.org/43443 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matthias Freund <matti_lx@secure.mailbox.org>
2017-10-17PPTX export: correct position for shape in groupSzymon Kłos
Change-Id: I5c0c5d2c2b246337b78a2e1fbee97032701fb640 Reviewed-on: https://gerrit.libreoffice.org/43435 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-10-17tdf#112845 rtl dropdowns in wrong positionCaolán McNamara
for rtl we mirror the position of popdowns, so we need to know their initial desired position before they have actually appeared yet and have a valid maGeometry.nX, so fill in the hoped-for position as the current position Change-Id: Ic22dc3e5d9922f5d48bbbdaad53caabff57188d8 Reviewed-on: https://gerrit.libreoffice.org/43459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-17xmloff: document return valueMichael Stahl
Change-Id: I0b2012d2134a94603d95ce5a955f03944e344561
2017-10-17xmloff: this should be an assert()Michael Stahl
Change-Id: Ib81fd7f72964d7152c62d1f9b90dc0cf95e952cc
2017-10-17EditEngine: Enhance visualization of URLsArmin Le Grand
When URLs get layouted Multi-Lined from the EditEngine, a rough 'guess' how many chars per line should be used was in place up to now. This could lead to lines being too short or being longer than the available space, also looked ugly. Layouting now using the needed space properly. Also adapted vertical (for horizontal text) space usage, with multiple lines the space was 'compressed' and wrong calculated. Change-Id: I7255e3e65c85a3a50497b771ed2ca1ef5d97c0dd Reviewed-on: https://gerrit.libreoffice.org/43464 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2017-10-17tdf#79272 ooxmlimport: support strict dxa tblWidthJustin Luth
This patch is also required for tdf#78508. ECMA-376-1:2016 indicates that MeasurementOrPercent is a union of ST_DecimalNumberOrPercent and ST_UniversalMeasure. For the elements that use MeasurementOrPercent, that is represented as 1/50 of a percent or in Twips. This patch adds support for the ST_UniversalMeasure component of the union. Change-Id: I1bac30707f118a3d1f0eab3c27f8dcec96470592 Reviewed-on: https://gerrit.libreoffice.org/43384 Tested-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Justin Luth <justin_luth@sil.org>
2017-10-17EPUB export: handle char format of hyperlinksMiklos Vajna
<text:a> child elements were not handled. Change-Id: I7db9c005869934456ffbe5c36347b01cc76645b6 Reviewed-on: https://gerrit.libreoffice.org/43462 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-17Seems that testMiscOLEStuff() works only as 64-bit on a current Windows 10Tor Lillqvist
Change-Id: Ib43f8c185d2a2e9e93f34d918d6f9461586cf6a6
2017-10-17tdf#112845 get optimal size before showing popupsCaolán McNamara
because in rtl mode we need to know the final size in order to position it correctly according to the right edge Change-Id: Ia701626968f828fd23ab1637ed6171d0e3367c16 Reviewed-on: https://gerrit.libreoffice.org/43460 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-17gtk3: drop faking initial nTopDecoration size from parentCaolán McNamara
in rtl we change the x pos. To change the x pos we need a y pos to go with it, and taking the y pos before we get the true (0) top decoration size of menu and menu-like widgets means rtl popdowns like the color and highlight popdowns are vertically misplaced there's no reason that a window would share the same decoration value as its parent Change-Id: I8cd1e96bb8ef7b0b728ff1baac5ee069325f9753 Reviewed-on: https://gerrit.libreoffice.org/43458 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-17Fix typoAndrea Gelmini
Change-Id: Ibc13a8c1dbfd6fdfc5e35856b21ea5af310f63db Reviewed-on: https://gerrit.libreoffice.org/43430 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-17iOS, changed define to IOSjan Iversen
TARGET_OS_IPHONE not defined, but IOS are. Change-Id: I5a12b0cb386b8968101264f8fb17d745e5c1790f
2017-10-17iOS, added extra linker options for kitjan Iversen
Change-Id: I348e7a717eb6939213ce1cb3881cbba6b76578c8
2017-10-17tdf#105991 - Changing legend's font also changes the legend positionekuiitr
corrected the error Change-Id: Iece8f4c440c01eabe108ba4e9a93fe1fb919f0e3 Reviewed-on: https://gerrit.libreoffice.org/43445 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-10-17use std::unique_ptr in vcl::Animation and vcl::MenuItemListNoel Grandin
Change-Id: I0d682bcf3bd9d5f4852675fd0d6b61f10ea4f7de Reviewed-on: https://gerrit.libreoffice.org/43455 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-17Move lotuswordpro include files to common include directoryStephan Bergmann
...that are included from both lotuswordpro/source/filter and lotuswordpro/source/filter/xfilter. Change done in preparation of loplugin:includeform. Change-Id: I7b65d3232e164af662b7de5bb49d59597803d41c Reviewed-on: https://gerrit.libreoffice.org/43453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-10-17loplugin:useuniqueptr in StyleBagNoel Grandin
Change-Id: I965b086338935aa91691b96a63c9bc95f8b7f7ca Reviewed-on: https://gerrit.libreoffice.org/43452 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-17EPUB export: fix handling of empty paragraphsMiklos Vajna
sw HTML export does work to avoid vertical collapsing of empty (ODF) paragraphs, do the same for EPUB export. Change-Id: I316a310178dd4aadbe3ed8548be23d64aabf5e47 Reviewed-on: https://gerrit.libreoffice.org/43451 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-17correct wrong doxygen syntax; also comments clean-upKorrawit Pruegsanusak
Change-Id: I6074241dfcdcd4ca8a365ab6e03f01028d2c1a7b Reviewed-on: https://gerrit.libreoffice.org/43344 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-10-17loplugin:useuniqueptr in tools/inetmsg.hxxNoel Grandin
Change-Id: Ifdf0da7f59af1777f214cbafeb75b46136775f67 Reviewed-on: https://gerrit.libreoffice.org/43450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-17Add to nPos once instead of in each iterationEike Rathke
Change-Id: I9ab9d5be1edead3a83375d87910bc9128c894b85