Commit Graph

446656 Commits

Author SHA1 Message Date
Armin Le Grand (Collabora)
5f61c9fe99 tdf#130478 Enhance Dashed line drawing on all systems
For more info and explanation including state of process
information and discussion(s) see task please.

Adding corrections for gerrit build

Change-Id: Ie10fb8093a86459dee80db5ab4355b47e46c1f8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88130
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2020-02-07 18:49:18 +01:00
Gabor Kelemen
1fb4887613 tdf#94234 Add Period as chart data label separator
Change-Id: I50b9662b22bdb10086e6aa557622566591135514
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88139
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
2020-02-07 18:47:21 +01:00
Tünde Tóth
a979047eef tdf#130380 Chart: Fix area chart data labels position
Regression from commit: f8966bb398
(tdf#130031 Chart OOXML import: fix area chart data label position)

Change-Id: Iafcbacb0ecf6f8a175adbf0782ee3e3a1185a726
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87881
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
2020-02-07 18:36:18 +01:00
Michael Stahl
cbfa11ab8f create-tags: Exuberant Ctags 5.8 lacks -D, try to detect that
Change-Id: I1abc60184e0e5b68c41f5a3517f0877889d8f43a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88195
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Michael Stahl <michael.stahl@cib.de>
2020-02-07 18:24:01 +01:00
Xisco Fauli
8d7b3398fc tdf#129789: Add unittest
Extend it to cover all fill styles in shown/hidden comments

Change-Id: I866d1b7f6248a5b5520348b249ed3cda4eec46dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88122
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-07 18:13:40 +01:00
Noel Grandin
c05680bd27 rename GetBaseOfstForFly->GetBaseOffsetForFly
Change-Id: Ieeeaa53d916e192e7219d7d3d405584a22249e7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88181
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-07 18:10:35 +01:00
Bakos Attila
affe9c8384 tdf#123873 DOCX IMPORT: fix unhandled textwrap for objects
The OLE objects (in this case charts) had bad wrap option setting
and this lead to misplaced objects. Now this parameter is set
according to the file.

Change-Id: I506be91b6801f0ffc3942e514f81119d895fdcb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88091
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
2020-02-07 18:05:08 +01:00
Michael Stahl
f73385982c sw: fix misnamed m_IsFootnoteInfo
Silly copypasta in f3bb701223

Change-Id: Idf20017a7eb180e6a9f429e6976cea8c13cff066
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88194
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
2020-02-07 17:09:56 +01:00
Caolán McNamara
06164bdf2f weld ImplGrafModeControl ItemWindow
Change-Id: Ib71436cf9ecb312ea9f273bb974954556868e613
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88189
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 16:16:44 +01:00
Caolán McNamara
efa883f058 rename URLBox back to SvtURLBox
Change-Id: Icd90eeb492002c45ddd8ff562a6da411abead122
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88185
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 16:03:10 +01:00
Maxim Monastirsky
36deee8c8d tdf#99693 Add Highlighting tab for Writer
Works with shapes and comments.

Change-Id: Ic2e4b3cf7decce493426bed1ec077cc97ea17bb5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88173
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-07 15:32:25 +01:00
Caolán McNamara
e982f2d4ad SvtURLBox is now unused
Change-Id: Iab78b3803272ceb62c4df74241b64f23b1437b03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88184
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 15:30:46 +01:00
Maxim Monastirsky
da7262415f reportdesign: Use .uno:UnderlineSimple
So we get a simple button, like it used to be before commit
c81afdb511 ("rework
TextUnderlinePopup to be a PopupWindowController"). The
dropdown doesn't work in reportdesign anyway.

Change-Id: I9cec636ecc983a353b807624cea6523a9a2b92ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88182
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-07 15:30:26 +01:00
Caolán McNamara
91f54b1990 weld URLBox ItemWindow
Change-Id: I7dad000404a188e2f5588b90d73ea9b1236bd301
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88183
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 15:30:15 +01:00
Andrea Gelmini
30ab660b07 Fix typo
Change-Id: I9bae8051b27eddca47ca5ffbd17006bf23d4f232
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88149
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-07 14:55:24 +01:00
Andrea Gelmini
27f4feab57 Fix typo
Change-Id: I2df1bab891cb1661da48ded41f0bc669fb4b0bbc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88147
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-07 14:54:35 +01:00
Andrea Gelmini
6a1cee7b09 Fix typo
Change-Id: Ia1cd4fc4e6f5cfbf327132cdd499cb42c1f7d3e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88148
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-07 14:53:36 +01:00
Andrea Gelmini
88fc1e0b3b Fix typo
Change-Id: I44241cf4c81543ad2a3091e3b19639f63e016cd8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88193
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-07 14:53:05 +01:00
Caolán McNamara
d32bf6ae1c remove unused suppressions
Change-Id: Ibee4281b884cf65a0f99ebd7a52087c6a5ebb66c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88177
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 14:25:31 +01:00
Noel Grandin
18403a20e7 move some headers inside svtools module
Change-Id: I62fe3345aebe148010971bc8c487d96fa601d420
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88164
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-07 14:23:01 +01:00
Caolán McNamara
0093d310dc weld GlueEscDirLB ItemWindow
Change-Id: I472ba595bb2f31bedf1d0e0a890024f9ac3ada39
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88176
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 14:11:27 +01:00
Jan-Marek Glogowski
069aa870aa neon: escape broken SharePoint 2016 URIs
SharePoint returns broken URIs in its href replies, which aren't
correctly URI encoded, but still "valid" URIs w.r.t. general and
UTF8 encoding, e.g. http://<host>/Shared%20Documents/ümlaut.docx

As a workaround, this allows all invalid / other bytes (except
'\0') in the path of the URI in ne_uri_parse.

Change-Id: I70e7d323837469d7ced429a42c009972f4fb0ebc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88120
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Tested-by: Jenkins
2020-02-07 13:36:49 +01:00
Mehmet Emin Başoğlu
91a3411bb7 tdf#54938: Adapt supportsService implementations to cppu::supportsService
Change-Id: I5484047a8b0e87d012ca3a37466b9ebf718257b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87494
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-07 13:34:45 +01:00
Caolán McNamara
43697b00a2 weld ScNumberFormat ItemWindow
Change-Id: Ib019912e91be617edbbcdf2fafb92d6685487b98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88174
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 13:29:55 +01:00
Caolán McNamara
d74487ec71 weld SwZoomBox_Impl
Change-Id: I3cf7046eeb5bf58afc8d1db06fd50d42c6131d40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88145
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 13:13:15 +01:00
Jan-Marek Glogowski
5c89198f69 neon: enable NE_DEBUG support for gb_ENABLE_DBGUTIL
This builds NEON with its debugging / logging facility, if
gb_ENABLE_DBGUTIL is set. This still has to be enabled in code by
calling something like ne_debug_init(stderr, NE_DBG_XML) to enable
and ne_debug_init(NULL, 0) to disable it again.

Change-Id: I85ea1cb2bd9586072d5a12a1cb809dd8c76b37d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88171
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-02-07 13:12:08 +01:00
Caolán McNamara
9b8180dfb7 remove unnecessary include
Change-Id: I205966f40472d187c63717ddf6e8153584c6b284
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88141
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 12:47:48 +01:00
Caolán McNamara
ed87f7e96b weld SwJumpToSpecificBox_Impl
Change-Id: I4c140bccf821b6ee0ce0e734cebae722267f5430
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88140
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 12:47:35 +01:00
Caolán McNamara
dbcdc5cd98 tdf#129809 take a reference in case m_aContents is replaced
Change-Id: I36ae74b6b3424bd2f0b71bc54838ec39e504b6d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88168
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-07 12:47:14 +01:00
Noel Grandin
dd9434929e use swap instead of copy and clear
Change-Id: I51aa680e66aa0a5186edadf9d5a2d57798be4103
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88165
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-07 12:36:45 +01:00
Sophia Schröder
0cbc61e2ae Update git submodules
* Update helpcontent2 from branch 'master'
  to 3533996771482653d9e38b6839ba79ca48164164
  - Visibility improvements
    
    + small cleanups
    
    Change-Id: Id8de3abf26a470525110e3940a6f266dcd4b8915
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88060
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-02-07 12:14:21 +01:00
Juergen Funk
127d8c2abc libxstl.dll: Reduce code when symboles enabled
Change-Id: I189ac6346758c4accadc6b268c321654ae151752
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88157
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-02-07 10:51:21 +01:00
Maxim Monastirsky
01bc1dfde8 tdf#99693 Add Highlighting tab for Calc
Works with shapes and comments.

Change-Id: I2a91a6038ab618bf7e6fd4eb2d129a9485a47fef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88163
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-07 10:49:04 +01:00
Michael Stahl
584c5827f5 sw: improve DOCX export of footnote separator
Don't only check the width of the line, but also the line style and the
thickness (0 is not visible).

Also there isn't a separate continuationSeparator in sw, so it should
depend on the same condition as the separator.

Unfortuantely Word doesn't support different separators per section.

Change-Id: I55cb3d82ff20c7a21f7d256ec8ba4a43f1e71faa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88131
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-02-07 10:37:50 +01:00
Noel Grandin
c81c383be7 loplugin:singlevalfields
Change-Id: I5d1b08532e6a4e444d61ff8ee1b913999df40ae9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88079
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-07 10:17:54 +01:00
Miklos Vajna
75a7932bb4 test: move component context from subclasses to BootstrapFixture
To avoid duplication.

Change-Id: I0ee7c26d5d55bd868ead04c77e7f4ef2582f90e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88138
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-07 09:13:50 +01:00
Luboš Luňák
3fd32d48bf add OpenCLZone in suitable places in Calc's OpenCL code
Change-Id: I0ce230a9a876c2f1fdbcd7ed81a1aba043cc5fb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88012
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-07 09:13:34 +01:00
Luboš Luňák
8a2a9d2809 add Skia crash zone checking
Just like with OpenGL, mark zones where Skia code may call into graphics
drivers in order to be able to detect cases where the driver has
caused a crash or a lockup.

Change-Id: I0fdbcc2260e3ab7821a595e9960145ae1fc1adfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88011
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-07 09:13:21 +01:00
Stephan Bergmann
d5fb841d29 Add missing test dependency on instdir/share/config/images_*.zip
...without which `make clean && make CppunitTest_sd_misc_tests` would fire

> cppunittester: vcl/source/gdi/bmpacc.cxx:38: BitmapInfoAccess::BitmapInfoAccess(Bitmap &, BitmapAccessMode): Assertion `xImpBmp && "Forbidden Access to empty bitmap!"' failed.

because

> #3  0x00007ffff6deba66 in __GI___assert_fail
> #4  0x00007fffd23c14af in BitmapInfoAccess::BitmapInfoAccess(Bitmap&, BitmapAccessMode) at vcl/source/gdi/bmpacc.cxx:38
> #5  0x00007fffd23c36fc in BitmapReadAccess::BitmapReadAccess(Bitmap&, BitmapAccessMode) at vcl/source/gdi/bmpacc.cxx:87
> #6  0x00007fffd23c89a0 in BitmapWriteAccess::BitmapWriteAccess(Bitmap&) at vcl/source/gdi/bmpacc.cxx:355
> #7  0x00007fffd3359a02 in Bitmap::AcquireWriteAccess() at vcl/source/bitmap/bitmap.cxx:388
> #8  0x00007fffd1cb15cf in vcl::ScopedBitmapAccess<BitmapWriteAccess, Bitmap, &Bitmap::AcquireWriteAccess>::ScopedBitmapAccess(Bitmap&) at include/vcl/scopedbitmapaccess.hxx:53
> #9  0x00007fffd3375fe6 in BitmapDisabledImageFilter::execute(BitmapEx const&) const at vcl/source/bitmap/BitmapDisabledImageFilter.cxx:28
> #10 0x00007fffd336ed1d in BitmapFilter::Filter(BitmapEx&, BitmapFilter const&) at vcl/source/bitmap/bitmapfilter.cxx:22
> #11 0x00007fffd34c1875 in ImplImage::getBitmapEx(bool) at vcl/source/image/ImplImage.cxx:123
> #12 0x00007fffd34c212c in ImplImage::getBitmapExForHiDPI(bool) at vcl/source/image/ImplImage.cxx:153
> #13 0x00007fffd34b3c7b in Image::Draw(OutputDevice*, Point const&, DrawImageFlags, Size const*) at vcl/source/image/Image.cxx:123
> #14 0x00007fffd1cec66e in OutputDevice::DrawImage(Point const&, Size const&, Image const&, DrawImageFlags) at vcl/source/outdev/bitmap.cxx:1388
> #15 0x00007fffd1cec1f7 in OutputDevice::DrawImage(Point const&, Image const&, DrawImageFlags) at vcl/source/outdev/bitmap.cxx:1372
> #16 0x00007fffd0ea7ca4 in ToolBox::ImplDrawItem(OutputDevice&, unsigned long, unsigned short) at vcl/source/window/toolbox.cxx:2696
> #17 0x00007fffd0ec629d in ToolBox::Paint(OutputDevice&, tools::Rectangle const&) at vcl/source/window/toolbox.cxx:3490
> #18 0x00007fffd003daed in PaintHelper::DoPaint(vcl::Region const*) at vcl/source/window/paint.cxx:309

wants to draw sfx2/res/symphony/morebutton.png

Change-Id: I9c21eb7891a6dfa29033618177c97370695e413d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88146
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-07 09:12:32 +01:00
Luboš Luňák
d87d528257 disable watchdog if using valgrind or debugger
It generally shouldn't activate if the process is progressing slowly
because of debugging.

Change-Id: Iacabe0fee762d5bf292582fdbb1a8f5ce67abb5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88010
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-07 09:12:25 +01:00
Luboš Luňák
ac9083f64f make isDebuggerAttached() public comphelper API
So that it can be used also from other places.

Change-Id: Iab90350fd02872ffde180ce74f01f7ff5e4448b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88009
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-07 09:11:45 +01:00
Luboš Luňák
397ad713cf merge OpenGLZone and OpenCLZone into one generic code
To be used also by Skia code to detect problems with Vulkan drivers.
The watchdog does not handle OpenCL because neither did the original
code, but also because OpenCLZone::hardDisable() called from it
would deadlock on SolarMutex for some reason.

Change-Id: I483d8cb0b11a4e1e65c564f4e4c29ab68843ff71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88008
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-07 09:11:32 +01:00
Tomaž Vajngerl
bfb08ca517 remove use of macro DeclPrimitive2DIDBlock in everywhere
Change-Id: I3fcba604ee3bc95274700ae7406f27e292cd09ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88154
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-02-07 08:25:41 +01:00
Stephan Bergmann
aa72601c8c Missing test dependencies
First, there was a SIGABRT due to

> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> Fatal Python error: initfsencoding: Unable to get the locale encoding
> ModuleNotFoundError: No module named 'encodings'

at

> #1  0x00007ffff6ddc8d9 in __GI_abort ()
> #2  0x00007ffd654459db in fatal_error (prefix=<optimized out>, msg=<optimized out>, status=<optimized out>) at workdir/UnpackedTarball/python3/Python/pylifecycle.c:2187
> #3  0x00007ffd654430fe in _Py_FatalInitError (err=...) at workdir/UnpackedTarball/python3/Python/pylifecycle.c:2206
> #4  0x00007ffd65443348 in Py_InitializeEx (install_sigs=1) at workdir/UnpackedTarball/python3/Python/pylifecycle.c:1041
> #5  Py_Initialize () at workdir/UnpackedTarball/python3/Python/pylifecycle.c:1048
> #6  0x00007ffd65d88a65 in pyuno_loader::(anonymous namespace)::PythonInit::PythonInit() (this=0x7ffd65da0820 <pyuno_loader::CreateInstance(com::sun::uno::Reference<com::sun::uno::XComponentContext> const&)::s_Init>) at pyuno/source/loader/pyuno_loader.cxx:229
> #7  0x00007ffd65d87b54 in pyuno_loader::CreateInstance(com::sun::uno::Reference<com::sun::uno::XComponentContext> const&) (ctx=...) at pyuno/source/loader/pyuno_loader.cxx:247

And then there was a failure

> postprocess/qa/services.cxx:318:(anonymous namespace)::Test::test
> forced failure
> - instantiating "com.sun.star.wizards.agenda.CallWizard" via "com.sun.star.wizards.agenda.CallWizard"  caused com.sun.star.uno.RuntimeException "<class 'ImportError'>: No module named 'wizards.ui' (or 'ui.WizardDialog.WizardDialog' is unknown), traceback follows
>   File "instdir/program/pythonloader.py", line 136, in activate
>     mod = self.getModuleFromUrl( locationUrl )
>   File "instdir/program/pythonloader.py", line 114, in getModuleFromUrl
>     mod =  __import__( dependent )
>   File "instdir/program/uno.py", line 356, in _uno_import
>     return _builtin_import(name, *optargs, **kwargs)
>   File "instdir/program/wizards/agenda/CallWizard.py", line 21, in <module>
>     from .AgendaWizardDialogImpl import AgendaWizardDialogImpl, Desktop
>   File "instdir/program/uno.py", line 356, in _uno_import
>     return _builtin_import(name, *optargs, **kwargs)
>   File "instdir/program/wizards/agenda/AgendaWizardDialogImpl.py", line 20, in <module>
>     from .AgendaWizardDialog import AgendaWizardDialog, uno
>   File "instdir/program/uno.py", line 356, in _uno_import
>     return _builtin_import(name, *optargs, **kwargs)
>   File "instdir/program/wizards/agenda/AgendaWizardDialog.py", line 18, in <module>
>     from ..ui.WizardDialog import WizardDialog, uno, UIConsts, PropertyNames
>   File "instdir/program/uno.py", line 434, in _uno_import
>     raise uno_import_exc
>   File "instdir/program/uno.py", line 356, in _uno_import
>     return _builtin_import(name, *optargs, **kwargs)
>
> "

Change-Id: I80160dccd162641e6a9d5633e45a498f230abfdc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88144
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-07 08:20:28 +01:00
Muhammet Kara
e9152974af clang-format cui with under 5-percent lines of change
Files which could become clang-format conformant with
under 5-percent lines of change relative to the total
count of lines in the file are found by using bin/find-clang-format.py,
and fixed with /opt/lo/bin/clang-format -i <path-of-the-file>

There will be follow-up patches to fix all 'under-5-percent' files.

Change-Id: I2886b6da85043218505ff9f3e40a8e28289c6f37
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88152
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-02-07 08:06:24 +01:00
Noel Grandin
c19e688b1a loplugin:unusedmethods
Change-Id: I7296b2fc2862d0ad1f68658b19b2a25cb7609df1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88080
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-07 07:18:48 +01:00
Tomaž Vajngerl
d1d3284411 put clang-format commits to .git-blame-ignore-revs
Change-Id: I9407ada626dbc81d53688d938948d45dc8927bb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88137
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-02-07 00:41:48 +01:00
Tomaž Vajngerl
98692ea6e0 use "pragma once" for *primitive2d.hxx
Change-Id: I7b6dff10cc02eaec81c9aececda86374fc61a8da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88136
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-02-07 00:41:39 +01:00
Muhammet Kara
cec7cd30fd Remove erroneous whitespace in update_pch
This was causing generation of code in violation of clang-format
conformance in these files:
 * xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx
 * connectivity/inc/pch/precompiled_ado.hxx

Also remove these 2 files from the clang-format blacklist.

Change-Id: I882028c0553a3ff7fb356611f498d50dea984a7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88143
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-02-07 00:07:31 +01:00
Justin Luth
87a8b2c0d1 GenericCommands: fix Fontwork tooltips
These were terribly confusing.

.uno:Fontwork does NOT insert fontwork text, despite the tooltip name.
It opens up the old fontwork dialog that modifies contour properties
so that the text can flow along the contour.
The UIname is Fontwork, so lets have an automatic tooltip for that.

.uno:FontworkGalleryFloater has a UIname of "Fontwork Style",
but the auto-generated tooltip was "Fontwork". (Notice that this
conflicts with the UIname of the other one. So when you add "Fontwork"
to your toolbar, and chose the icon with the tooltip "Fontwork" you
get a different item.) Since this one actually inserts text, and
doesn't actually modify any existing style (that's the function of
Fontwork Shape), lets give this one the tooltip "Insert Fontwork Text".

Therefore, this patch effectively switches the two tooltip names around,
which much better matches their function, and their UIname.
I expect that this was the original 2016 intention anyway...

At the end, I decided to also change the UIname to "Insert Fontwork",
since the gallery is normally added to insert menus...
The unit test I had to modify just looked like a functionality test
and had nothing to do specifically with the label's string.
(It was last changed for tdf#91781 which made no specific
reference to fontwork.)

This might help documentation bug tdf#118336 a bit too.

Change-Id: I152596781def2d8dba47f53e345976543e3131bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88101
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-06 23:11:39 +01:00