LibreOffice.git
4 years agoVersion 5.4.7.2, tag libreoffice-5.4.7.2libreoffice-5.4.7.2
Christian Lohmaier [Wed, 9 May 2018 10:27:29 +0000 (9 12:27 +0200)]
Version 5.4.7.2, tag libreoffice-5.4.7.2

Change-Id: Ifaa984ba64c50880751fa4e40a807602e8bb0cda

4 years agobump product version to 5.4.7.2
Christian Lohmaier [Wed, 9 May 2018 10:27:21 +0000 (9 12:27 +0200)]
bump product version to 5.4.7.2

Change-Id: I8e9eb9cebca6efe891d3128eb8e70d06e6884b73

4 years agoOFFICE-3776 xmloff: adapt ODF import to renamed text:sender-initials
Michael Stahl [Tue, 8 May 2018 13:01:22 +0000 (8 15:01 +0200)]
OFFICE-3776 xmloff: adapt ODF import to renamed text:sender-initials

ODF TC decided to rename the element to meta:creator-initials, so adapt
the import so it can read this in addition to the 2 element names
produced by current and past LO versions.

Also add a test.

Unfortunately it turned out that the ODF validator had a bug in checking
character data in foreign elements, which is triggered by the test
document, see https://issues.apache.org/jira/browse/ODFTOOLKIT-475
... so update the validator jar as well.

Change-Id: I1de1e8772b41f8937f043d9a0d150e169f25ffd4
Reviewed-on: https://gerrit.libreoffice.org/53979
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
(cherry picked from commit b09889a158cbc839ebc8a6061b0b261fa74930e6)
Reviewed-on: https://gerrit.libreoffice.org/54007
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit cc68977f1be22ac0f4a15eb37e05ccba13a7a554)
Reviewed-on: https://gerrit.libreoffice.org/54019
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
4 years agoMakefile: re-run configure when download.lst changes
Michael Stahl [Tue, 8 May 2018 15:24:15 +0000 (8 17:24 +0200)]
Makefile: re-run configure when download.lst changes

This can only break currently when the ODFVALIDATOR_JAR (or officeotron)
changes, but then it does break and you get an outdated odfvalidator.sh.

Change-Id: Idcdea3abe6516b71943f32c2bd412f79dc44d790
Reviewed-on: https://gerrit.libreoffice.org/53993
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
(cherry picked from commit 745cf84060184ae707c047db17ef458aa7e384a1)
Reviewed-on: https://gerrit.libreoffice.org/54006
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit b511cf5bae10689f85048c01b18f85c436742690)
Reviewed-on: https://gerrit.libreoffice.org/54018
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agotdf#117268: treat erroneous \itap0 the same way as Word does
Mike Kaganski [Thu, 3 May 2018 12:09:40 +0000 (3 15:09 +0300)]
tdf#117268: treat erroneous \itap0 the same way as Word does

... so that if we are inside a table, it would not convert table
paragraphs into top-level paragraphs. (The in-the-wild documents
with this invalid input are, e.g., generated by Consultant+ legal
reference database).

Reviewed-on: https://gerrit.libreoffice.org/53790
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit 247dabcb0b92a62b233ec0237deac84e6675325c)

Change-Id: I45eb9073a0651bc963badb84229ce5ae437f1a8c
Reviewed-on: https://gerrit.libreoffice.org/53840
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Tested-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoupdate credits
Christian Lohmaier [Mon, 7 May 2018 16:38:25 +0000 (7 18:38 +0200)]
update credits

…and remove blocked wiki accounts – rdm#2585

Change-Id: I4e16f0efadb27b06eb2962aa28667c91cf15adc3
(cherry picked from commit cd1a3eb429c58e79bf427d3cbc0f74b44020d4ca)
(cherry picked from commit b41e7e41b8938e14e58f16f6ecdbf0f4cc378556)

4 years agotdf#117028 sw: conditionally consider fill of shape for in-textbox auto color
Miklos Vajna [Mon, 16 Apr 2018 08:11:26 +0000 (16 10:11 +0200)]
tdf#117028 sw: conditionally consider fill of shape for in-textbox auto color

Commit f966767e1ccfa432da33e1a0fd6de69e17a36bc3 (tdf#116925 sw: consider
fill styles of shape for in-textbox auto color, 2018-04-10) did this
unconditionally, but there are two cases:

1) Shape (with textbox) has a fill, in that case auto text color of
textbox should consider the shape fill.

2) Shape has no fill, in that case the shape fill should not be
considered when counting the background of a transparent fly frame.

Fix 2) without breaking 1) by making the change to
SwFrame::GetBackgroundBrush() opt-in, and only use it for auto font
color, not in other cases.

Change-Id: I761a1b7d6ecf47586edbe5641ec012f22f6a53d7
Reviewed-on: https://gerrit.libreoffice.org/52941
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit d9420a64fbb288020d33b681f40a858db49afca7)
Reviewed-on: https://gerrit.libreoffice.org/52986
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit b981c148ef82d0a519e270974db01c9c5879a52c)
Reviewed-on: https://gerrit.libreoffice.org/53742
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agotdf#116925 sw: consider fill styles of shape for in-textbox auto color
Miklos Vajna [Tue, 10 Apr 2018 15:46:55 +0000 (10 17:46 +0200)]
tdf#116925 sw: consider fill styles of shape for in-textbox auto color

Automatic color is determined in SwDrawTextInfo::ApplyAutoColor(), but
it uses this function to determine the background color.

Be consistent and consider the same background in both the
shape-with-editeng-text and shape-with-sw-text cases.

(cherry picked from commit f966767e1ccfa432da33e1a0fd6de69e17a36bc3)

Change-Id: I52249a908193765bc128789d96187af334c1017c
Reviewed-on: https://gerrit.libreoffice.org/52983
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 9e0b21e416470d826f6f27d463ba2e42bee5222d)
Reviewed-on: https://gerrit.libreoffice.org/53737
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agoupdate emoji autocorrect files from po-files
Christian Lohmaier [Mon, 7 May 2018 12:42:32 +0000 (7 14:42 +0200)]
update emoji autocorrect files from po-files

Change-Id: I2898470ea4fe8024d0477e7ce13550ac69d428a4
(cherry picked from commit c3eb9e1fdfd6a492ea8d20979f210f6253e1a07f)

4 years agoUpdated core
Christian Lohmaier [Mon, 7 May 2018 12:06:45 +0000 (7 14:06 +0200)]
Updated core
Project: translations  2c61e494784278a09ffeee9f56e41a062db5f3c2

update translations for 5.4.7 rc2

and force-fix errors using pocheck

Change-Id: I914c0e64572dc314a63bb79be73cc86a5d0d29d6
(cherry picked from commit 90099e80a00e6780196777110a5614e0619db2cf)

4 years agotdf#117039: update infobar instead of removing and re-adding it
Katarina Behrens [Thu, 26 Apr 2018 14:30:48 +0000 (26 16:30 +0200)]
tdf#117039: update infobar instead of removing and re-adding it

Apparently AppendInfoBar ends up calling back into SID_SIGNATURE
status function at some point, creating an endless recursion. I'm
too lazy to debug why so I'm cowardly avoiding it

Reviewed-on: https://gerrit.libreoffice.org/53519
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
(cherry picked from commit 43459bac67363f49aadd851e686d4a74b8ddc256)
Reviewed-on: https://gerrit.libreoffice.org/53648
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 8853067a29e091a230a6397bd7c100494ae9f5bf)
Reviewed-on: https://gerrit.libreoffice.org/53672
(cherry picked from commit 65936059966f92e983ac0d3553ade9ff37884a4e)

Change-Id: Ib1e4b7f12fea197887b099e9a9f03b4e58884ec1
Reviewed-on: https://gerrit.libreoffice.org/53741
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
4 years agotdf#116985 sw: fix geometry of textbox of shape with relative size
Miklos Vajna [Fri, 13 Apr 2018 13:09:53 +0000 (13 15:09 +0200)]
tdf#116985 sw: fix geometry of textbox of shape with relative size

Relative size of shapes are calculated by the layout, so the normal doc
model-level synchronization between the shape and its textbox was not
enough.

(cherry picked from commit c8b976ac64c9cac360f7c4fd9844fcfac7ba25a8)

Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport11.cxx

Change-Id: Ia6f460132efaf03a7ba3a023cf751f6fff74404d
Reviewed-on: https://gerrit.libreoffice.org/52985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 2b39c6821929041d0806125720c56525df40c455)
Reviewed-on: https://gerrit.libreoffice.org/53740
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agotdf#116976 DOCX import: fix rel size of shape after bitmap
Miklos Vajna [Thu, 12 Apr 2018 16:39:36 +0000 (12 18:39 +0200)]
tdf#116976 DOCX import: fix rel size of shape after bitmap

We have a queue of these odd relative sizes (which are not XML
attributes but text inside the XML element), if the bitmap doesn't pop
the queue, the following shape won't get its size.

Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport11.cxx

Change-Id: I1602208c9509d8889bf0be254f3b25fb25fafca2
Reviewed-on: https://gerrit.libreoffice.org/52984
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit cba1897f3c063f8a535898bfd16a516c8de9ac21)
Reviewed-on: https://gerrit.libreoffice.org/53739
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agotdf#116410 DOCX import: restrict increased object spacing to multiple shapes
Miklos Vajna [Mon, 26 Mar 2018 19:52:05 +0000 (26 21:52 +0200)]
tdf#116410 DOCX import: restrict increased object spacing to multiple shapes

This anchored object handling is just there to be bug-compatible with
Word, it's not needed for the case when there is a single shape in the
paragraph.

(cherry picked from commit 2c4d84e93901571ead79c85aa3894ef4e10bf5af)

Also:

Related: tdf#115719 DOCX import: fix ignore of increased anchored obj spacing

If there is only a single anchored object, then ignore only the current
paragraph, not all paragraphs of the section.

(cherry picked from commit 599ff05300599d4e4ce818092f18e76e738b921e)

Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport11.cxx

Change-Id: I5e3dc4ba9a4a6f459ec6217e8974ebc2d7303bcc
Reviewed-on: https://gerrit.libreoffice.org/52981
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 82f6da65acaf02bc3b9d6b2039a4c307d5593423)
Reviewed-on: https://gerrit.libreoffice.org/53738
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agoupdate credits
Christian Lohmaier [Fri, 4 May 2018 13:20:38 +0000 (4 15:20 +0200)]
update credits

Change-Id: I8732abab556f9330791d9edcde6aec00ffc97d51
(cherry picked from commit 71bbb0989f1a76b760a75f0fb2f332a8e82b18ce)
(cherry picked from commit 065dd5e3f6cfdb962755d00e5dedc284ab5e2173)

4 years agoupdate credits
Christian Lohmaier [Wed, 25 Apr 2018 21:25:57 +0000 (25 23:25 +0200)]
update credits

Change-Id: Ibed24e2bc2d246bc1f54bd42a354c3aced1adbb6
(cherry picked from commit e70343cd26b5d56e20e77118fe2f576e8eaa9cec)
(cherry picked from commit 08343a71c01e3cc404a72022d5a993233b3857d9)

4 years agoset Referer on link mediadescriptor
Caolán McNamara [Tue, 1 May 2018 11:57:02 +0000 (1 12:57 +0100)]
set Referer on link mediadescriptor

to allow determining if the source document is from a trusted/untrusted
location

Reviewed-on: https://gerrit.libreoffice.org/53693
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit cd25a97bbadc0a5c1fd6b0e8603c8b6ebd051926)

Change-Id: I780568652d2ef0cc8543c27ba26289277b5d9d0c
Reviewed-on: https://gerrit.libreoffice.org/53803
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
4 years agotdf#116830 sw: handle cell background for BACKGROUND_PARA_OVER_DRAWINGS
Miklos Vajna [Thu, 5 Apr 2018 16:04:25 +0000 (5 18:04 +0200)]
tdf#116830 sw: handle cell background for BACKGROUND_PARA_OVER_DRAWINGS

Commit 18b3feb8bef06bf7b126fd0bc743e19479cb8026 (n#778133 sw: add
BackgroundParaOverDrawings compat flag, 2012-09-12) added a layout
compat flag that is meant to make Writer behave the same as Word when it
comes to the order of various backgrounds.

The original fix was that in case there are background shapes and also
paragraph backgrounds, then this flag can opt in to have the paragraph
backgrounds on top of background shapes.

Cell backgrounds behave the same way in Word, so extend the behavior of
the compat flag to cover not only the background of text frames but also
of cell frames.

(The test could be hacked into CppunitTest_sw_uiwriter, but 1) this is
layout, not UI and 2) that one started to get rather large.)

(cherry picked from commit 09954c381895f340c9b73af64b0833d8b4689c06)

Change-Id: Ifca1851217000f6daac50e6c9562c042aca6ff7d
Reviewed-on: https://gerrit.libreoffice.org/52982
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
(cherry picked from commit 05ed69af14af8f138f69941c7c6186b39c742eb4)
Reviewed-on: https://gerrit.libreoffice.org/53653
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agoUpdated core
Christian Lohmaier [Wed, 2 May 2018 12:07:15 +0000 (2 14:07 +0200)]
Updated core
Project: translations  cef244651470028feb94afa39f7533be206b2c28

update translations for 5.4.7 rc2

and force-fix errors using pocheck

Change-Id: Iacb7e82d37fc9d872e71f0a4635afcd2e43fcd77
(cherry picked from commit d24e71f6acc00ebb9a66a1f6fd1624de744a6147)

4 years agoResolves: tdf#116999 fix reading cgm text at record bounds
Caolán McNamara [Mon, 16 Apr 2018 09:16:56 +0000 (16 10:16 +0100)]
Resolves: tdf#116999 fix reading cgm text at record bounds

Change-Id: Ibbff7b0a3c3447135e0f6c585914dc6018e51765
Reviewed-on: https://gerrit.libreoffice.org/52953
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 67d236252a743c77da4d929e95d5223454a47cd4)
Reviewed-on: https://gerrit.libreoffice.org/53656
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Tested-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agotdf#84205 If theme not found, use first
Szymon Kłos [Fri, 16 Mar 2018 20:35:01 +0000 (16 21:35 +0100)]
tdf#84205 If theme not found, use first

Not a complete fix, workaround.

Change-Id: If4d765eaeae3419f4f1deb4e1cfbe0113a71da94
Reviewed-on: https://gerrit.libreoffice.org/51440
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/51581
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit ee47da7ae49be26dcb69ba1b720be93720b79959)
Reviewed-on: https://gerrit.libreoffice.org/53654
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agoofz#7648 Bad-cast
Caolán McNamara [Fri, 13 Apr 2018 13:33:27 +0000 (13 14:33 +0100)]
ofz#7648 Bad-cast

Change-Id: I21aaf36f3d6b6c3054649208de809b99aa384c01
Reviewed-on: https://gerrit.libreoffice.org/52836
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 1db17a71b028c392a00393cdf313e1720b93fd2e)
Reviewed-on: https://gerrit.libreoffice.org/53655
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agoRelated: tdf#100925 background not getting set under X sometimes
Caolán McNamara [Thu, 12 Apr 2018 13:53:20 +0000 (12 14:53 +0100)]
Related: tdf#100925 background not getting set under X sometimes

not sure why this is the case, but it is reminiscent of rhbz#1283420 which
results in missing glyphs in some circumstances
X11CairoTextRender::getCairoContext has a hack in it for that problem, whic
forces a read from the underlying X Drawable before writing to it which seems
to have the effect of syncing it up.

So, just before drawing the bg, draw a glyph on it to get it synced, and then
overwrite it.

Change-Id: I2ffff7e8e989b91821869d8b75a59728ac513d1b
Reviewed-on: https://gerrit.libreoffice.org/52819
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit e8080c79043a7d9036f27cc24b76b7ff21c58da8)
Reviewed-on: https://gerrit.libreoffice.org/53657
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
4 years agobump product version to 5.4.7.1.0+
Christian Lohmaier [Wed, 11 Apr 2018 21:55:34 +0000 (11 23:55 +0200)]
bump product version to 5.4.7.1.0+

Change-Id: I1d23258b6e7dbf64813abaab36b64140f53b39d3

4 years agoBranch libreoffice-5-4-7
Christian Lohmaier [Wed, 11 Apr 2018 21:51:03 +0000 (11 23:51 +0200)]
Branch libreoffice-5-4-7

This is 'libreoffice-5-4-7' - the stable branch for the 5.4.7 release.
Only very safe changes, reviewed by three people are allowed.

If you want to commit more complicated fix for the next 5.4.x release,
please use the 'libreoffice-5-4' branch.

If you want to build something cool, unstable, and risky, use master.

Change-Id: Ic583de45396bba4f5082aae6b54246d524fac272

4 years agotdf#116536 Fix bullet position with linespacing > 100
Szymon Kłos [Fri, 23 Mar 2018 18:51:37 +0000 (23 19:51 +0100)]
tdf#116536 Fix bullet position with linespacing > 100

Change-Id: I862246d9c69e754bdd883787fe42c7d61a1a53d3
Reviewed-on: https://gerrit.libreoffice.org/51790
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit 596fd41b9b19e28bab0c84e3821f79cb5d468f24)
Reviewed-on: https://gerrit.libreoffice.org/52149
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agotdf#115853: save current custom property when adding line
Julien Nabet [Tue, 20 Feb 2018 22:50:04 +0000 (20 23:50 +0100)]
tdf#115853: save current custom property when adding line

by reloading current lines before adding a brand new one
indeed the info are deleted by ClearCustomProperties
each time SfxDocumentInfoItem destructor is called

Change-Id: Id1e2e652e90c720f00b8612aa9afbfa91b784d1d
Reviewed-on: https://gerrit.libreoffice.org/50070
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-on: https://gerrit.libreoffice.org/52349
Reviewed-by: Jean-Baptiste Faure <jbfaure@libreoffice.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agoSQL string quoting: escape "'" character also at beginning of string
Lionel Elie Mamane [Sun, 8 Apr 2018 06:26:55 +0000 (8 08:26 +0200)]
SQL string quoting: escape "'" character also at beginning of string

Change-Id: I51db43c1a3b6d3c93a04a3419238ea286cab987e
Reviewed-on: https://gerrit.libreoffice.org/52578
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
4 years agoUpdated core
Christian Lohmaier [Wed, 11 Apr 2018 21:28:21 +0000 (11 23:28 +0200)]
Updated core
Project: translations  d331b47e97d613ec56a681d0457f624b9f98d027

update translations for 5.4.7 rc1

and force-fix errors using pocheck

Change-Id: I0117b2963ce0f19ba6448f2a8ed373cc7c451c89

4 years agoofz#7109 infinite regress
Caolán McNamara [Sun, 25 Mar 2018 13:01:25 +0000 (25 14:01 +0100)]
ofz#7109 infinite regress

Change-Id: Iac0bd81c9b0e3ac6b005bb0065895ca1b4ca4233
Reviewed-on: https://gerrit.libreoffice.org/51828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoReturn correct length for Authority token
Matteo Casalin [Sun, 14 Jan 2018 18:12:30 +0000 (14 19:12 +0100)]
Return correct length for Authority token

Regression from f4fd558ac9d61fe06aa0f56d829916ef9e5ee7b9
Take the chance to calculate token prefix just once.

Change-Id: I19ce5cb037198cb918e79c760a92b285f9b725f1
(cherry picked from commit 34b98af8e5a4e568d8316700bea1ce604d825ce8)
Reviewed-on: https://gerrit.libreoffice.org/52621
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
(cherry picked from commit c6e8460a5b47fa6fa971dde2a89e80662b6e97ae)
Reviewed-on: https://gerrit.libreoffice.org/52626
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
4 years agoforcepoint #33 ensure payload is a EMFPPath
Caolán McNamara [Mon, 26 Mar 2018 11:49:54 +0000 (26 12:49 +0100)]
forcepoint #33 ensure payload is a EMFPPath

Change-Id: I0a9f332cc66e43caa4e1611006fa765cad063539
Reviewed-on: https://gerrit.libreoffice.org/51916
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
4 years agotdf#115407: preselect sound file saved
Julien Nabet [Thu, 5 Apr 2018 19:45:20 +0000 (5 21:45 +0200)]
tdf#115407: preselect sound file saved

To display the sound in the dropbox, the complete filename
(eg: file:///home/julien/lo/libreoffice/instdir/share/gallery/sounds/pluck.wav)
was compared with items of the sound list formed like this:
file:///home/julien/lo/libreoffice/instdir/program/../share/gallery/sounds/pluck.wav

See https://bugs.documentfoundation.org/show_bug.cgi?id=115407#c1

Since listbox displays only basename, let's just compare basenames

Change-Id: I5fb49990322423fa7818e5d6e1cafd828e3500ec
Reviewed-on: https://gerrit.libreoffice.org/52476
(cherry picked from commit 23c82e1a377ea6fce65d71277ec59b3ca150b98a)
Reviewed-on: https://gerrit.libreoffice.org/52490
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agotdf#116544 crash on unhandled IllegalArgument exception
Caolán McNamara [Sun, 25 Mar 2018 16:16:36 +0000 (25 17:16 +0100)]
tdf#116544 crash on unhandled IllegalArgument exception

Change-Id: I290ba6097d6d91bf4677e7e92c896bd6359cbc49
Reviewed-on: https://gerrit.libreoffice.org/51835
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint #34 survive missing autostyles
Caolán McNamara [Mon, 26 Mar 2018 12:44:31 +0000 (26 13:44 +0100)]
forcepoint #34 survive missing autostyles

Change-Id: I742816297659d614e836a8d5e8965b1c55154719
Reviewed-on: https://gerrit.libreoffice.org/51892
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint #32 survive missing value range
Caolán McNamara [Mon, 26 Mar 2018 11:59:14 +0000 (26 12:59 +0100)]
forcepoint #32 survive missing value range

Change-Id: I90315f0481bf73c4d9071959bf5408f4a2690257
Reviewed-on: https://gerrit.libreoffice.org/51886
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint #31 check validity of another group range
Caolán McNamara [Mon, 26 Mar 2018 11:50:20 +0000 (26 12:50 +0100)]
forcepoint #31 check validity of another group range

Change-Id: I82ff3e47a033c91581b108e1685b1ff4d5865895
Reviewed-on: https://gerrit.libreoffice.org/51883
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint #31 survive missing control model
Caolán McNamara [Mon, 26 Mar 2018 08:32:14 +0000 (26 09:32 +0100)]
forcepoint #31 survive missing control model

Change-Id: I37e4af560b46b4f6d9e0b87fe58493818f366d3c
Reviewed-on: https://gerrit.libreoffice.org/51878
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint #32 survive missing emf paths
Caolán McNamara [Mon, 26 Mar 2018 11:14:23 +0000 (26 12:14 +0100)]
forcepoint #32 survive missing emf paths

Change-Id: Ic27c3bbac12f66b30ff2f30f558180127cc73a51
Reviewed-on: https://gerrit.libreoffice.org/51876
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
4 years agoResolves: tdf#116474 bring hidden text property under undo control
Caolán McNamara [Tue, 20 Mar 2018 11:48:28 +0000 (20 11:48 +0000)]
Resolves: tdf#116474 bring hidden text property under undo control

Change-Id: I7bc18e8bc34f2a759371950f9d20dce48f472131
Reviewed-on: https://gerrit.libreoffice.org/51636
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
4 years agoforcepoint #30 check validity of group range
Caolán McNamara [Mon, 26 Mar 2018 08:23:48 +0000 (26 09:23 +0100)]
forcepoint #30 check validity of group range

Change-Id: Ie0611f36809b051ce46030e44c137b4e1f8d2fe0
Reviewed-on: https://gerrit.libreoffice.org/51865
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint #29 detect illegal self series add
Caolán McNamara [Mon, 26 Mar 2018 07:57:09 +0000 (26 08:57 +0100)]
forcepoint #29 detect illegal self series add

Change-Id: I3bba0f942780c54951a3a810c05cc3b56ca18a5e
Reviewed-on: https://gerrit.libreoffice.org/51862
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint #28 missing cell on abw import
Caolán McNamara [Mon, 26 Mar 2018 07:45:21 +0000 (26 08:45 +0100)]
forcepoint #28 missing cell on abw import

Change-Id: I7633a17afab5aa2eb9e47a552bd5d92c87d383c7
Reviewed-on: https://gerrit.libreoffice.org/51853
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoofz#7063 ensure lifecycle
Caolán McNamara [Thu, 22 Mar 2018 10:35:18 +0000 (22 10:35 +0000)]
ofz#7063 ensure lifecycle

Change-Id: I18d62bc3bd409ca65c85ea47e8d5b3930481edf9
Reviewed-on: https://gerrit.libreoffice.org/51734
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoofz#7043 already registered
Caolán McNamara [Wed, 21 Mar 2018 09:18:21 +0000 (21 09:18 +0000)]
ofz#7043 already registered

Change-Id: Ic94891c82944d04fe3391c0bd0731a6e3e4373e0
Reviewed-on: https://gerrit.libreoffice.org/51693
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint #35 handle odd number of dimension fragments
Caolán McNamara [Mon, 26 Mar 2018 13:06:34 +0000 (26 14:06 +0100)]
forcepoint #35 handle odd number of dimension fragments

Change-Id: I97e4e1b38d80276077b3427c90ae33023afb5e59
Reviewed-on: https://gerrit.libreoffice.org/51901
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoofz#7165 set a recursion limit for svm in svm
Caolán McNamara [Wed, 28 Mar 2018 07:53:20 +0000 (28 08:53 +0100)]
ofz#7165 set a recursion limit for svm in svm

Change-Id: Id9089986012588690b6d5e33cd71d094ef2357dd
Reviewed-on: https://gerrit.libreoffice.org/51984
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agoforcepoint#36 avoid dangling SvTextShapeImportHelper in case of exceptions
Caolán McNamara [Thu, 29 Mar 2018 16:42:12 +0000 (29 17:42 +0100)]
forcepoint#36 avoid dangling SvTextShapeImportHelper in case of exceptions

Change-Id: Ibdbc047029c31d2b06d2349d68e1cbd9b15fd514
Reviewed-on: https://gerrit.libreoffice.org/52137
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
4 years agotdf#112997 multiple animated gif only one frame
Noel Grandin [Sun, 25 Mar 2018 13:23:47 +0000 (25 15:23 +0200)]
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>
(cherry picked from commit d312ff2b52c0ea2e2864518a36f6b432653c8297)
Reviewed-on: https://gerrit.libreoffice.org/52010
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agotdf#106746: pDelPam is a bit special
Aron Budea [Sun, 25 Mar 2018 06:33:16 +0000 (25 08:33 +0200)]
tdf#106746: pDelPam is a bit special

Regression from db17d3c17c40d6b0e92392cf3c6e343d1d17b771

Change-Id: I17e2fef2eb16a900cc487b75c3b9dbba2764ac71
Reviewed-on: https://gerrit.libreoffice.org/51814
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
(cherry picked from commit 7b1d50e97eaa00855152e74f42b789fc643e0bac)
Reviewed-on: https://gerrit.libreoffice.org/52017
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agoupdate credits
Christian Lohmaier [Thu, 29 Mar 2018 13:07:00 +0000 (29 15:07 +0200)]
update credits

Change-Id: I8973bbbfd0b51106b528c1def872e1018a9c2159
(cherry picked from commit 14a8dfcfae560d8bb8592af64f2d133683decfc2)

4 years agoDon't pass empty option to JNI_CreateJavaVM
Stephan Bergmann [Tue, 27 Mar 2018 13:19:15 +0000 (27 15:19 +0200)]
Don't pass empty option to JNI_CreateJavaVM

sUserClassPath may be empty (instead of containing "-Djava.class.path=...")
here, which older versions of Java have apparently silently ignored.  But
Java 10 now fails with JNI_EINVAL (-6).  (Happens e.g. during
CppunitTest_dbaccess_hsqldb_test.)

Reviewed-on: https://gerrit.libreoffice.org/51949
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit 19d2ec6539f789dfbe38612e5e7807cac9fe0819)
Conflicts:
jvmfwk/source/framework.cxx

Change-Id: Ifd13222f0d0ae69547bd1a9fe0fd5eae47917d0a
Reviewed-on: https://gerrit.libreoffice.org/51978
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agoFix typo ("x86_64" -> "X86_64")
Stephan Bergmann [Tue, 27 Mar 2018 12:13:45 +0000 (27 14:13 +0200)]
Fix typo ("x86_64" -> "X86_64")

...introduced with 2d2294fb82bd4f0d1d805405631aeb1acbc36cbb "Add x64 Windows
here, too".  As reported by Richard Webb at
<https://lists.freedesktop.org/archives/libreoffice/2018-March/079870.html>
"Re: Manifest.xml for 64bit LO".

Change-Id: I1681908012e73e520bebd79b8149788358ea49a3
Reviewed-on: https://gerrit.libreoffice.org/51946
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit 045e2755163042c3c0bc83595b1c73104cb76721)
Reviewed-on: https://gerrit.libreoffice.org/51951
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agoofz#7121 NamedDBs::insert takes ownership of its argument
Eike Rathke [Fri, 8 Dec 2017 14:59:53 +0000 (8 15:59 +0100)]
ofz#7121 NamedDBs::insert takes ownership of its argument

at one point this was based on std::auto_ptr and didn't
free its arg on failure

Adapt description to reality

Change-Id: I24133fb6c52bd7500037364120cb11d1b1f099c2
(cherry picked from commit f161cdc979587488df83e63002bee7ee15152d42)

Change-Id: I8aeed6876d80b7ebe4ebb5e2cfd12e00420bd207
Reviewed-on: https://gerrit.libreoffice.org/51934
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
4 years agotdf#90627 Don't save empty conditions
Szymon Kłos [Wed, 14 Mar 2018 17:59:49 +0000 (14 18:59 +0100)]
tdf#90627 Don't save empty conditions

Change-Id: I5a953c1b0fff7bf41a59360a8f52596264ddf266
Reviewed-on: https://gerrit.libreoffice.org/51293
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/51411
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agotdf#104792 Double check for target shape
Szymon Kłos [Tue, 13 Mar 2018 19:57:52 +0000 (13 20:57 +0100)]
tdf#104792 Double check for target shape

Change-Id: Ibe23377c7752d9ce97c7b100af4b2759b3ce946f
Reviewed-on: https://gerrit.libreoffice.org/51241
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/51410
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agotdf#116163 import test
Szymon Kłos [Tue, 6 Mar 2018 10:33:16 +0000 (6 11:33 +0100)]
tdf#116163 import test

Change-Id: Ie4fd1142e1111e4968941a639a265d169aaa6413
Reviewed-on: https://gerrit.libreoffice.org/50814
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/50926
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agotdf#116163: Limit label height in chart if needed
Szymon Kłos [Fri, 2 Mar 2018 09:39:33 +0000 (2 10:39 +0100)]
tdf#116163: Limit label height in chart if needed

Change-Id: Ia84fd0c3b76886bc6124dc3b59035465aa31b020
Reviewed-on: https://gerrit.libreoffice.org/50700
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/50913
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agotdf#115539, tdf#116238: Don't display the notebookbar in presentation mode
Xisco Fauli [Wed, 14 Mar 2018 09:19:47 +0000 (14 10:19 +0100)]
tdf#115539, tdf#116238: Don't display the notebookbar in presentation mode

Change-Id: Ifc64d9a3b5c93b83fa238737375e7a58b2ae86db
Reviewed-on: https://gerrit.libreoffice.org/51262
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit 6a9326803c01f4c9bc7da855053ce4e80646fad8)
Reviewed-on: https://gerrit.libreoffice.org/51295
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agotdf#91106 sfx2: Stylist hierarchical: sort the Default Style first
Michael Stahl [Tue, 13 Mar 2018 21:16:20 +0000 (13 22:16 +0100)]
tdf#91106 sfx2: Stylist hierarchical: sort the Default Style first

(regression from 41af2a9e26f3ee6b505b343120d5df3617ba5c49)

(cherry picked from commit fd67ee14e769ebdf1e43d55e0117f70f90d53053)

Change-Id: I47377447dd1e04a44033dea27ce7307a65821737
Reviewed-on: https://gerrit.libreoffice.org/51244
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 21f220fce05bb99964f098247786eec014e56902)
Reviewed-on: https://gerrit.libreoffice.org/51591

4 years agoResolves: tdf#116324 treat jump empty path as 0 when nested
Eike Rathke [Sat, 10 Mar 2018 19:34:36 +0000 (10 20:34 +0100)]
Resolves: tdf#116324 treat jump empty path as 0 when nested

Apparently a fallout from

    commit 0f45ac20cd2ab2a64c40c7d6850f333cc33feeb0
    AuthorDate: Mon Jun 28 11:40:39 2010 -0400
    CommitDate: Sat Nov 6 23:40:00 2010 -0400

        More on fixing build by eliminating use of ScMatrixValue.

or other commits related to ScMatrix handling.

Change-Id: I10e8b58aed51cd707b1503dbbc0b369aea4a2805
(cherry picked from commit 8930f8f530b4879226a6bac55bfeb551ac9e7489)
Reviewed-on: https://gerrit.libreoffice.org/51054
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
4 years agoResolves: tdf#116215 separate column sums and row sums, tdf#71339 related
Eike Rathke [Tue, 6 Mar 2018 20:26:23 +0000 (6 21:26 +0100)]
Resolves: tdf#116215 separate column sums and row sums, tdf#71339 related

Change-Id: Ifc7ab0c460f521ad3be4aa2785d54a1e4ed304e5
(cherry picked from commit 9d8dcec608dde63c68b34450a95a3b168121e289)
Reviewed-on: https://gerrit.libreoffice.org/50846
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
4 years agoofz#6999 check available data len
Caolán McNamara [Sun, 18 Mar 2018 12:51:07 +0000 (18 12:51 +0000)]
ofz#6999 check available data len

Change-Id: I89a7913d35706ee5797beee654ef99be088431b8
Reviewed-on: https://gerrit.libreoffice.org/51499
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agosdk/lib dir missing from Linux installation sets
Stephan Bergmann [Fri, 16 Mar 2018 13:21:01 +0000 (16 14:21 +0100)]
sdk/lib dir missing from Linux installation sets

...after cfd2691e5bf398304d7816227b933e53907b6204 "[API CHANGE] Remove salcpprt
static library" had removed the sole regular File item from gid_Dir_Lib_Sdk,
leaving only Unixlink items.  But the solenv/bin/modules/installer.pm code used
to only auto-create any directories that contain regular Files.  Changed that to
also consider Unixlinks in addition to regular Files.

And to add insult to injury, the code in
solenv/bin/modules/installer/simplepackage.pm creating the actual symlinks
represented by the Unixlink items silently does nothing when a symlink cannot be
created (because the partent dir is missing).  To be fixed in another follow-up
commit.

Change-Id: Ic7a682a17ac59c789c85c56c825dd623bc59428c
(cherry picked from commit f07e2496963baf8f7c0fecc79e7a420544075d98)
Reviewed-on: https://gerrit.libreoffice.org/51421
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agoofz#6827 Bad-cast
Caolán McNamara [Thu, 15 Mar 2018 17:26:36 +0000 (15 17:26 +0000)]
ofz#6827 Bad-cast

Change-Id: I856d781f122c21c02a0a8cd01369d49f50b8a555
Reviewed-on: https://gerrit.libreoffice.org/51365
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
4 years agotdf#115429 xmloff: ODF import: fix handling of unknown attributes
Michael Stahl [Thu, 1 Mar 2018 12:10:40 +0000 (1 13:10 +0100)]
tdf#115429 xmloff: ODF import: fix handling of unknown attributes

... in SvXMLLegacyToFastDocHandler::startElement(), so that it does not
create invalid "-1" tokens that end up stored as empty-string
attribute names in SvXMLAttrCollection and ultimately exported
as invalid XML.

One surprising aspect is that the maNamespaceURL in struct
UnknownAttribute stores the namespace prefix in the libreoffice-5-4
branch, as it lacks commit bb59a80ee6000d3922fa95262f67e291fd9d8ee2.

The attributes are read and converted again in
SvXMLImportContext::startUnknownElement().

Change-Id: Id081c677286a77ec50d9884cdbd9135cf4f6e5b6
Reviewed-on: https://gerrit.libreoffice.org/50583
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
4 years agotdf#107094 backward heading search doesn't always work
Caolán McNamara [Mon, 12 Mar 2018 14:29:48 +0000 (12 14:29 +0000)]
tdf#107094 backward heading search doesn't always work

regression from...

commit 84e44386d70e886f9bae633ebe915ea3a52f8dbd
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Wed Nov 12 10:35:18 2014 +0000

    coverity#982189 Unchecked return value

so put it back the way it was and explicitly ignore the return
instead

    Change-Id: I6f5ef42b38236ea5f70ddbccfa25a81f2f3e976c

Change-Id: I0c0084247e8570ace2198fa893db273dab00d2b0
Reviewed-on: https://gerrit.libreoffice.org/51148
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
4 years agotdf#116101 Correct bullet position for linespacing > 100%
Szymon Kłos [Fri, 9 Mar 2018 13:48:49 +0000 (9 14:48 +0100)]
tdf#116101 Correct bullet position for linespacing > 100%

Change-Id: Ia900636d4013ab2a9c893c8246391db867fe1543
Reviewed-on: https://gerrit.libreoffice.org/51017
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/51085
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agoupdate credits
Christian Lohmaier [Tue, 13 Mar 2018 12:46:57 +0000 (13 13:46 +0100)]
update credits

Change-Id: If08d6a65d35b3c1d7226e004933bffc3769ba398
(cherry picked from commit e993d98e29faee0947588a326fe9454c8f987ef7)

4 years agoUpdated core
Christian Lohmaier [Tue, 13 Mar 2018 12:20:21 +0000 (13 13:20 +0100)]
Updated core
Project: translations  1ed4d918b002e75077819d6dcd099d890914a3a3

update translations for 5.4.6 rc2

and force-fix errors using pocheck

Change-Id: I8e7b3e44da3bc6a95ab09c02220ca34e9a35718e

4 years agoforcepoint #24 back() on empty vector
Caolán McNamara [Mon, 12 Mar 2018 10:24:55 +0000 (12 10:24 +0000)]
forcepoint #24 back() on empty vector

Thanks to Antti Levomäki and Christian Jalio from Forcepoint.

Change-Id: Idb6723b53a1ae8aaca80847bfe643bc4abaedd21
Reviewed-on: https://gerrit.libreoffice.org/51123
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
4 years agoforcepoint #26 check input against max valid enum values
Caolán McNamara [Mon, 12 Mar 2018 12:32:52 +0000 (12 12:32 +0000)]
forcepoint #26 check input against max valid enum values

Change-Id: Ide72884c77904ae9495b5189cde086e43923e4bd
Reviewed-on: https://gerrit.libreoffice.org/51138
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
4 years agoforcepoint #25 ensure null termination
Caolán McNamara [Mon, 12 Mar 2018 11:35:37 +0000 (12 11:35 +0000)]
forcepoint #25 ensure null termination

Change-Id: I37f4787fb5772e959c45280d9650adcc15591033
Reviewed-on: https://gerrit.libreoffice.org/51130
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
4 years agotdf#103175: Initialize DrawLayer if required
Mike Kaganski [Mon, 12 Mar 2018 07:07:06 +0000 (12 10:07 +0300)]
tdf#103175: Initialize DrawLayer if required

Change-Id: Ia99dd1e349e807d339dce0ead518a72a31e0fc02
Reviewed-on: https://gerrit.libreoffice.org/51096
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit de53d4690d25b9f1bbc0def6c66ce5b45b2fdc96)
Reviewed-on: https://gerrit.libreoffice.org/51111
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
4 years agoofz#6827 drop last anchor pos if it will be joined
Caolán McNamara [Sun, 11 Mar 2018 21:24:05 +0000 (11 21:24 +0000)]
ofz#6827 drop last anchor pos if it will be joined

Change-Id: Ib36b74b455f741d9dcccbdf244d21453837bda3c
Reviewed-on: https://gerrit.libreoffice.org/51100
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
4 years agotdf#44774: Parent style's msApiName could yet be empty; use GetApiName()
Mike Kaganski [Sun, 11 Mar 2018 04:04:23 +0000 (11 07:04 +0300)]
tdf#44774: Parent style's msApiName could yet be empty; use GetApiName()

Change-Id: Ie0e218ea83d34aa7ee22fea1f32b2851a942544f
Reviewed-on: https://gerrit.libreoffice.org/51069
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit a8fc81d478f4dcf8600ed9a2b4e0f7adff4a17ee)
Reviewed-on: https://gerrit.libreoffice.org/51077
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agoVCL canvas: fix another clipping mistake (related: tdf#115142)
Thorsten Behrens [Wed, 7 Mar 2018 21:30:31 +0000 (7 22:30 +0100)]
VCL canvas: fix another clipping mistake (related: tdf#115142)

Follow-up to 5d710cf7dda27e78f237211fd92418be4dd1c551 -
setupOutDevState() tends to set a clip, better not overwrite that.

Change-Id: I52aa7db3ef12e9c2902016460e1bf4914328dc7c
Reviewed-on: https://gerrit.libreoffice.org/50920
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit e8ed3dfc35975b9e57da7803168f3e2a117a4004)
Reviewed-on: https://gerrit.libreoffice.org/50940
Tested-by: Michael Stahl <mstahl@redhat.com>
4 years agotdf#115432 footnote separator position wrong (3rd attempt)
Noel Grandin [Wed, 7 Mar 2018 15:32:40 +0000 (7 17:32 +0200)]
tdf#115432 footnote separator position wrong (3rd attempt)

My second attempt in

   commit dedf5e4f9000e271683dea9a0488e1b45b91176c
   "tdf#115432 footnote separator position wrong (2nd attempt)"

managed to lose part of the change because of incorrect rebasing.

Change-Id: I7b18f3e1602c617d1cb414ef0eb2ee456aeb58ee
Reviewed-on: https://gerrit.libreoffice.org/50901
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit dcd95c6fff548c7ac46688244e44b95464fb297d)
Reviewed-on: https://gerrit.libreoffice.org/50912
(cherry picked from commit 95bf328d76352c4a2745ece21ccf99ac41693fb8)
Reviewed-on: https://gerrit.libreoffice.org/50917
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
4 years agotdf#115432 footnote separator position wrong (2nd attempt)
Noel Grandin [Tue, 6 Mar 2018 13:18:53 +0000 (6 15:18 +0200)]
tdf#115432 footnote separator position wrong (2nd attempt)

the first attempt (d4a8d91abd40dee7f7bd739a678a502a6e34cb59)
incorrectly changed the type of a UNO property defined in a
published IDL file.

Change-Id: I75bc75dead0954d1faa6dfb6adab9f4c42c67cfc
Reviewed-on: https://gerrit.libreoffice.org/50827
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 1163bcd5da3063e7e988ebf49d9b60dfd6f6c703)
Reviewed-on: https://gerrit.libreoffice.org/50894
Reviewed-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit 800b3eb336f8ad707848d44656e322ed87cb3570)
Reviewed-on: https://gerrit.libreoffice.org/50916

4 years agotdf#115142 Revert "slideshow: clip shapes in secondary screen window"
Michael Stahl [Wed, 7 Mar 2018 11:35:23 +0000 (7 12:35 +0100)]
tdf#115142 Revert "slideshow: clip shapes in secondary screen window"

This reverts commit 99e373cd4c78084ded349f3e3de7b0504af2dd90.

This is bogus as it actually does scaling and not clipping, and the
actual clipping bug is in the VCL canvas, see following commit.

Also should fix tdf#115652 and tdf#116196.

Change-Id: Ief7be653a38626c9902ab5c7c453a133c2b9f882
(cherry picked from commit 0408a590311c837d5f0ab1abfb72a564a266ddac)
Reviewed-on: https://gerrit.libreoffice.org/50887
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
4 years agoVCL canvas: fix clipping of gradients (related: tdf#115142)
Michael Stahl [Wed, 7 Mar 2018 11:21:45 +0000 (7 12:21 +0100)]
VCL canvas: fix clipping of gradients (related: tdf#115142)

When using the presenter console, the secondary screen has
a small view of the current slide, which is called a "Pane" in sdext.

Clipping for this is done by sd::presenter::PresenterCanvas, which wraps
the full-screen VCL canvas and has a MergeViewState() to intersect
the clip region.

The VCL canvas has a bug in its gradientFill() implemenation where it
overrides the existing clip on the OutputDevice instead of intersecting
it.

This properly fixes the bug that was wrongly and badly attempted
to be fixed by commit 99e373cd4c78084ded349f3e3de7b0504af2dd90.

Change-Id: Id02678c2f134fe7b190866d6a6fff5b2e5e3aaff
(cherry picked from commit 5d710cf7dda27e78f237211fd92418be4dd1c551)
Reviewed-on: https://gerrit.libreoffice.org/50888
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
4 years agotdf#116171: Tunnel arbitrary rtl_TextEncoding from sc to sdbc:dbase connection
Stephan Bergmann [Mon, 5 Mar 2018 12:56:59 +0000 (5 13:56 +0100)]
tdf#116171: Tunnel arbitrary rtl_TextEncoding from sc to sdbc:dbase connection

...including those that have no corresponding textual IANA character set name
representation, like RTL_TEXTENCODING_MS_950 which is apparently used in some
DBase files.

In the past, if eCharSet was RTL_TEXTENCODING_DONTKNOW in lcl_getDBaseConnection
it was sent as an empty string CharSet property, which the receiving
OConnection::construct translated back to

  else
      m_nTextEncoding = RTL_TEXTENCODING_DONTKNOW;

so the net effect remains the same for that special case.

Reviewed-on: https://gerrit.libreoffice.org/50772
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit 5ad62544bce42396faaae2bc79c7517af6ff085b)
Conflicts:
sc/source/ui/docshell/docsh8.cxx

Change-Id: I84eec8a93d000752b3c429976c58721ea9ea32a4
Reviewed-on: https://gerrit.libreoffice.org/50791
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
4 years agotdf#115866 comments inside StringArray blocks drop translations
Caolán McNamara [Mon, 26 Feb 2018 11:16:31 +0000 (26 11:16 +0000)]
tdf#115866 comments inside StringArray blocks drop translations

Change-Id: I422d87bd51e581eebafe961d308923a27c004f42
Reviewed-on: https://gerrit.libreoffice.org/50353
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
4 years agoforcepoint #16: fix heap-use-after-free
Miklos Vajna [Fri, 2 Mar 2018 10:18:21 +0000 (2 11:18 +0100)]
forcepoint #16: fix heap-use-after-free

PDFDocument::Tokenize() in the aKeyword == "obj" case allocates a
PDFObjectElement, stores it as an owning pointer inside rElements, and
also stores two non-owning references to it in m_aOffsetObjects and
m_aIDObjects. So make sure those 2 other containers are also cleared
then elements go away.

LO_TRACE="valgrind" bin/run pdfverify <sample>

doesn't report errors anymore after the fix.

Change-Id: Ie103de3e24a1080257a79e53b994e8536a9597bc
Reviewed-on: https://gerrit.libreoffice.org/50632
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agoforcepoint #17 nTextBreak is an index into pKernArray of len rInf.GetLen()
Caolán McNamara [Fri, 2 Mar 2018 11:33:24 +0000 (2 11:33 +0000)]
forcepoint #17 nTextBreak is an index into pKernArray of len rInf.GetLen()

Change-Id: I3afeaf987cc5e75362560165fea7230904530933
Reviewed-on: https://gerrit.libreoffice.org/50630
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
4 years agoofz#6656 -1 isn't a good flag for all elements filled
Caolán McNamara [Fri, 2 Mar 2018 11:06:12 +0000 (2 11:06 +0000)]
ofz#6656 -1 isn't a good flag for all elements filled

Change-Id: I163de8fd943859fbf986da0928f3e3552d063a09
Reviewed-on: https://gerrit.libreoffice.org/50626
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
4 years agoforcepoint #14 check to see if we incremented at all
Caolán McNamara [Thu, 1 Mar 2018 21:14:15 +0000 (1 21:14 +0000)]
forcepoint #14 check to see if we incremented at all

Change-Id: Ia4670adbddcc8501cf522be296b3061a3529f880
Reviewed-on: https://gerrit.libreoffice.org/50607
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
4 years agotest: add assertXPathNSDef()
Miklos Vajna [Thu, 1 Mar 2018 12:31:22 +0000 (1 13:31 +0100)]
test: add assertXPathNSDef()

Partial backport of Miklos' master commit
f8da775795052ad2eb879970c115d2e2a2fe8c81
without the EPUB changes.

Change-Id: Ic9dd105249a59200dba03bb30eda350a95aff263
Reviewed-on: https://gerrit.libreoffice.org/50582
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
4 years agotdf#115795 Solve wrong redirect behavior of "Get Online Help"
Franklin Weng [Wed, 28 Feb 2018 10:12:07 +0000 (28 18:12 +0800)]
tdf#115795 Solve wrong redirect behavior of "Get Online Help"

When under locale zh-TW, Help > Get Online Help would use only "zh"
as the parameter of LOLang and sent it to hub.libreoffice.org, which
would redirect to Simplified Chinese forum instead of zh_TW
ask.libreoffice.org forum.  After discussing with Guilhem he
refactored the behavior of the Hub, use LOlocale instead of LOLang,
and keep LOLang for backward compatibility.  The LibreOffice sent
LOlocale instead to avoid this problem happening again.

Change-Id: Ia9348cff88723210f693e65260bb987826a3f3ea
Reviewed-on: https://gerrit.libreoffice.org/50503
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-on: https://gerrit.libreoffice.org/50519
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
4 years agobump product version to 5.4.7.0.0+
Xisco Fauli [Wed, 28 Feb 2018 13:32:39 +0000 (28 14:32 +0100)]
bump product version to 5.4.7.0.0+

Change-Id: I382eb4e34d431e6a07ba1e1b541a9e3abd1dd632

4 years agoUpdated core
Christian Lohmaier [Wed, 28 Feb 2018 11:44:51 +0000 (28 12:44 +0100)]
Updated core
Project: translations  13be4b0f8c91cb71108fb37339d66ee611672b8c

update translations for 5.4.6 rc1

and force-fix errors using pocheck

Change-Id: I32d52f8558ed1164dce104783cc96c1ab51a41df

4 years agoResolves: tdf#114833 do not officiously force Y-M-D if D-M-Y is applicable
Eike Rathke [Fri, 16 Feb 2018 11:18:05 +0000 (16 12:18 +0100)]
Resolves: tdf#114833 do not officiously force Y-M-D if D-M-Y is applicable

(cherry picked from commit 2448e6cfeb787ae37cdadd7d6181e723b7024d27)

 Conflicts:
svl/source/numbers/zforfind.cxx

Change-Id: Idbfecf0ff08843db9970a301ab3c3a7317c08cda
Reviewed-on: https://gerrit.libreoffice.org/49851
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agotdf#115873 sd navigator: adapt IsEqualToDoc() to Fill() further
Miklos Vajna [Fri, 23 Feb 2018 11:30:02 +0000 (23 12:30 +0100)]
tdf#115873 sd navigator: adapt IsEqualToDoc() to Fill() further

SdPageObjsTLB::Fill() populates the navigator tree list box,
SdPageObjsTLB::IsEqualToDoc() determintes if it has to be refreshed or
not.

Commit f3c68cdf8f6a0273c62b493552f78af0138a44e8 (tdf#115873 sd
navigator: allow selecting but not focusing on objects, 2018-02-21)
already brought IsEqualToDoc() closer to Fill() with using the same
iteration mode for the SdrObjects, but that's not enough.

Fill() uses flat iteration, then checks for group shapes explicitly and
visits them recursively. Change IsEqualToDoc() to do the same, this way
selecting "Rectangle 3" in the testcase won't result in a jump back to
"Slide 1" (as an effect of IsEqualToDoc() returning false for an up to
date tree list box).

Change-Id: If2543cbc282af06ba43d4804e7ed455c8b9828cd
Reviewed-on: https://gerrit.libreoffice.org/50234
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit 1f159a4df7dcf9c4b1a35d16aee2303b8fa34b27)
Reviewed-on: https://gerrit.libreoffice.org/50346
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agotdf#115873 sd navigator: allow selecting but not focusing on objects
Miklos Vajna [Wed, 21 Feb 2018 16:27:53 +0000 (21 17:27 +0100)]
tdf#115873 sd navigator: allow selecting but not focusing on objects

There were also two cases here:

- changing the selection with the keyboard or single-click only updated
  the selection in the navigator
- pressing enter or double-click also selected the shape in the main
  window and gave the focus away

Introduce a 3rd case for single-click: update the shape selection but
doesn't give the focus away. This way double-click is not needed to sync
navigator -> main doc selection but keyboard navigation should still
work.

An additional trick is to make sure that the current shell is the draw
shell (and not the slide sorter) after navigation, so follow-up
operations work with the selected object and not with the whole slide.

Finally, a third related problem was that the selection jumped back to
the item of the slide after clicking on a shape in the navigator. The
reason for this was the navigator list was constantly cleared and
re-filled in SdNavigatorWin::InitTreeLB(), as
SdPageObjsTLB::IsEqualToDoc() returned false (even if the list was up to
date) in case of shapes which had children but no name. Fix this by
using the same SdrIterMode::Flat iteration mode that
SdPageObjsTLB::AddShapeList() does, so the fill and the equality check
of the navigator iterates the same way.

 Conflicts:
sd/qa/unit/tiledrendering/tiledrendering.cxx
sd/source/ui/dlg/navigatr.cxx

(cherry picked from commit f3c68cdf8f6a0273c62b493552f78af0138a44e8)

Change-Id: I0bfc3e8b49f7ef01d5797a68284616dcd2a81c5d
Reviewed-on: https://gerrit.libreoffice.org/50159
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agotdf#115859 Export number format for chart series
Szymon Kłos [Mon, 19 Feb 2018 17:18:20 +0000 (19 18:18 +0100)]
tdf#115859 Export number format for chart series

Change-Id: I65d30c6b92a530eadbd6fabe87fa8bd3416fee20
Reviewed-on: https://gerrit.libreoffice.org/50392
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
4 years agoset number of read bytes correctly
David Tardon [Tue, 27 Feb 2018 16:47:19 +0000 (27 17:47 +0100)]
set number of read bytes correctly

It was wrong if we read less than was expected.

Thanks to Antti Levomäki and Christian Jalio from Forcepoint.

Change-Id: I070c1731d1aace4c101fa01efed0c28734c44899
(cherry picked from commit 9534a8fe3e84bfcc7d0d2addac4dd8cd96746d99)
Reviewed-on: https://gerrit.libreoffice.org/50463
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
4 years agoofz#6576 check border param len
Caolán McNamara [Tue, 27 Feb 2018 16:17:04 +0000 (27 16:17 +0000)]
ofz#6576 check border param len

Change-Id: Ie479ef953b7c0f4a30afdafa27a9be121a346562
Reviewed-on: https://gerrit.libreoffice.org/50457
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
4 years agotdf#97614 Fixing initialization code for Bluetooth and IP Server for Impress.
Rostislav Kondratenko [Wed, 21 Feb 2018 14:27:00 +0000 (21 17:27 +0300)]
tdf#97614 Fixing initialization code for Bluetooth and IP Server for Impress.

Change-Id: Icc385fb760b8a5ff337f58dc95ba3c3f86805eaa
Reviewed-on: https://gerrit.libreoffice.org/50108
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit fb5f13671c50f7f84d654a779bc0ff07e31ce95e)
Reviewed-on: https://gerrit.libreoffice.org/50414

4 years agoforcepoint #10 pop empty stack
Caolán McNamara [Mon, 26 Feb 2018 12:30:57 +0000 (26 12:30 +0000)]
forcepoint #10 pop empty stack

Change-Id: I96452a86187a6b03251614625445d1b18a5ee218
Reviewed-on: https://gerrit.libreoffice.org/50359
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
4 years agotdf#115883 DOCX import: catch RuntimeException from SwXFrame
Miklos Vajna [Thu, 22 Feb 2018 11:28:06 +0000 (22 12:28 +0100)]
tdf#115883 DOCX import: catch RuntimeException from SwXFrame

getPropertyValue("Surround") for a non-inserted frame can throw, but
hasPropertyValue("Surround") still returns true. So fix the regression
by just catching the exception, assuming that in that case no increased
spacing is needed.

Reviewed-on: https://gerrit.libreoffice.org/50175
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 5e1a50cc433a865da677faf7d502ba41858e45f6)

Change-Id: I49a78ce8d41b4e1cc7d23721d5dc70f7550c94af
Reviewed-on: https://gerrit.libreoffice.org/50349
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>