Commit Graph

10759 Commits

Author SHA1 Message Date
b7324ecbf3 add generic digest class
Change-Id: Ic5d2d8fbb0bb4edc4c966e185be81f6ca673950e
Reviewed-on: https://gerrit.libreoffice.org/36790
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-21 22:43:54 +02:00
de030cd7a2 gbuild: Remove MSVC 2013 legacy code
Uwinapi is discontinued.

Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01
Reviewed-on: https://gerrit.libreoffice.org/23198
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21 18:18:44 +02:00
5751291e8c LOK - Calc: changed the way header is updated on row/col insert/remove
This patch introduce a new LOK callback for informing the client that
the row/col header is no more valid and needs to be updated.

Change-Id: I21a3a41d69bd1a3c11c9ffaf1d7d53dbc3b9681d
Reviewed-on: https://gerrit.libreoffice.org/36733
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-04-21 15:35:22 +02:00
d581ef6ee2 restore copy/paste menu entries
Change-Id: Ie1dab6857dd6efdb816a11997ef32f0cc3497047
2017-04-21 12:11:35 +01:00
577ae613e0 tdf#103872 Localize "Export as image" window title
In Calc select Export as image from the local menu
of a chart to see this

Change-Id: I9753f4750bd619f161c52f9e067290743ad2f2ec
Reviewed-on: https://gerrit.libreoffice.org/36758
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-04-21 09:56:47 +02:00
c48ad62924 convert HTML_OPTION_IDS to scoped enum
Change-Id: Ia766dc58a571e5853005fd394283d7b53f02e4a6
Reviewed-on: https://gerrit.libreoffice.org/36748
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 09:20:50 +02:00
841e1a6f36 remove some old MSVC workarounds
Change-Id: I6abd8aaffb27b3c85df7c0518f7f576be4e32222
Reviewed-on: https://gerrit.libreoffice.org/36660
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-21 09:14:45 +02:00
b2764a9b66 convert EDynamicMenuType to scoped enum
and drop unused E_HELPBOOKMARKS

Change-Id: I5756ea326bdc1a99f7d6f1ba43baf6aca9f7f2fc
Reviewed-on: https://gerrit.libreoffice.org/36728
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20 12:55:51 +02:00
1c5cae479b loplugin:unusedmethods
Change-Id: Ib7a9b1b0802ca751da258065e89b412b090bb672
Reviewed-on: https://gerrit.libreoffice.org/36718
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20 10:07:10 +02:00
1f73ac90da mnDateFormat in DateFormatter is unused
ever since it was added in

   commit c8330937878a57c74b4f3e3083c013ed0903f80d
   Author: Vladimir Glazounov <vg@openoffice.org>
   Date:   Wed Apr 11 16:52:58 2007 +0000
   INTEGRATION: CWS hedaburemove01 (1.1.2); FILE ADDED

Change-Id: Iceb44ea4da620e1e7b9c9494486954db9e5d7959
Reviewed-on: https://gerrit.libreoffice.org/36691
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20 08:26:48 +02:00
ea537ecffa SvxSpellWrapper::ReplaceAll doesn't use it's second param
Change-Id: I79b82d37e6cf4c1dde474f0f90b6370c2359a0b3
Reviewed-on: https://gerrit.libreoffice.org/36673
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-20 08:26:28 +02:00
2a53bf858d only one use of GetStandardText
Change-Id: I384e3ccb6bfaf491a4616ee89c714a510f1f670b
2017-04-19 15:01:28 +01:00
2b83e73fd7 remove freshly unused menu support from src files
Change-Id: I038711a0c4d440d452d5b2ae1bfcba5c9305815b
Reviewed-on: https://gerrit.libreoffice.org/36646
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-19 13:42:07 +02:00
6390d77a14 convert MeasurementSystem to scoped enum
Change-Id: I5d26c50aa0e2c68edab6ee217ae6bdb0ee45dc09
Reviewed-on: https://gerrit.libreoffice.org/36525
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-19 08:25:59 +02:00
e2d3e936ab tdf#95992 "Edit" > "Compare Document..." opens dialog that is...
misnamed "Insert"

Issue is that the caption of the dialog is handled by generic code,
which was not designed with comparison in mind. This fix extends the
captions that can be used by such generic codes, without modifying
the underlaying architecture.
Letting callers directly provide caption text might be more versatile,
though.

The fix is extended to:
* Writer Merge functionality
* Calc Compare/Merge functionalities
which use the same dialog (and thus were also displaying "Insert").

Change-Id: I452b37bf7d0024924c87316cd47572c09b373b65
Reviewed-on: https://gerrit.libreoffice.org/35285
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-04-18 16:24:37 +02:00
f3ab7e1403 remove sfx2/sfxcommands.h
Change-Id: Ic131adc90f2891497623441dd94da2d3401a93e5
2017-04-18 14:19:31 +01:00
dcb7164f2e convert filter menu to .ui
Change-Id: Iad9eeeedbd2b6c98861db367a68e3f5506cbd246
2017-04-18 10:14:56 +01:00
ea37507b9d convert RID_FMSHELL_CONVERSIONMENU menu to .ui
Change-Id: I6b38611063690a4038862f3a2810dd3c695b62d2
2017-04-18 09:54:18 +01:00
dd0824c92a tdf#89329 Use std::unique_ptr for ImplData in vcl/syswin
Change-Id: I5cf16991bba0cec80c7fbaf32f4529e4f022201b
Reviewed-on: https://gerrit.libreoffice.org/36590
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-17 01:34:57 +02:00
93e0a48d09 first stab at replacing hard coded relationships with calls to a method
Change-Id: I4d1fd6ac3d32180972d82c67a81adf4953e3a82d
Reviewed-on: https://gerrit.libreoffice.org/32409
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-16 05:02:26 +02:00
d8a98a551c convert form data navigator menu to .ui
which has the advantage of also fixing it

Change-Id: Ida23826c9ce334d517c9d70096d5fb478d53b891
2017-04-15 19:50:01 +01:00
e0950f61ee convert form navigator menu to .ui
Change-Id: Ic6de06c2b17bb65ef326d6debeff9490eec91c9e
2017-04-15 19:09:07 +01:00
a36997c15b convert column menu to .ui
Change-Id: I3a41b716c473a17821969f09945ac1a94b024d41
Reviewed-on: https://gerrit.libreoffice.org/36569
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-15 20:08:40 +02:00
15ac3f9f4d Fix vertical text and bitmap bullet rendering
Change-Id: I881fce0511c81b164516d68f72c7e750687d4e0e
2017-04-15 15:40:56 +02:00
820e47fdec Avoid using implicit assignment operator
Change-Id: If9b67d16e468f9a705140da2c7b39721b47c5799
2017-04-15 15:40:56 +02:00
c671094154 Introduce text rotation for Impress tables
* Introduce new table property for text rotation
* Support only two rotation angle (270° and 90°)
* Implement editing and rendering of 270° rotated
text (90° rotation was already implemented)

Change-Id: Ifc2e0f171e9c840e86b365e9af2c30aa97ecd92e
2017-04-15 15:40:56 +02:00
9f5a275a42 Fix typos
Change-Id: I0238202c0dc0380b0e33a9c4567a9513c0afbe91
Reviewed-on: https://gerrit.libreoffice.org/36556
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-15 10:13:34 +02:00
88b42085ab convert cell menu to .ui
Change-Id: If0b17eb94a629d6a46d5fd44430e866135a4c002
2017-04-14 16:40:08 +01:00
7a01268f3f convert rows menu to .ui
Change-Id: If81b5e23c1699822899c929b486850ac06776c76
2017-04-14 16:33:32 +01:00
aca25d6123 convert function menu to .ui
Change-Id: I6ff1ccc0fb20c638c7bdb587c8fe81a710a49d21
2017-04-14 15:34:40 +01:00
9a27902bbc ubsan: only cast when necessary
the item may be INVALID_POOL_ITEM if we're not in the bDefaultOrSet cases
so only cast when we need to

Change-Id: I127d5be0adcc0d3ad5881b2a386b8a2b69e7d3f0
2017-04-14 12:44:06 +01:00
f1489399d5 convert fileview context menu to .ui
Change-Id: I4631b4fa0312c6548a1176872e3a836d377f518c
2017-04-14 11:51:30 +01:00
32f34f0d1b remove the remaining unused mouse cursors
which are not used by us directly or aliases of published awt constants

Change-Id: Ic4f009715d71a2f986b8ef8d64b4b2e64986bf3b
2017-04-14 10:27:04 +01:00
185bb1b6bb document that PointerStyle and css::awt::SystemPointer are linked
Change-Id: Ic4a91520fe6c43f1a602e307fbcb0eb89e4f60bb
2017-04-14 10:27:01 +01:00
d490729a0f sfx2 lok: use auto when initializing with a cast to avoid duplication
Change-Id: I4e462e9355db3ae44deb0762f019f097f8550eb2
Reviewed-on: https://gerrit.libreoffice.org/36548
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-04-14 11:08:32 +02:00
77d78b3391 revert removal of apparently unused mouse cursors
partial revert of...

commit 65b7b6322b662785bf032e66c76abc36c9a2bb0e
Date:   Wed Feb 8 10:40:28 2017 +0200

    loplugin:unusedenumconstants read-only constants in vcl

because we cast the com::sun::awt::SystemPointer values to PointerStyle
in VCLXPointer::setType and we've at least lost the PEN as used in the
slideshow context menu's pen mode

"toolkit/source/awt/vclxpointer.cxx" 74L, 2181C

Change-Id: I5ef677f70ebc491b50403de0f92179ea4ae3bb14
Reviewed-on: https://gerrit.libreoffice.org/36526
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-14 10:00:42 +02:00
b7b159d79c remove the old collaboration feature based on telepathy
Change-Id: I1f08d6ef43b76e7bae41ac33bb954f506ae7c485
Reviewed-on: https://gerrit.libreoffice.org/36542
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-04-14 03:32:37 +02:00
f15a69bd57 vcl PDF import: don't assume larger offset -> newer trailer
Usually when the PDF file contains incremental updates the updates are
appended at the end of the document. But this is not required, the
various trailers can be in any order. Make sure that we look at the last
trailer (logically last, not the one with the largest file offset) when
looking for pages.

Change-Id: Idcd85a7c6bbf08c9436dd73933d79cdb683f482c
Reviewed-on: https://gerrit.libreoffice.org/36527
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-04-14 00:11:06 +02:00
608e93bce9 convert DateFormat to scoped enum and rename to DateOrder
Change-Id: I71d7a7755a5c20d5146d1ad7e96ca22b7823173a
Reviewed-on: https://gerrit.libreoffice.org/36517
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-04-13 18:36:05 +02:00
6925007c2a Simplify jfw_findAllJREs
...dropping remaining uses of CJavaInfo

Change-Id: I76afd5af927233712181f58b14fe6f4c1a9c15c2
2017-04-13 17:32:43 +02:00
7bf1e66ac5 convert AX_FONTDATA to o3tl::typed_flags
Change-Id: If51119fbdde4b1d923b794d126fdae99ca238f81
Reviewed-on: https://gerrit.libreoffice.org/36463
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-13 12:02:20 +02:00
1a2afa01c9 Simplify passing options to jfw_startVM
Change-Id: Idac31e282fe4df69449298a03d491473e460c742
Reviewed-on: https://gerrit.libreoffice.org/36495
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-13 07:47:48 +02:00
3c3f7d784e Removed duplicated includes
No automatic tools. Manual checked and tested.

Change-Id: Ife260fa4e1d786cf81f2917a901664cc54943754
Reviewed-on: https://gerrit.libreoffice.org/36371
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-13 07:46:16 +02:00
76fbd18a51 Notebookbar: remove dependency between all containers and IPrioritable
Change-Id: I92bff0d68470763c88172744e82d9b5915ffb6f1
Reviewed-on: https://gerrit.libreoffice.org/36387
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-04-12 22:25:53 +02:00
4f55dfb564 convert AX_FONTDATA constants to scoped enum
Change-Id: I0de365c8f654973f483d09fc9170f40bda7cbd9e
Reviewed-on: https://gerrit.libreoffice.org/36457
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-12 15:42:34 +02:00
2685678cd0 Revert "Work around clang-cl issue with MSVC's safeint.h for now"
This reverts commit acbb7e3243afec515bf98b2b34454afc5320bf66.  No longer needed
with safeint.h from recent "Windows Software Development Kit - Windows
10.0.15063.137".
2017-04-12 14:34:10 +02:00
aa708712ff convert selection menu to .ui
Change-Id: Ie4cf80202c333600ce027c78aa3c379ef33f4f80
Reviewed-on: https://gerrit.libreoffice.org/36449
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-12 14:00:01 +02:00
a3c294e6ad convert ReadWriteGuardMode to scoped enum
Change-Id: I21ae815d5bbd7b39cd690168738c21925558585e
Reviewed-on: https://gerrit.libreoffice.org/36452
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-12 12:49:35 +02:00
3cee2b2d58 convert style menu to .ui
Change-Id: I85683007062c4cc1160ace7b3bf962ee5c021b6e
2017-04-12 09:58:28 +01:00
bc937896e2 convert preset menu to .ui
Change-Id: I31cbe438f5f5b790ca8f4373010b28d948c2b53e
2017-04-12 09:40:00 +01:00