Commit graph

430746 commits

Author SHA1 Message Date
Miklos Vajna
cfa76f538a oox smartart, accent process: handle multiple runs from a data point
Multiple paragraphs indeed are impossible for those containers, but
multiple runs can happen.

Change-Id: I47a2f72cae4cbb822f31a5b7cd0169a663e2a6a8
Reviewed-on: https://gerrit.libreoffice.org/63732
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2018-11-21 21:22:14 +01:00
Miklos Vajna
67e062aa5e oox smartart, accent process: fix overlapping shape pairs
Linear algorithm had an idea how to take width from constrains, but that
was unused for embedded child algorithms.

Change-Id: If4c497e053ea0d134a1ffc529f1d233ec4fc50db
Reviewed-on: https://gerrit.libreoffice.org/63725
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2018-11-21 18:52:42 +01:00
Caolán McNamara
e37b7e8a47 processing treeview entries in the wrong order
Change-Id: Ica2240750273996a84ebcf0b8c089aedbbc6c913
Reviewed-on: https://gerrit.libreoffice.org/63711
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21 15:49:54 +01:00
Caolán McNamara
02b905c856 Resolves: tdf#121547 do normal dialog layout first
then, if still too small, re-layout with the bigger size

Change-Id: I1425e7a55dced4bd93e365a38383eda07fb16d16
Reviewed-on: https://gerrit.libreoffice.org/63706
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21 15:35:58 +01:00
Stephan Bergmann
7fb708ed9f Linkage::ModuleLinkage was only introduced in Clang 5
Change-Id: Ib27908cba00ca120b3bd2ea1dc291c29120a27a4
Reviewed-on: https://gerrit.libreoffice.org/63705
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-21 13:58:12 +01:00
Sophia Schröder
67dd7c6c9d Update git submodules
* Update helpcontent2 from branch 'master'
  - Help files: http -> https
    
    + some more conservative changes
    
    Change-Id: I4176d10e185e88217455a72e7e6b5910ff970b0f
    Reviewed-on: https://gerrit.libreoffice.org/63215
    Tested-by: Jenkins
    Reviewed-by: Sophie Gautier <gautier.sophie@gmail.com>
    Reviewed-by: Caolán McNamara <caolanm@redhat.com>
    Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21 13:46:12 +01:00
Sophia Schröder
073c2b6460 Update git submodules
* Update helpcontent2 from branch 'master'
  - Help files: http -> https
    
    + some more conservative changes
    
    Change-Id: I7b4bffc78fce6fe764a1746c060a403cb1b934eb
    Reviewed-on: https://gerrit.libreoffice.org/63217
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm@redhat.com>
    Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21 13:45:58 +01:00
Sophia Schröder
89b598e7db Update git submodules
* Update helpcontent2 from branch 'master'
  - Help files: http -> https
    
    + some more conservative changes
    
    Change-Id: If73a98d6296081843830f44b75f80657f25a97a9
    Reviewed-on: https://gerrit.libreoffice.org/63216
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm@redhat.com>
    Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21 13:45:45 +01:00
Sophia Schröder
b25aea3161 Update git submodules
* Update helpcontent2 from branch 'master'
  - Help files: http -> https
    
    + some more conservative changes
    
    Change-Id: Ib905881e92c64deb2f8b22be6dbded8b53d5f8ba
    Reviewed-on: https://gerrit.libreoffice.org/63197
    Tested-by: Jenkins
    Reviewed-by: Sophie Gautier <gautier.sophie@gmail.com>
    Reviewed-by: Caolán McNamara <caolanm@redhat.com>
    Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21 13:45:34 +01:00
Miklos Vajna
3625cdd3c0 filter: restore null entry at the end of msfilter services list
Regression from 0c3e10b840 (Replace macro
IMPLEMENTATION_ENTRY used once (filter), 2018-11-18).

Change-Id: I6138fc44ddeb33cf2e3f1d37faaf01fdd17c9949
Reviewed-on: https://gerrit.libreoffice.org/63696
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2018-11-21 13:40:25 +01:00
Noel Grandin
55e42805ea improve function-local statics in forms..reportdesign
Change-Id: I285e2e75c8d9cad35445c89f00ef68b155806ea2
Reviewed-on: https://gerrit.libreoffice.org/63703
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-21 13:00:02 +01:00
Noel Grandin
2dbd02b576 loplugin:redundantfcast improvements
check for calls to constructors, and extend the list of types we check
for unnecessary temporary creation

Change-Id: Ia2c1f202b41ed6866779fff5343c821128033eec
Reviewed-on: https://gerrit.libreoffice.org/63472
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-21 12:44:55 +01:00
Noel Grandin
48314f2524 improve function-local statics in basic..cui
Change-Id: If737e8478f6f1c8fffb060ce132d80e0f07ef8ee
Reviewed-on: https://gerrit.libreoffice.org/63701
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-21 12:28:23 +01:00
Caolán McNamara
e41667762b ofz#11472 Integer-overflow
Change-Id: I4776e416071e94468868847420c17d752d39c081
Reviewed-on: https://gerrit.libreoffice.org/63695
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-21 11:29:23 +01:00
Noel Grandin
2edc8c5343 tdf#121540 crash deleting a form from form navigator
regression from
    commit eec9f6c8b9
    Date:   Mon Jun 4 15:01:43 2018 +0200
    loplugin:useuniqueptr in FmEntryDataList

and rename the method to make the it's operation clearer

Change-Id: Ife366f02c3d8907c397345d825ef7d1721d8930c
Reviewed-on: https://gerrit.libreoffice.org/63694
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-21 11:25:25 +01:00
Noel Grandin
0acbfd466a loplugin, remove unnecessary filtering in post-processing
removing things that point to the same source location is only really
necessary for the method-based analyses, the other's dont need it, and
it can hide stuff we are interested in

Change-Id: Ib5c3b4c2ed4011c158a199fcd08096285976b831
2018-11-21 12:14:35 +02:00
Gabor Kelemen
40710c488d tdf#42949 Fix IWYU warnings in include/vcl/[B-E]*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Iabe571aa8f00492902c499094bea8365a3e17fca
Reviewed-on: https://gerrit.libreoffice.org/63623
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-21 11:02:04 +01:00
László Németh
836cbf3680 tdf#120711 fix paragraph join with change tracking
a DOC import regression caused by "tdf#119571 change
tracking: show layout changes at paragraph join"
(commit 1bbbe57dfc)

Change-Id: Id9c1efd4f4133a5b1860f33182312f95f5459da0
Reviewed-on: https://gerrit.libreoffice.org/63680
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2018-11-21 10:28:38 +01:00
Xisco Fauli
60e6593f04 tdf#117108: do not show the master view button after updating the sidebar
Change-Id: I3e6af9c2a555599e4aa288b8d6e99b43b09d35a6
Reviewed-on: https://gerrit.libreoffice.org/63570
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-11-21 10:24:15 +01:00
Jan-Marek Glogowski
231ee1cbaf Fix getColumnRows function declaration
regression from commit 457aba546f ("fix some dodgy static vars
in connectivity").

Change-Id: I0ab2162d4fa1b09b537c149c4af0f64a2252b64e
2018-11-21 09:46:51 +01:00
Arkadiy Illarionov
b80c56f279 Simplify containers iterations in svx/source/[a-e]*
Use range-based loop or replace with STL functions

Change-Id: I7a24407f9e8f38b4903a643210ca4511372d91f2
Reviewed-on: https://gerrit.libreoffice.org/63687
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-21 09:32:34 +01:00
Miklos Vajna
3ad881feaf connectivity Writer driver: make ProviderRequest members private
And two more trivial readability cleanups.

Change-Id: Ie79d9afbdc79260821c27c3f62be3e4635f40395
Reviewed-on: https://gerrit.libreoffice.org/63677
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-21 09:07:31 +01:00
Mike Kaganski
506173a7f4 tdf#112536 related: make soffice.bin a proper console application on Win
Being a GUI application on Windows (with related flag in the executable header
- see https://blogs.msdn.microsoft.com/oldnewthing/20090101-00/?p=19643/), OS
would detect the subsystem before launching the application, and won't attach
the parent console or redirected output handles from it to the application.
Also, different hacks to reattach the GUI application to the console later are
unreliable on different Windows versions, and work improperly (the output goes
to the console after the launch command has already returned, which is wrong
in batch files). This makes it extremily difficult to do CLI operations with
LibreOffice on Windows, with error codes/warnings/messages/output missing or
going to wrong consoles.

Making an executable for CUI subsystem, on the other hand, makes Windows to
allocate a console before starting it when the program is run by itself. This
makes the console window to appear on screen unconditionally, even if it's
hidden later when the program has started. This flashing is undesirable.

But we use a wrapper executable on Windows, called soffice.exe, which is what
actually launched by user, and which runs soffice.bin. This allows us to make
soffice.bin the proper console application, and thus make it capable to behave
properly in CLI scenarios, while avoid the console flashing when run from the
soffice.exe (which would suppress the console creation using DETACHED_PROCESS
creation flag to CreateProcessW).

Also creating a new wrapper for console (soffice.com) allows to use command
lines which omit explicit executable extension (no ".bin"), like this:

"C:\Program Files\LibreOffice\program\soffice" --help

which allows to continue using multiple available help resources unchanged,
since .com extension is tried prior to .exe by Windows' cmd.exe.

Change-Id: I089d0f30f860da6cfc781b4383f6598a08a4d238
Reviewed-on: https://gerrit.libreoffice.org/63572
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-21 08:19:38 +01:00
Noel Grandin
457aba546f fix some dodgy static vars in connectivity
no good reason for these to be static, and likely they will cause
trouble if this code is ever touched from multiple threads at the same
time

Change-Id: I3f29d3795bd1a059a75d0d1ab64b25478fd60121
Reviewed-on: https://gerrit.libreoffice.org/63662
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-21 07:36:17 +01:00
Zdeněk Crhonek
994a858d09 uitest for bug tdf#91726
Change-Id: I12dadaccf660cafb85f0a6e00d891f1dfd941ab0
Reviewed-on: https://gerrit.libreoffice.org/63684
Tested-by: Jenkins
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2018-11-21 07:24:26 +01:00
andreas kainz
de7d95da32 tdf#121401 calc keyboard navigation all notebookbars
Change-Id: I45ad8e210954714ed97442ab899de489d64ecf0c
Reviewed-on: https://gerrit.libreoffice.org/63691
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-21 07:06:02 +01:00
Markus Mohrhard
0abce68927 add test for tdf108022
Change-Id: I00868938738e30afc2b212c01ed36d5223401ceb
Reviewed-on: https://gerrit.libreoffice.org/63683
Tested-by: Jenkins
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-11-21 01:37:38 +01:00
Thorsten Behrens
2bf8469cbc Fix headless build on Linux
Conditional-compile some OpenGL-ness that crept in

Change-Id: I8d12f34db3b4875470a0d81e9ef6a1654153b206
Reviewed-on: https://gerrit.libreoffice.org/63676
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-11-21 01:07:43 +01:00
Jens Carl
29693c9c12 Bin obsolete header
Change-Id: I78a231024d90d36494cbd8e363da98fd3b420095
Reviewed-on: https://gerrit.libreoffice.org/63685
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-21 00:53:33 +01:00
Jens Carl
a0d1f5eca2 tdf#45904 Move XEnumeration Java tests to C++
Move XEnumeration Java tests to C++
for ScIndexEnumeration_TableChartsEnumeration.

Change-Id: Ibbfcf9ec92c3bae4d6add044d2e62472f32d801e
Reviewed-on: https://gerrit.libreoffice.org/63678
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-11-20 23:19:46 +01:00
Ilmari Lauhakangas
8c1540d575 Update git submodules
* Update helpcontent2 from branch 'master'
  - tdf#119415 Add placeholder text for index filter
    
    Change-Id: If7a0a863eb6b8bb95a5b6236f4f3d490739810a1
    Reviewed-on: https://gerrit.libreoffice.org/63672
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-11-20 23:02:31 +01:00
andreas kainz
12a878a251 tdf#121401 writer keyboard navigation all notebookbars
Change-Id: I66b384e57e3e6845bacfad34c5de1b6e5b437311
Reviewed-on: https://gerrit.libreoffice.org/63661
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-11-20 22:47:49 +01:00
Caolán McNamara
4853640c2e coverity#1441469 silence Dereference null return value
and

coverity#1441468 Uninitialized pointer field
coverity#1441470 Uninitialized pointer field
coverity#1441467 Unchecked return value

Change-Id: I485fb0b5a83838a3c4913a74b5ea3ae70b4f6bd1
Reviewed-on: https://gerrit.libreoffice.org/63663
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-20 22:05:28 +01:00
Mike Kaganski
0a060db0c2 Fix a copypaste error
Has been like this since commit 2d1ef8aa24

Change-Id: Idf0e05246f625befb4872e743b490a5594d24f8f
Reviewed-on: https://gerrit.libreoffice.org/63548
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-20 21:15:58 +01:00
Miklos Vajna
1ca4092922 sw reqif-xhtml export: write graphic of OLE object at OLE1 level
[MS-OLEDS] 2.2.5 EmbeddedObject actually has a last Presentation field,
and we didn't write it so far.

Luckily all the info can be extracted from the OLE2 container, so we can
roundtrip the OLE1 wrapper around OLE2 nicely.

Change-Id: I8d4922428dd5beeaae8b6cd4da0575db7014e4a2
Reviewed-on: https://gerrit.libreoffice.org/63667
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2018-11-20 20:30:07 +01:00
Mike Kaganski
18c3d7c4d2 Tidy up the --help text to properly fit into standard 80-ch terminal
Change-Id: I5b7f503e32c10b5a844817c040ab0dde27bf48f7
Reviewed-on: https://gerrit.libreoffice.org/63666
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-11-20 19:38:49 +01:00
Khaled Hosny
4765252777 Don’t split HarfBuzz runs for Japanese text
Change-Id: Ib1b632690ae8491732d893788c9b09ced8e49933
Reviewed-on: https://gerrit.libreoffice.org/63668
Tested-by: Jenkins
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2018-11-20 19:20:50 +01:00
László Németh
542d17d938 tdf#115319 fix Hungarian article before letter i
in words, for example “az Ipsum”, not “a Ipsum”.

This bug was reported by Gellért Gyuris.

Complete commit 1037e3759b
(tdf#115319 references with Hungarian articles)

Change-Id: If930feb11a0308246d2512f0093bcacdc8675d0b
Reviewed-on: https://gerrit.libreoffice.org/63637
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2018-11-20 18:18:41 +01:00
Roman Kuznetsov
6a65455788 tdf#121490 Hide item Standard (Viewing Mode) toolbar from menu
Change-Id: I9e3a071b9b5792a627a3c5b478ba16f0de386487
Reviewed-on: https://gerrit.libreoffice.org/63630
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-11-20 16:34:40 +01:00
Caolán McNamara
c03a70770e tdf#121538 index 1 never existed
Change-Id: I8493685ceab81a2bd07a3fc75b371a0f679695fb
Reviewed-on: https://gerrit.libreoffice.org/63651
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-11-20 16:29:15 +01:00
Jan-Marek Glogowski
f715d6156e Revert "Fix NSS parallel build"
For whatever reason this now fails on Windows for multiple
users (including myself). Doesn't look like an easy fix is
possible, so this is reverted until I find some more time
to look into it (or give up on it).

This reverts commit baf0d6d65d.

Change-Id: I432637131ba8ac8be614496bd6da0e157372ae94
Reviewed-on: https://gerrit.libreoffice.org/63664
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
2018-11-20 16:17:09 +01:00
Stephan Bergmann
d5ed903618 Set CppunitTest-related env vars only during CppunitTest
...and not for every target's recipe, once solenv/gbuild/CppunitTest.mk is
included

Change-Id: I710160def23fae5f93c5a67ab25e03fdaa008e00
Reviewed-on: https://gerrit.libreoffice.org/63655
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-11-20 15:49:16 +01:00
Andrea Gelmini
330a709899 Removed executable permission on odt file
Change-Id: Icece4e008b653ce334808e3bee968792c4c9e99c
Reviewed-on: https://gerrit.libreoffice.org/63646
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-20 15:33:02 +01:00
Noel Grandin
2b29217c58 clean up HelpLocaleString
to make it easier to read.

And fix the last two fall back cases, where it was assigning a different
value to aLocaleStr than it was returning, which means that it would
return a different value on the second invocation.

Change-Id: I6cac1ddd23b0a6a9e4ae8a0b9e7d94c0d877de39
Reviewed-on: https://gerrit.libreoffice.org/63642
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-20 15:25:11 +01:00
Samuel Mehrbrodt
9b3387f57d tdf#121537 Add test
Change-Id: Ifdf46dc79f9b3e2b5ab4c9635619a9d7f598affc
Reviewed-on: https://gerrit.libreoffice.org/63654
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-11-20 14:56:12 +01:00
Samuel Mehrbrodt
210fbfbbf8 Actually run CheckXTitle tests
@Test annotation was missing

Change-Id: I9e58026e5e131b18e35ab81d7927905316b58f11
Reviewed-on: https://gerrit.libreoffice.org/63653
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-11-20 14:53:21 +01:00
Réka Csékei
4610388a6c tdf#120563 Improve the preview of numbering with relative size
Fixes the preview on Customize tab page

Change-Id: If918522bda573c0f312b04592b4b7de957c9416b
Reviewed-on: https://gerrit.libreoffice.org/63649
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-11-20 14:48:58 +01:00
Noel Grandin
5e2322ec84 loplugin:unusedenumconstants improvements
add some unit tests, and improve the heuristics

Change-Id: I95aa97a87e178ce8d506bd245710d0ae66ad08a4
Reviewed-on: https://gerrit.libreoffice.org/63647
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-20 14:48:27 +01:00
Noel Grandin
9f0a4ae5de clean up s_bTriedCreation static bool
very weird code, no need for hiding this bool inside a method

Change-Id: I75ee67af32ab012fe5ab5ae766abc56212bb08e6
Reviewed-on: https://gerrit.libreoffice.org/63643
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-11-20 14:47:49 +01:00
Sabri Unal
85123ef1ce Related: tdf#121134: Changing http to https where possible
Change-Id: I99f5ce24743a14a78d24da8c64bc6f9adfda6c4c
Reviewed-on: https://gerrit.libreoffice.org/63615
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-11-20 14:04:30 +01:00