Commit Graph

403714 Commits

Author SHA1 Message Date
Aron Budea
bb50474225 tdf#100151: Dispose of window if DX device creation failed
Before, if the device lacked Direct3D capabilities, VclPtr
handling became compromised, and caused a crash. This was
particularly a problem in virtualized/remote desktop
connections in Windows.

Now mpWindow instance is disposed of right away if DX
device creation fails.

Change-Id: I639340380affdb31a93ce6dccd8df33a0a466df6
Reviewed-on: https://gerrit.libreoffice.org/33413
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-01-23 17:44:19 +00:00
Rohan Kumar
30672569d5 Remove aTransitionSubtypeOutMap and aTransitionTypeOutMap
reverse mapping can be done at run time

Change-Id: Id04688ffb62cfa494d0eeaf6b73feb5ade58d53c
Reviewed-on: https://gerrit.libreoffice.org/32903
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2017-01-23 17:15:24 +00:00
Stephan Bergmann
c010fe8e5e loplugin:useuniqueptr
Change-Id: I510731d7364a9fb670782a743cdefc4582e8c593
2017-01-23 18:03:16 +01:00
Noel Grandin
a90a4810ae loplugin: unnecessary destructor: comphelper..desktop
Change-Id: I9df4cb6a4b1734dac6141d6b0ee7a09e3e05f92e
Reviewed-on: https://gerrit.libreoffice.org/33453
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-23 16:59:48 +00:00
Thorsten Behrens
6d9e480380 curl: upgrade to version 7.52.1
- fixes some four CVEs
- and a ton of other fixes & improvements

Change-Id: I2312f30f72c914c7e930c59ddbe44fb8a282c0a5
Reviewed-on: https://gerrit.libreoffice.org/33471
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-01-23 16:43:06 +00:00
Winfried Donkers
84e87423c1 tdf#105348 add check for divide by zero situation.
Change-Id: I339997870a7983d829a8909d2b3da7b3ab03f58d
Reviewed-on: https://gerrit.libreoffice.org/33098
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-01-23 16:26:16 +00:00
Jochen Nitschke
abc8057ab1 pass ownership by pointer
to show the intend of the code.

assert on invalid objects.
remove useless OSL_ENSURE.
make sure list of owning pointers can't be copied.

Change-Id: I3cccf8ea87585ec9fe62921203a4d12e617ce15c
Reviewed-on: https://gerrit.libreoffice.org/33393
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-23 13:50:45 +00:00
Olivier
5f1bc19a9a Updated core
Project: help  ec3123033ab3ea3eace5dd7b53047dcd4daa4ece

Add new Help menu entries into Help main page

Add entries
- User guides
- Get help online
- Restart in Safe Mode

Change-Id: I66e426457c68613d738f49b79f3221cc19b0a7f5
Reviewed-on: https://gerrit.libreoffice.org/33451
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-01-23 13:26:26 +00:00
Mark Page
f671121525 Split emfplus.cxx into multiple files
This helps make emfplus.cxx more readable.
No source code was changed, only moved except these
renamed to avoid inheritance warnings::
EMFPBrush::transformation renamed to brush_transformation
EMFPPen::transformation renamed to pen_transformation
Change-Id: I6952d6300c9c459833c2dda2b715d851b9e80de7
Reviewed-on: https://gerrit.libreoffice.org/31165
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-01-23 11:44:45 +00:00
Winfried Donkers
04f1d35e7e tdf#105238 : return error when SHEETS argument is not a reference.
Change-Id: I9c93762b6bfe800d4843070fece2834d544cea13
Reviewed-on: https://gerrit.libreoffice.org/32932
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-01-23 11:42:31 +00:00
Rohan Kumar
3ce861adbe tdf#51358 Support for BoxWipe transition in SVG Export
Ported the class BoxWipe

Change-Id: Iad93bfa9e414028ba842c3d43edcb8a94c15a104
Reviewed-on: https://gerrit.libreoffice.org/32933
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2017-01-23 11:42:12 +00:00
Jochen Nitschke
1e79474017 tdf#48140 replace ApiCellRangeList in xlsx import (5)
remove now unused ApiCellRangeList
remove duplicate transition code in AddressConverter

Change-Id: I36865fa1cfd69899d79fa6163aaa2cbba33a8763
Reviewed-on: https://gerrit.libreoffice.org/32709
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-23 11:36:26 +00:00
Jochen Nitschke
cb71dc9d36 tdf#48140 replace ApiCellRangeList in xlsx import (4)
introduce replacement for ApiCellRangeList::toSequence()

Change-Id: Id623b56d26c475e01a77fb12b80af8eee8cc1728
Reviewed-on: https://gerrit.libreoffice.org/33095
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23 11:28:31 +00:00
Jochen Nitschke
86e99f8461 move defines to only user
Change-Id: I337cc5d58386d9fb018b5343ad76e6f8e8e61405
Reviewed-on: https://gerrit.libreoffice.org/33448
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23 11:26:21 +00:00
Noel Grandin
00aa9f622c Revert "used std::map in SfxItemSet"
This reverts commit 2757ee9fe6.

Besides causing a performance regression, I now notice that
there is code in SW that relies on iterating over two different
SfxItemSet's in parallel, and assumes that missing items are
returned as nullptr, which is not the case for my std::map based
change.

Change-Id: I2b1110350fe4c4b74e5508558e9661ef1e1a103e
2017-01-23 13:19:56 +02:00
Noel Grandin
b0730ff656 fix ubuntu trusty build
Change-Id: I9a7fa68ab69aa9e730bf1e0fb3bc0c49db5f3ef0
2017-01-23 13:18:31 +02:00
Noel Grandin
5a6fa02a6c use rtl::Reference in FrameSelectorImpl
instead of storing both raw pointers and uno::References

Change-Id: I7a9a436b0d14d4dcaa696713973b86232c8470c0
2017-01-23 13:05:30 +02:00
Noel Grandin
3bcfb69082 use rtl::Reference in SvxShowCharSetVirtualAcc
instead of both raw pointer and uno::Reference

Change-Id: Ib2ca24f24a7c4f0645daefcea3e8bf44c205a85f
2017-01-23 13:05:30 +02:00
Noel Grandin
3199cc1ab8 use rtl::Reference in SvxShowCharSetItem
instead of raw pointer and uno::Reference

Change-Id: I92eb7f5a2e710eade580af71b157b3d1eee7b79f
2017-01-23 13:05:30 +02:00
Maxim Monastirsky
6ff57262f4 tdf#63673 Never ignore detected BOM
SwIoSystem::IsDetectableText was returning false only
because the detected line end isn't the same as the system
default one. Instead return true whenever there is a known
BOM or at least there is no 0x0, and actually use the
detected line end.

Change-Id: I20cc1642e7ad2e6e13dfb48c325a00c44f818f15
Reviewed-on: https://gerrit.libreoffice.org/33404
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-01-23 11:02:47 +00:00
Caolán McNamara
da55a0e515 Ole10Native payload truncated
Change-Id: If2c0c2788e54eb01a1b6998c81df016061a0ad6b
2017-01-23 10:52:23 +00:00
Stephan Bergmann
7e5c140dd9 loplugin:useuniqueptr
Change-Id: Ia0c8c3bb8319b5719bf63a3408d404d9adc681cc
2017-01-23 11:39:49 +01:00
Caolán McNamara
936fd770fa just for non exported things
Change-Id: I448d0009d7c8ffec64fdab76897e8684afe7fcd7
2017-01-23 10:22:21 +00:00
Caolán McNamara
aac6bb5bb3 ditch some empty dtors which match the default dtor
Change-Id: Id2450b03e6c8c5461e92d995ea8c33d5dfd55a45
2017-01-23 10:11:59 +00:00
Gabor Kelemen
a0dc397287 Updated core
Project: help  0b8b6b25fd76e0bf13929b0d45d8c611e6e28646

tdf#102930 Update Mail Merge dialog help page

Sync content to current UI, update bookmarks and ahelps
There are many MM pages, this is just one of them.

Change-Id: I273d5cb9d77ea5f9b3f7de23f6384fef09d607f3
Reviewed-on: https://gerrit.libreoffice.org/33410
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-23 09:23:56 +00:00
Gabor Kelemen
8c2ecb9847 Updated core
Project: help  e46d808eaeb8b704205738de88bfc3b3964e8df1

Tools - Customize - Menu tab is Menus nowadays

Change-Id: Id3869b626214d75262ada41f2b413d65bee6532b
Reviewed-on: https://gerrit.libreoffice.org/33409
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-23 09:23:35 +00:00
Gabor Kelemen
c397fb98a7 Updated core
Project: help  2886a2b0e3f7079e25616e0f78471bc9726a950e

Now it is possible to edit context menus

Change-Id: Ic6d091328d8eae53e58ca37eb2cf9445513af0ca
Reviewed-on: https://gerrit.libreoffice.org/33408
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-23 09:20:54 +00:00
Gabor Kelemen
f5b0af29ed Updated core
Project: help  af3fb279286f93b06aa26c1fee5bbc8a5824145c

Fix numeric ahelps on Writer Table menu page

Change-Id: I12efaf77cc126c4d0db70581ae1594c10d3dc94b
Reviewed-on: https://gerrit.libreoffice.org/33407
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-23 09:20:05 +00:00
Justin Luth
895f4bc27d tdf#96277 revert ww8 import: fix upper margin of floating table
commit 3755c87d04
mis-positions non-textframed floating tables.

The patch only worked under very ideal circumstances
that cannot be identified during import time. Lots of bug
reports indicate real world problems with it.

This is a pretty safe revert because the code only
processes a document one time, so old documents don't
depend on this to work.

Change-Id: I3b94d27901a20e46c2f5fd4305041d1d28acf33a
Reviewed-on: https://gerrit.libreoffice.org/33322
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-01-23 09:16:24 +00:00
Gabor Kelemen
9bd6f00dfe Updated core
Project: help  bc9f4bf8de06b5575f87eac6e26f8df6ba84ffad

'Insert Sheet' and 'Insert Sheet from File' moved

...to the Sheet menu from Insert

Change-Id: Ia46ab0331940f0485a59c199af6521f42d95f05f
Reviewed-on: https://gerrit.libreoffice.org/33406
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-23 09:14:15 +00:00
Miklos Vajna
311a4eb36e sw: prefix members of SwAccessibleCell
Change-Id: I444cd7fc523170bb7e1ee8a8041ca5a5df302226
2017-01-23 10:13:55 +01:00
Gabor Kelemen
271931bcf4 Updated core
Project: help  7e4c92e9870eb09ffd836d976ce413133781af2f

Fix ahelp of 'Sheet from file' menu command

Remove a duplicate bookmark too

Change-Id: Icfb63d1edc750759fa0f0805f8e83bee8dc29a95
Reviewed-on: https://gerrit.libreoffice.org/33405
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2017-01-23 09:11:23 +00:00
Noel Grandin
abc42b3ea4 use rtl::Reference in SvxPixelCtl
instead of storing both a raw pointer and an uno::Reference

Change-Id: Ie9de5664452545a2a529f753e314aa4678c166fb
2017-01-23 10:56:06 +02:00
Noel Grandin
116fa3a3d2 use rtl::Reference in SvxShowCharSet
instead of storing both a raw pointer and an uno::Reference

Change-Id: I71c9cc4cc643d4b73a34b74c803378da75fd8de0
2017-01-23 10:56:06 +02:00
Noel Grandin
5794beabf0 use rtl::Reference in QuitGuard
instead of storing both a raw pointer and an uno::Reference

Change-Id: Ib70bf9508210b2a58dd65437c6cbe8f4f5b343fc
2017-01-23 10:56:06 +02:00
Stephan Bergmann
7832911d8d Improve instsetoo_native/README
Change-Id: Id87fc80f05ae8427a713e5968522899410538c98
2017-01-23 09:27:22 +01:00
Regina Henschel
852b29b091 tdf#105266 Make LIGHTEN and DARKEN follow MS specification
Enhanced geometry of custom shapes has got commands for LIGHTEN and
DARKEN of subpaths. MS specifies, that LIGHTEN is a blending with
white and DARKEN is a blending with black. This patch adapts the
calcuation accordingly.

Change-Id: Ie46f1a1a2210c209c3fac34a7a58758b72eb276c
Reviewed-on: https://gerrit.libreoffice.org/33337
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-01-23 08:16:14 +00:00
Aleix Pol
3772c676ad Install a libreoffice-kde.appdata.xml file for KDE integration
On many GNU/Linux distributions packagers will split libreoffice in
different chunks, one of them being KDE integration. Without this file
it's not possible for users to find the integration in the Software
Centers.

Change-Id: I7e4f3009be4f23f2dd38a6d2464476253959413e
Reviewed-on: https://gerrit.libreoffice.org/33318
Reviewed-by: Matthias Klumpp
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2017-01-23 08:05:40 +00:00
Noel Grandin
10d0c60947 use rtl::Reference in FmFormModelImplData
instead of manual acquire/release

Change-Id: I925b45bcc2f09e09330ae8c79f3f40b81ae120ed
2017-01-23 09:42:01 +02:00
Noel Grandin
e5f5d90221 use rtl::Reference in OLocalExchangeHelper
instead of manual acquire/release

Change-Id: I40035df2995b71d868fc4d1f08a20b5fa4546fc9
2017-01-23 09:42:01 +02:00
Noel Grandin
c3199d1d58 fix windows build
Change-Id: Ie32847e22965950d4b2a0e53ccab625a00a6589c
2017-01-23 09:29:05 +02:00
Jochen Nitschke
dd891ec422 cppcheck: memleak (false positive)
but manage ownership from start

Change-Id: Ia9d29cc0e0676173c231c8b68b7681cc1b3dff86
Reviewed-on: https://gerrit.libreoffice.org/33392
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23 07:27:58 +00:00
Noel Grandin
38f9082771 didn't mean to commit that part
Change-Id: Ica8384b374e0d680704cba17a9d4c9f30ae08bf5
2017-01-23 09:12:38 +02:00
Pranav Kant
5128e503ba lokdocview: Handle keypad enter
Change-Id: Ia892c346d4a3c0a5439c7977963cc502d287e6f7
Reviewed-on: https://gerrit.libreoffice.org/33445
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-01-23 07:00:23 +00:00
Noel Grandin
98e4013c22 new loplugin useuniqueptr
Change-Id: Ic7a8b32887c968d86568e4cfad7ddd1f4da7c73f
Reviewed-on: https://gerrit.libreoffice.org/33339
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23 06:59:17 +00:00
Noel Grandin
2d1cecf02b Revert "Revert "use rtl::Reference in SwPostItField""
This reverts commit 4b429851e5

and implements sberg's advice and removing copy operator

Change-Id: I76876701f2585d4d1eacc4664b17d9ff73b26722
Reviewed-on: https://gerrit.libreoffice.org/33342
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23 06:57:47 +00:00
Pranav Kant
a27e090795 lok: Listen for state change events for cell alignment commands
We used to use HorizontalAlignment uno command for cell alignment
both in online and gtktiledviewer. To make things simpler, lets
use separate cell alignment uno commands for spreadsheets like we
have in writer and impres.

Change-Id: I2a959d1892f6b02db7a9ce51d55309216e4b3c6c
Reviewed-on: https://gerrit.libreoffice.org/33444
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-01-23 06:47:34 +00:00
Noel Grandin
115797f070 beginning of support for CodeLite in gbuild-to-ide
Change-Id: I5640ad193f2766400554012383d6c910f2160378
Reviewed-on: https://gerrit.libreoffice.org/33396
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23 06:02:28 +00:00
Gabor Kelemen
0c004bca03 Typo: idividual in .ui element name
Change-Id: I96a6baaebb80283a40051fd8dc062513d4ae32a8
Reviewed-on: https://gerrit.libreoffice.org/33411
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23 06:00:58 +00:00
Gabor Kelemen
02a08a2482 .uno:DiaSpeed seems to be unimplemented & unused
Change-Id: I075e166555baf12b051e429ce9d27367b450b023
Reviewed-on: https://gerrit.libreoffice.org/33412
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-23 05:59:58 +00:00