Commit Graph

452964 Commits

Author SHA1 Message Date
Johnny_M
47dee6d869 Update git submodules
* Update helpcontent2 from branch 'master'
  to d4ab7e2e49c20e908bff6211c725e8711393382a
  - tdf#132643 Translate German section IDs
    
    Change-Id: If96b69983c3a8074d5c19b3c2ca5ace4312654a5
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/100736
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-14 19:56:32 +02:00
Michael Stahl
14fd4b5411 tdf#135457 sw: fix invalidation of SwXTextField
This was supposed to happen from SwNodes::ChgNode() when moving to the
undo nodes array.

There are fields with a range that contains other fields, when the outer
field's range is deleted, the contained field moves to the undo array
and its position is no longer valid to be given out by
SwXTextField::getAnchor().

(regression from c73b5e969b)

Change-Id: I38c8b3393a777ca8dc8739b5ca4233a7f124961e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100749
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-08-14 19:39:54 +02:00
Johnny_M
ba2ab89681 Update git submodules
* Update helpcontent2 from branch 'master'
  to af517d7410ea929897be53a4968135ef62881377
  - tdf#132643 Translate German section IDs
    
    Change-Id: Ic7cafb66f39dfb8d641507e20bbfc6ea4e704ed8
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/100735
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-14 19:33:16 +02:00
Miklos Vajna
78036f74fa tdf#135094 cairo canvas: fix black slide containing a very small image
Don't paint when the area would be 0, that would not be visible anyway,
and the _cairo_matrix_to_pixman_matrix_offset() call would fail with
CAIRO_INT_STATUS_INVALID_MATRIX in _pixman_image_set_properties(),
failing the render of the whole slide.

Also, warn in case the painting fails, so the next time something
breaks, it's easier to find the problematic place.

[ No testcase, our tests are typically headless and currently
SvpSalGraphics::SupportsCairo() reports false, so this would be tricky
to test. ]

Change-Id: I7cdb9462ff8155232ea51abf321b365c2219575b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100743
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-08-14 18:39:39 +02:00
Noel Grandin
e67657d521 loplugin:simplifybool more
look for expressions like
    !(a && !b)
which can be expanded out

Change-Id: I72515a9638762b050f9a258c08da39ebfa2ef8e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100579
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 18:03:06 +02:00
Caolán McNamara
186def8f48 tdf#135550 FmXListBoxCell does need to implement XListBox after all
regression since...

commit 0677d46bcc
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Wed May 20 15:22:56 2020 +0100

    FmXListBoxCell doesn't need to implement css::awt::XListBox

It seems just addItemListener/removeItemListener are needed, stub
the rest to make sense just for single-selection mode and avoid
the return of the apparently unused multi-selection complexity

Change-Id: I46a32bdd23d44273da37cc21cfa45de907674f31
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100746
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-14 17:59:34 +02:00
Caolán McNamara
937f800cdb tdf#135550 make XListBox Item status changed event work again
Change-Id: I9a5fe6a097c5d06e3ac3ab6c4c77cbe082d1a17d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100745
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-14 17:27:37 +02:00
Maxim Monastirsky
7bb20ab2e8 One toolbar generic controller is enough
The one from framework is more feature complete, so use that one.

Change-Id: I499f0ae1d20c588cfc04beebc643819559325882
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100726
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-08-14 17:03:55 +02:00
Maxim Monastirsky
c5301f215f Replace MenuToolbarController with the usual approach for menu buttons
i.e. ResourceMenuController + GenericPopupToolbarController.
(Decl. of both isn't available in a header file, so they are instantiated
via the service manager for now. This is a bit weird for something from
the same module, but should not make any difference in practice.)

Change-Id: Ia3fc7ba82b0f6e1a43aa7b5e56e2cff7e039d877
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100725
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-08-14 17:03:41 +02:00
Michael Stahl
f3cb59c463 tdf#134746 sw: fix redline hiding of at-char fly on empty paragraphs
If a merged paragraph has no extents, a fly anchored at the start or at
the end should be shown.

(regression from 28b77c89df)

Change-Id: I78135f3c033cf08aad81c86b0ac693528e3f3f8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100543
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-08-14 16:56:58 +02:00
Caolán McNamara
bfd3f93932 tdf#135693 rerun the callbacks on inconsistency just once
Change-Id: I250cf11b816e91b521378c132e4ee8065956bb73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100679
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-14 16:33:31 +02:00
Miklos Vajna
02ac9b042d solenv: fix typo in CppunitTest
Added in commit 2edc86a592 (Default all
tests to run with the svp plugin, 2018-11-23), if svp is to be avoided,
it has to be filtered out from the environment variables, not filtered
for.

With this, the unexpected SAL_USE_VCLPLUGIN=gen is gone from the
generated cmdline when using gb_CppunitTest_use_vcl_non_headless.

Change-Id: Ib666f3df007898165f2019f0a9b0677f679aa6e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100742
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-08-14 16:18:22 +02:00
Noel Grandin
84dd33d8f5 can use sorted_vector here
Change-Id: I5f6c1fe7de1dcd409f484a755b8e1313acc8f0c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100741
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 15:30:35 +02:00
Noel Grandin
9a2c347e76 inline some use-once typedefs
Change-Id: Ifefdb1ad20d09e257064171e458b2eb33065f5de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100733
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 15:30:14 +02:00
Caolán McNamara
97e4987608 tdf#135526 ranges overflowing to become negative
the properties panel uses huge min/maxes which can overflow
when the number of digits changes

Change-Id: Idbb998a065ce8f2b918fceea2076b794cbde3368
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100731
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-14 15:28:44 +02:00
Rizal Muttaqin
fa575be1e5 Breeze & Sifr tdf#131456 ^ Orientation icons
Change-Id: I61beac52faea227e98a09d97cf222968348bf542
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100723
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-08-14 14:39:50 +02:00
Noel Grandin
6b3089df68 rename xmlnmspe -> xmlnamespace
Change-Id: I8fdf9833dede6f4c9ba4bbb76b9ab9b6b419f155
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100722
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 13:59:05 +02:00
Noel Grandin
93e5587661 improve dodgy code
adding together constants like this is not safe

Change-Id: I6c92b591e623fed9adcf76c08fcd1fb136f8d423
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100724
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 13:52:56 +02:00
Noel Grandin
161a72d1bf add comments and log some exceptions
Change-Id: I8fab74e92a932fd284a63357e7a20f208af2d20d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100728
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 13:32:42 +02:00
Noel Grandin
27d9aa3eff dont catch&abort Desktop::OpenClients_Impl
rather just let the debugger or crashpad handle it

Change-Id: I44e0dd06f2c84a7bf0099093a53032d759c18dea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100729
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 13:32:36 +02:00
Caolán McNamara
1668111a29 rework this to make it more readable
no logic change intended

Change-Id: I755de2e37bec3843500920476fc23f013103f976
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100685
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-14 12:17:25 +02:00
Noel Grandin
7c67a8f4e8 rename nmspmap.hxx -> namespacemap.hxx
we're not in DOS anymore, Dorothy

Change-Id: I79926e0d694163940ba7ebf20419724dd0a486f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100721
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 11:07:08 +02:00
Rizal Muttaqin
1a524be53f tdf#135742 icon for More Options in Page Columns
Change-Id: I83d78b6a145b68af16375baee688c372700f6b9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100719
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-08-14 09:27:40 +02:00
Noel Grandin
79eb754cbf avoid catch&abort in Desktop::Main
It is better to let the exception be uncaught and then catch that in
the debugger, or let our crashpad handler capture a full
stack-trace and report it.

Change-Id: If5a4259c22c9f47d788e01725c802eeeb46162e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94596
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 09:26:48 +02:00
László Németh
cf596c4331 tdf#133163 DOCX: export formula cells
as formula fields instead of exporting only cell
text content.

Only unmodified formula fields were exported from
commit d42776e01b
(tdf#118682 DOCX: export formula fields).

Now newly added Writer formula cells or modified
table formula fields imported from DOCX (which are
converted to formula cells after formula editing)
are exported.

Change-Id: Iecec75b2a36b94c2d3aa998603ac10ea2f2b8d4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100667
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-08-14 09:13:03 +02:00
Justin Luth
6457d46967 tdf#132726 tdf#134948 doc/rtf export: don't PostponeWritingText
Since .doc and rtf don't postpone flys, they shouldn't also be
postponing the text.

Partially revert my LO 5.3 commits b39feae4f12b07a0fdb2c8c2a48d5aae613cd7c9/
3ade281c1d
which only avoided postponing within tables for the .doc format,
since this patch eliminates it completely for .doc and .rtf

I think the original Synerzip LO 4.4 patch
commit 80fd9fb720
was only intended for DOCX formats.

I am concerned about doing this since the implications are unclear,
but I take comfort in seeing that many synerzip commits just
need to be reverted, and that a number of .doc bugs are
solved by doing this. The fact that few bug reports have
been made since 4.4 also suggests this isn't a hugely
active area. No intention to backport, and still lots of testing
time available for LO 7.1.

Change-Id: I9284d3cc516c480e8bb0848c17797988ffcdcd2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100175
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-14 08:45:18 +02:00
Miklos Vajna
b8285ae513 xmloff: remove dead com.sun.star.comp.Draw.XMLMetaExporter
And test com.sun.star.comp.Draw.XMLOasisMetaExporter instead in
JunitTest_xmloff_unoapi.

Change-Id: I1cd485378097b094e6773a7c37798b9aadf3070f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100687
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-14 08:40:49 +02:00
Noel Grandin
1aa46b95bf remove now unused DELETEZ macro
Change-Id: I67c51424db1302aaffc78389466f680952045326
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100625
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 08:29:17 +02:00
Noel Grandin
8d56aedbbf add compilerplugin-generated files to .gitignore
Change-Id: I55bfe3cc00da74fdfd594175643684c3e28fe09b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100664
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14 08:28:58 +02:00
DaeHyun Sung
3bf7422839 [ko] add new autocorrect words for Korean
add new autocorrect words for Korean

Change-Id: I740a9476ad676591d4647d133027739ce9030781
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100682
Tested-by: Jenkins
Reviewed-by: DaeHyun Sung <sungdh86+git@gmail.com>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-08-14 07:33:46 +02:00
Mike Kaganski
18fd443707 tdf#134968: don't forget to draw on mpAlphaVDev in fallback case
Change-Id: I6ab8cc8907943c3bb7fd717624ea4ac7c9d4fd5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100711
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-08-14 01:57:55 +02:00
Rizal Muttaqin
25fa654300 tdf#135736 icon for More Options in Page Size
Change-Id: Ibc2896acc75375d89df02563383dfbec6efff558
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100710
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-08-14 01:54:37 +02:00
Mike Kaganski
bf021c369f tdf#135500: always use transparent and clear content vdev in impBufferDevice
This removes the only place that hadn't used transparent impBufferDevice
yet - in VclProcessor2D::RenderMaskPrimitive2DPixel. Not clearing the vdev
made it draw on whatever garbage was left there from previous paints when
the buffer was taken from maFreeBuffers in VDevBuffer::alloc, so since this
was also the only place left that didn't clear the buffer explicitly, this
makes the clear unconditional in impBufferDevice ctor.

Also this makes sure to clear proper rectangle in VDevBuffer::alloc, and to
clear mpAlphaVDev in OutputDevice::Erase.

Change-Id: I7c1c0cc510a92628f19020b3faf0c0cd81f5a599
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100674
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-08-14 01:00:04 +02:00
Rizal Muttaqin
56d5531373 tdf#131456 icon for Portrait orientation in Writer Tabbed UI
Change-Id: I346fcf31078cc52b90a9ce39fd93a331e65957cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100689
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-08-14 00:58:42 +02:00
Andrea Gelmini
bda7556020 Fix typos
Change-Id: I02f05d87920a09f2cbb8a66caa2f76b7aad62a49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100539
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-13 22:04:25 +02:00
Miklos Vajna
c10ea0e903 Remove some unused includes
Change-Id: Iea6b931b1f2328886354f70ad81a3e07367db717
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100669
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-08-13 18:27:31 +02:00
Noel Grandin
b37653fdc7 improve comments around blocks which abort on UI thread event exceptions
Change-Id: If3336b8a39e41d958de2e998e3d9467888f2df6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100659
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-13 17:54:41 +02:00
Tibor Nagy
49e2bd6103 tdf#131420 DOCX export: fix missing border of frame
Co-authored-by: Attila Szűcs (NISZ)
Change-Id: If6ce28aab938eaf22fe578f8880e139b7b4eb22c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100418
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-08-13 17:45:48 +02:00
Michael Stahl
68cc91cd2c sw: MS Word export: don't insert section breaks in field instructions
MSWordExportBase::NeedTextNodeSplit() simply uses the soft-page-break
positions to potentially insert section breaks - but now that Writer can
display field instructions, it's quite silly to insert section breaks
inside them.

Change-Id: Ie57e6281a0287aac36984e5467920852db19a8ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100661
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-08-13 16:58:17 +02:00
Michael Stahl
5364c08157 sw: avoid assert when deletion starts at fieldmark end
This hit assert(bSavePos && bSaveOtherPos);

Tweak SwUndoSaveContent::DelContentIndex() for fieldmarks to only accept
an equal end position if the start position was in range as well.

(regression from 24fd14b387)

Change-Id: If6c9b049193bb7f1bc39ec66d1c965512f9d6ec1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100660
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-08-13 16:58:09 +02:00
Justin Luth
245470582c tdf#135329 sw MS export: remove effectively dead anchoring code
commit dce1d0766c
Author: Caolán McNamara on Mon Oct 14 13:24:31 2002 +0000
    #i2916# integrate markm character anchoring export impl

1.) if (nPos >= nStartPos && nPos <= nMinPos)
2.)     nMinPos = nPos;

3.) ++nPos;
4.) if (nPos >= nStartPos && nPos <= nMinPos)
5.)     nMinPos = nPos;

So lines 3/4/5 should be dead code.
With lines 1 and 2, MinPos has changed to be nPos,
so if we increment nPos, by definition it will now be
larger than itself (aka MinPos).

There is ONLY one time when this could have been used,
and that is if nPos == nStartPos - 1.
However, in that case the fly WILL ALREADY BE HANDLED,
because it is in the current run's position.
So if the fly is already going to be handled,
what good will treating the next character
separately do?

So the comment sounds really important, but in practice
it seems as if it is not happening.
Plus round-tripping already breaks everything anyway,
so very unlikely to raise any substantial regressions.

Change-Id: Ifa867ac3614aef82a3dde358ee3e5bd54d5a1142
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100386
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-13 16:53:52 +02:00
Stephan Bergmann
cc5a6c6afe gcc3_linux_{aarch64,x86-64} need the __cxa_exception hack in deleteException
* gcc3_linux_aarch64 needs a hack to detect the reserve member in LLVM >= 10
  libcxxabi __cxa_exception, in addition to the existing hack for LLVM 5.

  On macOS arm64 (which shares the bridges/source/cpp_uno/gcc3_linux_aarch64/
  code) we know that we always target a >= LLVM 10 libcxxabi, so we do not need
  neither of the two hacks there.

  (And a7d1fed245 "Hack to dynamically adapt to
  __cxa_exceptiom in LLVM 5.0 libcxxabi" had introduced a "fillUnoException" vs.
  "mapException" typo in the comment when it copied it from
  bridges/source/cpp_uno/gcc3_macosx_x86-64/except.cxx.)

* Similarly, gcc3_linux_x86_64 needs both hacks when it is built against
  libcxxabi (and the need for the LLVM 5 hack had gone unnoticed there for now).

* It is not clear to me now why gcc3_macosx_x86-64 needs the LLVM 5 hack (which
  I even initially developed for that platform,
  7a9dd3d482 "Hack to dynamically adapt to
  __cxa_exceptiom in LLVM 5.0 libcxxabi") but not the LLVM >= 10 hack (although
  it does need the corresponding hack in fillUnoException when running against
  recent upstream LLVM trunk libcxxabi, f4b6f6a8ae
  "Hack to dynamically adapt to __cxa_exceptiom in LLVM 11 libcxxabi".

Change-Id: I8e7a5c871fbeeaf82bbd16fa03e73f10f229da93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100656
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-13 15:55:08 +02:00
Samuel Mehrbrodt
e2c81bdf6f Handle input fields in layout/nodes dump
Change-Id: Ib552cd678cde4048ceca4cc85c0d0347fbcf54b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100580
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-08-13 15:29:45 +02:00
Maxim Monastirsky
6db94ada87 Remove references to missing icons
- Backing code for private:image/3242 was removed in commit
367fedcc44 ("loplugin:unusedenumconstants")
for unclear reasons. Fortunately it's used for a .uno:NewDoc menu item,
so an appropriate icon can be retrieved using that command.

- private:image/3216 was removed in commit
2559cab126 ("FDO#42454 - EasyHack: remove
code associated with unused icons"). No idea how it worked, or whether
it was already broken at this point.

Change-Id: If5c43626a1334c27604409bcf7eb5920930430db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100450
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-08-13 15:27:59 +02:00
Andrea Gelmini
8c290ecc34 Fix variable name bAcceptEnmpty
Change-Id: Ie3fe919a7b8296440cd2a670f218147da98f7822
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100653
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2020-08-13 15:24:58 +02:00
Noel Grandin
eaf094f7f2 use unique_ptr in SfxAppData_Impl
and simplify the destruction - we only ever called ReleaseInterface
on destruction, so no need to bother with that, and risk touching
pointers that might be nullptr

Specifically, the problem is this code
    pImpl->pSlotPool.reset();
which triggered the path
    ~SfxSlotPool -> ~SfxInterface -> SfxGetpApp()->GetAppSlotPool_Impl()
which crashes because the pSlotPool pointer is null at that point

Change-Id: I8577760d09be598926623d6eb5500969e07dd6f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100624
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-13 15:21:29 +02:00
Tomaž Vajngerl
ce6c6a5ad6 remove polygonprimitive2d.cxx from clang-format blacklist
Change-Id: I3122a4058f5447cbf0369b60b368c76e5fe40089
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100647
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-08-13 14:40:12 +02:00
Tomaž Vajngerl
f9d05d1091 remove texteffectprimitive2d.{cxx,hxx} from clang-format blacklist
Change-Id: I57a47358d5e4f1e41fc1c89884b7603d8afdc3bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100646
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-08-13 14:39:50 +02:00
Tomaž Vajngerl
2ff358f471 remove textprimitive2d.cxx from clang-format blacklist
Change-Id: I8b4e1d6654c3a75a3174d56ac01f7d0c7aea5a8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100645
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-08-13 14:39:29 +02:00
Yusuf Keten
d21f802d91 tdf#133026: Additions: Install Button Handler
Change-Id: If4e9b192557b6c9f56bd04ccf9f6a5a8273d7515
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100340
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-08-13 14:24:04 +02:00