423503 Commits

Author SHA1 Message Date
Caolán McNamara
892306b5b7 coverity#1338604 Uninitialized scalar field
Change-Id: I4c4c07db527ea2517ed809f693bde4af519e503e
Reviewed-on: https://gerrit.libreoffice.org/54582
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-20 21:14:44 +02:00
Caolán McNamara
56c9746f29 weld ScCalcOptionsDialog
Change-Id: I391e26bd95cb3dc6cfa983502aa960a5c54cc800
Reviewed-on: https://gerrit.libreoffice.org/54580
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-20 21:14:30 +02:00
Caolán McNamara
215d1ceaa0 weld ScDPShowDetailDlg
Change-Id: Ifbb93a71ac891f4a5621edcd1c3f004a278a088d
Reviewed-on: https://gerrit.libreoffice.org/54577
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-20 21:14:17 +02:00
Andrea Gelmini
99343e6305 Fix typos
Change-Id: Ia2c768f519a4131b26f38243a64179a39771eb00
Reviewed-on: https://gerrit.libreoffice.org/54576
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-20 16:44:18 +02:00
Andrea Gelmini
281c609532 Fix typos
Change-Id: Id225be0ecc357d6864a32d59291e402d98592d81
Reviewed-on: https://gerrit.libreoffice.org/54575
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-20 16:43:54 +02:00
Andrea Gelmini
996cd07f09 Updated core
Project: help  4efd1d34c0c0575f167e06589f24f8bd255c49ba

Fix typo

Change-Id: Ic13a127e145497c947abe2bf5dcef1bccf92d9f2
Reviewed-on: https://gerrit.libreoffice.org/54602
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-20 16:38:06 +02:00
Andrea Gelmini
0d2974921f Updated core
Project: help  d2ea6c70ee3bb8b8dab9a155e50182fcbb763e66

Fix typo

Change-Id: If20b3166f7eebfa56edc068137d9485b27a9db9b
Reviewed-on: https://gerrit.libreoffice.org/54601
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-20 16:37:56 +02:00
Tomaž Vajngerl
84f30b34bf [API-CHANGE] change to GraphicBitmap prop. for NumberingLevel
To make it consistent, change "Graphic" property (added during
image handling rework) to "GraphicBitmap" in style::NumberingLevel,
which is already used in text::NumberingLevel. Both of them are
accessors for the graphic of bitmap bullets.

Change-Id: I70f7bccd80fa9949778c49e23de583c6fb32a796
Reviewed-on: https://gerrit.libreoffice.org/54492
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-05-20 15:43:06 +02:00
Sophia Schröder
3a1f7ba6e5 Updated core
Project: help  492c80dc564c9f2a3fa45a6d80cbf9325082087c

More punctuation fixes

Change-Id: Ia38e862e5a1dc2f225f8c6f8928f35aeba440683
Reviewed-on: https://gerrit.libreoffice.org/54549
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-05-20 15:10:29 +02:00
Mike Kaganski
db04be037b tdf#35798: Hide empty Database fields' paragraphs (+ compat option)
With this change, Database fields that expand to empty values behave
as if they are "Hidden Paragraph" fields.

A compatibility option to enable this behaviour is added. The option is
enabled by default, and for any non-native documents (for compatibility
with other office suites). For existing (F)ODT documents, the option is
disabled for those documents that don't have this setting set, to keep
the layout of legacy documents.

Change-Id: Ic5e8cb15a3a7d1a765a984eef4b0d97666df7dfd
Reviewed-on: https://gerrit.libreoffice.org/54552
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-05-20 13:16:28 +02:00
Mike Kaganski
d312243361 Also change Expert Configuration option's description wording
.. after the changed string in Compatibility options done in commit
ae0edc4740ea95cd456eb7157bd048615de9212e.

Change-Id: I6708ef76207a02915c6ec883cc3c7c5d0245ae40
Reviewed-on: https://gerrit.libreoffice.org/54524
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-05-20 13:07:41 +02:00
Andrea Gelmini
c5081b3241 Fix typos
Change-Id: I65300af850f5c6f6795fa88e9e33616e38c7657c
Reviewed-on: https://gerrit.libreoffice.org/54571
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins <ci@libreoffice.org>
2018-05-20 13:06:23 +02:00
Bjoern Michaelsen
e73e726ab5 dont use SwClient/SwModify in unocore: Footnotes
Change-Id: I12000118f34b8b4e37fcc0b7d1b50a32784cc893
Reviewed-on: https://gerrit.libreoffice.org/54578
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2018-05-20 10:44:36 +02:00
Julien Nabet
cb4e2aea81 tdf#117298: migration Firebird, fix time data
by just adjusting nColIndex like other datatypes

Change-Id: Ia7947b3498818bac2f033eac81ac3835f98bbab3
Reviewed-on: https://gerrit.libreoffice.org/54581
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-20 10:19:50 +02:00
andreas kainz
9377d67833 NB writer: rearrange home color items according to notebookbar.ui
Change-Id: I68a7ef96fdbdd61dfcc32dc322b2d168eb7ad924
Reviewed-on: https://gerrit.libreoffice.org/54594
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-05-20 08:17:25 +02:00
andreas kainz
aaa7b2782b NB calc: update IDs
Change-Id: I0209fe6992d603cac47f1a8f0dd58fd52b9b3a2c
Reviewed-on: https://gerrit.libreoffice.org/54592
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-05-20 08:08:52 +02:00
Tomaž Vajngerl
486d340423 tdf#117502 fix graphical bullets for OOXML and RTF
This change has multiple parts:
- Move "BulletAsImage" test from ODT only to globalfilter and
  run it on ODT, DOC, DOCX, RTF formats and extend checks of
  the XGraphic used for the bullets and the size.
- Check if GIF is animated as we need to know this in unloaded
  graphic or bullets aren't rendered correctly if we assume
  they are animated.
- Use "Graphic" property in writerfilter to get the graphic from
  a XShape and not the "Bitmap" property which returns a Graphic
  as a MetaFile and not the original Graphic.
- Make sure "GraphicBitmap" is filled with XBitmap and not with
  XGraphic.
- Change "testFDO74215" to use the expected bullet size as it
  is in the original document. Looks like the initial bug was
  just asserting the bullet size is set to a value (non-zero).

Change-Id: I6b151c0bf9f426669e07522f0fc699fbb652046b
Reviewed-on: https://gerrit.libreoffice.org/54477
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-05-20 05:18:37 +02:00
Takeshi Abe
027b5a1483 svx: Avoid looking up system clock twice for current datetime
Change-Id: I636ddfdaeac211ddc9de6b5dfe36cbdc32c7f7f2
Reviewed-on: https://gerrit.libreoffice.org/54509
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2018-05-20 04:53:26 +02:00
Takeshi Abe
84efa4087b sfx2: Avoid looking up system clock twice for current datetime
Change-Id: If5d7bbd611321e6eee1c4bd9143af415c8a1671d
Reviewed-on: https://gerrit.libreoffice.org/54472
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2018-05-20 04:47:40 +02:00
Takeshi Abe
1de2b14b3f sd: Avoid looking up system clock twice for current datetime
Change-Id: I777210723f4c41ee27e2d6497aa466640924d8b5
Reviewed-on: https://gerrit.libreoffice.org/54348
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2018-05-20 04:43:03 +02:00
Olivier Hallot
717af25158 Updated core
Project: help  5907a3bca40c1947ad43e176f619bbdcc90d14fa

add bookmarks to help page on signature line

Change-Id: I9f798673a598c7b8606e57c1ea023bede222505b
Reviewed-on: https://gerrit.libreoffice.org/54596
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-05-20 03:56:55 +02:00
DaeHyun Sung
86f08b26d5 Add and fixed missing Korean Hanja sound
Updated Hangul/Hanja conversion dictionary on LibreOffice
ref1: 韓国の人名用漢字表のテキスト版 https://srad.jp/~yasuoka/journal/589283/
ref2: Proposal to add kKoreanName and kKoreanNameVariant to the Unihan Database https://www.unicode.org/L2/L2017/17084-korean-name-var.pdf
ref3: Libhangul's hanja.txt(Hangul-Hanja conversion char&words dictionary) https://github.com/choehwanjin/libhangul/blob/master/data/hanja/hanja.txt

Change-Id: I10358689548fb53a6c78f8e8f06beaede13d0561
Reviewed-on: https://gerrit.libreoffice.org/54562
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
2018-05-20 03:33:35 +02:00
Bjoern Michaelsen
3dea0e08e9 dont use SwClient/SwModify in unocore: Paragraphs
Change-Id: I6e7c90bcedcffb33eea4b241592e9c9ddaebd90a
Reviewed-on: https://gerrit.libreoffice.org/54572
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2018-05-20 02:03:00 +02:00
andreas kainz
0834546e51 NB Impress: update IDs
Change-Id: Idb020ee930bbd89a6fab4d4753c2f57213474709
Reviewed-on: https://gerrit.libreoffice.org/54563
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-05-19 22:09:59 +02:00
Caolán McNamara
71f855bd31 weld ScSortWarningDlg
Change-Id: I9462906fbe77a8463d7b283942c5280fdd71239e
Reviewed-on: https://gerrit.libreoffice.org/54565
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-19 21:51:25 +02:00
Andrea Gelmini
a97575455e Updated core
Project: help  1faf85e37b35aad21158afddbb56ff557b48e10c

Fix typo

Change-Id: I584a5a38a5a0cf966835db5638cd41fb4c3251fa
Reviewed-on: https://gerrit.libreoffice.org/54574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-05-19 21:50:14 +02:00
Caolán McNamara
f9d21be460 weld ScColRowLabelDlg
Change-Id: If706a86b4aa55f2678b3ad9a96e81679eca0faea
Reviewed-on: https://gerrit.libreoffice.org/54566
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-19 21:48:40 +02:00
Noel Grandin
6ac83797e0 improve unusedfields loplugin to find constructor-only fields
ie. fields that are only touched in the constructor

Change-Id: Ia714cbfed9710e47e69ca9f0eb0eac4f7e8b8a86
Reviewed-on: https://gerrit.libreoffice.org/54412
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-19 21:32:11 +02:00
Andrea Gelmini
2c244e6f53 Fix typos
Change-Id: Ie0c9f168759a625d78668cd57838b208fbc9dc56
Reviewed-on: https://gerrit.libreoffice.org/54458
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins <ci@libreoffice.org>
2018-05-19 20:13:00 +02:00
Andrea Gelmini
098a7d7f74 Fix typo
Change-Id: I4f58c7cabb00a152cb2b38a07bbe50a685c1d0a0
Reviewed-on: https://gerrit.libreoffice.org/54540
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins <ci@libreoffice.org>
2018-05-19 20:12:34 +02:00
Andrea Gelmini
0b03073524 Updated core
Project: help  4c0375c9ff38051744b17741ee5a17a2797306d2

Fix typo

Change-Id: I82135d325f129c55d67b879af06ec69e34da68d4
Reviewed-on: https://gerrit.libreoffice.org/54570
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-05-19 20:12:22 +02:00
Olivier Hallot
8d6a00d879 Updated core
Project: help  28138ff018a1ee48dc659b6d0ef0073b0a00a14e

tdf#115599 Add signature line help page

Refactor digital signatures help pages.

Fix some typos.
And more typos

Change-Id: I2db4e3a73fcdd716d32e6c271205d0ae12c28975
Reviewed-on: https://gerrit.libreoffice.org/54502
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-05-19 18:35:00 +02:00
Caolán McNamara
b00dea44c3 ofz#8375 Abrt
Change-Id: I2793ff9512bd651e1446bc9a99e1312164c96b7f
Reviewed-on: https://gerrit.libreoffice.org/54564
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-05-19 17:45:32 +02:00
Christian Lohmaier
c488328fd2 explicitly enable avahi
Change-Id: I8d3c639bfeb6797a5d61ea21e55ac23da1504120
2018-05-19 15:55:40 +02:00
Armin Le Grand
bc6dd64fe2 tdf#117506: Add using correct StyleSheet on ::Clone
There was an error/missing implementation on Cloning
SdrPage(s)/SdrObject(s) to a new target-SdrModel. See
comments in the code-change and in the tdf-task for more
info.

Change-Id: Ibe673a4b14e1c44102f80f05ebbeae5b6a1bae8f
Reviewed-on: https://gerrit.libreoffice.org/54555
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
Tested-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-05-19 15:07:23 +02:00
Noel Grandin
ff590683f9 Revert "tools: test Pair"
This reverts commit 99dbaba70afb91ed3961f9ff627c35bf54d66bef.

Let's land this again once Stephan's comments in 
   https://gerrit.libreoffice.org/#/c/54189/
have been addressed

Change-Id: I4230e4ce59a46379548bb510e433c68b021e896c
Reviewed-on: https://gerrit.libreoffice.org/54414
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-19 13:44:13 +02:00
Gabor Kelemen
c72280c1e9 tdf#42949 Fix IWYU warnings in sc/inc/l*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Ib19d239ac3f48192461aeeb1b1456bda986c11e3
Reviewed-on: https://gerrit.libreoffice.org/54462
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-19 13:15:35 +02:00
andreas kainz
d20cf3e4b6 NB Calc update IDs
Change-Id: Ia117cf44d0a7be5798be1fb51c63003b8c64bc86
Reviewed-on: https://gerrit.libreoffice.org/54561
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-05-19 12:29:17 +02:00
andreas kainz
669911e930 NB: update IDs
Change-Id: I41e16c68709a85c4d06a6a0de737b5eb59d2a5d9
Reviewed-on: https://gerrit.libreoffice.org/54558
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-05-19 12:28:41 +02:00
andreas kainz
5e5e2ed174 Modifie ID for objects in notebookbar_compact.ui
Change-Id: I1e7d489d68847d9ae994b96735af9326fd0de697
Reviewed-on: https://gerrit.libreoffice.org/54505
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-05-19 12:27:44 +02:00
andreas kainz
3374c1a52e tdf#117481 copy base 32 px sidebar icons from res folder
Change-Id: I5be21c448e35a9ed3c91c80f283361e9cba23816
Reviewed-on: https://gerrit.libreoffice.org/54506
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Tested-by: andreas_kainz <kainz.a@gmail.com>
2018-05-19 12:26:45 +02:00
Noel Grandin
5e319087ac the drag functions return values are ignored
Change-Id: Ife694a0d04d80808f227bd8ea7d8545d732d77c2
Reviewed-on: https://gerrit.libreoffice.org/54323
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-19 10:46:02 +02:00
Noel Grandin
c0ee80f978 loplugin:useuniqueptr in SdrDragView
and fix potential leak on early return in SdrDragView::BegDragObj

Change-Id: I707be6e2c7dc2c251f37447fe3cd98c4b50b59d1
Reviewed-on: https://gerrit.libreoffice.org/53751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-19 10:45:45 +02:00
Miklos Vajna
aca5e1ba7f tdf#117614 svx: make drawing.GraphicExportFilter work with sw images
A Writer image has an underlying SdrObject, but GetSdrObjectFromXShape()
won't work for it, also we can't an sw SdrObject into an XShape because
SvxDrawPage::CreateShape() has no idea how to handle sw's
SdrInventor::Swg inventor.

Fix the problem by just getting the Graphic of the Writer image and
improve GraphicExportFilter to be able to work with just a Graphic as
well.

Change-Id: I3c9b3005366fcc87815597a27df3cb8a99a8876c
Reviewed-on: https://gerrit.libreoffice.org/54527
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-05-19 09:03:48 +02:00
Mike Kaganski
1462bdc3ab Don't do the string operation needlessly
Change-Id: Ic5831e56d4528dcc1ad78e00569ad1d58272aeeb
Reviewed-on: https://gerrit.libreoffice.org/54514
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-05-19 03:39:13 +02:00
Armin Le Grand
e1a8338876 tdf#116979 Fixed 3D operator= to correct copy/paste
Change-Id: I81483a4d23523650cd9098794dd6101253b88e1c
Reviewed-on: https://gerrit.libreoffice.org/54546
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-05-19 00:29:26 +02:00
Bjoern Michaelsen
44a468323f dont use SwClient/SwModify in unocore: NumberingRules
Change-Id: I20ee1662310f33831757015659a70d3ffd855b3e
Reviewed-on: https://gerrit.libreoffice.org/54508
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2018-05-18 21:03:19 +02:00
Armin Le Grand
3ca7be0983 Replace SVGFilter using SVGIO
Target of this change is to get rid of the SVGFilter
in current LO which is based on the standard-ODF importer
using it's functionality by passing in/handing over
temporary created XML-Stream-Data.

First step is to alternatively import the given SVG
file to a newly created Document and to strip the
existing Filter-Code.

Adding the first prototype of the changed import. It
is capable of importing the given SVG to the created
Draw/Impress document. It adds the SVG which gets imported
by SVGIO as GraphicObject. It adapts sizes and positions of
Page and GraphicObject to have a smooth import.

Adding stripping of SVGFilter and used ressources. Done
as deep as possible, hopefully all places found.

Adapted now to create an Impress document. Also added needed
adaptions to PageSize(s), including layout and PresObj stuff
to make all MasterPages/LayoutPages work correctly.

Added reaction on empty SVG. This is needed since the
PageSize is adapted to the Graphic. With empty Graphic
a Size(0,0) results and this goes wrong.

Change-Id: Ia364a5783bee7dadcbe91e700efbabc121cf98f9
Reviewed-on: https://gerrit.libreoffice.org/54096
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-05-18 20:11:35 +02:00
Noel Grandin
c845135b7b simplify FmXFilterCell constructor
if it wants a DbFilterControl, just take a DbFilterControl

Change-Id: I43f08062be1c6c7c052c43de912a81afe409c928
Reviewed-on: https://gerrit.libreoffice.org/54523
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-18 20:02:14 +02:00
Noel Grandin
9e60d29be4 tdf#117539 Crash after cut and paste operation of a chart stick
regression from
   commit 3d44b720f58366398e7f59c00dba6339712a670f
   loplugin:useuniqueptr in SfxItemPool_Impl
where I accidentally removed some fallback code.

Note that this does not fix the underlying bug where some pool is not
correctly set up.

Also, this only fixes the bug that I introduced in the above commit,
another bug in the same area has subsequently been introduced, causing
a crash in a different area when performing this operation.

Change-Id: Iaae3b0dc82c740b498e3735273820647ef28fd01
Reviewed-on: https://gerrit.libreoffice.org/54522
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-18 20:01:56 +02:00