Commit graph

452530 commits

Author SHA1 Message Date
Noel Grandin
186c34af5d loplugin:flatten in sd
Change-Id: I57cf26d800d8d414014b88c250ee1cbd47551bc4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100007
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 21:54:13 +02:00
Noel Grandin
ece7781530 fix leak in ScCacheTest
and put the init/destruct in constructor/destructor instead
of setup(), we want this to run once, not for every test method.

Change-Id: I7d5fcdd2974677f1509048c16fb40d03dff289c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100004
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 21:51:00 +02:00
Caolán McNamara
7c40347371 ofz#24648 fix slkfuzzer
Change-Id: I3dce445038a29a622ceea2415e7736768a95206d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100029
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-03 21:42:23 +02:00
Markus Mohrhard
3258603e88 correctly mark the "New menu" dialog as modal
The dialog is called from a modal dialog which means a modeless dialog
does not make sense. Some of our internal dialog tracking code is confused
by that case which confused the UI tests.

Change-Id: I705877e8a751c55bfbd00ddeaf18ab86c95321c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99944
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2020-08-03 21:31:26 +02:00
Shivam Kumar Singh
f39f37326a tdf#134560 tdf#135107 make inspector contents human readable
This patch adds a dedicated hrc file for RID's
of all the properties that can be displayed in
the Inspector

Change-Id: I258ca060508e28b7b66e96393fcef4fd104bb781
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99983
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-08-03 21:26:47 +02:00
Stephan Bergmann
ab81dc6d57 -Werror=redundant-move
...now that GCC 11 trunk implements P1155R3 since <https://gcc.gnu.org/git/
?p=gcc.git;a=commit;h=1722e2013f05f1f1f99379dbaa0c0df356da731f> "c++: Implement
C++20 implicit move changes. [PR91427]", at least in -std=c++20 mode

Change-Id: Ie3c8f391fe4a6a99144ab35b2b29214ac5413fc8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99999
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-03 18:13:59 +02:00
Stephan Bergmann
482590eec8 Validate SELECT range
63049e98a6 "Reliably set up controls of hyperlink
dialog in constructor" fixed an issue that could cause Python UITest code to
issue a bogus SELECT request that would fire an assert in
rtl_uString_newFromSubString.  Even if that issue is fixed now, it is probably a
good idea to validate the requested range here.

(An alternative would be to validate it in the underlying shell's SelectText,
but that function is also called from internal code (which presumably already
ensures that it is passing valid arguments), so it is probably better to stay
with that function's narrow interface.)

It would probably be nice if this function reported failure (by throwing a
css::lang::IllegalArgumentException, say) instead of silently (modulo SAL_WARN)
clamping the range, but it is called from Scheduler::ProcessTaskScheduling
(vcl/source/app/scheduler.cxx) in a try/catch block that prohibits all
exceptions.

Change-Id: I5b7b4255861766a81a81501e391b1ff4e09b7db6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99933
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-03 17:17:14 +02:00
Olivier Hallot
0423647e69 Update git submodules
* Update helpcontent2 from branch 'master'
  to 8b7b468cfcb1591972ee2e47a295ee4cf86a46e8
  - Fix tag contents
    
    Found you finally...
    
    Change-Id: I71e11b570e31ad1cc470dfea3e54935e000d80f0
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/100011
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-03 17:13:17 +02:00
Stephan Bergmann
4ad4468675 Missing include (std::max; Windows --disable-pch)
Change-Id: I31d44c0a1791c58c0fc348fb2ec42fe2e2ec4323
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100003
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-03 17:11:42 +02:00
Stephan Bergmann
c379994973 Make test operate on copy of .odb file
For whatever reason, CppunitTest_dbaccess_hsqldb_test had recently started to
modify binary dbaccess/qa/unit/data/hsqldb_empty.odb in-place.

Change-Id: I07b5185ddf4b809ef1e1f977c5ab1c34e2e7f18a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100002
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-03 16:42:04 +02:00
Noel Grandin
f659ec61a2 loplugin:flatten in sfx2
Change-Id: I2ff95614c82a6ed79e5ac593c85473a78ee41a62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99969
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 15:53:55 +02:00
Alain Romedenne
bf657ce6f6 Update git submodules
* Update helpcontent2 from branch 'master'
  to f0fc51ab506034db25dd325a3b3b0e123af62e98
  - tdf131416 Basic syntax diagrams
    
    - Close, Get, Put and Open statements
    
    Change-Id: I09a89ededbf65c41a65e3d347111c9dac10cfdde
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99601
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-03 15:35:58 +02:00
Miklos Vajna
b7481a0263 oox smartart, linear layout: limit height of children to parent size
Constraints are OK to request more, but it seems PowerPoint doesn't
allow leaving the parent, which simplifies the layout as well.

Change-Id: Id67a8740f1eff506e4beae0c797ad50e0218dfe6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99993
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-08-03 15:19:15 +02:00
Olivier Hallot
d025b95b91 Update git submodules
* Update helpcontent2 from branch 'master'
  to dc36eea48b4a2120911d0f99322ff4a35ea39eb6
  - Update version 7.0 New features video
    
    Change-Id: I35fff323f6ccb6a035d87abcd8b08189276054e6
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/100000
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-03 14:39:34 +02:00
Noel Grandin
b83beb8481 use more explicit types in xmloff
instead of declaring them as a base-type, and then static-casting
everwhere

Change-Id: I53b901c5353bb39ca9a0357aa442f50d2f475e7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99995
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 14:10:00 +02:00
Noel Grandin
528dc27c3d rename Clear() to dispose() in SvXMLStylesContext
to make it "clearer" this is part of the memory cleanup on destruction
process

Change-Id: I789bdfa0323cf759ed4db2e2a657e73e581d9eed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99990
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 13:52:18 +02:00
Noel Grandin
22fda75243 fix leak in SvXMLImport
caused by a ref-counting cycle.

to reproduce the leak do

  make CppunitTest_editeng_core \
    VALGRIND='memcheck --leak-check=full \
--suppressions=$$BUILDDIR/solenv/sanitizers/valgrind-suppressions' \
    CPPUNIT_TEST_NAME="testBoldItalicCopyPaste"

Change-Id: I94dca092a75db8ddfaae4a210e1158fa066ed609
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99989
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 13:51:55 +02:00
Noel Grandin
dd6f377b38 avoid ref-counting cycle
this doesn't fix the leak, just reduces the number of cycles involved
here

Change-Id: I31eda167864dc8b5cea2448f598e01f3a807481a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99988
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 12:44:06 +02:00
Miklos Vajna
1de27900d2 sw: SwFlyInContentFrame, SwHTMLTableLayoutCnts, SwHTMLTableLayoutColumn ...
... and SwTextFly

See tdf#94879 for motivation.

Change-Id: I833b563a03824ae14014cdd418dcfd3b832a9a94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99984
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-08-03 11:58:02 +02:00
Arnaud Versini
e3d623ada3 BASIC : no need to initialize manually std::unique_ptr
Change-Id: I7e4780d41dd43383820cc3ae4ce5cfba24a53b7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99942
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-08-03 11:30:43 +02:00
Miklos Vajna
8806734121 oox smartart, linear layout: fix scaling of spacing without rules
With this, finally the arrow shape has the correct horizontal position
and width, even if the markup is as complex as the PowerPoint UI
generates it (the previous version was a more minimal version).

Change-Id: I59f237c582053067e890180a1ae40471e5f46dea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99894
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-08-03 11:17:17 +02:00
Noel Grandin
e54777276d loplugin:flatten in configmgr..i18nutil
Change-Id: Idaeed33df4f1dd1b2acbdaf8a895c5d56c3ca14c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99980
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 11:12:07 +02:00
Gabor Kelemen
32090b018d tdf#42949 Fix IWYU warnings in include/[t-x]*/*hxx
Recheck after 7-0 branchoff

Also drop the now unused file include/vcl/field.hxx

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I9e54c82f50d1e02a0f99858939cac999fc66f7de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99261
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-03 10:23:10 +02:00
Maxim Monastirsky
da09a3cf14 Remove pointless check
This check was originally introduced by me for a few toolbar
controllers (save, underline, currency), as an attempt to reuse
the same controllers also for non-split buttons (see tdf#98745
and tdf#101672). But since then it was copy-pasted to other
places where it probably makes no sense.

Change-Id: I7af2a3f5864ced88c91f330e87f32046d0c21383
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99960
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-08-03 09:58:50 +02:00
Maxim Monastirsky
e88cf047c7 Fix radio buttons in context menus for non-gtk3
The vcl implementation expects menu item attributes to be
set on the sub menu they appear in, not on the parent menu.

Change-Id: I7d6553126ed1dd5c1434529342b776aee01409a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99954
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-08-03 09:57:21 +02:00
Rene Engelhard
456d61ec52 fix build with (system-)cppunit 1.14.0
by #include <unotest/bootstrapfixturebase.hxx> so that CPPUNIT_TEST_FIXTURE
is defined

Change-Id: Iacbfb2f513df6e7eb7ca04f7900cd4e6b3fd69c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99963
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-03 09:37:30 +02:00
Noel Grandin
5ec8d154bf loplugin:flatten in vbahelper
Change-Id: I05ecaf86cd92dd764a3c19a62ce911eef632a0b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99967
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-03 09:22:08 +02:00
Heiko Tietze
e865acdcc9 Clean-up of abstdlg
Unnecessary functions removed

Change-Id: I32dab4b4c5fe8ff351277cbbd32e0b462443d031
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99959
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-08-03 08:48:51 +02:00
Olivier Hallot
39e83e2e42 Update git submodules
* Update helpcontent2 from branch 'master'
  to ed6ae5a833fbf4ce2c59a479d2c4b5ad818ab128
  - Fix errors after translators review
    
    Change-Id: I088a2a5e56cfd918f5418738fecb2cd98ab67526
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99949
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-03 01:49:01 +02:00
Johnny_M
8e9f8a427b Update git submodules
* Update helpcontent2 from branch 'master'
  to b735b9689e0cf53a480cf9da537f75349685f576
  - tdf#132643 Translate German section IDs
    
    Change-Id: Iefe83ed0bc3376ad1befbe8d3734654408be107d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99953
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-08-03 01:46:47 +02:00
Thorsten Behrens
c84764e08d tdf#134971 Don't overwrite default styles when inserting doc
Seems code never really bothered not to touch default style
info, when inserting from file. Original commit is:

 Author: Sascha Ballach <sab@openoffice.org>
 Date:   Wed Feb 28 08:24:41 2001 +0000

    import of default styles added

Change-Id: Ibb639a585bedabdcc5987900ecca1e04f4bb593a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99015
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-08-03 00:08:18 +02:00
Andrea Gelmini
7956d73cf5 Fix typo
Change-Id: I298d8c5aac6e340fb4d5c753abbd8fa80ffc9408
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99962
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-02 22:52:36 +02:00
Noel Grandin
33abb535a7 loplugin:flatten in UnoControls
Change-Id: I0702283083297fc956eb8bd5132a1144286e1fcd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99968
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-02 22:45:48 +02:00
Noel Grandin
e2644b0140 loplugin:flatten in writerfilter
Change-Id: Ifaa63738c4e38dddd385821f568911927d834f1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99966
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-02 22:44:54 +02:00
Noel Grandin
f0da01e59f loplugin:flatten in xmlsecurity
Change-Id: Ic9e410c77a04edbd58485d4177da22e17efa8720
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99964
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-02 22:44:36 +02:00
Noel Grandin
5ef5c1b294 loplugin:flatten in xmlscript
Change-Id: I326aa7ebea7925f580fd12c6c58f62e4add20d84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99965
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-02 22:44:21 +02:00
Maxim Monastirsky
0ba7063b3f Make gtk's get_sort_order return the same as the vcl's one
Change-Id: Ia6584b268cb7b53423c7ac3d353e07409e9a5dac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99952
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-02 22:08:29 +02:00
Caolán McNamara
f716fd1580 tdf#135369 on removing an image link, ensure the linked to image is in the list
If we removed something that is a link to a real file from our list of images
to pack, but that real image is not in the list of images to pack, add it in
instead so the real image does get packed

Change-Id: I71bcbdf872a59194a1d94f287dda8fc27e4a6464
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99961
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-02 22:07:00 +02:00
Caolán McNamara
36f5265b03 tdf#135368 change the mnemonic to point to our combobox replacement
Change-Id: Ib53b787399954e5be7e4b4080366fe64cc937de3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99958
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-02 22:06:36 +02:00
Caolán McNamara
94811eac3b tdf#135121 don't fill the rectangle in the transparent case at all
leave the area untouched

Change-Id: Icf195d383271b92f6523f8c6b6bc3b87fcae00be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99955
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-02 17:43:28 +02:00
Caolán McNamara
9445a5633b tdf#135098 assert/crash on checking IsSelected on cell being disposed
Change-Id: I32ce9fcca86de4608939d385f42c43afc46bfb7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99956
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-02 17:13:32 +02:00
Xisco Fauli
47ca84c47b tdf#119533: sc_subsequent_filters_test: Add unittest
Change-Id: I9131c8e2e1b7092f0c5b1dcdd7f9a93568ab8d12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99895
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-08-02 11:35:35 +02:00
Jan Holesovsky
425e29eb8c Revert "android: avoid expensive load of un-used sidebar icons on mobile."
Unfortunately we need this on Android for the tablets, otherwise the
sidebar lacks the icons.

Also it is not easily possible to use the isLOKMobilePhone() check here,
because that is per-view in general, and handled in sfx in particular,
making it hard to use here in vcl.

This reverts commit 9a38b194ee.

Change-Id: I2b599e884ad4d00b7c246743c180a5324c9a143d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99300
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-02 11:30:15 +02:00
Thorsten Wagner
4b1ecab984 tdf#133564: Text coloring of buttons within non key windows on macOS amended
Change-Id: I815fcf82440a7e5d14ae457cc659a5fe6a9f8c52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99946
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-08-02 11:00:57 +02:00
Andrea Gelmini
7b78aaf017 Fix typos
Change-Id: I90c9ecdaf262fe4e2d84af78b575a00c16634a7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99890
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2020-08-02 10:20:35 +02:00
Andrea Gelmini
0ef35ba898 Removed duplicated include
Change-Id: I3decadf858fd6d107efd6ac78e1b56f7195b4e91
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99776
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2020-08-02 08:46:59 +02:00
Mike Kaganski
dc5d8d39e2 Implement VBA's ListFormat.ConvertNumbersToText
This only handles lists with PositionAndSpaceMode::LABEL_ALIGNMENT.
TODO: handle PositionAndSpaceMode::LABEL_WIDTH_AND_POSITION.
TODO: handle NumberingType::BITMAP.

It doesn't align number according to Adjust, since that requires to
use a tab stop at the number position with appropriate alignment, and
it's unclear how would that interact with LabelFollowedBy modes other
than LISTTAB.

When first tab stop position is greater than ParaLeftMargin, Writer
uses left margin as implicit tab stop position, thus in this case
list appearance is different from processed text appearance.

In case of justified paragraphs, space after number (which does not
participate in justification when part of numbering) becomes part
of justification after conversion to text.

Change-Id: I88ad6617f8a09307ecad9d28edee92a59c68a4d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99939
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-08-01 18:50:11 +02:00
Caolán McNamara
0898838bc9 tidy up language a bit
Change-Id: I3bc840da190e50f03bbd1cc57f49fbdb809e4be5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99901
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-01 16:11:23 +02:00
Caolán McNamara
6beec0ec54 tdf#135325 previews missing content drawn via DrawTransformedBitmapEx
Typically in these OutputDevice methods, the record-to-metafile case the
MetaFile is already written to before the test against mbOutputClipped to
determine that output to the current device would result in no visual output
(due to the output being outside the bounds of the device).

In this case the metafile is written after the test, so we must continue past
mbOutputClipped if recording to a metafile. It's typical to record with a
device of nominal size and play back later against something of a totally
different size.

Change-Id: Id1249b10f919165582f7de65b4cdc4d48074abaa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99900
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-08-01 16:11:05 +02:00
Justin Luth
e6b0def979 NFC writerfilter: change m_nColumnCount to be the # of cols
Change-Id: I00f6fea1ee93bf2598d0cfde73fb2de17f0eb379

--- and not # of columns - 1.
Life is already too confusing to add that complication to it.

Not quite NFC. There is one place where a column
count of 1 would have set column separator/space.
I didn't think that would be necessary.

Change-Id: I87a7bfb5e746e8b7e4c57ddf40b0740d0ef35aba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99930
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
2020-08-01 14:41:27 +02:00