Commit graph

479708 commits

Author SHA1 Message Date
Mike Kaganski
3d236177be Deduplicate O(U)StringConcatenation
And use an overloaded helper function with a better (?) unified name
to show that the result is not an O(U)String.

Change-Id: I8956338b05d02bf46a6185828130ea8ef145d46b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141203
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-10-11 12:46:01 +02:00
Mike Kaganski
6c65c62c26 Don't convert OUString to char* to get OUString in the end
Which by the way fixes the mismatch between converting _sAppName to
OString as UTF-8 in SplashScreen::SetScreenBitmap, and converting
pName to OUString as ASCII in Application::LoadBrandBitmap.

Change-Id: I2082f92693ca9633b64411dd668befaa30e978d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141202
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-10-11 12:45:09 +02:00
Noel Grandin
f761e0aee5 use more SwPosition::Assign
part of the process of hiding the internals of SwPosition

Change-Id: I7685584b4f3b2c1f595146e87f8644f6d8feb1aa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141206
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-11 12:17:25 +02:00
Olivier Hallot
77d7f0b6a5 Update git submodules
* Update helpcontent2 from branch 'master'
  to 91c56d486085c7a08ce05241bbf617a05932318f
  - Turn conditional formatting help pages more friendly
    
    Change-Id: I6511663d80942720c5b9f1053e611f1f5209968c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141159
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-11 12:08:21 +02:00
Noel Grandin
c9d5f33a46 use more SwPosition::GetNode
part of the process of hiding the internals of SwPosition

Change-Id: Ib1a3a5bf1f3f875bbb02df523cbfd9c13b12c60e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141165
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-11 10:12:33 +02:00
Stephan Bergmann
d0f3e24a7a loplugin:loopvartoosmall
> /Users/stephan/lo/core/vcl/quartz/ctfonts.cxx:255:33: error: loop index type 'unsigned int' is narrower than length type 'CFIndex' (aka 'long') [loplugin:loopvartoosmall]
>             for (auto i = 0u; i < nTags; i++)
>                               ~~^~~~~~~

(and whatever the motivation in d7083fe6dd
"tdf#72456: Support font embedding on macOS" to use an unsigned 0u here)

Change-Id: I6a96dd2b2146c27d68a8a53daf3c2fe1f744738d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141201
Reviewed-by: خالد حسني <khaled@aliftype.com>
Tested-by: Jenkins
2022-10-11 09:12:17 +02:00
Noel Grandin
71337b4327 use more string_view in sw
Change-Id: Ibefb8549834ba5011286e3221f1ae276e2c0c0bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141153
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-11 08:44:09 +02:00
Miklos Vajna
bab44a97d2 tdf#151060 sw PDF export: don't paint off-page part of drawing object
Reported to be a regression from
c12358166a (DOCX import: fix lost objects
anchored to an empty linked header, 2020-01-10), the 3rd page of the PDF
export result contains an unexpected line shape.

This was "working" before as all objects anchored to the empty header
were lost.

Fix the problem by clipping the rendering to the page frame when
handling shapes, similar to what
689cead9e0 (tdf#91260 svx, sw: don't paint
off-page part of drawing object, 2016-12-06) did to fix the normal
rendering of the document.

The testcase document just has 2 pages, so there the unexpected shape
was on the 2nd page.

Change-Id: Ica24cd15717a1ee97dff448d385a10536671103e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141167
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-10-11 08:29:34 +02:00
Rizal Muttaqin
f486d2220d tdf#151071 Revise Sifr (Impress display view, slide layout & transition)
Change-Id: I9319f95d064475f5073c6de39901686c90592a9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141198
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-10-11 04:09:44 +02:00
Justin Luth
eaa38b0f9d tdf#148806 doc vba: only autoOpen PUBLIC macros
Note: this should NOT apply to Document_Open which normally
is a private subroutine and runs fine as private.

I tested and it DOES apply to all three version of AutoOpen:
-ThisDocument.AutoOpen,
-<AnyModule>.AutoOpen,
-AutoOpen.Main

Note: this is different from Excel.
Private Auto_Open runs just fine there.

Change-Id: If10c8c90c35275c2b14dc2e15fb357674fc580b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141114
Tested-by: Justin Luth <jluth@mail.com>
Reviewed-by: Justin Luth <jluth@mail.com>
2022-10-11 03:08:13 +02:00
Rafael Lima
ebeb4ce43d Use correct color in cuicharmap.cxx
While fixing bug tdf#151232 (commited as 3e4697c767) I used the wrong color in cuicharmap.

This patch fixes this error.

Change-Id: I1435489424c5a2e343ab009852e51267cbc8eb01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141175
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2022-10-10 22:05:31 +02:00
Caolán McNamara
d58dcdae6f attempting to load "1920x1080" not "intro_1920x1080"
since...

commit ff953c36ac
Date:   Mon Oct 11 11:50:10 2010 +0100

    clean cut/paste brand location code

Change-Id: I727a3698d70c3516dbdfa337e3ebf418a65f965b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141156
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-10-10 20:43:44 +02:00
Hossein
d1707bc312 tdf#149718 Fix crash on insert chart for tables with merged cells
Previously inserting charts for tables with merged cells lead to crash.
This was because a wrong assumption in unochart.cxx, specifically
SwChartDataProvider::Impl_createDataSource() that every row has the same
number of columns. Therefore the code was using the number of columns in
the first row as the number of columns for all the rows, which is wrong.

For example, inserting a chart for the second column of this table leads
to a crash:

    [                      ]
    [    1     ][     2    ]

In this way, an assertion failure was created because the number of
columns where counted from the first row, which has merged cells, and
therefore fewer number of columns compared to the last column of the
selected part.

To solve tdf#149718, now we use the maximum number of columns calculated
across all the rows. In this way, the remainder of the function does not
need a fix, although a cleanup for the whole function can be interesting
and help avoid using tiny extra memory space.

A UITest is provided to avoid this bug in the future. To run the test:

    cd sw && make -srj1 UITest_sw_chart \
    UITEST_TEST_NAME="tdf149718.tdf149718.test_chart_from_table_with_merged_cells" \
    SAL_USE_VCLPLUGIN=gen

Change-Id: I3c1000d7f177417e98d3a8ceae7886824c1053a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140092
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2022-10-10 18:27:03 +02:00
Noel Grandin
696d5c865c re-arrange logic to avoid touch SwPosition::nContent
part of the process of hiding the internals of SwPosition

Change-Id: I43c994c5c3bcfd6e45bb14b90cd19ba4d9cddada
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141145
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-10 17:58:45 +02:00
Xisco Fauli
5e29b084eb tdf#151260, tdf#84930: Use static_assert to check contiguous item ids
Change-Id: I9af0ad625ddb80052f7f7783061218a8de1db5e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140946
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-10-10 17:41:55 +02:00
Noel Grandin
8b4ac8c35d improve setup/teardown handling in VBAMacrosTest
do the same thing that the other UnoApiTest subclasses are doing,
seems to fix the problem for me

Change-Id: I0d5288b638a5c8d6994fae5ae5d99f2f29bcf377
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141155
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-10 17:10:31 +02:00
Eike Rathke
f4d021e664 Update git submodules
* Update helpcontent2 from branch 'master'
  to 00a07b02f82b2177c6d1ad90168528ca9eb73be8
  - Related: tdf#43107 Clarify \n in Find and Replace
    
    Change-Id: I676879173b1c48c665402a6c677a3c94cb97c66c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141161
    Reviewed-by: Eike Rathke <erack@redhat.com>
    Tested-by: Jenkins
2022-10-10 17:07:58 +02:00
Martin Schumann
42fe257fa4 tdf#151314 add Betterbird to Thunderbird-like mail clients in senddoc.sh
Change-Id: Ie145aba936138968b31f1f89d85ad23ad937a367
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141158
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-10-10 16:55:54 +02:00
Miklos Vajna
f726fbc269 tdf#151261 DOCX import: fix dropdown SDT when the item display text is missing
Dropdown content controls have list items, and each list item can have a
display text and a value. These are optional, and the bugdoc has a list
item where the value is set, but not the display text.

The trouble is that later in DomainMapper_Impl::PopSdt() we check if the
length of the display texts and values array match and if not, then we
throw away these arrays to avoid creating an inconsistent document
model.

Fix the problem by checking what display text and value we got at the end
of each list item; if any of them is missing, we add an empty string,
which matches the internal representation in SwContentControlListItem.

This also helps in case these array sizes matched by accident, but
display texts and values from different list items were mixed
previously.

Change-Id: Ib1eeabd2479963af4a84d4229d4f0ce4572e0f01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141151
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-10-10 16:05:53 +02:00
Olivier Hallot
3e8bed6709 Update git submodules
* Update helpcontent2 from branch 'master'
  to 0a4e56a9fa89c9a6ae13b3520b7a5f46c2793e53
  - Add Upper  and Lower Sorbian to Online Help language selector
    (part 2 is in core/ )
    
    Change-Id: Ifedec9aec069995443ff242143f80698cf454b56
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/140758
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-10 15:44:35 +02:00
Stephan Bergmann
68f4da7fff Adapt external/pdfium/gcc-c++20-comparison.patch to P2468R2
(<https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2468r2.html> "The
Equality Operator You Are Looking For"), as now implemented by Clang 16 trunk
since
<38b9d313e6>
"[C++20][Clang] P2468R2 The Equality Operator You Are Looking For", and which
started to make my --with-latest-c++ build fail with

> workdir/UnpackedTarball/pdfium/fpdfsdk/cpdfsdk_interactiveform.cpp:189:22: error: invalid operands to binary expression ('const CPDF_Dictionary *' and 'RetainPtr<const CPDF_Object>')
>       if (pAnnotDict == pDict)
>           ~~~~~~~~~~ ^  ~~~~~
> workdir/UnpackedTarball/pdfium/core/fxcrt/bytestring.h:227:13: note: candidate function not viable: no known conversion from 'const CPDF_Dictionary *' to 'const char *' for 1st argument
> inline bool operator==(const char* lhs, const ByteString& rhs) {
>             ^
> workdir/UnpackedTarball/pdfium/core/fxcrt/bytestring.h:227:13: note: candidate function (with reversed parameter order) not viable: no known conversion from 'const CPDF_Dictionary *' to 'const ByteString' for 1st argument
> workdir/UnpackedTarball/pdfium/core/fxcrt/bytestring.h:230:13: note: candidate function not viable: no known conversion from 'const CPDF_Dictionary *' to 'ByteStringView' (aka 'StringViewTemplate<char>') for 1st argument
> inline bool operator==(ByteStringView lhs, const ByteString& rhs) {
>             ^
> workdir/UnpackedTarball/pdfium/core/fxcrt/bytestring.h:230:13: note: candidate function (with reversed parameter order) not viable: no known conversion from 'const CPDF_Dictionary *' to 'const ByteString' for 1st argument
> workdir/UnpackedTarball/pdfium/core/fxcrt/widestring.h:285:13: note: candidate function not viable: no known conversion from 'const CPDF_Dictionary *' to 'const wchar_t *' for 1st argument
> inline bool operator==(const wchar_t* lhs, const WideString& rhs) {
>             ^
> workdir/UnpackedTarball/pdfium/core/fxcrt/widestring.h:285:13: note: candidate function (with reversed parameter order) not viable: no known conversion from 'const CPDF_Dictionary *' to 'const WideString' for 1st argument
> workdir/UnpackedTarball/pdfium/core/fxcrt/widestring.h:288:13: note: candidate function not viable: no known conversion from 'const CPDF_Dictionary *' to 'WideStringView' (aka 'StringViewTemplate<wchar_t>') for 1st argument
> inline bool operator==(WideStringView lhs, const WideString& rhs) {
>             ^
> workdir/UnpackedTarball/pdfium/core/fxcrt/widestring.h:288:13: note: candidate function (with reversed parameter order) not viable: no known conversion from 'const CPDF_Dictionary *' to 'const WideString' for 1st argument
> workdir/UnpackedTarball/pdfium/core/fxge/cfx_color.h:61:13: note: candidate function not viable: no known conversion from 'const CPDF_Dictionary *' to 'const CFX_Color' for 1st argument
> inline bool operator==(const CFX_Color& c1, const CFX_Color& c2) {
>             ^
> workdir/UnpackedTarball/pdfium/core/fxcrt/string_view_template.h:277:13: note: candidate template ignored: could not match 'StringViewTemplate' against 'RetainPtr'
> inline bool operator==(const T* lhs, const StringViewTemplate<T>& rhs) {
>             ^
> workdir/UnpackedTarball/pdfium/core/fxcrt/string_view_template.h:277:13: note: candidate template ignored: could not match 'const T *' against 'RetainPtr<const CPDF_Object>'
> workdir/UnpackedTarball/pdfium/core/fxcrt/observed_ptr.h:98:13: note: candidate template ignored: could not match 'ObservedPtr' against 'RetainPtr'
> inline bool operator==(const U* lhs, const ObservedPtr<T>& rhs) {
>             ^
> workdir/UnpackedTarball/pdfium/core/fxcrt/observed_ptr.h:98:13: note: candidate template ignored: could not match 'const U *' against 'RetainPtr<const CPDF_Object>'

Change-Id: Ibef9e5515dc466431741220adebec9c6e20850e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141154
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-10-10 15:00:02 +02:00
Christian Lohmaier
ff18bb9fe1 Update git submodules
* Update translations from branch 'master'
  to a06c7f55db473a521b3318327ada335be99a0a0d
  - add helpcontent2 for hsb and dsb
    
    Change-Id: Ifac433cf11a7f18f68f8235f014b51951d5408f1
2022-10-10 14:43:38 +02:00
Olivier Hallot
dae54fc666 Update git submodules
* Update helpcontent2 from branch 'master'
  to 01be581e707e83a5aaefd2174dc363c1b410ec08
  - tdf#151386 - Add preferred resolution for images in file properties
    
    Change-Id: I31abed704493b6d91ab3af192b9af4926110cad7
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141027
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-10 14:38:33 +02:00
Olivier Hallot
aba47d363b Update git submodules
* Update helpcontent2 from branch 'master'
  to 44ae617cb4f7eaae3eb4b06f5a61fdb1f751e061
  - Update list of conversion filters Help page
    
    Change-Id: I04ada8ae7d8776fad8569ec655d09667c36d986e
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/141157
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-10-10 14:34:38 +02:00
Christian Lohmaier
302fb7e73e Update git submodules
* Update translations from branch 'master'
  to df57c0c6513ed1118cc9a199c9d0f19625766e20
  - update translations for master
    
    and force-fix errors using pocheck
    
    Change-Id: I3b188be653b6e7bbd18d9c8e6d5cd1c33e0c6890
2022-10-10 14:30:05 +02:00
Rizal Muttaqin
8e8523018d tdf#151071 Revise Sifr
Change-Id: I47e286b1327ea8c34a11f05735bae087ced21dab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141149
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-10-10 13:47:52 +02:00
Miklos Vajna
82c6e059c2 sw: prefix members of SwOutlineTabDialog, SwSplitTableDlg, ...
... SwTOXEntryTabPage and SwTOXSelectTabPage

See tdf#94879 for motivation.

Change-Id: Iecc48926c7c8dbde8a87c991edc717d04cc19332
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141150
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-10-10 11:55:35 +02:00
Stephan Bergmann
7f231cde1b Missing test dependencies
> warn:vcl.builder:608521:608521:vcl/source/window/builder.cxx:480: DBG_UNHANDLED_EXCEPTION in VclBuilder
>     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: "file:///.../instdir/share/config/soffice.cfg/svt/ui/scrollbars.ui at xmlreader/source/xmlreader.cxx:67"
> warn:sfx.view:608521:608521:sfx2/source/view/frmload.cxx:494: DBG_UNHANDLED_EXCEPTION in impl_handleCaughtError_nothrow exception: com.sun.star.container.NoSuchElementException message: "file:///.../instdir/share/config/soffice.cfg/svt/ui/scrollbars.ui at xmlreader/source/xmlreader.cxx:67"

and

> warn:vcl.builder:609394:609394:vcl/source/window/builder.cxx:480: DBG_UNHANDLED_EXCEPTION in VclBuilder
>     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: "file:///.../instdir/share/config/soffice.cfg/sfx/ui/tabbar.ui at xmlreader/source/xmlreader.cxx:67"
> warn:sfx.view:609394:609394:sfx2/source/view/frmload.cxx:494: DBG_UNHANDLED_EXCEPTION in impl_handleCaughtError_nothrow exception: com.sun.star.container.NoSuchElementException message: "file:///.../instdir/share/config/soffice.cfg/sfx/ui/tabbar.ui at xmlreader/source/xmlreader.cxx:67"

Change-Id: I93a01404778718bbbcec1147b4716f3a7e3dedca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141148
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-10-10 11:44:13 +02:00
Caolán McNamara
5f6596bd12 Resolves: tdf#151441 queries don't show any content
Change-Id: I66ec14c7cb8816bc2181cc25f7d7f31fdc7d1604
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141146
Tested-by: Jenkins
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-10-10 10:26:44 +02:00
Rizal Muttaqin
a7683a16e9 tdf#151071 Revise Sifr
Change-Id: I2dba3af4e24f44211126b0648c921f24cb6ab3b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141144
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-10-09 23:07:18 +02:00
Noel Grandin
221d762600 simplify assignment
pSttPos and pSpellArgs->pStartPos point at the same thing
(and similarly for pEndPos), so no need to assign to them twice.

Change-Id: I45a99187d07b24afa0667154e121e32557a389d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141142
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 21:04:40 +02:00
Noel Grandin
b484e5d9e0 use more SwPosition::Assign
part of the process of hiding the internals of SwPosition

Change-Id: I20842b90d0abb4435d6b06970c2545229268e5e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141097
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 19:16:29 +02:00
Aron Budea
ca1378b655 "No List" option in Styles Sidebar doesn't remove list in non-English UI
In a list, with Styles sidebar open and List Styles selected,
the No List option did not remove the list if the UI language
was other than English.

No List entry exists since
a56aa46fcc .

Change-Id: I5210c07c811d08489c1b9a199f6756273153e05d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141092
Tested-by: Jenkins
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2022-10-09 18:30:34 +02:00
Noel Grandin
495788cedd use more SwPosition constructor
part of the process of hiding the internals of SwPosition

Change-Id: I074f72d9bd2bac82b71cdcc7cdf165f07417dd8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141140
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 15:02:04 +02:00
Noel Grandin
b9b184b3d4 use more SwPosition::Assign
part of the process of hiding the internals of SwPosition

Change-Id: Ibfd5e03966a96338e987b8794c49e6ac92f02153
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141141
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 13:48:50 +02:00
Noel Grandin
a46ccc36d4 avoid accessing nContent field of SwPosition
part of the process of hiding the internals of SwPosition

Change-Id: I04917cb80887e82b873f5e778fd9f54f0615b38d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141139
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 13:48:28 +02:00
Noel Grandin
8f9e625ebc use more SwPosition::Assign
part of the process of hiding the internals of SwPosition

Change-Id: I3b21c87b402fe0d4d0137fdb8d383a6e08189f9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141138
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 13:33:06 +02:00
Noel Grandin
dfac5bf18b tdf#151424 Spider web chart drawing error
regression from
    commit 333ccb081b
    Author: Noel Grandin <noelgrandin@gmail.com>
    Date:   Sat Feb 5 14:58:07 2022 +0200
    use more concrete types in chart2, Axis

Change-Id: Ib80bbec9f08b9fafa6ee1c8d0cace8b44fdadabc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141135
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 13:24:27 +02:00
Rizal Muttaqin
286347aec2 tdf#151071 Revise Sifr
Change-Id: I3415c7335697aba5f51098a981b9e083d72077fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141137
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-10-09 12:54:17 +02:00
Noel Grandin
1a86be9089 tdf#151417 crash in draw, activating Form controls
regression from
    commit 8611f6e259
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Thu May 27 10:27:46 2021 +0200
    ref-count SdrObject

Change-Id: I1798cead8ed72ad59799c40d0e99f3424f9e382b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141134
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 12:09:46 +02:00
Chris Sherlock
0d463de3ad vcl: pAnimView to pRenderer (clarify variable name)
Change-Id: I909aa5f3b2dd1c62d4fb1f8eb3ea0f5a2e4d7ed4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136434
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2022-10-09 11:27:36 +02:00
Caolán McNamara
f8afeb0e02 ofz#51852 Out-of-memory
Change-Id: I945bb7d7ed90e8f5f4c085b4527f1ec7a4c08eae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141126
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-10-09 09:48:53 +02:00
Noel Grandin
f17bd77105 use more SwPosition::GetNode
part of the process of hiding the internals of SwPosition

Change-Id: Ia080b5bf4ca622e3bf0279ba41d8ccdd11e0be8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141123
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-09 09:22:26 +02:00
Justin Luth
d72571fdd4 related tdf#148806 flatten filter/source/msfilter/msvbahelper.cxx
I don't like mixing big formatting changes with logic changes.

Change-Id: Id2dbdfd751ac86918fe39d6627aa9ce15c794323
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141113
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2022-10-09 01:10:59 +02:00
Justin Luth
e2abb5bbc0 tdf#148806 doc vba: accept module AutoOpen.Main
This is the lowest priority way of running AutoOpen,
and it only applies to Word, not Excel.

There is some code in basic/source/classes/sb.cxx
that was somewhat finding this before it got lost in LO 7.4
with commit beb6c62e99.

TODO: these AutoOpens should only run with a public sub,
not a private one.

Change-Id: I8a733cde13f96636942d84a0b05520692aac3e52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141094
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2022-10-09 01:07:23 +02:00
Rizal Muttaqin
1754b02e6a tdf#151071 Revise Sifr
- localization icons
- Fix/revise 32px text based icons

Change-Id: If57dc4413f42e9751dbc6f540e1135372f2d49f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141112
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-10-09 00:31:25 +02:00
Mike Kaganski
94df17f58f tdf#151429: don't convert OUStrings to system encoding
... just to convert back to OUString in the end.

Change-Id: I727d5e4c03d1a49f64bd5ca3d64157a9149cd9ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141125
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-10-09 00:16:51 +02:00
Eike Rathke
8cf717efbd Konkani is CTL, the other unknowns are not ("Western")
Change-Id: If6c9af6d4a6c7faee6231189014401314d1b1f25
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141124
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2022-10-08 23:01:13 +02:00
Noel Grandin
1868dd67c9 add another SwTextNode::CopyText variant
part of the process of hiding the internals of SwPosition

Change-Id: I79c21a370918566c7d93008a62ff9843d3bfe3fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141115
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-08 20:11:34 +02:00
Noel Grandin
0df9418318 use more SwPosition::Assign
part of the process of hiding the internals of SwPosition

Change-Id: If1aa807be2963ab81fd535e12cc6a705186a6672
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141111
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-10-08 18:14:40 +02:00