Commit Graph

421202 Commits

Author SHA1 Message Date
Caolán McNamara
ef59333842 forcepoint #31 survive missing control model
Change-Id: I37e4af560b46b4f6d9e0b87fe58493818f366d3c
Reviewed-on: https://gerrit.libreoffice.org/51857
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-26 13:22:16 +02:00
Miklos Vajna
c58b9298aa sw: prefix members of SwReadOnlyPopup
Change-Id: I812730498695c6349bcd5e8256f3d1efddb12188
Reviewed-on: https://gerrit.libreoffice.org/51849
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2018-03-26 13:11:14 +02:00
Caolán McNamara
6215deb5d2 forcepoint #30 check validity of group range
Change-Id: Ie0611f36809b051ce46030e44c137b4e1f8d2fe0
Reviewed-on: https://gerrit.libreoffice.org/51856
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-26 12:18:33 +02:00
Mike Kaganski
c91f70f9b0 Related: tdf#116581 Use Font:TTF::Font to get font versions
This allows to correctly get font (including OTF) versions, instead of
matching strings in binary files.

Fonts affected:
====
Alef_Bold.ttf                        1.0.0.0 → 1.1.0.0
Alef_Regular.ttf                     1.0.0.0 → 1.1.0.0
amiri_bold.ttf                       1.0.0.0 → 0.109.0.0
amiri_boldslanted.ttf                1.0.0.0 → 0.109.0.0
amiri_quran.ttf                      1.0.0.0 → 0.109.0.0
amiri_regular.ttf                    1.0.0.0 → 0.109.0.0
amiri_slanted.ttf                    1.0.0.0 → 0.109.0.0
Carlito_Bold.ttf                     1.1.0.0 → 1.103.0.0
Carlito_BoldItalic.ttf               1.1.0.0 → 1.103.0.0
Carlito_Italic.ttf                   1.1.0.0 → 1.103.0.0
Carlito_Regular.ttf                  1.1.0.0 → 1.103.0.0
NachlieliCLM_Bold.otf                        → 0.131.0.0
NachlieliCLM_BoldOblique.otf                 → 0.131.0.0
NachlieliCLM_Light.otf                       → 0.131.0.0
NachlieliCLM_LightOblique.otf                → 0.131.0.0
LiberationMono_Bold.ttf              2.0.0.0 → 2.0.1.0
LiberationMono_BoldItalic.ttf        2.0.0.0 → 2.0.1.0
LiberationMono_Italic.ttf            2.0.0.0 → 2.0.1.0
LiberationMono_Regular.ttf           2.0.0.0 → 2.0.1.0
LiberationSans_Bold.ttf              2.0.0.0 → 2.0.1.0
LiberationSans_BoldItalic.ttf        2.0.0.0 → 2.0.1.0
LiberationSans_Italic.ttf            2.0.0.0 → 2.0.1.0
LiberationSans_Regular.ttf           2.0.0.0 → 2.0.1.0
LiberationSerif_Bold.ttf             2.0.0.0 → 2.0.1.0
LiberationSerif_BoldItalic.ttf       2.0.0.0 → 2.0.1.0
LiberationSerif_Italic.ttf           2.0.0.0 → 2.0.1.0
LiberationSerif_Regular.ttf          2.0.0.0 → 2.0.1.0
LiberationSansNarrow_Bold.ttf        1.7.0.0 → 1.7.4.0
LiberationSansNarrow_BoldItalic.ttf  1.7.0.0 → 1.7.4.0
LiberationSansNarrow_Italic.ttf      1.7.0.0 → 1.7.4.0
LiberationSansNarrow_Regular.ttf     1.7.0.0 → 1.7.4.0
FrankRuhlHofshi_Bold.otf                     → 5.1.0.0
FrankRuhlHofshi_Regular.otf                  → 5.1.0.0
MiriamLibre_Bold.otf                         → 1.0.0.0
MiriamLibre_Regular.otf                      → 1.0.0.0
NotoKufiArabic_Bold.ttf              1.0.0.0 → 1.4.0.0
NotoKufiArabic_Regular.ttf           1.0.0.0 → 1.4.0.0
NotoNaskhArabicUI_Bold.ttf           1.0.0.0 → 1.7.0.0
NotoNaskhArabicUI_Regular.ttf        1.0.0.0 → 1.7.0.0
NotoNaskhArabic_Bold.ttf             1.0.0.0 → 1.6.0.0
NotoNaskhArabic_Regular.ttf          1.0.0.0 → 1.7.0.0
NotoSansArabicUI_Bold.ttf            1.0.0.0 → 2.0.0.0
NotoSansArabicUI_Regular.ttf         1.0.0.0 → 2.0.0.0
NotoSansArabic_Bold.ttf              1.0.0.0 → 2.0.0.0
NotoSansArabic_Regular.ttf           1.0.0.0 → 2.0.0.0
NotoSansArmenian_Bold.ttf            1.0.0.0 → 2.40.0.0
NotoSansArmenian_Regular.ttf         1.0.0.0 → 2.40.0.0
NotoSansGeorgian_Bold.ttf            1.0.0.0 → 2.0.0.0
NotoSansGeorgian_Regular.ttf         1.0.0.0 → 2.0.0.0
NotoSansHebrew_Bold.ttf              1.0.0.0 → 2.0.0.0
NotoSansHebrew_Regular.ttf           1.0.0.0 → 2.0.0.0
NotoSansLao_Bold.ttf                 1.0.0.0 → 2.0.0.0
NotoSansLao_Regular.ttf              1.0.0.0 → 2.0.0.0
NotoSansLisu_Regular.ttf             1.0.0.0 → 2.0.0.0
NotoSans_Bold.ttf                    1.0.0.0 → 2.0.0.0
NotoSans_BoldItalic.ttf              1.0.0.0 → 2.0.0.0
NotoSans_Condensed.ttf               1.0.0.0 → 2.0.0.0
NotoSans_CondensedBold.ttf           1.0.0.0 → 2.0.0.0
NotoSans_CondensedBoldItalic.ttf     1.0.0.0 → 2.0.0.0
NotoSans_CondensedItalic.ttf         1.0.0.0 → 2.0.0.0
NotoSans_Italic.ttf                  1.0.0.0 → 2.0.0.0
NotoSans_Light.ttf                   1.0.0.0 → 2.0.0.0
NotoSans_LightItalic.ttf             1.0.0.0 → 2.0.0.0
NotoSans_Regular.ttf                 1.0.0.0 → 2.0.0.0
NotoSerifArmenian_Bold.ttf           1.0.0.0 → 2.40.0.0
NotoSerifArmenian_Regular.ttf        1.0.0.0 → 2.40.0.0
NotoSerifGeorgian_Bold.ttf           1.0.0.0 → 2.0.0.0
NotoSerifGeorgian_Regular.ttf        1.0.0.0 → 2.0.0.0
NotoSerifHebrew_Bold.ttf             1.0.0.0 → 2.0.0.0
NotoSerifHebrew_Regular.ttf          1.0.0.0 → 2.0.0.0
NotoSerifLao_Bold.ttf                1.0.0.0 → 2.0.0.0
NotoSerifLao_Regular.ttf             1.0.0.0 → 2.0.0.0
NotoSerif_Bold.ttf                   1.0.0.0 → 2.0.0.0
NotoSerif_BoldItalic.ttf             1.0.0.0 → 2.0.0.0
NotoSerif_Condensed.ttf              1.0.0.0 → 2.0.0.0
NotoSerif_CondensedBold.ttf          1.0.0.0 → 2.0.0.0
NotoSerif_CondensedBoldItalic.ttf    1.0.0.0 → 2.0.0.0
NotoSerif_CondensedItalic.ttf        1.0.0.0 → 2.0.0.0
NotoSerif_Italic.ttf                 1.0.0.0 → 2.0.0.0
NotoSerif_Light.ttf                  1.0.0.0 → 2.0.0.0
NotoSerif_LightItalic.ttf            1.0.0.0 → 2.0.0.0
NotoSerif_Regular.ttf                1.0.0.0 → 2.0.0.0
ReemKufi_Regular.ttf                 1.0.0.0 → 0.6.0.0

This requires Font::TTF::Font perl module to be installed.

Change-Id: Ibb6c384baa2e74524845b6c5a1d4d2f26b7e530b
Reviewed-on: https://gerrit.libreoffice.org/51793
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-26 11:59:29 +02:00
Noel Grandin
7e1fbb3cdb loplugin:useuniqueptr in ScAddInAsync
Change-Id: Ic9b0964dd5c3d7188ec857fa52d20d030edacd5a
Reviewed-on: https://gerrit.libreoffice.org/51847
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-26 11:55:02 +02:00
Caolán McNamara
177944b0ba forcepoint #28 missing cell on abw import
Change-Id: I7633a17afab5aa2eb9e47a552bd5d92c87d383c7
Reviewed-on: https://gerrit.libreoffice.org/51851
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-26 11:27:55 +02:00
Noel Grandin
939b90f126 loplugin:useuniqueptr in ScChartListener
Change-Id: Ib178b1cbe518088af7b3120c5188dd03ae4cf6c2
Reviewed-on: https://gerrit.libreoffice.org/51848
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-26 11:16:01 +02:00
Arkadiy Illarionov
fc3e31ff8e tdf#112343 Port ScreenSaverInhibitor to GDBus
Change-Id: I4f2f15931612191cc2557bb56abc4a8f8f1342bc
Reviewed-on: https://gerrit.libreoffice.org/51816
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-03-26 11:02:58 +02:00
Noel Grandin
7574d1865f loplugin:useuniqueptr in OutlineViewShell and ViewShell
Change-Id: Ia40444b4ba3c8b02d195d979ff6d84cfe4d8b44e
Reviewed-on: https://gerrit.libreoffice.org/51845
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-26 10:57:52 +02:00
Justin Luth
add7a962bc tdf93121 MS export: only one fake tab per footnote
Every paragraph was getting the fake tab added.

The fake tab is only inserted by LO in order to emulate the
spacing between the footnote character and the
footnote paragraph, so it is not desirable to insert it
before additional paragraphs.
The fake tab is also only removed once per
footnote during the import process, so this fake tab
was altering the document during the first round-trip.

Change-Id: Ia54cea1b04c747a021032f46f22b673fe6658995
Reviewed-on: https://gerrit.libreoffice.org/51755
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-03-26 10:31:46 +02:00
Mohammed Abdul Azeem
d5903802e2 tdf#116467: fix for SVG files being imported as blank
Any SAX-to-SAX transformation, like in this case should
use SvXMLLegacyToFastDocHandler on the left end, as right
end of the pipe is moved to fast Contexts.

Used delegating constructor here, since m_xDocumentHandler
is constant in SVGReader class.

Change-Id: I1fc841c96aaa618f0b566fdb0301ad48fd869f1c
Reviewed-on: https://gerrit.libreoffice.org/51815
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2018-03-26 10:04:20 +02:00
andreas kainz
863ff42c13 Writer tabbed notebookbar sync with tabbed compact layout
Change-Id: Id8119b3d4720ab9f8d45cc7cdd87b3965a1889d5
Reviewed-on: https://gerrit.libreoffice.org/51843
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-03-26 09:32:11 +02:00
Noel Grandin
d312ff2b52 tdf#112997 multiple animated gif only one frame
Not sure what the problem is, but using a vector and just making sure
we insert into the right spot for the sorting fixes it.

Change-Id: I11c08e08a14c98ba7eb6a5d925c75bab891ecf63
Reviewed-on: https://gerrit.libreoffice.org/51829
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-26 09:30:25 +02:00
Nickson Thanda
42af2f3b2e tdf#113925 doubleclick in ruler opens relevant dialog
Change-Id: Ic56ea52e2b2d840a5ddba7d4204caf86b96411b5
Reviewed-on: https://gerrit.libreoffice.org/51470
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-26 09:05:13 +02:00
andreas kainz
54a54d9eee Elementary icons: update link.txt file
Change-Id: I81548a464026ab4896f5ef651a8bdec7c0eec427
Reviewed-on: https://gerrit.libreoffice.org/51842
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-03-26 09:04:29 +02:00
Noel Grandin
38e7aef0fa use boost::optional in OutDevState
Change-Id: I83fb85fcba6cd2a5dc4f99fdfd3238d72afb7bc2
Reviewed-on: https://gerrit.libreoffice.org/51770
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-26 08:44:58 +02:00
Noel Grandin
bea081b509 replace SalColor with Color
Change-Id: I615640a378a61cf6e44e84a647ce06bdd8a52807
Reviewed-on: https://gerrit.libreoffice.org/51239
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-26 08:44:50 +02:00
Stanislav Horacek
a488c7ad27 fix typo in dialog about rotation to standard orientation
Change-Id: Ia587c7fb41ed17e0c46845ca1823049ed6dfd67c
2018-03-25 18:36:52 -06:00
andreas kainz
eb077fc700 Colibre icons: update links.txt file
Change-Id: If3f9760e07318812d1a13dfd35f7832c4b6ed004
Reviewed-on: https://gerrit.libreoffice.org/51822
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-03-25 22:01:21 +02:00
andreas kainz
f6335b1bdd Breeze icons: update links.txt file
Change-Id: Iee4196e88b3d34dfa86b42cee895a4451edd4a4d
Reviewed-on: https://gerrit.libreoffice.org/51821
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-03-25 21:55:43 +02:00
Caolán McNamara
1a600d6ed6 tdf#116544 crash on unhandled IllegalArgument exception
Change-Id: I290ba6097d6d91bf4677e7e92c896bd6359cbc49
Reviewed-on: https://gerrit.libreoffice.org/51833
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-25 21:35:08 +02:00
Jochen Nitschke
84f7b97e4e clang-tidy modernize-use-equals-default in XPolygon
Change-Id: I82a4a56bf02c6ff2495bd7a6058640d77e8c0b73
Reviewed-on: https://gerrit.libreoffice.org/51832
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-25 20:21:18 +02:00
Caolán McNamara
975884fbbc ofz#7110 ensure join is called on std::exceptions as well as uno::Exception
Change-Id: I1d17301e4d7f951b7176d5a91c0dca0ef051b2a2
Reviewed-on: https://gerrit.libreoffice.org/51830
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-25 18:33:00 +02:00
Jens Carl
6189c211d5 Correct class name of ScAutoFormatObj
Change-Id: I0abb4590126b7c7a7d855ec57f340ea0157c56d5
Reviewed-on: https://gerrit.libreoffice.org/51813
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-03-25 18:24:17 +02:00
Caolán McNamara
54c2637c1c provide a route to weld accessibility
Change-Id: I92e88a4356cb8e4bd958fd86d33c52f5be82be54
Reviewed-on: https://gerrit.libreoffice.org/51787
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-25 17:37:35 +02:00
Caolán McNamara
4df294a2ea ofz#7109 infinite regress
Change-Id: Iac0bd81c9b0e3ac6b005bb0065895ca1b4ca4233
Reviewed-on: https://gerrit.libreoffice.org/51826
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-25 16:30:41 +02:00
Julien Nabet
f365b17bf1 Use for-range loops in some modules
jvmaccess, jvmfwk, l10ntools, libreofficekit and linguistic

Change-Id: I9d290d1098b25ccb3aee19d2df18c18f4aa65105
Reviewed-on: https://gerrit.libreoffice.org/51495
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-03-25 15:14:44 +02:00
Arnaud Versini
dd5df4ccb3 accessibility: simplify OCommonAccessibleText
Change-Id: Ied5520179d15f0a854c16b14f5a5e6b84cef1300
Reviewed-on: https://gerrit.libreoffice.org/51514
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2018-03-25 12:57:21 +02:00
Noel Grandin
db22599c8c tdf#116509 OpenGL: Slideshows with Transitions crashing Impress
regression from
    commit  e5012e53b9
    use scanline when reading pixel data

Change-Id: I1980a1acfedadbea706b93aed7452790e03257f2
Reviewed-on: https://gerrit.libreoffice.org/51803
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-03-25 12:48:02 +02:00
Tor Lillqvist
9c7f19a6a3 Fix copy-paste error
Change-Id: I01b20482aefadb1a755cc1d2f5705b2f7f7cf739
2018-03-25 12:55:37 +03:00
Mike Kaganski
08953137a4 Remove useless check
Change-Id: I9cfb8e7865e31b5c69e0b4b99426e96c7444224f
Reviewed-on: https://gerrit.libreoffice.org/51820
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-25 11:40:43 +02:00
Mark Hung
1401f5fbc8 xmloff: export ruby-position in a more compatible way.
Export both style:ruby-position and loext:ruby-position.
The later one only allows "above" and "below", obeying
ODF standard while the former one allows "inter-character",
which is added lately. Also use ODFVER_012_EXT_COMPAT
so that loext:ruby-position isn't exported only in
extended mode.

Change-Id: I7b9208f289f8253a835b2f7751549206361274e0
Reviewed-on: https://gerrit.libreoffice.org/51007
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
2018-03-25 06:55:27 +02:00
Adolfo Jayme Barrientos
1fbe46cf08 Updated core
Project: help  a86659f64cb346127159064202d9b6d3513ffe3e

tdf#97622 Update help text to match new behavior

Change-Id: I973ef76893f353317d8412fd3c26599b9fdaf9cf
2018-03-24 23:05:59 +01:00
Khaled Hosny
7024f73e08 tdf#97622: Apply Asian spacing only to Asian text
The option “Apply spacing between Asian, Latin and complex text” (which
is on by default) should only apply the extra spacing if one side of the
text is Asian since that is the requirement of CJK typography, but
Writer seems to apply it to any script change (e.g. between CTL and
Western).

This matches the behaviour in edit engine wich was changed back in 2002
in commit e314e1b8aa.

Change-Id: Ia9f7167251bce7166c4087b347788a7b89e8b347
Reviewed-on: https://gerrit.libreoffice.org/51208
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2018-03-24 21:29:47 +01:00
Andrea Gelmini
4e2e1d04d8 Fix typos
Change-Id: I6c515e716b232fecfe1750b806f0a5624f648de5
2018-03-24 14:08:10 -06:00
Caolán McNamara
a541c989f0 hook up focus events
Change-Id: I9f5835e86550bd3d728936e5525262697e01e5fc
Reviewed-on: https://gerrit.libreoffice.org/51786
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-24 16:07:57 +01:00
dennisroczek
fe1c13d4ba remove notice about cite.php
The extension Cite is distributed with MediaWiki 1.21 (released May 2013) and is integrated in core since MediaWiki 1.25. No need to keep that notice any longer.

Change-Id: I8a91fbb45bc6f410b551c206177d63c584349c37
Reviewed-on: https://gerrit.libreoffice.org/51795
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-03-24 14:05:45 +01:00
Stephan Bergmann
9906c6d2a5 rhbz#1559633: Treat EPERM same as EACCES when opening files
For example, Linux open(2) with O_RDWR fails with EPERM if the file is flagged
as FS_IMMUTABLE_FL.  (And there is an #ifdef IOS "Horrible hack" block in
openFilePath in sal/osl/unx/file.cxx that is apparently a workaround for a
similar scenario where open returns EPERM instead of EACCES on iOS, and which
can probably be removed again after this commit.)

Change-Id: I00cbd28d4b83b223920776998e9245b6261bb748
Reviewed-on: https://gerrit.libreoffice.org/51788
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-24 13:52:30 +01:00
Mike Kaganski
7422687028 file.pm : quick build fix
Regression from commit 2367557493

Change-Id: If2d11856db8f7f341a8f3c2b3a73f7afdff6a621
Reviewed-on: https://gerrit.libreoffice.org/51792
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-24 00:06:45 +01:00
Stephan Bergmann
23f439df05 ...in which case .. path segments need to be resolved in SearchPath, too
...for cases like

> In file included from vcl/source/outdev/hatch.cxx:32:
> vcl/source/outdev/../gdi/pdfwriter_impl.hxx:47:10: error: replace "..." include form with <...> for inclusion of a source file not next to the current source file, or a header, vcl/source/outdev/../gdi/pdffontcache.hxx [loplugin:includeform]
> #include "pdffontcache.hxx"
>          ^~~~~~~~~~~~~~~~~~

Change-Id: Ib486e0cf16a157b90f838536a15c40c2a34ef72b
2018-03-23 21:15:26 +01:00
Adolfo Jayme Barrientos
53b6a6a1da Updated core
Project: help  4740109668b5d2bbf67caef82fb38364abbc38bb

Helponline: Prettify donation prompt

Change-Id: Iedf3d560c2a8d1feabadcf3ce1be40f1b5e01989
2018-03-23 21:10:29 +01:00
Szymon Kłos
154496aefe Revert "tdf#116241 Customizing value highlighting colors"
This reverts commit fb29b82624.

Change-Id: I338af7c108bb6386193550ef0603b406c4f7bd99
Reaseon: I will move this to more suitable place "application colors" and extend with protected cell backround.
Reviewed-on: https://gerrit.libreoffice.org/51789
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2018-03-23 20:48:41 +01:00
Andrea Gelmini
524cf62841 Fix typo
Change-Id: I278098108a8120b1b7a8115d8e5abc6d1ea57321
Reviewed-on: https://gerrit.libreoffice.org/51784
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-03-23 20:22:34 +01:00
Mike Kaganski
2367557493 tdf#116581: also read UTF16-encoded version string from TTF
Change-Id: I47d8a755450b085be39346615f06cee4f920859f
Reviewed-on: https://gerrit.libreoffice.org/51781
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-03-23 16:58:29 +01:00
Stephan Bergmann
8789f4f65b Check isOkToRemoveArithmeticCast in loplugin:redundantfcast too
...to avoid warnings like

> C:/lo64/core/svx/source/table/accessiblecell.cxx(400,12):  error: redundant functional cast from 'long' to 'sal_Int32' (aka 'long') [loplugin:redundantfcast]
>     return sal_Int32(0x0ffffffL);
>            ^~~~~~~~~~~~~~~~~~~~~

with clang-cl

Change-Id: I4a48a9f10ad75f76a3c6ab6152ab279df9a3fbcc
Reviewed-on: https://gerrit.libreoffice.org/51780
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-23 16:11:49 +01:00
Miklos Vajna
679a3b9314 msfilter: extract copy&pasted RTF code from sw and writerfilter
Both the hexdump and the OLE1 reader can be shared.

Change-Id: I97d72a8deeb9c79fc8e8c4a73c613213badfa744
Reviewed-on: https://gerrit.libreoffice.org/51783
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2018-03-23 15:46:25 +01:00
Stephan Bergmann
1ed1753be2 Handle .. path segments in loplugin:includeform again
...after 119d813769 "Revert 'Allow compiler
plugins for online'", to fix cases like

> In file included from vcl/unx/gtk3_kde5/gtk3_kde5_cairo.cxx:20:
> vcl/unx/gtk3_kde5/../gtk3/cairo_gtk3_cairo.cxx:12:10: error: replace "..." include form with <...> for inclusion of a source file not next to the current source file, or a header, vcl/unx/gtk3/cairo_gtk3_cairo.hxx [loplugin:includeform]
> #include "cairo_gtk3_cairo.hxx"
>          ^~~~~~~~~~~~~~~~~~~~~~

Change-Id: I12b3049862825f10834333b154c9343a3e3bec6d
2018-03-23 15:41:26 +01:00
Miklos Vajna
781c118171 sw XHTML import: support OLE2-in-RTF objects
If you like layering things on top of each other, then this commit
message is for you. So it's possible to have a PPTX file in the
following wrappers:

- wrap PPTX in a binary OLE2 container
- wrap that in an OLE1 container
- wrap that in an RTF fragment
- wrap that in an XHTML fragment (in a ReqIF file)

Turns out that only the RTF and OLE1 unwrapping was missing, the rest
worked already, so implement the missing piece in a new SwReqIfReader
namespace.

Finally extend OleEmbeddedObject to be able to read its native data
stream when the object is opened, reading it from the storage would
fail, as the object already opened the storage stream.

Change-Id: I2934c9fb7474e981ff6bb2f7eb253a3a86cfd98b
Reviewed-on: https://gerrit.libreoffice.org/51772
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2018-03-23 14:52:50 +01:00
Caolán McNamara
1b1cfe4837 a11y crash with no chars selected in character map
type gibberish in character map search box, click character map widget,
crash

Change-Id: Ifa3e4bce2d7e0b84cf3c5033eb819c73076daabe
Reviewed-on: https://gerrit.libreoffice.org/51773
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-23 14:37:39 +01:00
Pranav Kant
ed4df95f28 lok: don't post events on disposed window
Change-Id: I7721380b1bb6e9ec21338a72523326d0cae6729e
Reviewed-on: https://gerrit.libreoffice.org/51777
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
2018-03-23 13:35:19 +01:00