Commit graph

476301 commits

Author SHA1 Message Date
Miklos Vajna
410a64b472 sw: prefix members of SwEscherEx, SwWW8WrTabu, WW8_WrFkp and WW8_WrPlc0
See tdf#94879 for motivation.

Change-Id: Ia8f3150b7da815c7b5f253f76e65dada3ef8256a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135461
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-06-07 10:10:12 +02:00
Martin Srebotnjak
f30b49b82e Update git submodules
* Update translations from branch 'master'
  to 40da1e34cabf93b04d900b7b6ab501fb3160efef
  - Updated Slovenian translation
    
    Change-Id: If7fea40ad58b893757b644d670f1470c40dcbfde
2022-06-07 09:27:53 +02:00
Mark Hung
7f310b8c2d tdf#149365 tdf#149214 handle IVS and mix width chars
in Justify::SnapToGrid correctly, and use it in
SwFntObj::GetTextBreak() and SwFntObj::GetModelPositionForViewPoint()
to get correct text positions before any further calculation.

In fntcache.cxx a simple formula was used to calculate the average
width of text grids occupied by ideographs. That's incorrect because 1)
for strings containing Unicode IVS, a ideograph is composed of several
sal_Unicode and the length of the string is not the same as the number
of ideographs contained. 2) The average width doesn't work because
character width varies, like ideograph and half-width kana in the
test case.

Change-Id: I863e8d8e346f555ff184a2f47d615e513b965b34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135342
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-06-07 08:51:58 +02:00
Miklos Vajna
1f127a2b9e sw layout: allow negative page border distances
Writer follows the CSS box model when it comes to page borders: there
can be a positive distance between the edge of the page and the border,
and again a positive distance between the border and the body frame.

This ensures that the page border never intersect with the body frame,
which is usually what users expect. Word, however, can work with 2
distances for border and text, both measured from the edge of the page,
leading to a page border, which is inside the body text. This is
described at great detail at
<https://wiki.openoffice.org/wiki/Writer/MSInteroperability/PageBorder#Importing_case_3:>.

Fix the problem by allowing negative border distances: this doesn't
influence the position or the size of the body frame, but it gives us a
way to position the border more towards the center of the page, leading
the matching layout between Writer and Word.

The doc model (to allow negative border distances), UNO API and DOCX
filter is updated in this commit. The ODT filter works without explicit
effort. Other filters are not yet updated in this commit.

Change-Id: I723e1bdb8dc6391129f1686f88826cc089f6fd67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135462
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-06-07 08:45:46 +02:00
Stephan Bergmann
f4b6cee77e Use o3tl::make_unsigned, OString::getLength() is guaranteed to be non-negative
Change-Id: Ibddd4f2b3d8680c94fd0ab45f6ed6204215c6009
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135339
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-07 08:45:31 +02:00
Eike Rathke
f572585756 Update git submodules
* Update dictionaries from branch 'master'
  to 15c340d66842e3f99729e20686ffec28d36c2784
  - Related: tdf#147390 Add oc-FR-lengadoc to oc_FR/dictionaries.xcu
    
    And remove trailing whitespace and convert to unix line ends..
    
    Change-Id: I1fba3ef0c1b7e279f299a4adfd3fdffb7a9a60d4
    Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/135459
    Reviewed-by: Eike Rathke <erack@redhat.com>
    Tested-by: Eike Rathke <erack@redhat.com>
2022-06-06 20:36:50 +02:00
Eike Rathke
196f2b6f8e Resolves: tdf#147390 tag oc-FR to oc-FR-lengadoc, oc-ES to oc-ES-aranes
Change-Id: I849e8e2c6cf2a61b81b25c96b79478bc04907b5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135458
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-06 20:35:27 +02:00
Eike Rathke
1e022eb12e ScSingleRefData::TabValid: for absolute reference take sheets into account
Change-Id: I56e7e34f127345e2633b5bef07c2783ed8ffbbfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135456
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-06 17:55:58 +02:00
Eike Rathke
104596d005 Resolves: tdf#148163 Preserve names of bad cell reference input again
A regression of

    commit e247262327
    CommitDate: Tue Jul 30 23:49:55 2013 -0400

        More on avoiding direct access to data members.

that changed, for example, invalid sheet references

-                aRef.nTab = MAXTAB+3;
+                aRef.SetTabDeleted(true);

The then following

    commit 8a19af57bb
    CommitDate: Tue Jul 30 23:50:03 2013 -0400

        Now nobody accesses reference members directly. Make them private.

changed ScSingleRefData::Valid()

-    return  nCol >= 0 && nCol <= MAXCOL &&
-            nRow >= 0 && nRow <= MAXROW &&
-            nTab >= 0 && nTab <= MAXTAB;
+    return ColValid() && RowValid() && TabValid();

without taking the deleted flags into account, where previous to
commit e247262327 nTab > MAXTAB
fulfilled the condition of not valid.

This makes it necessary to adjust the
TestFormula::testFuncRangeOp() test case that relied on the broken
behaviour.

Change-Id: I42e769ca0d56a2eb786bb6f65917f0c15d082763
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135453
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-06 16:55:21 +02:00
Noel Grandin
d987918e81 improve field name
Change-Id: I78c1670589c21c047ba7a2eede86e46643e88f69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135451
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-06 15:51:11 +02:00
Adolfo Jayme Barrientos
e4035407c0 Update git submodules
* Update helpcontent2 from branch 'master'
  to 7b96772378358eba9af18e8bf3dd99c5d8042eba
  - tdf#149437 Help: Update “Equally” to “Evenly”
    
    See core commit 73dde4733f
    
    Change-Id: I4fab0377f68fc48dcc5958fd3369637353f8bc97
2022-06-06 15:14:53 +02:00
Noel Grandin
03e8b5e08d add comments to SvtBroadcaster about field sizes/packing
Change-Id: Ia01897ac1444e9ac905a0e383b892fa1478c2c33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135447
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-06 13:16:30 +02:00
Noel Grandin
81b3cd44e1 clang-tidy modernize-pass-by-value in basctl
Change-Id: I12adfacb8f04ee6f08bcc711cef09c5882ff0b15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135446
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-06 13:16:12 +02:00
Noel Grandin
af36f2c269 clang-tidy modernize-pass-by-value in accessibility
Change-Id: Ib0658b5a0bb33e5f990b8ce4bf25b2d9cef32505
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135445
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-06 13:15:50 +02:00
Andrea Gelmini
65908a6983 Fix typos
Change-Id: Icc97a5fdf00c9b8f267a2015a72c050438452105
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135441
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-06 12:38:58 +02:00
Andreas Heinisch
fbce18558a tdf#149402 - BASIC: Don't extend comment if line ends in a whitespace
Change-Id: I8adf530e77a0e65329fa59ac2873b99f48befac4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135336
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-06-06 10:24:20 +02:00
Luboš Luňák
d6752e02e3 make SfxStateCache::xDispatch up to date before using it
When e.g. having one image selected and then double-clicking on
the other one Execute_Impl() gets called with SfxStateCache still
having bSlotDirt and mxDispatch out of date.
I originally tried to make all mxDispatch accesses first ensure
!bSlotDirty, but then unit tests started failing with hard-to-debug
crashes because GetSlotServer() also sets bCtrlDirty, which leads
SfxBindings to handle that in idle timers. So at least handle this
case, where it really is necessary.

Change-Id: I4ec5908bc955c562e14cd813e269536924ce6f2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135344
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-06-06 09:48:20 +02:00
Andrea Gelmini
48646ab6d7 Fix typos
Change-Id: I36d81be6e591830ee3762a0d43357dbacd68ad93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135439
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-06 09:34:24 +02:00
Andrea Gelmini
365ac1c068 Fix typo
Change-Id: I313b07bb1a3c387abddcad85c997075bd584ae6f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135440
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-06 09:28:23 +02:00
Olivier Hallot
c2cea024a0 Update git submodules
* Update helpcontent2 from branch 'master'
  to 396d82a4d705d7b473f767816f970bffec74d33e
  - tdf#148817 Sparklines Help page.
    
    + add bookmark entry
    + update Calc Insert menu help page
    
    Change-Id: I76315d7c35a2a98731ef92d9090ebcba41f9e004
    Co-authored-by: Tomaž Vajngerl <quikee@gmail.com>
    Co-authored-by: Roman Kuznetsov <antilibreoffice@gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135324
    Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-06 03:45:32 +02:00
Eike Rathke
2ba57cd896 Resolves: tdf#148428 Add Dhivehi (Maldives) {dv-MV} locale data
Co-authored-by: Adam, M. A. <adam7171@gmail.com>
Change-Id: Ia8259d8ad67fd4105bffb752d0442102d6576f33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135438
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-05 21:41:23 +02:00
Caolán McNamara
2884ea0cca cid#1504664 silence Operands don't affect result
Change-Id: I9ec3ae0e8cb87ab8a98746b8e49fd3f969ea0bd9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135437
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 18:32:39 +02:00
Caolán McNamara
86d39afd85 cid#1504593 silence Dereference null return value
and

cid#1504597 Dereference null return value
cid#1504595 Dereference null return value
cid#1504666 Dereference null return value

Change-Id: I6054120575fb2769633177c36eb41c6798c4c648
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135436
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 18:32:19 +02:00
Caolán McNamara
264b78cbd7 assert if a model is used in duplicate widgets
we never do this deliberately

Change-Id: I6d6d8ea13fb5f09bcf631c0474e671d4605f4c69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135427
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 18:31:37 +02:00
Caolán McNamara
3cca2c6053 restore %PRODUCTNAME to accessible descriptions that need them
The original problem was that %PRODUCTNAME wasn't replaced for
accessibility descriptions (which are reused for extended tips) under
gtk.

Universally querying all a11y descs on load to potentially replace
%PRODUCTNAME in a11y descs at runtime led to tdf146971 which was a huge
startup slowdown.

The half way 7.3 fix was to leave a11y descs alone, but do the
replacement when querying for the extended tip case. So the extended
tooltips were ok, but screen readers would still say a raw
"%PRODUCTNAME" text, hence the rewording effort to remove %PRODUCTNAME
from the a11y descs entirely for 7.4.

But there is now a few cases where some options paths exists in the a11y
descs which is not exactly correct wrt to the text shown in the options
dialog.

Reworking the options dialog to not have %PRODUCTNAME there at all and
updating everything to fit that sort of change would not be popular. So
move the cases where a11y descs really should have %PRODUCTNAME in them
out of the .ui files and into .hrc files and use specific
set_accessibility_description calls for them via ResID which will do
the %PRODUCTNAME replacement automatically.

Hopefully the a11y runtime cost for just this handful of cases is
negligible in the overall scheme of things.

Change-Id: Ieb17d26fd581cd5804a52b371b3bb5ea43023aa3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135432
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 18:31:16 +02:00
Caolán McNamara
e6b5c2dc0b drop stray space before full stop
Change-Id: I50013a672cc953822845a2e02d038e75f51ef457
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135431
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 17:05:53 +02:00
Caolán McNamara
7e2a8abf0c liststore used twice by different widgets
Change-Id: Id4577af678addbc984f35b8e35efc2841f5ff6c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135433
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-05 16:45:26 +02:00
Jan-Marek Glogowski
3f8d3fd464 tdf#137471 Qt return frame pos + client area size
My code comment about "drawable area" and Michaels bug comment
12 about the "frameGeometry()" usage were both half right. LO
expects the window's frame position and the drawable client area
size almost everywhere when "geometry" is involved. The frame's
border is stored in the decorations members of SalFrameGeometry.

Change-Id: Ic00ad1f1d74d7afadcaca0c01e1a41ea7f2833de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135434
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-06-05 12:17:45 +02:00
Noel Grandin
e0e944a420 no need to allocate this separately
Change-Id: I30df477cd708d021fc5b6fcfa9925e1c99be6650
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135429
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-05 08:23:36 +02:00
Caolán McNamara
c1898a4d1b Duplicate object ID 'altname-atkobject'
Change-Id: I47c488ef5c192d464ef2661c4ff5473e98bb2208
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135430
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-04 22:22:29 +02:00
Noel Grandin
6aaa3e6175 tdf#149304 Stylist does not show upper/lower case font effects
SvxFont has code to handle these extra features, we just need
to call that

Change-Id: I45691efeeead3ea60ab838eeb081fa5f19a76b90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135428
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-04 20:33:18 +02:00
Jan-Marek Glogowski
428cc8da98 WIN refactor geometry updating
Change-Id: I34e710c022e6362dc2381327eb896610c35bcbf0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135425
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-06-04 20:25:54 +02:00
Jan-Marek Glogowski
434d471e9b Rectangle: move inline definition into functions
... and add GetPos() as TopLeft() alias.

Change-Id: Ia2c169d40ed121e829802835011648281f48f585
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135424
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2022-06-04 19:30:10 +02:00
Caolán McNamara
a717b1a8b6 this should call the base class enable_notify_events
Change-Id: Icc26f3adcb3273426e6892aafd16da23176e23de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135373
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-04 17:25:41 +02:00
Noel Grandin
395b2ca9fd elide some makeStringAndClear() calls
when we are passing the result to a string_view, it is pointless.

Change-Id: If2532f998343b49a2966e0c704f6f789af936e1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135371
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-04 17:18:03 +02:00
Caolán McNamara
8907b6a04e ofz#47759 Timeout
Change-Id: I8d6b1adb83963c229d71b9f593d39d8cd3e281e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135363
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-04 17:17:28 +02:00
Seth Chaiklin
9b211ff5e8 tdf#149242 more precise labels for left and right of paragraph text area
The existing labels refer to paragraph border, which is ambiguous
    about where the border is located. Meanwhile these labels refer to
    an area that is to the left and right of the paragraph text area,
    which is well-defined (and explained in help). The change is to
    indicate that these options position in relation to the regions
    that are to the left and right of the paragraph text area.

Change-Id: Ica033f8f48d47fb3f65a26f93ebede26b9cf80fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135161
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-04 15:59:39 +02:00
Seth Chaiklin
3a78fb5d75 tdf#148491 make Imagemap dialog consistent with Description
This patch is part of a general effort to use
  "Text Alternative" consistently in the UI.

  The control names in the Description dialog for
  Imagemap and the Imagemap dialog were both changed
  to "Text Alternative". Tooltips were also added
  for "Text Alternative" and "Description."

  No change was made to the extended tooltip for
  "Description", because this field is not exported
  to HTML at present (tdf#149013)

Change-Id: I2c5931efec93cff6b1ff1bf905de770d939b9b93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135155
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-04 15:58:30 +02:00
Seth Chaiklin
e1fd98e4d5 tdf#148941 add tooltips for “Text Alternative” and “Description”
Tooltips are added in the Options tab in the Properties dialog for
    images, frames, and OLE object. The extended tooltip for
    “Text Alternative” is corrected, and an extended tooltip for
    “Description” is added.

Change-Id: I8a14f3aa57aa7414ab2cf4251189d845269788d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135073
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-04 15:57:38 +02:00
Jean-Pierre Ledure
14c7bc1c90 ScriptForge - New 'UnitTest' service for Basic
The "UnitTest" service is implemented as a new
Basic library called 'SFUnitTests'.

ScriptForge unit tests (SF_UnitTest class module)
======================
Class providing a framework to execute and check sets of unit tests.

The UnitTest unit testing framework was originally
inspired by unittest.py in Python
and has a similar flavor as major unit testing
frameworks in other languages.

It supports
- test automation
- sharing of setupand shutdown code
- aggregation of tests into collections.

Both the
- code describing the unit tests
- code to be tested
must be written exclusively in Basic
(the code might call functions written in other languages).
The code to be tested may be released as an extension.
It does not need to make use of ScriptForge services.

The test reporting device is the Console.

Definitions:
- Test Case: each test case is a Basic Sub.
- Test Suite: a collection of test cases stored in 1 Basic module.
- Unit test: a set of test suites stored in 1 library.

Two modes:
- the normal mode ("full mode"), using test suites and test cases
  The UnitTest service is passed as argument to each test case.
- the "simple mode" limited to the use of the Assert...() methods.

Service invocation examples:
- In full mode, the service creation is external to test cases
        Dim myUnitTest As Variant
        myUnitTest = CreateScriptService("UnitTest", ThisComponent, "Tests")
            '    Test code is in the library "Tests"
            '    located in the current document
- In simple mode, the service creation is internal to every test case
        Dim myUnitTest As Variant
        myUnitTest = CreateScriptService("UnitTest")
        With myUnitTest
            If Not .AssertTrue(...) Then ...
            '    ...
            .Dispose()
        End With

Error handling
To support the debugging of the tested code, the UnitTest service, in cases of
- assertion failure
- Basic run-time error in the tested code
- Basic run-time error in the testing code (the unit tests)
will comment the error location and description in a message box and in the console log,
providing every test case (in either mode) implements an error handler
containing at least a call to the ReportError() method.

Change-Id: I9d9b889b148f172cd868af455493c8c696d1e953
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135365
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-06-04 12:08:36 +02:00
Rafael Lima
cfb5148b56 Update git submodules
* Update helpcontent2 from branch 'master'
  to 02043ac2c6e34f4ae96abe2bdc5737e35bc01e9e
  - Fix typo in AutoCorrect help page
    
    Currently the help page uses "Clear" for a checkbox option. However, "Uncheck" is more suitable here.
    
    Change-Id: If4a54e61ba96e5d9b4d76d175b165cb9a0cdbcbf
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135374
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-04 11:14:44 +02:00
Eike Rathke
5d47d2a493 Function Wizard: increase display length of array results
So if the dialog is widened the Structure tab can display more
details.

Change-Id: I857ca525fea8badc229328ab4c822b7de0b2cc0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135369
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-04 00:41:11 +02:00
Eike Rathke
198ceb02bc Function Wizard: use actual array separators to truncate result
... instead of hard coded ',' and ';'. And truncate / append "..."
after separator, not at.

Change-Id: I62f8c00f108165102d3b6a8b73b82774b8973a67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135370
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-04 00:21:26 +02:00
Xisco Fauli
c2a4a7a948 tdf#149378: sc_uicalc: Add unittest, follow-up
This commit also tests

- 6079bf6879
"Add binary operators to ForceArrayReturn handling, tdf#149378
follow-up"

- a15ce15709
"Propagate ForceArrayReturn only for Value parameters, tdf#149378
follow-up"

- bac202275b
"Propagate inline array only for Value parameters, tdf#149378 follow-up"

based on their commit description

Change-Id: Ie69868460ae87a67b31e0bd30a66644e89ea60ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135368
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-03 23:09:00 +02:00
Noel Grandin
a3d4f7e8fb tdf#146988 Opening at cursor position doesn't work in large documents
regression from
    commit 07021596ac (HEAD)
    Date:   Sat Jun 12 18:57:51 2021 +0200
    tdf#142242 Forename imported with trailing space

Change-Id: I792fbe5955de464f41ac61c85f1ca651121b4a99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135372
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 23:03:07 +02:00
Aron Budea
08850dbead Related: tdf#147844 still log the discrepancy
Change-Id: Iaed261c5b85ce507fb30b572eb08f09c89dda3e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135367
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2022-06-03 21:10:42 +02:00
Caolán McNamara
3b5f43a823 ofz#47781 Out of memory
Change-Id: I6ebd284bb3fa2c220b6a09fa9875b97c79f4a239
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135364
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-03 20:48:12 +02:00
Xisco Fauli
b72c0abac1 tdf#149378: sc_uicalc: Add unittest
Change-Id: Ie92b22ce664d667892e864598158618a0ee4ae6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135362
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-03 19:32:23 +02:00
Noel Grandin
5a6b4b4f28 clang-tidy modernize-pass-by-value in svl
Change-Id: I184efd7aee2c3eb02399100a4a7500951255d423
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135357
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 18:32:32 +02:00
Andrea Gelmini
f0b7b388ae Fix typo in code
Change-Id: I2c1f14d033a733210dfee617ecaa7a9cea07c4f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135352
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-03 18:32:13 +02:00