389200 Commits

Author SHA1 Message Date
Stephan Bergmann
cd8e720b06 -Werror,-Wunused-macros
Whatever those _POSIX_ for _MSV_VER were supposed to be good for (have been in
there at least ever since 4f4b74153d27a9579c49b225b2690e7f9416fe78 "Moved cpp
from cpp to soltools"), but cause -Wunused-macros at least when building with
clang-cl.

Change-Id: I356bf663cd1e86298ba72a179f46bb9d0c10016b
2016-03-04 08:52:43 +01:00
Stephan Bergmann
3c53b783f3 -Werror,-Wunused-macros
Change-Id: I5402d52ec42fa27c58b276eeb22eeb270c3d7948
2016-03-04 08:50:48 +01:00
Stephan Bergmann
2e73ae7a62 -Werror,-Wshadow
Change-Id: Ib20a02a846b745b65ffcf9ec1d45b39a6e0c50e4
2016-03-04 08:50:11 +01:00
Stephan Bergmann
4b5efd9308 Silence -Werror,-Wnon-virtual-dtor (clang-cl)
Change-Id: Icac0f029461c886ebb03aedcd54189116b66d8a3
2016-03-04 08:49:44 +01:00
Miklos Vajna
505473154b writerfilter: prefix members of RTFTokenizer
Change-Id: Icba6646e183bc283e3c86a223a7f76306123200b
2016-03-04 08:39:57 +01:00
Miklos Vajna
48b0fed24d writerfilter: prefix members of RTFHori/VertOrient
Change-Id: Icc0a4af0e5995116d65d0dea0881e10ca8d92232
2016-03-04 08:39:57 +01:00
Akshay Deep
5351188c8e tdf#87812 - SIDEBAR: More animation information in list control
Modified Custom Animation ListBox entry to include multiple lines.
Added Effect names in Custom Animation List Control.

Change-Id: Ic974ffc9fca6803ff76135620df1fbe9edcde565
Reviewed-on: https://gerrit.libreoffice.org/22403
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-03-04 07:22:10 +00:00
Aleksas Pantechovskis
57d0caacee tdf#96505 Remove long integer literal specifier when not needed
Remove L from integer literals if it does not produce warnings
and does not change semantics

Change-Id: I9573a47d3e3401993a1f0fbcf7df4be20f9e6eba
Reviewed-on: https://gerrit.libreoffice.org/22867
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-04 06:40:33 +00:00
Noel Grandin
f5e131b2bc loplugin:unuseddefaultparams in vcl and xmloff
and teach the plugin about code that takes the address of a function

Change-Id: Ia9d5afef44520aca236659e8176f1e27135ef4fc
Reviewed-on: https://gerrit.libreoffice.org/22861
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-04 06:13:25 +00:00
David Tardon
fee4fe8e58 upload libpagemaker 0.0.3
Change-Id: I7d0f7e9a1bf9d2d590337cf4bb8cc4860c05444e
Reviewed-on: https://gerrit.libreoffice.org/22864
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2016-03-04 03:16:41 +00:00
Xisco Fauli
31e037c348 SVGIO: Check height and width of polypolygoncolor
Change-Id: Ibc5844d4e4a89fae7bbc8d2b854384d0c433500f
Reviewed-on: https://gerrit.libreoffice.org/22883
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-03-03 23:35:11 +00:00
David Ostrovsky
7df498c828 Fix coinmp on MSVC 14.0
Iterator category tags carry information that can be used
to select the most efficient algorithms for the specific
requirement set that is implied by the category. OsiCuts
defines bidirectional category tag, but doesn't implement
operator--(). This is illegal: [1].

* [1] http://paste.openstack.org/show/489235

Change-Id: I68a6d297d5c33848c4b8a324e081c5118fd936a4
Reviewed-on: https://gerrit.libreoffice.org/22882
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-03-03 22:45:20 +00:00
Michael Stahl
70fd98f16f vcl: type inference is beyond MSVC's limited abilities
Change-Id: I3e6c84c1f49e9523e881ce12dbb2f7e0d1df956e
2016-03-03 21:53:59 +01:00
Caolán McNamara
5f6065f980 coverity#1355126 Logically dead code
maybe we should be using more precision, but we haven't
been in the past

Change-Id: Icf1e1e95099c783435e04f60d8ade755a8d2d4d5
2016-03-03 20:48:57 +00:00
Caolán McNamara
cd5cc12d43 nLog10Divisor is 1
Change-Id: I8820d435e2f26d04ac3eccb710383399d050e020
2016-03-03 20:48:57 +00:00
Tor Lillqvist
56f81d96e3 We don't use 'using' for other std types either in this file
Change-Id: I561e515da65db619330b536e3c8c6de555730740
2016-03-03 21:38:22 +02:00
Tor Lillqvist
db145e5073 delete works fine on nullptr
Change-Id: I373df68f8ce59d34d98a8c5608a16deb278ecec3
2016-03-03 21:36:58 +02:00
Tor Lillqvist
0f2075338c loplugin:nullptr
Change-Id: I139b93f3285c61e2a4ba2d7959273dbcd1f95694
2016-03-03 21:35:43 +02:00
Tor Lillqvist
599dff308a loplugin:unreffun
Change-Id: I13b718ae04c30d02003fa31322de655f9386b815
2016-03-03 21:33:27 +02:00
Arul Michael
fca1147953 tdf#97215 Sorting with update reference causes crash
The memory of SvtBroadcaster* of a cell is freed in EndlisteningCell()
during SplitFormulaGroups call. The same memory address is assigned back
to the cell again when the contents are transferred back after sorting.
This is because the CreateSortinfoArray is done before
SplitformulaGroup. For fix getting mpbroadcaster from the Document
instead of SortinfoArray since we change the broadcaster in document
after creating the SortInfoArray.

Change-Id: Ic492d5019e26ff204307db4fefccc48ec99c0a6d
Reviewed-on: https://gerrit.libreoffice.org/22607
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-03-03 18:54:04 +00:00
Lionel Elie Mamane
ac2505632c tdf#92538 use proper schema name for type names
Change-Id: I7e428e4530765925bd35c7f4fcde7f95ceb12243
2016-03-03 19:45:24 +01:00
Rohan Kumar
f59136a2ed tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
Change-Id: If329cf8257684e7bd2936641b8f14ec3e9b9f733
Reviewed-on: https://gerrit.libreoffice.org/22647
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-03-03 17:00:26 +00:00
Winfried Donkers
f336f63da9 tdf#94635 Add FORECAST.ETS functions to Calc
Change-Id: Ifbfff1c27fb3960a06f467630da0fa39665f0ce4
Reviewed-on: https://gerrit.libreoffice.org/20073
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-03-03 16:28:59 +00:00
Miklos Vajna
cc75888c9e xmlsecurity OOXML export: don't attempt to sign other signatures
For one, MSO doesn't do that either by default.

For another, this would currently result in a io::IOException, because:

- the root storage is opened read-write, to be able to add the signature
- then _xmlsignatures/newsig is opened read-write to be able to write
  the signature
- opening _xmlsignatures/something as read-only still opens the
  _xmlsignatures storage as read-write -> boom, we tried to open the
  same sub-storage read-write two times, OStorage::openStorageElement()
  detects that

Change-Id: I2b90dc044bcfb835df4f19a339a0447e69f42975
2016-03-03 17:11:07 +01:00
Miklos Vajna
963264a417 xmlsecurity OOXML export: don't loose old signatures when adding a new one
With this, at least we don't completely throw away existing signatures.
The roundtrip of them isn't perfect yet, though.

Change-Id: Ibc3408364403a057169e384902afe13b1e397480
2016-03-03 17:11:07 +01:00
Miklos Vajna
122c01989d xmlsecurity: avoid calculating the certificate digest late in XSecController
Every other aspect of the certificate is calculated earlier in
DocumentSignatureManager, so calculate the digest there as well.

Change-Id: Icd97f3ecb084bbce60fcdfa496b6aaf0ac75026d
2016-03-03 17:11:07 +01:00
Stephan Bergmann
dd7a2f9a98 loplugin:nullptr
Change-Id: I3c65591d2693b6aa8bb860bf00100dc28f01db0c
2016-03-03 16:23:52 +01:00
Stephan Bergmann
b0cda1b0b6 loplugin:stringconstant
Change-Id: I1a594a3d62790125244d221aeaa6d989adf30d97
2016-03-03 15:56:21 +01:00
Stephan Bergmann
22b064a785 loplugin:nullptr
Change-Id: Ie50bf53a24d44a7f645f381a3d07710cc3986151
2016-03-03 15:51:23 +01:00
Tor Lillqvist
ebdb1b85b7 Unzip the InfoPlist.strings files into correct locations
Not sure how useful it is to only provide translations for the ODF
document format names, though.

Change-Id: I22a2e5b896e077ca3067a30635f7cdf67c2f5e7c
(cherry picked from commit 16f62d80c38f3920a40fc078edecad905ba2b196)
(cherry picked from commit 348ac6a9d28d5961b8804a7be09d334fbc8ef21a)
2016-03-03 15:16:30 +01:00
Andras Timar
7af143a69f Don't package ui-previewer in App Store case
Change-Id: I122c65d7f6dec7588ea2624e291e9dfe04dff22c
(cherry picked from commit 89dff9226690829b985371c3f2b29e57bfed06ed)
2016-03-03 15:16:11 +01:00
Andras Timar
291b9180ba ERROR ITMS-90511: CFBundleIdentifier Collision
Change-Id: I4413853a2e8c23af770323a1e7b21cedb637cfb1
(cherry picked from commit ca7078abb540623bf4ac5728b94036a7b4782622)
Reviewed-on: https://gerrit.libreoffice.org/22858
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-03-03 14:14:29 +00:00
Andras Timar
0f1133a2f0 put python starter shell script to Resources folder of OS X app
Change-Id: Iaed947b9168fbd1e2d2c79da724426b56bd8a830
(cherry picked from commit 4f606fd7bf1ca0bd440fdccac39aa5f4a5e35a36)
Reviewed-on: https://gerrit.libreoffice.org/22857
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-03-03 14:11:00 +00:00
Michael Stahl
c96dc8822d ucb: replace boost::bind with C++11 lambdas
... and remove now unused comphelper::TNamedValueEqualFunctor.

Change-Id: Ia6cac4ae4e34d2ba134e2f2a4a5b4daea58bf0b3
2016-03-03 15:04:11 +01:00
Michael Stahl
b184b4249d sal: replace boost::bind with C++11 lambdas
Change-Id: If8e16b7805b5b25dafe053e35cd98079abbea83c
2016-03-03 15:04:11 +01:00
Michael Stahl
521c5602e3 sd: replace boost::bind with C++11 lambdas or std::bind
Change-Id: I1fc9ca7712fde802c885f5cfeedec1575d913f85
2016-03-03 15:04:10 +01:00
Caolán McNamara
daa7754026 gtk3: position the native popup menus exactly where we want them
Change-Id: I2594925cba1f7c9c90178906d9c782024ad1cf4f
2016-03-03 14:04:05 +00:00
Caolán McNamara
fbea89b6b2 refactor these two bizarro positioning things into reusable chunks
Change-Id: I3f89aca650d31658ce17b3b1496a7babba23bdc6
2016-03-03 13:56:07 +00:00
Wol
509bc5e5cf Fix java home detection on gentoo
On gentoo (and some other distros?) /usr/bin/javac points at a script
that chooses the version of java to run. So when configure resolves
the link it doesn't end up where it expects to be. This mod detects
this situation, clears java_home, and lets it fall through to the next
test which completes successfully.

Change-Id: I7400ac06485475203abd584f60aed7eca81c7f90
Reviewed-on: https://gerrit.libreoffice.org/22847
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03 13:26:43 +00:00
Tor Lillqvist
f345a2c52a We don't want those bin/InfoPlist_*.zip files in the app bundle
(cherry picked from commit 7956d38fa3c0db77b9b2b41f870bd3587e3dc1af)

Conflicts:
	Makefile.in

Change-Id: I29eefa599f175d98303fca8f5ccf1c8fe85b0bbc
(cherry picked from commit b21140e2de219cd97cae5b7b9b988e1fd70da029)
Reviewed-on: https://gerrit.libreoffice.org/22860
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2016-03-03 13:08:11 +00:00
Michael Meeks
a419ef1860 tdf#98380 - opengl - get font anti-aliasing right.
Change-Id: I087c4939c19bc5966da45cb848d71e95ac982e33
Reviewed-on: https://gerrit.libreoffice.org/22854
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-03-03 12:54:10 +00:00
Miklos Vajna
e4fe540aa4 sc: add classification toolbar
Again this is just UI to call into sfx2, where the functionality is
shared with Writer and Impress.

Change-Id: I73ce6fb54d50c23df19ed2c610766b7c515e94d6
2016-03-03 13:40:14 +01:00
Miklos Vajna
a56ba98ec5 sd: add classification toolbar
This is really just a UI, all the functionality is already shared in
sfx2 with Writer.

Change-Id: Ide5697fe51d30f74490306a70164a3957a8a6429
2016-03-03 13:40:14 +01:00
Eike Rathke
6e7e8af8ed unit test for tdf#98297, exclude/include error values with COUNT/COUNTA
Change-Id: I2cc7d6ebdcb9411060462d7afa704f9e100c6c5e
2016-03-03 13:33:08 +01:00
Noel Grandin
337f517af6 loplugin:unuseddefaultparams comphelper
Change-Id: I78280a13fc0d82fc87041b5dad0c3f2f7d462652
Reviewed-on: https://gerrit.libreoffice.org/22853
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03 12:06:57 +00:00
Michael Stahl
944cdf5fa8 sd: replace boost::bind with C++11 lambdas
Change-Id: Idfac081e0b8aecde488166fe741d5b34cfcc66fe
2016-03-03 13:02:01 +01:00
David Ostrovsky
6153a30e1e .NET detection: Don't try to add not existing path
This fixed this warning:

  cygpath: cannot create short name of \
  C:\PROGRA~2\WI3CF2~1\NETFXSDK\4.6\bin

Change-Id: I2d4e3d2c5e4c3348552355f91a340438eb0f9e8a
Reviewed-on: https://gerrit.libreoffice.org/22850
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-03-03 11:42:32 +00:00
Noel Grandin
5adde1bf69 loplugin:unuseddefaultparams various
Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546
Reviewed-on: https://gerrit.libreoffice.org/22852
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-03 11:39:56 +00:00
Oliver Specht
83dccbadc2 tdf#98224: endless loop in replace all stopped
If a drawing in the document contains the search text then the selection of that
object removes a selection (SwShellCursor) that marks the end of the search.
This is now fixed for that special case.
Replacing text in drawing doesn't work - as before and also not all
occurrences of the searched text are found.

Change-Id: I4a10ddf2dc547572ebb55b6355439d6e320bc980
Reviewed-on: https://gerrit.libreoffice.org/22851
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-03-03 11:31:50 +00:00
Tomáš Chvátal
1f182f130e Update etonyek patch to apply with sle11 patch
Change-Id: I86b43ba29a6b7d0d4c36491234c3354c3d6edf0c
Reviewed-on: https://gerrit.libreoffice.org/22838
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-03 10:41:18 +00:00