summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-20tdf#108402: avoid crash if filter doesn't matchJulien Nabet
See bt https://bugs.documentfoundation.org/attachment.cgi?id=134006 + display warning Change-Id: I38496364c0965015ea54f753f3d3550f317d88d8 Reviewed-on: https://gerrit.libreoffice.org/60413 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-09-20loplugin:useuniqueptr in QuartzSalBitmap::CreateColorMaskNoel Grandin
Change-Id: I7fbebf3730aa79209a3ad954522ad8695e5d8c24 Reviewed-on: https://gerrit.libreoffice.org/60704 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-20convert SwGlblDocContents to sorted_vector<unique_ptr<>>Noel Grandin
Change-Id: I9766a03739aa63be8f42fc99012577cfa154298d Reviewed-on: https://gerrit.libreoffice.org/60738 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-20tdf#64264 DOCX import: fix row count of repeating table headerLászló Németh
by ignoring isolated tblHeader settings, according to the standard. (OOXML 17.4.49 tblHeader (Repeat Table Row on Every New Page) "...if this row [with tblHeader property] is not contiguously connected with the first row of the table (that is, if this table row is not either the first row, or all rows between this row and the first row are not marked as header rows) then this property shall be ignored.") Note: with this fix, in a mixed environment, LibreOffice is able to fix the known problems of MS Word 2013/2016 by removing the isolated tblHeaders during DOCX import/export (such problems in MSO: missing repeating headers in a few pages or in the whole table, despite the correct settings; and non-modifiable repeat header row property in the table settings). Change-Id: I73e8394a75b77c937a4bac37d99ff747ad95a06e Reviewed-on: https://gerrit.libreoffice.org/60765 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2018-09-19sw: new unit test for XScriptProviderVasily Melenchuk
Change-Id: I2954bff51d6a507fef4d8a22ff5964735f1cee60 Reviewed-on: https://gerrit.libreoffice.org/60640 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-09-19null parent is a bad ideaCaolán McNamara
Change-Id: Ifcd9039c2de396a4cadf3ba557df3cff3cc6001c Reviewed-on: https://gerrit.libreoffice.org/60772 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19drop some unnecessary headersCaolán McNamara
Change-Id: Ic26c41e1d6be76e28081cc0110cd2335c03d2e27 Reviewed-on: https://gerrit.libreoffice.org/60755 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19weld SmFontDialogCaolán McNamara
Change-Id: Id253631e7dfd44570a4261b7a7a5db1fac9d68ba Reviewed-on: https://gerrit.libreoffice.org/60728 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19set modal flagsCaolán McNamara
Change-Id: I9dca572b413f9cbd19f3f095d049be294be94e4c Reviewed-on: https://gerrit.libreoffice.org/60719 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19weld TPGalleryThemeGeneralCaolán McNamara
Change-Id: Id5ec1b1282c039f30c40fc781be0f6d72a8bfb47 Reviewed-on: https://gerrit.libreoffice.org/60718 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19weld SvxGrfCropPageCaolán McNamara
Change-Id: I7e239e5487a1ae642d009f313dd4aae20ee0de81 Reviewed-on: https://gerrit.libreoffice.org/60717 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19Make compilers combine sUNO_* vars across TUsStephan Bergmann
...by changing them from internal linkage to being inline (where available). The net effect is that compilers (that HAVE_CPP_INLINE_VARIABLES) are required to combine all uses of a given sUNO_* var across a Library, where before that was only possible if the compiler could prove that placing multiple such vars across TUs at the same address didn't change the program's behavior. (And > $ diff <(nm --def instdir/program/libsdlo.so | grep sUNO_ | cut -d ' ' -f 3 | LC_ALL=C sort) <(nm --def instdir/program/libsdlo.so | grep sUNO_ | cut -d ' ' -f 3 | LC_ALL=C sort | uniq) > 2d1 > < _ZL16sUNO_View_ViewId > 8d6 > < _ZL18sUNO_View_PageKind > 23d20 > < _ZL22sUNO_View_LockedLayers > 30d26 > < _ZL23sUNO_View_VisibleLayers > 39d34 > < _ZL25sUNO_View_PrintableLayers showed that there were duplicates, while > $ nm --def instdir/program/libsdlo.so | grep sUNO_ | cut -d ' ' -f 3 | LC_ALL=C sort | uniq | wc -l > 71 shows that only 71 of the 117 sUNO_* vars are actually used at all---there's still room for clean up.) Introduces LIBO_INTERNAL_ONLY SAL_INLINE_VARIABLE. Change-Id: Icf92116de9ea4019d298e325d2a83009317f7a4c Reviewed-on: https://gerrit.libreoffice.org/60743 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-09-19tdf#90850 Enable align commands for a single shape in WriterMaxim Monastirsky
Similar to images and frames. Just exposes the existing position settings from the "Position and Size" dialog. Change-Id: Ifa7e91f695af74d5297412e5ffeb12286ec63767 Reviewed-on: https://gerrit.libreoffice.org/60649 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2018-09-19tdf#119819 Disable Rename Layer command when not possibleMaxim Monastirsky
Change-Id: I5bb330295c1052679ed19ebeb0d6e5591640867d Reviewed-on: https://gerrit.libreoffice.org/60650 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2018-09-19Update orcus to 0.14.1.Kohei Yoshida
Change-Id: I345d2655c1999ab319b92c6e8719c0eb9572000b Reviewed-on: https://gerrit.libreoffice.org/60731 Tested-by: Jenkins Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2018-09-19Removed duplicated includeAndrea Gelmini
Change-Id: I4e499da70bc1f5656c49dba7c9261a6082b131bc Reviewed-on: https://gerrit.libreoffice.org/60635 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-09-19drop unused cuilo-BackgroundPreview from catalogCaolán McNamara
Change-Id: Ib8707b29c44291fe18d86660d9bfaaed742afbd6 Reviewed-on: https://gerrit.libreoffice.org/60716 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19rename RectCtl back to SvxRectCtlCaolán McNamara
Change-Id: I4adde35b198d45fed09d837de5c1370d2a879f4b Reviewed-on: https://gerrit.libreoffice.org/60715 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19drop newly unused SvxRectCtlCaolán McNamara
Change-Id: I41fc4f53bedb4d5504aed39bd4d3052e2084fa6d Reviewed-on: https://gerrit.libreoffice.org/60714 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19rename to original namesCaolán McNamara
Change-Id: I1f4f57b77982a71f9be7cb5cd61116c9aa77189e Reviewed-on: https://gerrit.libreoffice.org/60713 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19drop newly unused codeCaolán McNamara
Change-Id: Ie907cfb4bed26cade09cf1c365a5e4cbc9aea31b Reviewed-on: https://gerrit.libreoffice.org/60712 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19weld GraphicFilterSmoothCaolán McNamara
Change-Id: I9f92b49bff105965c13e5977ef39788c6684da29 Reviewed-on: https://gerrit.libreoffice.org/60711 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19weld GraphicFilterPosterCaolán McNamara
Change-Id: I1e8af81267fdadc725eee8ac28e4dcf038cc50d9 Reviewed-on: https://gerrit.libreoffice.org/60710 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19weld GraphicFilterMosaicCaolán McNamara
Change-Id: I2bd52c8a998ecfc168b4fd0cecf79e49c12604eb Reviewed-on: https://gerrit.libreoffice.org/60709 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19weld GraphicFilterSepiaCaolán McNamara
Change-Id: Id57f29f4694a8aaa395f5f166744d06e4adfb492 Reviewed-on: https://gerrit.libreoffice.org/60708 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19Fix typoAndrea Gelmini
Change-Id: I644fed22dd46458623a1f99f7eefbdc2a7b31fc1 Reviewed-on: https://gerrit.libreoffice.org/60770 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-09-19weld GraphicFilterSolarizeCaolán McNamara
Change-Id: If729ea1688e9dc15372a59d75c972ee37511f76e Reviewed-on: https://gerrit.libreoffice.org/60680 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19weld GraphicFilterEmbossCaolán McNamara
Change-Id: Ic3c816ddd7d5df9c5ced14600fffd6ca59f0096e Reviewed-on: https://gerrit.libreoffice.org/60594 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19tdf#118502 Fix loading of eps images with replacement graphicSamuel Mehrbrodt
Change-Id: Iaf9c8e2ed72115e1f82d2541ae2a1d4803795a46 Reviewed-on: https://gerrit.libreoffice.org/60752 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-09-19generateGUIDString: Fix incorrect string lengthSamuel Mehrbrodt
This bug caused signature line IDs in OOXML to be written with an appended "_x0000_". Change-Id: If219279a5d5177ec5fac2d9dd747dc015c16b6bc Reviewed-on: https://gerrit.libreoffice.org/60736 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-09-19convert SwContentArr to sorted_vector<unique_ptr<>>Noel Grandin
Change-Id: I97b9c143bf5e1aefc4324609b6c69e2fb07b8d00 Reviewed-on: https://gerrit.libreoffice.org/60739 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-19convert XMLFontAutoStylePool_Impl to sorted_vector<unique_ptr<>>Noel Grandin
Change-Id: Ic9fcefd3a2d64aa01349ae6eec81d3ae49c5e069 Reviewed-on: https://gerrit.libreoffice.org/60741 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-19Avoid unused function in the !HAVE_FEATURE_SCRIPTING caseTor Lillqvist
Change-Id: I5ef5c1ce2be3de7390322a4f4f7b78a484fd7396
2018-09-19Avoid unused functions in the !HAVE_FEATURE_SCRIPTING caseTor Lillqvist
Change-Id: I4b3cb1d696adb7f9a6f35b8529e49d55bd5d957b
2018-09-19Avoid unused function in the !HAVE_FEATURE_SCRIPTING caseTor Lillqvist
Change-Id: Ic41be9447a8ac068d9616252ad3b17451234956e
2018-09-19iOS SDK 12.0 is the current nowTor Lillqvist
Also, I don't see why we would want to use -miphoneos-version-min=12.0 just because we build against the 12.0 SDK. Use 11.0 as the minimum runtime iOS version for now. Change-Id: I36b9696ce367249e7e8d0a51ee61791e32972390
2018-09-19sw: rework annoying GetFrameOfModify/getLayoutFrame parametersMichael Stahl
The bCalcFrame is only evaluated if a pPoint is given; this is surprising and should be more visible in the interface, so people don't go on a goose chase to find places that may do formatting in inappropriate places. So put these parameters into a pair instead, which doesn't have particularly good ergonomics in C++, particularly since compilers warn about taking the address of a temporary object... Change-Id: I101c6eeb5bd6baf83c2bd9a6cb91ccaa04036cc3 Reviewed-on: https://gerrit.libreoffice.org/60695 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-09-19tdf#112356 follow-up: Make the Help button workAdolfo Jayme Barrientos
Change-Id: I7181e07f8d817dd402eec8bd98e8526503455f5e
2018-09-19convert XMLTextListAutoStylePool_Impl to sorted_vector<unique_ptr<>>Noel Grandin
Change-Id: Ic40e4034b30ec527a3a3dbb0d74506478d2dd0a5 Reviewed-on: https://gerrit.libreoffice.org/60740 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-19weld ShapeParagraphDialogCaolán McNamara
Change-Id: I8c3b3c0f6c0cfe133e1ec8eda8c10bbbaee5f010 Reviewed-on: https://gerrit.libreoffice.org/60584 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-09-19menu:style="radio" is used since 2010, update dtd to realityChristian Lohmaier
menubar definitions using menu:style="radio" attribute were introduced with df4017a8fffb448cd2f202ed297754f275ca6be3 / the other commits of that cws, but the dtd wasn't adjusted accordingly Change-Id: I7c7e1b8116800ee20cfede431ed90ef8f213cce0 Reviewed-on: https://gerrit.libreoffice.org/60276 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-09-19add locale to joinus link so hub can redirect to language specific pagesChristian Lohmaier
Change-Id: Ibed6f899ad0219bf0211ac50c0595484ddba8c92 Reviewed-on: https://gerrit.libreoffice.org/60696 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-09-19tdf#118393: FILESAVE: DOCX Export loses header/footerSerge Krot
Change-Id: If47a2e4953e4b98f41c9115779522a755eea8192 Reviewed-on: https://gerrit.libreoffice.org/56522 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-09-19implement find(T*) for o3tl::sorted_vector when it contains unique_ptr<T>Noel Grandin
and add some unit tests Change-Id: I9a01c9fa2fbbf3a553663a980ee6e958f9819645 Reviewed-on: https://gerrit.libreoffice.org/60737 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-19sw_redlinehide_2: replace SW_REDLINEHIDE with ExperimentalMode configMichael Stahl
So we can get more testing & many bug reports. Change-Id: I34fe456a58670baecf4fdf1a87da77aceab43891
2018-09-19sw_redlinehide_2: disable layout-cache for nowMichael Stahl
Both reading & writing. Change-Id: I301bc80549e25c21961b8e79db420e81ab40f8f7
2018-09-19sw_redlinehide_2: hide redlines in ascii filter tooMichael Stahl
It's called from SwEditShell::GetSelectedText() :-/ Change-Id: Ie26c7abd1bc0714bb4c1d49eecb7c869d947c276
2018-09-19sw_redlinehide_2: adapt SwEditShell::GetCurWord()Michael Stahl
Move SwTextNode::GetCurWord() to SwTextFrame, this was the only caller. Change-Id: Id26cea92e1ca507fd82c5c75bc5a6eedb531d78d
2018-09-19sw_redlinehide_2: fix FrameContainsNode() to use pLastNodeMichael Stahl
Change-Id: Iaa67b9a0134971917c18c9d6f678f6d2913db666
2018-09-19sw_redlinehide_2: view cursor: adapt SwCursorShell::GetSelText()Michael Stahl
Pass in ExpandMode::HideDeletions to get the same effect (hopefully) from the model code as from the merged text frame. Change-Id: I546f51388bc7bd0d1740167062ef9171a37d1797