Commit graph

444059 commits

Author SHA1 Message Date
Christian Lohmaier
fafa1b740c update credits
Change-Id: I7f35a5dcb3d5c22439890163699e0c9999f256eb
2019-12-05 20:52:53 +01:00
andreas kainz
0d82d68b94 LO extension Dialog move Header and filters to the top
Change-Id: I8e48119cb1d9c9cd40a7b6de3ba335fa0a7e2bcc
Reviewed-on: https://gerrit.libreoffice.org/84564
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-12-05 20:38:54 +01:00
Andrea Gelmini
311041436a Fix typos
Change-Id: I53b5433470c567b4d53979ecdb0cef3def7c9fc0
Reviewed-on: https://gerrit.libreoffice.org/84565
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 18:54:21 +01:00
Andrea Gelmini
7eb5b4a0de Fix typo
Change-Id: I3c8a0d5fb2b17ccef3c931f13230f99b1945a4bc
Reviewed-on: https://gerrit.libreoffice.org/84566
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 18:52:38 +01:00
Samuel Mehrbrodt
069a45e661 Fix "Open Hyperlink" context menu in sc
Change-Id: I05fce087d20123447c1e5bd0f27db8d1c9ef3641
Reviewed-on: https://gerrit.libreoffice.org/84518
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-12-05 17:36:08 +01:00
Mayank Suman
574cfcacc5 tdf#97361: Removed getByTindex in Pyuno pytests
Change-Id: Idf2e8567a154b25b1625b9cd1651bd77cc684859
Reviewed-on: https://gerrit.libreoffice.org/80116
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-12-05 16:51:36 +01:00
Stephan Bergmann
d5acf921ef loplugin:redundantpointerops (clang-cl)
Change-Id: Ibba507b6c2986a529ae75ad84781825f161f2be5
Reviewed-on: https://gerrit.libreoffice.org/84511
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 16:24:24 +01:00
Samuel Mehrbrodt
f31c3ebb60 tdf#128666 Only enable hyperlink actions when just the field is selected
Change-Id: I984df967877a47fb9f89c3626737348a87d3ffa5
Reviewed-on: https://gerrit.libreoffice.org/84418
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-12-05 15:59:50 +01:00
Stephan Bergmann
c9a6d4bee7 loplugin:external: Check for DLLExportAttr also in VisitTagDecl
...to fix false clang-cl warnings like

> C:/lo-clang/core/cppuhelper/source/compat.cxx(113,29): error: externally available entity 'ClassData' is not previously declared in an included file (if it is only used in this translation unit, put it in an unnamed namespace; otherwise, provide a declaration of it in an included file) [loplugin:external]
> struct SAL_DLLPUBLIC_EXPORT ClassData {
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

Change-Id: Iacf96569e27772aa9e27221619516b1fb84dd665
Reviewed-on: https://gerrit.libreoffice.org/84514
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 14:40:14 +01:00
Tor Lillqvist
55eddbecb3 tdf#128468: The RulerTab::nPos is in twips
Do pass that as actual mm100 then.

Change-Id: Ifc9608aeee838172a18cc07aa1dbe0d7f3f5fb6a
Reviewed-on: https://gerrit.libreoffice.org/84473
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit a69f5b1386)
Reviewed-on: https://gerrit.libreoffice.org/84522
Tested-by: Jenkins
2019-12-05 13:51:06 +01:00
Tor Lillqvist
f77fd91dc2 tdf#128468: Add tab stop information to LOK_CALLBACK_RULER_UPDATE
Change-Id: I7872cdc3aabf66bb6d1df09f503274c698b64a4e
Reviewed-on: https://gerrit.libreoffice.org/84420
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 8a840463fc)
Reviewed-on: https://gerrit.libreoffice.org/84521
Tested-by: Jenkins
2019-12-05 13:50:44 +01:00
Tor Lillqvist
891b0c54ea tdf#128468: Add Ruler::GetTabs()
Change-Id: I785f8af1eec54f36721a354c4d3f82d8b86ceb86
Reviewed-on: https://gerrit.libreoffice.org/84419
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/84519
Tested-by: Jenkins
2019-12-05 13:50:21 +01:00
Stephan Bergmann
55e596956e loplugin:external (clang-cl)
...plus loplugin:consttobool and loplugin:fakebool fallout

Change-Id: Ie3d8121815c080b13bea6d9deca1eb138ca56138
Reviewed-on: https://gerrit.libreoffice.org/84515
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 13:31:39 +01:00
Stephan Bergmann
6a10149c5f New loplugin:unusedmember
* See comment at head of compilerplugins/clang/unusedmember.cxx for description.

* Moved isAllRelevantCodeDefined from loplugin:fakebool to PluginHandler for
  reuse.  (Made it a member function so that it can reuse its two
  RecordCompleteMap instances across different loplugins.  Probably safer
  lifecycle-wise to have them as PluginHandler members than to have them as
  static local variables in function isAllRelevantCodeDefined.)

* Need Plugin::ignoreLocation overload for TypeLoc now, thanks to
  UnusedMember::VisitElaboratedTypeLoc.

* UETT_PreferredAlignOf was split off UETT_AlignOf with <https://github.com/
  llvm/llvm-project/commit/6822bd79ac43f267613f1615bf60407103e24dba> "PR26547:
  alignof should return ABI alignment, not preferred alignment".

* RecursiveASTVisitor::TraverseAlignedAttr traverses into the attribute's
  argument only since <https://github.com/llvm/llvm-project/commit/
  f26d551387f032e05e5e6551605b150f38c3f5b2> "Do not look through pack
  expansions when looking for unexpanded parameter packs".

Change-Id: Ic2702b03d4567fa2533333766de7920f3c524a69
Reviewed-on: https://gerrit.libreoffice.org/84416
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 13:30:36 +01:00
Stephan Bergmann
e9e0ccae48 Silence loplugin:unnecessaryoverride (clang-cl)
("public virtual function just calls public parent")

Change-Id: Ifd8d6c794ae32af1fe5d2a97389ec87394fdffbc
Reviewed-on: https://gerrit.libreoffice.org/84512
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 13:29:47 +01:00
Olivier Hallot
413d86c173 Update git submodules
* Update helpcontent2 from branch 'master'
  - Fix image and icon dimension issues
    
    with svg icons, image must set width and height.
    
    Change-Id: Idce5d74e4f07277d7bff532d941bc5d62648b095
    Reviewed-on: https://gerrit.libreoffice.org/84557
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-05 13:10:56 +01:00
andreas kainz
65da5dffab add ConfigureDialog item in NB burger menu button
Change-Id: I926a0b5ff9cb09a8a05e60c0a86eb11a2a201073
Reviewed-on: https://gerrit.libreoffice.org/84503
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-12-05 13:04:52 +01:00
Tünde Tóth
d57b448090 tdf#127579 DOCX export: fix losing color and underline of ODT hyperlinks
using "InternetLink" in hyperlink/r/rPr/rStyle instead of the actual
character style, and keep actual character formatting in
hyperlink/r/rPr/rFonts, like MSO does.

Change-Id: Ic75c907eff422efbf96badcd2af50562cc3cbf25
Reviewed-on: https://gerrit.libreoffice.org/83676
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
2019-12-05 12:42:19 +01:00
Jan-Marek Glogowski
c0cdb01ef3 KF5 drop KF5FilePicker::execute
To prevent calls to Qt5FilePicker::updateAutomaticFileExtension,
it is simply made virtual with an empty override. This is needed,
because the KF5 file picker has its own automatic extension
handling.

The main motivation is the fix for tdf#129071, which will result
in some major changes to XExecutableDialog::execute, so this will
prevent larger code duplication later.

Change-Id: I5f747f0828cb8a65b4e7043f3ee68ebd31973e6a
Reviewed-on: https://gerrit.libreoffice.org/84297
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2019-12-05 12:28:37 +01:00
andreas kainz
81f01259df tdf#101513 arrangement of customizeable items in NB tabbed compact
Change-Id: Ibf1f958d2086b0a631097aee9f903aee202767c1
Reviewed-on: https://gerrit.libreoffice.org/84468
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-12-05 12:18:55 +01:00
Michael Meeks
e3795de3c1 create default shapes with square outline.
This avoids complaints of non-circular circles when inserted, and
trades them for complaints about non-elliptical ellipses; degeneracy.

Change-Id: I8a870b75ba1b8b7b2a7f9cc3de213e215ed5b95a
Reviewed-on: https://gerrit.libreoffice.org/84377
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
(cherry picked from commit 71f03dceb9)
Reviewed-on: https://gerrit.libreoffice.org/84392
Tested-by: Jenkins
2019-12-05 12:08:57 +01:00
Stephan Bergmann
282ccb6906 Fix various clang-cl and loplugin warnings in sal/qa/osl/file/osl_File.cxx
...after that file got re-enabled for Windows builds recently

Change-Id: I67c9e1676344d3754293595ec5a3c6093c0959c1
Reviewed-on: https://gerrit.libreoffice.org/84510
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 11:53:39 +01:00
Stephan Bergmann
302f0f948d -Werror,-Wnon-virtual-dtor (clang-cl)
Change-Id: I66967a6d79b0568557c67b26c3dc6c65f00db261
Reviewed-on: https://gerrit.libreoffice.org/84509
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 11:45:11 +01:00
Mike Kaganski
59c9ef36eb Update git submodules
* Update helpcontent2 from branch 'master'
  - IsObject is not limited to OLE objects
    
    Change-Id: I9506691e4f61c5b51a51b79a956db53aa59f95ac
    Reviewed-on: https://gerrit.libreoffice.org/84548
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-12-05 11:35:43 +01:00
Stephan Bergmann
bf8c34b528 -Werror,-Winconsistent-missing-override (clang-cl)
Change-Id: I2414729b9e5dfbafdc575c022517c12cef682e31
Reviewed-on: https://gerrit.libreoffice.org/84508
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 11:28:49 +01:00
Stephan Bergmann
b024d8bced -Werror,-Wmicrosoft-pure-definition (clang-cl)
("function definition with pure-specifier is a Microsoft extension").  Keeping
it pure but implicitly defined (by dropping the "{}" part) would cause
unresolved symbols during linking, so keep it explicitly defined inline but non-
pure (which should be fine as the class still has other pure members).

Change-Id: Ieff73fd5c9010164c202f752605890b78809caa6
Reviewed-on: https://gerrit.libreoffice.org/84507
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 11:28:00 +01:00
Stephan Bergmann
44be127235 Make sure external/skia include file doesn't define macro Yield
Caused build breaker on Windows at least with clang-cl and --disable-pch:

> In file included from C:/lo-clang/core/vcl/skia/gdiimpl.cxx:25:
> C:/lo-clang/core/include\vcl/svapp.hxx(487,5): error: declaration does not declare anything [-Werror,-Wmissing-declarations]
>     static void                 Yield();
>     ^~~~~~~~~~~

Change-Id: Ibadd59c99040c318c874d0eb6747006bfb5e248f
Reviewed-on: https://gerrit.libreoffice.org/84505
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-05 11:06:09 +01:00
Jan Holesovsky
eb15ac837e android: Avoid throwing exceptions through the bridges.
From some reason it does not work, so let's do the same we are doing on
iOS; at least for now.

Change-Id: I915f8683a112548fc3defc1114f9dce3aa7be30e
Reviewed-on: https://gerrit.libreoffice.org/84067
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/84204
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2019-12-05 11:02:01 +01:00
Noel Grandin
a8cd98c437 use o3tl::optional instead of pointer
Change-Id: I71084d668829fdaaf383319697d71b4299f9afea
Reviewed-on: https://gerrit.libreoffice.org/84500
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-12-05 10:47:47 +01:00
Caolán McNamara
5796b4f90b turn TimeFormatter::ImplInit into initializer list
Change-Id: I2f21241f753b1fe1300a284cc80a29911cd223ae
Reviewed-on: https://gerrit.libreoffice.org/84465
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-05 10:43:19 +01:00
Caolán McNamara
3d3cb7808b turn DateFormatter::ImplInit into initializer list
Change-Id: If58b8f5c65f7d920dd3a186cf648db605799b790
Reviewed-on: https://gerrit.libreoffice.org/84464
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-05 10:43:00 +01:00
Caolán McNamara
0c47fc7c05 no point setting mnDecimalDigits to overwrite it immediately
Change-Id: I1651ab51bebf7cfa88d55276f9aec337a903083c
Reviewed-on: https://gerrit.libreoffice.org/84463
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-05 10:42:24 +01:00
Caolán McNamara
cda2b94f6d turn NumericFormatter::ImplInit into initializer list
Change-Id: I5f936ea61a3e17bb534282e4649b21c0ae2565c8
Reviewed-on: https://gerrit.libreoffice.org/84462
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-05 10:41:49 +01:00
Caolán McNamara
2e838e80d4 turn MetricFormatter::ImplInit into initializer list
Change-Id: Iccb732517d7827eda1d8962d4dccdb3a01ebce78
Reviewed-on: https://gerrit.libreoffice.org/84461
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-05 10:41:26 +01:00
Caolán McNamara
35f234ec89 replace only use of GetDefaultUnit() with FieldUnit::NONE
Change-Id: Idf3cf6d0a361c67d4005d627f661ac49e0e3e9de
Reviewed-on: https://gerrit.libreoffice.org/84459
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-05 10:40:59 +01:00
Caolán McNamara
3a40b3649d the only call to MetricField::SetDefaultUnit doesn't change the default
so is of no use

Change-Id: Ibb1187183abff6b8dc26ed5011b43af1a86a7d04
Reviewed-on: https://gerrit.libreoffice.org/84458
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-12-05 10:40:38 +01:00
Tor Lillqvist
0fb2b9b23a Add comment about confusion in SwCommentRuler::CreateJsonNotification()
No code changes.

(cherry picked from commit 5b6d23dcd0)

Change-Id: Ibc46b3e55038e84f2ad80ff12b277b2e2c77a4ce
2019-12-05 11:26:00 +02:00
Andrea Gelmini
0027c01b3e Fix typo
Change-Id: Ibeac785fb1b1f30187fa5aa5350292bf96b307a0
Reviewed-on: https://gerrit.libreoffice.org/84489
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:25:07 +01:00
Andrea Gelmini
c5bbc59562 Fix typo
Change-Id: I567c703734fcd9679ae366d69fec4d43b57ad069
Reviewed-on: https://gerrit.libreoffice.org/84479
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2019-12-05 10:24:36 +01:00
Tor Lillqvist
5179450104 Add a comment telling what "frame margin" means here
Change-Id: Ie6d088217c066ec3091fb28925947175cf62634f
(cherry picked from commit 21b68c4cd7)
2019-12-05 11:23:22 +02:00
Andrea Gelmini
34dd3c0e4e Fix typo
Change-Id: I2edcb779a31f5e9a968222ed1d08bde9401e1a27
Reviewed-on: https://gerrit.libreoffice.org/84499
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:22:46 +01:00
Andrea Gelmini
d9ab0070cf Fix typo
Change-Id: Ibd0595eafc364b6e7ebc9a90e7c4a79d8a15d9d8
Reviewed-on: https://gerrit.libreoffice.org/84487
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:22:19 +01:00
Andrea Gelmini
c7d4de8e02 Fix typo
Change-Id: If61ec79ef2953a708aa786b78eeaac0e19676910
Reviewed-on: https://gerrit.libreoffice.org/84498
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:21:50 +01:00
Andrea Gelmini
862a0dbb45 Fix typo
Change-Id: Ib8cbd86cfc31fb02e2d596ae4f956ac03dde0d1e
Reviewed-on: https://gerrit.libreoffice.org/84488
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:21:12 +01:00
Andrea Gelmini
b8031a321b Fix typo
Change-Id: I6ac148b7ac98153cca56fb5d8cce91a7a6ab93d4
Reviewed-on: https://gerrit.libreoffice.org/84491
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:19:49 +01:00
Jan Holesovsky
7b267be4b2 headless: Don't leak the cairo context in drawPixel().
Change-Id: If841f655ac634eee2dc7ca6e9445d2f204546545
Reviewed-on: https://gerrit.libreoffice.org/84445
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 5b607ae89d)
Reviewed-on: https://gerrit.libreoffice.org/84450
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2019-12-05 10:18:44 +01:00
Andrea Gelmini
6b1afab2dd Fix typo
Change-Id: I54ab8a54f676c125649aa1f9915b1d80bc821e7b
Reviewed-on: https://gerrit.libreoffice.org/84481
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:12:34 +01:00
Andrea Gelmini
3618a6020d Fix typo
Change-Id: I95bdcf6ad6c7f6dc9e4772d20f941c332e778b80
Reviewed-on: https://gerrit.libreoffice.org/84495
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:11:52 +01:00
Andrea Gelmini
e989c3015e Fix typo
Change-Id: Idd7c5295314ef2a36f37125837c8276bb5feb4d2
Reviewed-on: https://gerrit.libreoffice.org/84494
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:09:09 +01:00
Andrea Gelmini
e5a72dfe6d Fix typo
Change-Id: I3cabc94a2916b1433285a7c725607fbda80cb8ac
Reviewed-on: https://gerrit.libreoffice.org/84476
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05 10:08:34 +01:00