Commit Graph

402650 Commits

Author SHA1 Message Date
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
Noel Grandin
8777c3482d use rtl::Reference in SvUnoImageMap
instead of manual acquire/release

Change-Id: Ia17a1cca542ef0008fe32f2dbfcfce1ecd3161a2
2017-01-23 07:56:34 +02:00
Noel Grandin
71d9f5df23 use rtl::Reference in TransferableDataHelper_Impl
instead of manual acquire/release

Change-Id: I0d7d71a76c84f61f87399d7b7d93be0e50ccae16
2017-01-23 07:56:34 +02:00
Noel Grandin
6f1123d3dd use rtl::Reference in Ruler
instead of manual acquire/release

Change-Id: I7815a0a3c01fce57b4798ac1dbf501e20444c61d
2017-01-23 07:56:34 +02:00
Noel Grandin
bbd8c94967 use rtl::Reference in stoc
instead of manual acquire/release

Change-Id: I626ad9875528fa76d8f781b07cc86e149032ecb1
2017-01-23 07:56:34 +02:00
Noel Grandin
ca958f886c use rtl::Reference in SfxInPlaceClient
instead of manual acquire/release

Change-Id: I4ebbdbcbd619991c3dae0733b797f310903f96e6
2017-01-23 07:56:34 +02:00
Noel Grandin
9605f1cd13 use rtl::Reference in SfxAppData_Impl
instead of manual acquire/release

Change-Id: Id8c1b2dbb9acb0861f71f05a83842f357edfc1e8
2017-01-23 07:56:34 +02:00
Noel Grandin
87a8d05946 use rtl::Reference in CellShell_Impl
instead of manual acquire/release

Change-Id: I4fde1277c023101e5331e3dad4f0243bd8ac8e3f
2017-01-23 07:56:34 +02:00
Noel Grandin
a232712f39 use rtl::Reference in ScSelectionTransferObj
instead of manual acquire/release

Change-Id: I056fc3767f2e7b3ffacdd930e9a8e3b71c32620e
2017-01-23 07:56:34 +02:00
Noel Grandin
8abcd0c387 use tools::SvRef in ImpSdrObjTextLinkUserData
since the field is SvRefBase-derived

Change-Id: Ie84c48daf93e3805b2db240a497a8496779fe750
2017-01-23 07:56:34 +02:00
Noel Grandin
dc33775281 use rtl::Reference in ODatabaseForm
rather than manual acquire/release

Change-Id: Ic5f013b7e4cafc597c659c61fbf568adccfd806a
2017-01-23 07:56:34 +02:00
Noel Grandin
9c6bdac80b use rtl::Reference in SubmissionPropertyHandler
rather than manual acquire/release

Change-Id: I3276361153591a3af8c6b00b478365b2700dedf5
2017-01-23 07:56:34 +02:00
Noel Grandin
32f4f3b52a use rtl::Reference in bib::OComponentListener
rather than manual acquire/release

Change-Id: Ib4b52fb4a85223f974e9905bc3d02eb839150030
2017-01-23 07:56:34 +02:00
Noel Grandin
2bbf21aade use rtl::Reference in DocumentHolder
instead of manual acquire/release

Change-Id: Id795dca5ff9e392fa2649f4721a73ce3ffd6de2c
2017-01-23 07:56:34 +02:00
Noel Grandin
4f5b22b93a use rtl::Reference in OCommonEmbeddedObject
instead of manual acquire/release

Change-Id: Ie641f72687a05e1cd3cf697d551f9c6d21ac4487
2017-01-23 07:56:34 +02:00