100 Commits
Author SHA1 Message Date
Samuel Mehrbrodt eac00017e3 [API CHANGE] Do not call getaddrinfo if we just want the hostname
Similiar to afc41a467f ,
don't call getaddrinfo in getLocalHostname which calls DNS.

This causes a lag when creating the lockfile on opening a document
if the network is flaky/disabled.
See tdf#97931 and tdf#47179 for some problems caused by this.

For the one case where it is expected to call DNS, add a separate function
to restore the old behavior.

The (semantic) [API CHANGE] is in osl_getLocalHostname,
it does no longer return a FQDN.

Change-Id: I43455715a474ff6770351d1ce007c28aeb08f32e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107554
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2021-04-19 09:22:57 +02:00
Samuel Mehrbrodt ac14ed9f26 Don't show HiddenParagraphs by default
Showing them means that the layout is different from what is printed.
This probably shouldn't be the default.

The similiar HiddenCharacter is also false by default.

Change-Id: Id68408463ccbceab18b73ac78f24d1b4b4cbeaeb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107385
Tested-by: Jenkins
Reviewed-by: Oliver Brinzing <oliver.brinzing@gmx.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-12-10 16:50:42 +01:00
Samuel Mehrbrodt afc41a467f Do not call GetAddrInfoW if we just want the hostname
Calling 'gethostname' already gives us the current host name on Windows.
For some reason, if that name does not contain a dot, GetAddrInfoW is
called, which "provides protocol-independent translation from a Unicode
host name to an address".

So all this function does, is returning an address for a hostname,
while we still only need the hostname and not the address.

This causes a lag when creating the lockfile on opening a document
if the network is flaky/disabled.
See tdf#97931 and tdf#47179 for some problems caused by this.

Change-Id: I0c543ea12c23506b2daa50da40bae1a471f6fe16
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107513
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-12-10 14:21:15 +01:00
Samuel Mehrbrodt 16976c4082 Move dot into its place
Appeared on a separate paragraph before.

Change-Id: I738f4874074996c96218bf60162bfa76c8c6cf8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107465
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-12-09 14:38:45 +01:00
Samuel Mehrbrodt 0504e7d9ff Fix "single print jobs" function in print dlg
Did not work at all

Change-Id: I388ce579691a1e7ad2eff8420c2f8b6b3e939ef0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106665
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-11-26 13:25:05 +01:00
Samuel Mehrbrodt 3f4d96767f Make "uno:Printer" actually work
Needs to handle the "PrinterName" argument.
This can be used in macros to change the default printer.

Change-Id: I5d451843a5b15cda6db031c8a3a40bbc310d9107
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106653
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-11-26 09:41:36 +01:00
Samuel Mehrbrodt 75ec00583e Separate uno:Printer and uno:PrinterSetup handling
Change-Id: I669bea397c5b9f4afa665a97f50182f3357340df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106654
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-11-26 09:32:45 +01:00
Samuel Mehrbrodt a49600eb41 uno:Printersetup: Allow preselecting a printer
When calling "uno:Printersetup" from a macro, allow preselecting a
printer in the printer setup dialog by passing the printer name
as an argument "PrinterName"

Change-Id: I6b435f52a4123dc7fd49f6d771052ff1b8e743c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106634
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-11-26 09:12:18 +01:00
Samuel Mehrbrodt 2e2c162b7a Add 'SinglePrintJobs' to PrintOptions
So that this option can be set via UNO API

Change-Id: I0b69162661a4327d59aaed82d5eff98cb50d852c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106593
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-11-26 08:51:57 +01:00
Samuel Mehrbrodt 6df0e538ff Remove unused ScrollBarBox from tabpage
This displays an empty rectangle at the upper left of the tabpage.

Change-Id: I8424a3f8ec4896814b135aa2c86012f0b33ee1be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106480
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-11-24 10:04:18 +01:00
Samuel Mehrbrodt f39e4b6b6f Revert "tdf#127471 Remove font width scaling hack"
This reverts commit 8891a2fc2a.

Reason for revert: Causes regressions like tdf#136891

Change-Id: I940c447bec38231b666eeac4212f09e22117504e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104847
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-10-29 10:13:54 +01:00
Samuel Mehrbrodt 93c833e848 Use idle to update preview in print dlg
Otherwise UI blocks while the preview is being updated

Change-Id: I98c536b83a31e9ea3f72effc8a602ee190a81e68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103951
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-10-06 08:01:55 +02:00
Samuel Mehrbrodt 22a1f51add Fix typo
Change-Id: I2893137c047502a61924136191dee84d65dbfbeb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103104
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-09-21 16:12:53 +02:00
Samuel Mehrbrodt 3eb5318ed9 tdf#136423 make SwXDrawPage::group work with a single shape
No reason this should not work (and the implementation in Draw/Impress/Calc
also works this way)

Change-Id: Ic5bc7420e9025b45ed848dccf68b112c0c6c2cd5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101842
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-09-03 10:45:25 +02:00
Samuel Mehrbrodt f706f8d494 Improve exception when shape with illegal anchor is given
Change-Id: I24cb57b39511db3523f776463a832513a1aae0d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101843
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-09-02 09:06:19 +02:00
Samuel Mehrbrodt 2c7bf3543a Related tdf#100492 Detect click into empty field
Change-Id: Ic2937d619a8361b9d17b7dfa16698a5005f34ec6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101076
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-08-24 07:34:25 +02:00
Samuel Mehrbrodt 8891a2fc2a tdf#127471 Remove font width scaling hack
Which causes distorted fonts in certain cases (see bug report).

Fix was suggested by Ilhan Yesil at https://bugs.documentfoundation.org/show_bug.cgi?id=127471#c6

Change-Id: Ie644f56f0835ffad9230f981d2927d6b4c17453d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100970
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-08-19 10:33:07 +02:00
Samuel Mehrbrodt e2c81bdf6f Handle input fields in layout/nodes dump
Change-Id: Ib552cd678cde4048ceca4cc85c0d0347fbcf54b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100580
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-08-13 15:29:45 +02:00
Samuel Mehrbrodt 6a32706e7c Add "All supported files" filter to extension add dialog
Did you know you can install xcu files directly via extension manager?
Now it should be easier to discover...

Change-Id: I9a96708fd13f762b20916540e6fa9b87bb582677
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100176
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-08-13 09:39:59 +02:00
Samuel Mehrbrodt 74012c48d9 LayoutManager: Document available properties
Change-Id: I1ce4a4d00383bf7ebe91482cd29828da778dc43d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100464
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-08-11 11:12:11 +02:00
Samuel Mehrbrodt 92e816e08a Fix android build
After d4ff756769

Change-Id: If0549633fbc35b2cc6a42458b7671103f2939379
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98624
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-07-13 12:41:34 +02:00
Samuel Mehrbrodt 3cfc390ecd tdf#134646 Remove "nearest paper matching" feature
This was introduced with da62b0feb6 to find
the best paper size for user defined page sizes.

However, this leads to problems with Impress: Slides have screen sizes which
have no relation to paper sizes. For the slide site "Screen (16:9)" the
page size "Executive" is the nearest matching size.

However, this paper is (though supported by printers), very uncommon.
We do not want the nearest matching paper size the printer supports, but
rather we want to fit the slide on the printer default paper.

Note that finding a matching print paper still works (and it even has some
fuzzy matching), so some sort of "nearest paper matching" still exists,
(but with sane limits).

Change-Id: Ie60023d64b251954aa50e8bbdd36f6a290b9f278
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98396
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-07-13 07:38:22 +02:00
Samuel Mehrbrodt 69e3b647d2 Revert "tdf#128526: Make the read-only notification a bit more verbose"
This reverts commit 6c102b0a12.

Reason for revert:
The Infobar has an "Edit Document" button which lets you edit the document without first saving it in another place.
So at least in that place this verbose message is confusing.

Change-Id: I3bcdd389a560ac4c8ee0f86ca13573bbc05f2ebb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98075
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Jenkins
2020-07-09 12:38:26 +02:00
Samuel Mehrbrodt cb21c44b01 Docs: Add missing property
Change-Id: I1f4a0602f23cba86adbf627b0881ae5034db0af8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98188
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-07-09 11:06:37 +02:00
Samuel Mehrbrodt 70f9c3b8f0 tdf#134472 Only add spacing in header when flag is set
Flag was set, but not evaluated in 9b5805d1ef

Change-Id: I46f19945be521e886baa0fc9a9a419d88c0915fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98224
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-07-07 07:49:57 +02:00
Samuel Mehrbrodt 63f3485b57 tdf#130151 Fix toc pointing to wrong page
Change-Id: I26c1027722613f751bd39fde97f1e14d3238eefa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97413
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Jenkins
2020-06-30 07:58:20 +02:00
Samuel Mehrbrodt 29cb36cbee tdf#97694 Add test for macro signature preservation in Base
Change-Id: I35fb8d499eed66f9a5e208a4778a1f0f12637079
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93630
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-06-23 16:06:55 +02:00
Samuel Mehrbrodt 9b5805d1ef tdf#128195 Keep spacing below last paragraph in header (docx)
Add a layout compat option to keep the spacing below the last paragraph
in the header in doc/docx files

Change-Id: I259511183a8252e04d9951357dbdd4f4832523ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94577
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-06-15 14:42:59 +02:00
Samuel Mehrbrodt bed8c65ca4 Fix variable name
Change-Id: I307f4bca16cc54de8c049df570ba36c635f4e4d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93713
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-06-09 10:13:50 +02:00
Samuel Mehrbrodt 89cb33dde0 tdf#131572 Add java 9 module info for unoloader.jar
Add a java module named "org.libreoffice.unoloader" for this jar.

Require this module from org.libreoffice.uno
(libreoffice.jar has unoloader.jar in its classpath,
so add the same dependency to the modules)

Change-Id: I7471d65ac7a0d2c6a11c002027a21f0c441dd1f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94419
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-05-27 11:40:40 +02:00
Samuel Mehrbrodt 941b567a41 tdf#131572 Add java 9 module info for libreoffice.jar
Add a java module named "org.libreoffice.uno" for this jar.

This needs to be compiled with Java 9.
But since we want to keep b/c with Java 8,
the rest of the jar has to be compiled with Java 8.

This bumps the *build* requirement to Java 9 while keeping
the *runtime* requirement at Java 8.

The gbuild JavaClassSet class is changed to invoke javac twice,
where the 2nd invocation compiles with --release 9 and a --patch-modules
argument so that it finds the results of the first invocation and also
the javamaker generated files in CustomTargets.

Change-Id: I888f5dbe097cc37136e68db5919939877c981862
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91105
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-05-27 11:40:20 +02:00
Samuel Mehrbrodt 8dedb05881 Use convertTwipToMasterUnit instead of hardcoded number
Change-Id: Ief34c9f041d491ffdb5efc2d888cf6f77de7b27b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94104
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-14 09:59:40 +02:00
Samuel Mehrbrodt 9c4048b188 tdf#79082 Improve ppt tab import/export
Import/export the paragraph tabs without any text offset,
tabs are relative to the text box anyway.

Change-Id: Ife3b762e7581548e65500c16259a4481cc07a88f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94101
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-14 09:59:11 +02:00
Samuel Mehrbrodt 47c81498c6 Increase max ppt levels to 10
ppt files created with PowerPoint 2013 have that many levels

Change-Id: I51fd84c6462b7c8d77417c958469804eb10a0a8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94054
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-13 08:45:09 +02:00
Samuel Mehrbrodt fa0d576378 Fix 32bit linux build
Change-Id: I4faf3fb20c632163f98264d162bbf85f80b3603d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93797
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-11 08:34:20 +02:00
Samuel Mehrbrodt 6e31ddbe83 Add comment about insertion order
Change-Id: I650316c0c4bc31a861b3d96586a6a0aae57bd054
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93537
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-07 09:24:28 +02:00
Samuel Mehrbrodt 4021fedf75 Test keeping element order in EventContainer
Change-Id: Ic33d8a83305f70bb3eb60f44da0d9ac0d2b47e16
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93570
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-07 08:43:03 +02:00
Samuel Mehrbrodt 74459c7d62 Revert "remove some "optimisation" insanity in ScriptEventContainer"
This broke the event order in basic dialog xml,
which in turn broke macro signatures.

This reverts commit 85f08e3e34.

Change-Id: I49ef2eb200571a0fd862770abc4331b6ea053e2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93564
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-07 08:41:43 +02:00
Samuel Mehrbrodt 35518c9236 Move all public Java classes to libreoffice.jar
This moves the classes from juh.jar and ridl.jar to libreoffice.jar

The goal is to have one single jar (and Java module, will be added later)
which developers can include to work with LO.

juh.jar and ridl.jar are kept as basically empty jars with libreoffice.jar
on its classpath to keep backwards compatibility.

This is a continuation of ae855bf481
and a preparation to have Java 9 module support.

Change-Id: Ifbbfb97f60373d14256e62ae3122913bd17d5bbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91930
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-06 14:48:21 +02:00
Samuel Mehrbrodt 2c14bbd582 tdf#79082 Export paragraph tab stops to ooxml
Change-Id: I7d25dc1ab3c960aafc07a3be69b54f5aceef23fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93462
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-06 07:50:21 +02:00
Samuel Mehrbrodt f3fc0116ff tdf#79082 Add test for correctly importing tab stops from ppt
Change-Id: Iafccbe50e6e00e3a4c5155dabf898c12e8b8176c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93397
Tested-by: Jenkins
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-04 10:35:23 +02:00
Samuel Mehrbrodt cf36fe5eb4 Remove unnecessary if block
And format code inside

Change-Id: Ied0d98935134bf6f7bc8c929645ad5faac9affa3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93116
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-29 09:23:49 +02:00
Samuel Mehrbrodt 9be543a27a tdf#119087 Don't treat OOXML strict namespace as custom XML
Change-Id: I5037ac09f57c92e02e330cbc906da3afbe4c747c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93056
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-29 07:06:08 +02:00
Samuel Mehrbrodt ff93e4977c tdf#131936 Correctly detect OOXML variant on import
Change-Id: I29a6b0454bf741ce8ad49078597b3412a83dedb9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92278
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-23 12:00:28 +02:00
Samuel Mehrbrodt 29575dc6a4 Add config to disable individual infobars
In some deployments users want to disable certain infobars
to not interfere with their workflows.
Also, there are individual users who want to disable certain infobars
for various reasons.

This could be a generic config setting where you can set a list
of Infobar IDs which should be disabled.
That however would require knowledge about the internal IDs which
are not exposed (and might even change over time).

So instead, add a config option for each known infobar where we suspect
users might want to turn it off.

This list might change over time.

Change-Id: I13f0456435b59aafe929a46498de5a8847f138e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92638
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-04-23 10:59:42 +02:00
Samuel Mehrbrodt 3fb1477de1 Mention that this is the "OOXML Transitional" export filter
Make it clear that this is not "OOXML Strict"

Change-Id: I025e982c12e66a3088ce9ee093382df02a88ff9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92375
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-23 10:41:46 +02:00
Samuel Mehrbrodt 7dbff6fa55 Fix storage access after saving
Change-Id: I2cd664ac2ca5e80c566efee35bd34e7223501d75
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92605
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-21 09:03:01 +02:00
Samuel Mehrbrodt 919bd3e78c Fix macro signature getting lost when inserting data into table
Change-Id: Iec514bfc0edd4f10a09809c68b8501667d978e52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92573
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-04-21 01:00:01 +02:00
Samuel Mehrbrodt 9152aed780 Move Word compat option where it belongs
Change-Id: I6b28c6782f22190b7b22b11361c200d68d672aea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92347
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-04-17 17:36:17 +02:00
Samuel Mehrbrodt 8cb04bde0a Fix autorecovery using wrong directory
Autorecovery should save in the user profile
in the "backup" directory. However, when that directory
did not exist, the temp directory was used instead.

Fix this, and create the requested directory if it did not exist.

Change-Id: Ie298855a740932bc6e6c9f62d4b4bf1b52b80c58
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92402
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-17 12:10:52 +02:00
Samuel Mehrbrodt 1289ef1040 Enable trailing-blanks compat option also for OOXML filter
Change-Id: I6d338f881f1450be87bedf9ab9aaf24eeed2052d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92257
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-04-16 11:27:12 +02:00
Samuel Mehrbrodt bf88d6d02d GetObjectShell() can return null
Change-Id: Ie410688c124d6653fc58fa9e63bd5dd3b46bf8ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91979
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2020-04-09 20:01:05 +02:00
Samuel Mehrbrodt 65404e2c72 Move is*Locked methods to object shell
They depend on the model, not the view.
Follow-up to 523922ee9d

Change-Id: I429bc25b8dd4f04ebf62eddd5ef455b5161e925d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91867
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-09 11:14:15 +02:00
Samuel Mehrbrodt 792c730f3c Related tdf#97694 Fix macro preservation on Windows
Change-Id: Ief183c75e0c3ce6c42868b7c60c5f66f9684d743
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91795
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-08 12:11:20 +02:00
Samuel Mehrbrodt 523922ee9d Fix edit button still appearing in Calc
... even when editing readonly docs was disabled.

Viewshell was not yet available at this point, so
move the code where it belongs, into the object shell.

Change-Id: I71cbaf9c912beeeb0b8177538999049f7f8b4e03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91832
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-08 07:30:17 +02:00
Samuel Mehrbrodt 8d27d495a7 Related tdf#97694 Preserve macro signatures in Base
Change-Id: I139ac003d1c95144e6cb1beec774f3cf142625b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91466
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-04-01 12:31:16 +02:00
Samuel Mehrbrodt 1ec7b4ae86 Fix reading ODF version
Change-Id: I5787737d3f689fba93bf4be56c018967b5e37ab1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91407
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-31 09:08:19 +02:00
Samuel Mehrbrodt 6c89715b7d Related tdf#97694 Show dialog when signed macros are blocked
Change-Id: I7b9dd4872a58eff93ab8818f0286781c6ff4c9bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91385
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-31 09:06:44 +02:00
Samuel Mehrbrodt 033b1d4665 Remove outdated comment
Macro signatures are evaluated since f2f93434f4

Change-Id: I83eb84bc96e466da58fa77067f07245b023ebbe7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91406
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-31 08:41:08 +02:00
Samuel Mehrbrodt 79b578b7f8 tdf#101652 Add config option to prevent disabling readonly mode
There are various cases where people don't want users to
be able to turn off readonly mode, so add a config option for it.

Setting this option will remove the "Edit document" button from
the readonly infobar and also disable the "Edit mode" menu entry.

Change-Id: I7988da5b181455f778a6ab148e6bf32182c72618
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91144
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-30 09:36:50 +02:00
Samuel Mehrbrodt be0f2c5bce Fix indentation
Change-Id: Ic53ea0f324be1d0441922cff7113465bf199bbf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91143
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-30 07:15:15 +02:00
Samuel Mehrbrodt 4af18ebae9 tdf#131280 Fix endless invalidation loop on documents with form controls
Restores a condition which was removed in 8de98e61fb

Change-Id: I68a9f8a362d2ded9975e7c73e2a0533aa5ad9e94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91053
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-25 16:25:43 +01:00
Samuel Mehrbrodt 35d3d6bb3b Add missing autogen.input entries to README.cross
Change-Id: I8bb100478d88136d55a9b076464489f5d66c2ad7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91052
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-25 16:25:14 +01:00
Samuel Mehrbrodt cc76ac6b9e No more --disable-gtk
Change-Id: I80da384871f96e05e348c734a96e825f0b58278d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90925
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-24 07:11:54 +01:00
Samuel Mehrbrodt f2f93434f4 Related tdf#97694 Check Base macro signatures on load
Change-Id: I45c6eae633c41585c6c7e4c5fff0b187a6dc1f60
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90908
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-23 16:14:12 +01:00
Samuel Mehrbrodt 3741d70743 Some more checks for correct screen size
Change-Id: Id5a811e4227052fd9117ab2b099de31e8e3b90c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90413
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-16 16:55:01 +01:00
Samuel Mehrbrodt 10136818b4 Some more places to check for AllowOverrideLocking option
Change-Id: Id09f691ef7e3fbae03771a43af1c7b1d940365bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90554
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-16 11:55:23 +01:00
Samuel Mehrbrodt 3621c927b4 Add option to disallow opening files locked by other users
Change-Id: I316b80a56b0d6dcb257fbc805fbac3afc93472ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90425
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-16 08:44:15 +01:00
Samuel Mehrbrodt 643a1492bd Add some fallback minimum size when screen size detection goes wrong
Change-Id: I97ec2359b8ae406e310a5d043ac068ddd89b3fd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90320
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-03-11 17:19:25 +01:00
Samuel Mehrbrodt eeeed08b42 tdf#125440 Allow raising text import dialog for paste
This adds an entry to the "Paste special" dialog to raise
the Text Import Dialog.

This way, users can correctly import CSV/TSV,
even when pasting just one line of formatted input.

Change-Id: Ic09d7d60a05b14906f166668b38ec0eb8ead2d19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89886
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-11 12:43:44 +01:00
Samuel Mehrbrodt dc4a291b90 tdf#125440 When inserting TSV, consider quotes as field markers
The problem is that this is "plain text" from the clipboard format,
but actually contains TSV (tab separated values). So treat them accordingly,
so that each value gets its own cell.

Change-Id: I0029e6ace90fc542c3269dd82bb7531654157a69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87194
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-11 12:43:35 +01:00
Samuel Mehrbrodt c185263f45 tdf#126742 Don't change visible area while retrieving it
This leads to funny size changes in embedded calc docs

Change-Id: I2c4a0fbebb782faae7508e7d61c8da9d440a5916
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90247
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-11 08:58:15 +01:00
Samuel Mehrbrodt 2b7e24334c tdf#131184 Allow comparing text ranges in table with body text
Change-Id: I191d8778d362cd28474eea6d18bfe40044887e30
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90086
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-03-09 10:33:04 +01:00
Samuel Mehrbrodt 531f078f33 tdf#130917 Invalid document after odt->docx with signatureline
Change-Id: Idf80c41f1315e0690dabd5e8566b62fc64c3ee1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89692
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-28 17:29:47 +01:00
Samuel Mehrbrodt 6d9cf22b22 tdf#130793 Fix import/export of image URLs
Change-Id: I329af3b0d5a81d9f31def9c2ad861d0e83e3714c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89388
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-26 06:40:23 +01:00
Samuel Mehrbrodt 5e8b6d3b72 tdf#130760 Fix crash when clicking link to other slide
Change-Id: Ie8b0cfb852fe1abc49b80b1d2d9d2c3be1241701
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89332
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-24 12:05:12 +01:00
Samuel Mehrbrodt 91df0fcf76 Turn fprintf into warning
so that this does not show up in release builds

Change-Id: I7d95a85e596818fcdafbf37891f3e0ae24aa7155
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88952
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-20 09:59:10 +01:00
Samuel Mehrbrodt a9634d6cb3 Revert "Don't display reload as toggle command"
Turns out the reload toggle is used to turn off html documents meta refresh
https://www.w3schools.com/TAGS/att_meta_http_equiv.asp where LibreOffice honours that html refresh and toggling this off will stop it doing that

This reverts commit 89b80daec9.

Change-Id: I6928a693d5ffde9ea01020be4e59631e8b10be93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88793
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-20 09:58:26 +01:00
Samuel Mehrbrodt e24585ec2a Add menu entries for field/bookmark protection
Change-Id: I5e0a194698a85e81089a929a0979e2b4022555e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88612
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-17 08:10:42 +01:00
Samuel Mehrbrodt 89b80daec9 Don't display reload as toggle command
File->Reload was displayed with a checkbox, suggesting the command would toggle something.
Of course it does not.

So remove this code which makes the command appear as toggle command.

Change-Id: I5dd87fd82524e211e0d3444b14bc22dc4469de2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88731
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-17 07:40:45 +01:00
Samuel Mehrbrodt b36dfb1135 Add tooltips for protect bookmark/field commands
Change-Id: I54954c20766bae2112571d92ad760f71d3bf2060
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88611
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-14 07:26:30 +01:00
Samuel Mehrbrodt 4a5c627e61 Add uno cmd to protect bookmarks in a document
Change-Id: I7cc0dfa2b129d69d49b555495d77c2c710689e94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88586
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-13 15:39:22 +01:00
Samuel Mehrbrodt 087d9191ab Add uno cmd to protect fields in a document
Change-Id: Ifb9f757111a6fcbb283d2350ed2ccd42de19d5df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88585
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-13 14:49:15 +01:00
Samuel Mehrbrodt d92463c88a tdf#130325 Fix listbox used as dropdown
In this case, the listbox is not used as a static widget,
also not as a combobox with dropdown.
Instead the listbox is placed in a popup to choose values from.
Need to handle this case similiar to the combobox dropdown
(Cursor movement only travels through items, Return selects one item).

Regression from 7de9417d5f

Change-Id: Idadc3da5847e12e1408203b13ab59eb53fe14eea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88581
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-13 10:16:40 +01:00
Samuel Mehrbrodt faa59a82ce Cleanup: Move unit tests to ridljar
Follow-up cleanup for ae855bf481

Change-Id: Ibec2fe89d70d6001af7d75c5eb4081b5b2af30e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88073
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-10 09:48:05 +01:00
Samuel Mehrbrodt 57eee86bab Cleanup: Move files to ridljar
These files are now part of ridl.jar instead of jurt.jar,
so move them accordingly.

Follow-up cleanup for ae855bf481

Change-Id: I01df60d99f5296b6252b260f52160c3e62f4b8dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88007
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-10 09:46:43 +01:00
Samuel Mehrbrodt c161478ed5 Allow opt-out from document events check
Commit b3edf85e0f added a warning on load
when a document binds events to a macro.

This adds an option to restore the old behavior, so that the warning only
appears when a document actually has Macros.

Change-Id: I5ad398d3d503a0954a746f4cba150f68630b820c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87961
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-02-04 22:19:41 +01:00
Samuel MehrbrodtandStephan Bergmann ae855bf481 tdf#117331 Merge jurt and unoil into ridl
jurt.jar and unoil.jar are kept as effectively empty jars, each with a

  Class-Path: ridl.jar

in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or
without also loading ridl.jar) will still have access to their content.

Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi)
are not part of the URE, but are now made available by URE's ridl.jar.  This
should probably not cause problems in practice.

At least for now, we seal exactly those packages in ridl.jar that were
originally sealed in jurt.jar.  Ideally, all of ridl.jar could be sealed now,
but that would be mildly incompatible, as it would prevent 3rd-party code from
introducing additional UNOIDL entities in the relevant namespaces (even if that
is something we do not want 3rd-party code to do anyway).

However, some JunitTest_jurt_* define classes in those sealed packages.  In the
past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt.
Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the
gb_JunitTest_use_jar,*,ridl.  But the former only makes available the classes
that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the
UNOIDL entities specified via gb_Jar_add_packagedirs.  But the tests need the
udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests
get them explicitly.  (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use
gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets
leave that for a follow-up clean up.)

As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/.

Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a
Co-authored-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-04 22:03:54 +01:00
Samuel Mehrbrodt dabb617640 Place button text in tooltip if it doesn't fit into the button
Seen this happening in custom sidebars (from extensions).
When the text is too long for the button, it will get cut off
and there is no way to view the button text.

Change-Id: I86ce72154e0371bdf24480be41517855dc3ce050
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87692
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-04 08:48:41 +01:00
Samuel Mehrbrodt c51a43bd70 tdf#129917 Use temp user profile when installing shared extensions
Change-Id: I62dd163758e6348a62fc8a0b25150a62f282de90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86543
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-03 10:16:14 +01:00
Samuel Mehrbrodt 0652ea61c5 The next release is 7.0
Change-Id: Id6300035b5aba13cdd3d11035f2e85559e9f1597
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87674
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-01-29 11:03:41 +01:00
Samuel Mehrbrodt 015e9f780b unopkg: Correctly display log messages on Windows
Change-Id: I5ec8c55f9afac8d6f7f697c0e5e387e88db4fde7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86517
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-01-21 14:27:35 +01:00
Samuel Mehrbrodt 6c3ab93dfc Use deleteDirRecursively from comphelper
Change-Id: I4ad1226e5b08fc3abbf94440ea435fc9109005b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87081
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-01-21 10:26:53 +01:00
Samuel Mehrbrodt 4a25fb867f Make TempFile destructor remove temp directory recursively
Change-Id: Idcfa93ffe86112477ad81bcbf74b8e5b858423f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87080
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-01-21 10:23:44 +01:00
Samuel Mehrbrodt 95f9474396 unopkg: Improve error message display
Change-Id: Ic842a3be82094557efde6cc22b11b6567c2ad85b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86519
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-01-21 09:35:21 +01:00
Samuel Mehrbrodt 90cab308f5 unopkg: Remove too verbose logging
This adds several lines of 'Extension x not found' when installing
an extension with 'unopkg add'.
Since it's expected that the extension is not yet there when installing it,
remove this logging.

Change-Id: Ifc2ea5fa04253a96fee60016a65505e0d1f2722c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86516
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-01-10 08:26:41 +01:00
Samuel Mehrbrodt 09c0dc8b80 tdf#129490 Fix enter key in combo box
Follow-up fix for 7de9417d5f

Change-Id: I0b05f11b79d5fcd4e4823c1e31c087724ebc85f8
Reviewed-on: https://gerrit.libreoffice.org/85748
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-12-23 14:25:30 +01:00
Samuel Mehrbrodt 0322a41224 XStyleLoader::loadStylesFromURL Allow loading from stream
Change-Id: Iab0c301096118203466dd91c724c25f1283a0488
Reviewed-on: https://gerrit.libreoffice.org/85392
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-12-23 08:21:14 +01:00
Samuel Mehrbrodt 5fd4d10da1 Reduce indentation
Change-Id: I056016bac5d08a85f9664e31bcaee01c2dd9e6e0
Reviewed-on: https://gerrit.libreoffice.org/85391
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-12-18 17:12:54 +01:00
Samuel Mehrbrodt 3e33a11d8a Don't deprecate XKeyListener and XMouseListener
They are still used in other places in the API (XSlideShowView, XWindow).

Change-Id: I072f257b40e654d02a93249913cd8b60d36e75ab
Reviewed-on: https://gerrit.libreoffice.org/85071
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-12-16 11:11:39 +01:00