Commit graph

475227 commits

Author SHA1 Message Date
Colomban Wendling
920558267b qa: Fix occlusion check coordinates in _XAccessibleComponent.java
This could erroneously skip a check because the child was erroneously
deemed obscured by another object.

Change-Id: I67d76ea272874671ae328266bdbdeb037c0dc625
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133842
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-05-10 16:13:03 +02:00
Michael Stahl
cdf70b9099 sfx2: add config warning in UndoManager complex test
... and remove obsolete comment, that problem was fixed a decade ago.

Change-Id: I06e122128ff009778da87891739016ecc8975895
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134110
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-05-10 15:51:15 +02:00
Noel Grandin
9a1f81f2e0 tdf#121740 reduce cost of SfxDocumentMetaData::Init
XPath is a little heavyweight for such a simple thing. Shaves 5% off the
load time for me

Change-Id: I109f68fa1dfc228b42740000a95a2e7a3de7e320
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133927
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-10 15:05:46 +02:00
Mark Hung
5f92e8cf3d tdf#104930 Implement TextMetric::GetHangingBaseline.
The text metric value is initialized in ImplFontMetricData::ImplInitBaselines() using harfbuzz API hb_ot_layout_get_baseline. It can't handle multiple hanging baselines of the same font for different scripts yet because the script is fixed to HB_SCRIPT_UNKOWN.

Change-Id: I2574f0dba45501187064b9341c573159914a4a17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133667
Tested-by: Jenkins
Reviewed-by: Mark Hung <marklh9@gmail.com>
2022-05-10 15:01:25 +02:00
Tomaž Vajngerl
d5371ec062 chart2: add func. to convert from css::awt and B2IRectangle
Change-Id: I6da70d4559d1536b788228bcae64f5e43462d8e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133922
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-05-10 14:02:46 +02:00
Miklos Vajna
6de2fc2a70 sw content controls, drop-down: add DOCX export
Map the list items to an XML markup like:

      <w:sdt>
        <w:sdtPr>
          <w:dropDownList>
            <w:listItem w:displayText="red" w:value="R"/>
            <w:listItem w:displayText="green" w:value="G"/>
            <w:listItem w:displayText="blue" w:value="B"/>
          </w:dropDownList>
        </w:sdtPr>
        ...
      </w:sdt>

Change-Id: I483009603f1138e4bd5871bfd8c760a3de739ba1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134104
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-05-10 13:18:51 +02:00
Caolán McNamara
d0eae1767b ofz#47205 import never completed
keep nEndPos and nStartPos consistent if there is no following piece

Change-Id: Iaa0840eb9a60c429d60ff449aed0a2f981306b0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134093
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-10 11:38:30 +02:00
Caolán McNamara
070b34c2a4 fix --disable-scripting build
Change-Id: I41e0da3d379d54ec59f9eba46978cfe7f9e09d33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134105
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-10 10:51:20 +02:00
Christian Lohmaier
93a102be71 Update git submodules
* Update translations from branch 'master'
  to df1f1ea62f4f5c39d4800a59814baace6363e8e1
  - rdm#3572 update github-repo lockdown
    
    Change-Id: I9aaebdb3a10bf485775b25aa581393951900f17b
2022-05-10 10:45:18 +02:00
Christian Lohmaier
41a7d40f39 Update git submodules
* Update dictionaries from branch 'master'
  to d4165a5a9b83216339c731c42250f1417dfd9d26
  - rdm#3572 update github-repo lockdown
    
    Change-Id: Ifafd3a7367e142539140670b01c1184554395890
2022-05-10 10:42:42 +02:00
Christian Lohmaier
e7e5600e07 Update git submodules
* Update helpcontent2 from branch 'master'
  to 23f80fa92e4c0c12f5f16590787a71d55ecfc2b3
  - rdm#3572 update github-repo lockdown
    
    Change-Id: I48c866db63c986ad04b7bfa9dad79b53dae52cd8
2022-05-10 10:41:16 +02:00
Christian Lohmaier
83d68dfd36 rdm#3572 update github-repo lockdown
Change-Id: I21eb89513d7823b68e593a69a4bf5d9b9b637ad3
2022-05-10 10:24:33 +02:00
Stephan Bergmann
f522000d15 Fix stack-use-after-scope
...during CppunitTest_chart2_export,

> [_RUN_____] testStrict::Load_Verify_Reload_Verify
[...]
> ==20402==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7f220d8280d0 at pc 0x7f21a71c55cb bp 0x7ffc70fff650 sp 0x7ffc70fff648
> READ of size 8 at 0x7f220d8280d0 thread T0
>     #0 0x7f21a71c55ca in sdr::contact::ViewObjectContact::getPrimitive2DSequence(sdr::contact::DisplayInfo const&) const /svx/source/sdr/contact/viewobjectcontact.cxx:361:22
>     #1 0x7f21a71c440f in sdr::contact::ViewObjectContact::getObjectRange() const /svx/source/sdr/contact/viewobjectcontact.cxx:199:78
>     #2 0x7f21a71c33f7 in sdr::contact::ViewObjectContact::~ViewObjectContact() /svx/source/sdr/contact/viewobjectcontact.cxx:165:9
>     #3 0x7f21a71d0af8 in sdr::contact::ViewObjectContactOfSdrObj::~ViewObjectContactOfSdrObj() /svx/source/sdr/contact/viewobjectcontactofsdrobj.cxx:51:1
>     #4 0x7f21a70b6d08 in sdr::contact::ViewObjectContactOfGroup::~ViewObjectContactOfGroup() /svx/source/sdr/contact/viewobjectcontactofgroup.cxx:40:9
>     #5 0x7f21a70b6d58 in sdr::contact::ViewObjectContactOfGroup::~ViewObjectContactOfGroup() /svx/source/sdr/contact/viewobjectcontactofgroup.cxx:39:9
>     #6 0x7f21a71315e1 in sdr::contact::ObjectContact::~ObjectContact() /svx/source/sdr/contact/objectcontact.cxx:68:9
>     #7 0x7f21a71e7108 in sdr::contact::ObjectContactPainter::~ObjectContactPainter() /svx/source/sdr/contact/objectcontactofobjlistpainter.cxx:43:1
>     #8 0x7f21a71e77fc in sdr::contact::ObjectContactOfObjListPainter::~ObjectContactOfObjListPainter() /svx/source/sdr/contact/objectcontactofobjlistpainter.cxx:69:1
>     #9 0x7f21a89793c1 in (anonymous namespace)::GraphicExporter::GetGraphic((anonymous namespace)::ExportSettings const&, Graphic&, bool) /svx/source/unodraw/UnoGraphicExporter.cxx:959:13
[...]
> Address 0x7f220d8280d0 is located in stack of thread T0 at offset 4304 in frame
>     #0 0x7f21a896d04f in (anonymous namespace)::GraphicExporter::GetGraphic((anonymous namespace)::ExportSettings const&, Graphic&, bool) /svx/source/unodraw/UnoGraphicExporter.cxx:592
>
>   This frame has 89 object(s):
[...]
>     [4304, 4320) 'aCheckVisibilityRedirector' (line 955) <== Memory access at offset 4304 is inside this variable

(<https://ci.libreoffice.org/job/lo_ubsan/2394/>), presumably since
db6c5c7f9d "svx: calculate object range before
using it"

Change-Id: I77d56be1ca6bf16a0f5aa65cc1130547ae2fbf04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134103
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-10 09:32:22 +02:00
Juergen Funk
cf650ceaaf tdf#147590 update OLE object after document refresh
Regression from b099da78a6f0b3e120f706714003b05d84d11e70
we didn't update linked OLE document after document reload

Change-Id: I8e52f6430f454b276cb43449c6f7a3b0e07e909f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130692
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Tested-by: Jenkins
2022-05-10 09:02:01 +02:00
Noel Grandin
63a2f31425 osl::Mutex->std::mutex in HierarchyEntry
Several methods actually do not need locking because they are
calling other methods which are already locked, and thereafter
they touch only function-local state.

Change-Id: Ic0c55df65988fcc64899a31586f6a426825cba81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134088
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-10 08:13:40 +02:00
Miklos Vajna
3ce14653ed sw: document SwXTextField
I.e. the UNO class wraps SwFormatField, and that wraps SwField.

Change-Id: Ieadcf8bf1de8a034dacc567b1193ec2c5391a42a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134092
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-05-10 08:06:49 +02:00
Andrea Gelmini
bedd7279bc Update git submodules
* Update helpcontent2 from branch 'master'
  to faf6e6882194bbd7e1dddbe7559bce0d041297b0
  - Fix typo
    
    Change-Id: Idb3c20b35f3337e6d879a551b118a83016c6c30d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134102
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-05-10 07:06:40 +02:00
Mike Kaganski
bc1ab88ffa More usual 1899-12-30 base Date in Basic
Omissions from commit 8189d81564

Change-Id: I6b205f7bcc9ff9c30e55b03d39d02b9be15a01c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134064
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-10 06:58:24 +02:00
Andrea Gelmini
e5fb120a32 Fix typo in code
Change-Id: I6fae9a4df450f80ee2af59e271a8cb1dd8bc918f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134047
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2022-05-09 23:45:49 +02:00
Stephan Bergmann
7a4aa62a1e That AC_SUBST is already done by libo_CHECK_SYSTEM_MODULE
Change-Id: I62ebdd0c1339eb4a804e2ea277f043f68c35c601
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134082
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-09 22:45:12 +02:00
Caolán McNamara
52dfeeb636 crashtesting: use of negative return indication failure as length
a problem since...

    commit e9c50fbbc3
    Date:   Sat Apr 2 15:49:32 2022 +0300

        tdf#103954: Z compressed graphic formats support for EMF/WMF

Change-Id: Ia994587bf411a2cda3df38cb209313171b78ee9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134091
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-09 22:30:46 +02:00
Caolán McNamara
6dc41e33e0 Related: tdf#148433 experiment with SAL_DISABLE_CURSOR_INDICATOR
to turn off the arrow indicators in BiDi cursor

Change-Id: I5ed96bccf17432e63564bdfc1c7d2ad4fecdd2a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134090
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-09 22:30:22 +02:00
Mike Kaganski
ced3501a93 Unify and simplify SbRtl_Hex and SbRtl_Oct
OUStringNumber::toAsciiUpperCase is cheaper than OUString::toAsciiUpperCase.

Let SbRtl_Oct use OUString::number as well.

Change-Id: I3a97ec5d3a7b0005fc300310198bae47c62dfbc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134061
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-09 21:42:29 +02:00
Luboš Luňák
cbbdcfd49d make ScDocument::FetchTable() public
I don't see why it should be private, it's range checked,
so there should be no harm. Especially when a number of classes get
declared as friends to get access to it anyway.

Change-Id: I333d749aa9d09aaf9dcbabf43d67a67d1257a132
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134051
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-09 21:12:14 +02:00
Bartosz Kosiorek
1440ab8738 tdf#143875 tdf#55058 EMF+ Add support for individual line endings
EMF+ is allowing different caps and arrows on both ends
It is not possible to implement that with css::drawing::LineCap,
as it is set line endings on both line start and line end.
Additionally when the Dash Pattern is used, the css::drawing::LineCap
is also applied there.

To resolve that limitation, the Cap needs to be implemented
independetly by using PolygonStrokeArrowPrimitive2D, and
the css::drawing::LineCap inside drawinglayer::attribute::LineAttribute
always set to css::drawing::LineCap_BUTT

Change-Id: I4be76e2dbefcb34154a1404c3b57dc4b7f7ada85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133299
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2022-05-09 20:50:37 +02:00
Pragat Pandya
6abc09926c tdf#147021 Use std::size() instead of SAL_N_ELEMENTS() macro
Change-Id: I54257e87da0cd66da59d820c7960c3e4b020fda3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134027
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Tested-by: Jenkins
2022-05-09 20:42:03 +02:00
Stephan Bergmann
0c3950c495 Remove dated check for C++11 <codecvt>, <regex> headers
...which should always be available with our C++17 toolchains

Change-Id: If3b231f58c3c27a10d68ef4946b7ee2bb4f31a4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134083
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-09 20:19:34 +02:00
Andrea Gelmini
1f37a0ff46 Fix typo in code
I find _rContext not _rContxt

Change-Id: Iabc73590cf12112d0071e72b74064788b006e5e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134050
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2022-05-09 19:51:05 +02:00
Mike Kaganski
8189d81564 Use usual 1899-12-30 base Date in Basic
It matches VBA, has an optimization in the code, and doesn't
need any additional "-2" hackery.

Change-Id: I4b90674ae643788eda5ce618b4c42e2cc045ec04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134060
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-09 19:04:46 +02:00
László Németh
ac9de05cc7 tdf#148993 XLS export: fix broken formula regression
Exported XLS documents lost their formulas opened in MSO.

Regression from commit 12ee423c75
"tdf#144397 tdf#144636 XLSX: cache external named ranges and their formulas".

Change-Id: I009630a41b29bb21349711cc07d0ed181f816374
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134075
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2022-05-09 19:01:28 +02:00
Caolán McNamara
696be1cbd7 ofz#47323 suppress Direct-leak
Change-Id: I7189e4974a6bb8038a347442cf7ad925530e6f9b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134074
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-09 18:43:19 +02:00
Stephan Bergmann
b125784fa5 Drop an obsolete configure check
We require at least GCC 7.0.0 anyway, per README.md

Change-Id: Ib974690ef4e4a1861a43f33157fde9f4bb3ac8ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134080
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-09 18:38:55 +02:00
Xisco Fauli
7251f9c1b8 basic: remove commented out line
Introduced in 90d33f5945
"tdf#148358 - Compare Non-ASCII variable names case-insensitive"

Change-Id: I5bccb3f2f54ac61f2fbf960e78e3d4e4a0893f85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134081
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-05-09 18:30:35 +02:00
Stephan Bergmann
57b58d4fb8 URE Library_boostrap should not depend on Library_comphelper
...and apparently doesn't need to, even though that dependency got added with
6ffdc88e79 "Simplify Sequence iterations in
shell..svgio"

Change-Id: I7cb67dc48d11e426d5d5f7912eca13e25a32dbc5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134079
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-09 17:58:29 +02:00
Stephan Bergmann
52bd9c25d1 SvFileStream needs an absolute file URL
...and fail loudly if writing the file fails for any reason

Change-Id: I1e6d2e3da4d2ef643f4d27067845184dbf2e40a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134076
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-09 17:57:29 +02:00
Stephan Bergmann
c5e38abb10 URE Library_io should not depend on Library_comphelper
...and apparently doesn't need to, even though that dependency got added with
6af2e7d21c "use more
comphelper::OInterfaceContainerHelper2"

Change-Id: I74a4d04be9a37291bc37d908173381eb341b6df4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134077
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-09 17:56:47 +02:00
Stephan Bergmann
81d55a0a8b Revert "prevent using O[U]String::subView on temporaties"
This reverts commit 59059d00c2, as it effectively
did nothing, as rvalues can bind to `const &` just fine.
<https://gerrit.libreoffice.org/c/core/+/133747> "Acutally do prevent using
O[U]String::subView on temporaties" would have fixed that, but (a) it didn't
find any actual mis-uses and (b) rather would have required a handful of
legitimate cases to be dressed up with o3tl::temporary now, so is arguably not
worth it.

Change-Id: I923d0db2646dc8ea66d1b2a8b709ee2cd7a60ed4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134058
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-09 17:55:16 +02:00
Mike Kaganski
7c8f27e3d8 sal_Int32 cast to tools::Long to pass to a function taking sal_Int32
Change-Id: I81bb794e6a154dd3d022b34ce1348f32c854f52b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134059
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-09 17:52:11 +02:00
Alain Romedenne
7f987c7218 Update git submodules
* Update helpcontent2 from branch 'master'
  to 084d84f09882ec35007ad4566247932a30899799
  - tdf#141474 tdf#148466 Choose function accepts keyword arguments
    
    Change-Id: I82407ecc20b66c385f17509aa703222d2d2d10e6
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132390
    Tested-by: Jenkins
    Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
2022-05-09 17:43:37 +02:00
Caolán McNamara
10f3cb6aa8 ofz#46070 Out-of-memory
Change-Id: Ie7417f5f7e0ed49cfc3b38eda3117d53c8a2a59e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134053
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-09 16:07:01 +02:00
Xisco Fauli
7d0b19f3ea tdf#148843: sc_mathematical_functions: Add unittest
Change-Id: Iea71c3fd92a471814c27bebda74bbe8b30d706f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134040
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-05-09 16:01:24 +02:00
Xisco Fauli
8bd91a40ea tdf#148948: sc_statistical_functions: Add unittest
Change-Id: I9dd5010931991001215102a2764f7faa67412676
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134038
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-05-09 14:18:03 +02:00
Caolán McNamara
247f4aefb9 Resolves: tdf#148985 crash on searching for non-existing prefix
Change-Id: Ib89af12e75910adbd32abab5afceb9013dc51df2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134039
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-09 12:36:33 +02:00
Miklos Vajna
0db2cd321f sw content controls: only try to insert placeholders if there is no selection
The logic is that in case there is no selection, we insert a placeholder
like "type here", but if there is a selection, that can be a custom
placeholder.

Without this fix, we would hit an assertion failure on inserting content
control when there is a selection, as the placeholder is empty and
operator[](0) is not allowed for empty OUStrings.

Change-Id: I8370b8d74415faf0e76dccb574aa29bea1947bb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134041
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-05-09 12:27:54 +02:00
Mike Kaganski
0c87c0b87a Fix --disable-pch build: explicitly delete move constructor
Without this, the implicitly created constructor is exported by MSVC
for the DLLPUBLIC class, and requires that VirtualDevice is defined,
resulting in this error in PCH-disabled builds:

  [build CXX] vcl/source/animate/Animation.cxx
  C:\lo\src\core\include\rtl/ref.hxx(129): error C2027: use of undefined type 'VirtualDevice'
  C:\lo\src\core\vcl\inc\impanmvw.hxx(29): note: see declaration of 'VirtualDevice'
  C:\lo\src\core\include\rtl/ref.hxx(127): note: while compiling class template member function 'rtl::Reference<reference_type>::~Reference(void)'
  with
  [
  reference_type=VirtualDevice
  ]
  C:\lo\src\core\include\vcl/vclptr.hxx(216): note: see reference to function template instantiation 'rtl::Reference<reference_type>::~Reference(void)' being comp
  iled
  with
  [
  reference_type=VirtualDevice
  ]
  C:\lo\src\core\include\vcl/vclptr.hxx(64): note: see reference to class template instantiation 'rtl::Reference<reference_type>' being compiled
  with
  [
  reference_type=VirtualDevice
  ]
  C:\lo\src\core\include\vcl/outdev.hxx(202): note: see reference to class template instantiation 'VclPtr<VirtualDevice>' being compiled
  make[1]: *** [C:/lo/src/core/solenv/gbuild/LinkTarget.mk:337: C:/lo/src/build/workdir/CxxObject/vcl/source/animate/Animation.o] Error 2

Change-Id: I78723ce7d00667595aff39bcab22169ff347098f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134036
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-09 11:57:06 +02:00
Miklos Vajna
c3f4c43694 sw content controls, drop-down: add ODT filter
Map each list item to a dedicated XML element:

<loext:list-item loext:display-text="..." loext:value="...">

And do the opposite on import.

Change-Id: I59a536a8317a3bb24919107b4449f858d5f6de96
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134034
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-05-09 11:16:54 +02:00
Bartosz Kosiorek
32cb4e4fe5 tdf#89331 EMF/WMF Fix holes in lines created with LINETO
If the lines are created with MOVETO, LINETO, LINETO...
then Line Join NONE is applied. As a result the charts are looks ugly,
with the holes inside it.
For example:
https://bugs.documentfoundation.org/attachment.cgi?id=179962
and
https://bugs.documentfoundation.org/attachment.cgi?id=179837

Additinally commit changed default line join style to miter,
as during experimenting with MS Paint and MS Word,
it appear that default Join Style is PS_JOIN_MITER and
Line Cap is Flat/Butter.

The PDF export tests has been updated, as there is less number
of PDF object after using joiners.
The size of the exported tdf145873.pptx to PDF,
was slighltly decreased from 22.8kB to 22.0KB

Change-Id: I131cc3c5e90f827d67d2360eb18167eed6315abb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133624
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2022-05-09 11:08:25 +02:00
Caolán McNamara
d4ec15d5b7 rsc is no more, but concat-deps leaks instead so still need this
Change-Id: I06474f973c1858ed0740232dc75cfd75b8c4706e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134031
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-09 10:22:05 +02:00
Noel Grandin
90523fd368 osl::Mutex->std::mutex in SalUserEventList
Change-Id: I463f1620e28bf71b8b7ad61a9da074ff6ee7f0f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133912
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-09 10:18:41 +02:00
Noel Grandin
7537c81fd6 osl::Mutex->std::mutex in desktop::Acceptor
Change-Id: I450734e615c4c214f18641a3ac79f6810d98922c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134030
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-09 10:17:38 +02:00