Commit Graph

414476 Commits

Author SHA1 Message Date
Caolán McNamara
1b87cdadb8 support stock text in checkboxes and radiobuttons
Change-Id: I03b2e125736b7f8a7127174a7a837760f76f8249
Reviewed-on: https://gerrit.libreoffice.org/43893
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27 09:57:27 +02:00
Caolán McNamara
bdd7c74a49 Resolves: tdf#113455 Impossible to clear width/height in pages
Change-Id: I88f80d417108822ceeb73c07cb49892925a2e57f
Reviewed-on: https://gerrit.libreoffice.org/43891
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27 09:57:07 +02:00
Caolán McNamara
75c642dae3 coverity#1420317 Unchecked dynamic_cast
Change-Id: I33d065780ece2aab5f5a07d0dfd5493005a22b33
Reviewed-on: https://gerrit.libreoffice.org/43917
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27 09:56:48 +02:00
Caolán McNamara
c15ac2c2ce ofz#3813 Integer-overflow
Change-Id: Ibc14583137aae0d46e501927e602a510339abe38
Reviewed-on: https://gerrit.libreoffice.org/43872
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27 09:56:29 +02:00
Caolán McNamara
85b698cbd3 ofz#3812 Divide-by-zero
Change-Id: I1a278302b995137d3e73620c003534498a59ba14
Reviewed-on: https://gerrit.libreoffice.org/43870
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27 09:56:14 +02:00
Caolán McNamara
3fc4211a0f ofz#3811 Integer-overflow
Change-Id: Ia08ac1ae46d4af6df7b0a590752e17a6d9a6836e
Reviewed-on: https://gerrit.libreoffice.org/43869
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27 09:56:02 +02:00
Noel Grandin
8f3ca2e63b tdf#113422 Crash in: ScPreview::MouseMove(MouseEvent const &)
regression from

    commit 0ad8447d31
    dyncolcontainer: convert nRight to std::vector

Change-Id: I9cdf80115a2be73ec2b30fd875a904de3333fddf
Reviewed-on: https://gerrit.libreoffice.org/43905
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27 09:53:31 +02:00
Miklos Vajna
4f5ef1750b sw: clean up temporary debug code in frmpaint
Change-Id: I1bdb332e40a2cf612b249dafa7620f700af19833
Reviewed-on: https://gerrit.libreoffice.org/43927
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-10-27 09:08:30 +02:00
Noel Grandin
ac8901d9d2 loplugin:finalclasses in sc
Change-Id: I83438eaf2c1045a9212a63ed9fd8b3371e9b06aa
Reviewed-on: https://gerrit.libreoffice.org/43896
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27 08:53:23 +02:00
Noel Grandin
f5457c856f Revert "use rtl::Reference in SwChartDataSequence"
This reverts commit cdd4b528a4.

The manual acquire()/release() is necessary to prevent a double-delete
if the exception is thrown

Change-Id: I5acc0840befba3981e13b084b8d347f8a2766e70
Reviewed-on: https://gerrit.libreoffice.org/43889
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27 08:53:15 +02:00
Mike Kaganski
9be47276cd VisualStudioIntegrationGenerator: honor defines' values
Before this, -D_WIN32_WINNT=0x0601 used to land to VS project simply
as _WIN32_WINNT (without value).

Change-Id: I68ebdc24c3181c5d9e046280756e4cefee3de46c
Reviewed-on: https://gerrit.libreoffice.org/43928
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-10-27 08:33:26 +02:00
Julien Nabet
eb9525a6ae Replace lists by vectors in filtask (ucb)
Change-Id: I5b4359727ebf58bc121325d490e63f2c919dd7ab
Reviewed-on: https://gerrit.libreoffice.org/43921
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-27 07:41:10 +02:00
Andrea Gelmini
21fe5ef04d Fix typos
Change-Id: I96f64b7c259f04a67684bb699ea3cc43b68e40fa
Reviewed-on: https://gerrit.libreoffice.org/43913
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-27 07:40:01 +02:00
Julien Nabet
98895a5fd2 Replace list by vector in ucbstore (ucb)
Change-Id: I1ff394ecd1fe805d671d666d8bc2522c33c40b50
Reviewed-on: https://gerrit.libreoffice.org/43922
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-27 07:14:58 +02:00
Eike Rathke
ba9f44d6ee Implement LocaleData2, XLocaleData5, LocaleDataItem2, tdf#81671
Change-Id: Idba5a30bc44c7b2bd951f954ea3bfd048b022660
Reviewed-on: https://gerrit.libreoffice.org/43920
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-10-27 03:06:22 +02:00
Thorsten Behrens
91987a559b fix windows packaging
Change-Id: Id9e306877125b66f908d24048d236c55483330d0
Reviewed-on: https://gerrit.libreoffice.org/43916
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-26 23:44:21 +02:00
Mike Kaganski
55ad81533a gbuild-to-ide: handle -U undefs correctly
Previously, defines string like this:

  -DDBG_UTIL -DNOMINMAX -D_DLL -UNOMINMAX

would produce this defines list:

  DBG_UTIL;NOMINMAX;_DLL -UNOMINMAX

where last "define" is incorrect; proper list should be

  DBG_UTIL;_DLL

so that the undef'ed element would be properly eliminated from the
result. This patch takes care of this.

Change-Id: Ia66a1d6d0a6e0bbfd0022b22285b005609871336
Reviewed-on: https://gerrit.libreoffice.org/43923
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-10-26 23:27:59 +02:00
Michael Stahl
dd35dccdf6 RepositoryExternal.mk: fix inverted gpg condition
(regression from 16598d526e)

Change-Id: Ic621979926a9629aa8d8fb95a80957850ae0661b
2017-10-26 23:26:19 +02:00
Stephan Bergmann
6f065a7aff Avoid undefined left shift of signed integer
...after 022b1b2a40 "tdf#96505 Get rid of cargo
cult long integer literals"

Change-Id: I9e5cc9d63c2eddd1ad766c2f6b01a9ff49a09bfd
2017-10-26 23:24:41 +02:00
Michael Stahl
11d2f3d6e1 vcl: make MapMode constructor explicit
Insert constructor everywhere, except a couple places that apparently
want to compare GetMapUnit().

Change-Id: I1910deb60562e5e949203435e827057f70a3f988
2017-10-26 23:17:45 +02:00
Michael Stahl
213f7c02d4 vcl: print MapMode
Change-Id: I3d4f15cd4929b553673f1a1d8950b6c9082a0cdc
2017-10-26 23:17:44 +02:00
Michael Stahl
ac07b5150d tools: print some Fractions
Change-Id: Idc4668cba7412d0b4a3e486a8629c7f95a701091
2017-10-26 23:17:44 +02:00
Michael Stahl
230d05ea28 configure: JDK 1.3 won't work
Change-Id: Ibd26816cb00b3b8b2514aca536906b689c8cbd5e
2017-10-26 23:17:43 +02:00
Tor Lillqvist
8cd958a48e Add a comment in CreateTableStyle() related to the AOO fix for #i120723#
Change-Id: Ic2eadf1942927efb6a6b209db591e869b61362f4
2017-10-26 23:34:04 +03:00
Tor Lillqvist
84eb42728a Don't abbreviate "First" as "Fst"
Change-Id: I16726fbc8bf4f67fe1018d54437d59b715738bfe
2017-10-26 23:34:04 +03:00
David Tardon
cb0eb72ec4 blind attempt to fix build on big endian
Change-Id: I4dc2d5a5fbbded5f4c7a1417c150fe6b1a73a69d
2017-10-26 22:26:47 +02:00
Eike Rathke
4ef0497488 New decimalSeparatorAlternative, LocaleDataItem2, XLocaleData5, tdf#81671
... and LocaleData2 service, which is necessary with new-style
services because optional interface at published service is not
possible.

Change-Id: I77703243a961b5385eaea146e4c9c42d5f30e1ad
2017-10-26 21:35:04 +02:00
Stephan Bergmann
7cc8b8254f Add test for o3tl::saturating_add
Change-Id: I19bb1d566bd80f859810b4023d965c8fd80b98f2
2017-10-26 21:30:08 +02:00
Stephan Bergmann
1061875d67 Make loplugin:implicitboolconversion find the same in C++17 and pre-C++17
...see a2d814ac1d
"loplugin:implicitboolconversion" and 24eeb4d286
"loplugin:implicitboolconversion" for things previously only found in C++17.  As
expected, no further occurrences were found.

Change-Id: Id0ab621b82dc3c40c8b5801413fceb73ade1408a
2017-10-26 21:07:17 +02:00
Stephan Bergmann
e02e0f4081 Use compat::getSubExprAsWritten; clean up
Change-Id: I8f984c3b3833437f6b4d65ab99da608a6868ff74
2017-10-26 21:04:03 +02:00
Caolán McNamara
4c1bfd35ae ofz#3816 Integer-overflow
Change-Id: I899df8d0609d6a3c55d130cffc5b1b23eebece13
2017-10-26 19:48:38 +01:00
Noel Grandin
91f11350ed rename createOnShotInstance->createOneShotInstance
Change-Id: I8848784cd867714019f90bb7fc57ca7289e51f81
Reviewed-on: https://gerrit.libreoffice.org/43873
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-26 20:47:12 +02:00
Patrick Jaap
e06807f51d tdf#31814 EMF/EMF+ implement dual mode
There can be a dual mode flag set in the EMF+ data. If set,
we should process either EMF or EMF+ data, because the contained
information should be equal (says the documentation).
The more advanced EMF+ renderer is chosen here.

The flag is read in the EMFPlusReader and blocks the reading of other
EMF records than HEADER, EOF and COMMENT.

Thanks to Chris, for pointing out the dual mode!

Change-Id: I8522930cebbb9e9ecc732397cbb3deea9e8c9127
Reviewed-on: https://gerrit.libreoffice.org/43122
Reviewed-by: Patrick Jaap <patrick.jaap@tu-dresden.de>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-10-26 20:18:52 +02:00
Caolán McNamara
334cc99139 ofz#3820 Integer-overflow
Change-Id: I620b0278273e285100fe44d252389e6393a2022c
Reviewed-on: https://gerrit.libreoffice.org/43877
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-26 19:21:22 +02:00
Caolán McNamara
d97f0ceb43 ofz#3793 Divide-by-zero
Change-Id: Ica00209bc6679edaa0c83fc7d31bd5d4653b5e96
Reviewed-on: https://gerrit.libreoffice.org/43879
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-26 19:17:49 +02:00
Stephan Bergmann
b1fa5e7a2c cid#1420316: Try silence CONSTANT_EXPRESSION_RESULT
(or does the comment need to go exactly at the line before the one containing
the "return" token?)

Change-Id: I5f92e59ee05d0b5ba3d6bda775e6ca02f185dbe8
2017-10-26 19:06:41 +02:00
jan Iversen
fb62c2c525 iOS added menu entries
Added Copy/Move/Delete since this is the only way to access
the local storage.

Change-Id: I9b054a4f23d32d5220ae500a37b52cb7e7a8587c
2017-10-26 18:56:43 +02:00
jan Iversen
7982119334 iOS added select local/iCloud storage
Added button in Document window, to signal if working local or in iCloud

Change-Id: Ib33b67c95dfad466664e2289390ea577ba5e3391
2017-10-26 18:56:42 +02:00
Stephan Bergmann
25313923b0 Fix CppunitTest_services for constructor-based implementations...
(i.e., using constructor="..." in the .component file) that implement multiple
services, but are not implemented as single-instance objects (i.e., always
return different objects from that constructor function).  In that case, the
"factory" would be the object itself, and would thus be different for different
instantiations of that implementation.  erAck ran into such a case with new code
he's writing.

Change-Id: Ib134a4c6d1400b43a7df3cf6a115f8206fb80c93
2017-10-26 18:26:02 +02:00
Mark Hung
4e5123fc59 tdf#77961 regard layout-grid-print as off when missing.
Change-Id: I8404ebed8ba84ee83528310ee63f796356674553
Reviewed-on: https://gerrit.libreoffice.org/43830
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
2017-10-26 17:32:53 +02:00
Jim Raykowski
d4064927a2 tdf#111846 Find & Replace: Rename diacritics and kashida options
Change-Id: I1657b84d613b28d5762057954069d2a2fe2e3ab2
Reviewed-on: https://gerrit.libreoffice.org/43103
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-10-26 17:24:26 +02:00
Noel Grandin
02a3abccee array_view std::hash override should be const
Change-Id: I8ffdf86e98e261b337cfa81b1be0cb64539c9a9c
Reviewed-on: https://gerrit.libreoffice.org/43871
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-26 15:47:12 +02:00
Stephan Bergmann
ade8521657 Fix o3tl::saturating_add for negative b
Change-Id: I665f6c2f94b6c03d6fb5136fff3054ad6f0ca962
2017-10-26 15:33:40 +02:00
Szymon Kłos
d556c282aa Fix build on linux without cups
Change-Id: Ibd89fd25ca8dd43aa5f8fa4ba8ab15eb6eb042cc
Reviewed-on: https://gerrit.libreoffice.org/43220
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-10-26 15:11:43 +02:00
heiko tietze
c3afd99701 tdf#103317 Update of Impress templates
Blueprint_Plans, Portfolio, Progress added, Vintage updated, LushGreen, Pencil deleted

Change-Id: I9b11fc63378486b70f264cf715e3f3ba177e165f
Reviewed-on: https://gerrit.libreoffice.org/43887
Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-10-26 15:01:46 +02:00
Jean-Pierre Ledure
86a773cd43 Access2Base - Database events
Introduce 21 database On... events returning the invoked scripts
Read-only
2017-10-26 13:28:15 +02:00
Thorsten Behrens
16598d526e gpg4libre: enable OpenPGP support for Mac
Change-Id: Iad7d6b045be90efb32da3ffb1c19753b58b1753d
Reviewed-on: https://gerrit.libreoffice.org/43616
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-26 12:55:48 +02:00
Noel Grandin
db04585533 loplugin:constmethod in basegfx,sot
Change-Id: I05d2cdefb7faf489ec29ba28dc5e3c28d08b9780
Reviewed-on: https://gerrit.libreoffice.org/43863
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-26 12:44:44 +02:00
Justin Luth
0186878376 related tdf#78508 and n#793262: import w:tcMar_start/end
Although 2013 commit 60ec497e0e
added support for the other tcMar items, it omitted _start and
_end (perhaps because they caused unit test failures).
The document in bug 78508 proves that these are needed.

Testing whether the cell spacing matches the default table
spacing should occur before adjusting for MSO compatibility.
This fixes the three unit tests that mysteriously failed
when adding _start/_end support.

Unfortunately, these two fixes could not be committed
separately - the unit test fails unless both parts
are included. I couldn't figure out why.

Change-Id: I9507da48b629b9618c5ee790bf0088ce82fc5692
Reviewed-on: https://gerrit.libreoffice.org/43432
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-10-26 12:21:13 +02:00
Miklos Vajna
f2fa344033 vcl: minor cleanups in pdfdocument
Change-Id: Ib1284b819d4af2e8055698be4160bbb41acba851
Reviewed-on: https://gerrit.libreoffice.org/43866
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-10-26 12:19:35 +02:00