389200 Commits

Author SHA1 Message Date
Aleksas Pantechovskis
14c14094e8 tdf#65219 Fix temp files clean up in sc unit tests
Change-Id: I23bf5d47c2cce31d6dd076eeac58cb2ce47b248a
Reviewed-on: https://gerrit.libreoffice.org/22953
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-07 12:17:08 +00:00
Caolán McNamara
48c887fc7a convert DEFINE to anonymous function
Change-Id: I9b62f02ac0013d1da13c176155c5742972a43fe3
2016-03-07 12:08:37 +00:00
Caolán McNamara
a0b634bf57 OSL_ENSURE followed by deref -> assert
Change-Id: Ib815da2f341096775052d2280d62a210a856fdf8
2016-03-07 12:08:37 +00:00
Caolán McNamara
1827987fd1 upgrade neon to 0.30.1
Change-Id: If84ce83cdbde530f7a6743c93ae210b030a41c30
Reviewed-on: https://gerrit.libreoffice.org/22977
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-07 11:14:12 +00:00
Michael Stahl
6a351c5cf9 basic: tdf#87530 if a new password is set, must set mbLoadedSource flag
... so that the library is stored (and encrypted), and not copied
unencrypted from source storage.

Change-Id: I9546087ec6f07007aa1ec377d2e959f2bae99a38
2016-03-07 12:05:32 +01:00
Michael Stahl
aeb4391636 basic: tdf#87530 don't copy storage that doesn't exist
If the Basic library is newly created it may not have been stored to the
document storage yet.

(regression from 5246fa262450f686674850c53df666422f441c86)

Change-Id: I9c2fc1d7446795b9c1c2224671118b2a671dcad8
2016-03-07 12:05:32 +01:00
Stephan Bergmann
4b8c29015d Make detection of HAVE_CXX14_CONSTEXPR work with "selective debugging"
...where "make ... debug=t" is used to build some parts of LO with debug enabled
without re-running autogen.sh (so NDEBUG will start to be undefined, so
constexpr functions calling assert will start to trigger GCC PR66460).  See mail
thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2016-March/073554.html>
"Compiler crash when building libreoffice with debug."

Change-Id: I6e3c0375c1e5843616fb9fe287d0bf5ee40e64f7
2016-03-07 11:43:07 +01:00
Caolán McNamara
55b81956ab Resolves: tdf#98425 gtk3: grab the SolarMutex when setting the clipboard
Change-Id: Ic439affbd69532534f5caf82a743786d5975939e
2016-03-07 10:37:30 +00:00
Caolán McNamara
0c9c5911b6 lwp: fix infinite recurse
Change-Id: Ibd17c0f68a9bac92e591fd2c998de45a84b372aa
2016-03-07 09:26:40 +00:00
Noel Grandin
359e0b47a0 loplugin:unuseddefaultparams
Change-Id: Ia414f7845425ef73859ed04853378e96cc738795
Reviewed-on: https://gerrit.libreoffice.org/22971
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 09:16:00 +00:00
Chirag Manwani
cc84aaf70a tdf#97703 removed empty setUp/tearDown methods
Change-Id: I244d481bce4723d172e26c0d31aab0a541334604
Reviewed-on: https://gerrit.libreoffice.org/22959
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-07 09:13:53 +00:00
Steven Guo
472d900e81 tdf84938 Replaced Sb_Attr_ defined constants with enum class in runtime.hxx
Replaced the #define Sb_Attr_* constants with SbAttributes enum class in runtime.hxx and adjusted uses in methods.cxx.

Change-Id: Ic7f6f6452849ffc9675ffd697ffc130276082318
Reviewed-on: https://gerrit.libreoffice.org/22948
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 09:06:12 +00:00
Miklos Vajna
9e3a15c728 libxmlsec: move new files back to xmlsec1-customkeymanage.patch
That was the situation before commit
ec6af4194e80f5f0b2e46ca59802ff397a2a4a24 (convert libxmlsec to gbuild,
2012-11-29), and if we ever manage to upstream this patch, then it'll
just make the review process harder if half of the patch is in separate
files.

Change-Id: I0d12d72ea7a1a2591d1ef5232c006b6b7fea7aff
Reviewed-on: https://gerrit.libreoffice.org/22973
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-03-07 09:03:22 +00:00
Xisco Fauli
d5649ae7b7 SVGIO: tdf#97539: clip-path elements might contain...
reference to other clip-paths

Change-Id: I3722b31cefa4df6225e369b3d1db9f46be5933ff
Reviewed-on: https://gerrit.libreoffice.org/22956
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-03-07 08:48:50 +00:00
Xisco Fauli
3c465c259c tdf#97538: SVGIO: Add unittest
Change-Id: I5bf523ac532ad19a005d99e19deb1e0ec9ce96e4
Reviewed-on: https://gerrit.libreoffice.org/22955
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-03-07 08:47:40 +00:00
David Tardon
19f2b99b90 fix build, this time for real
Change-Id: I9dbaedc6b4427399618261cac35b2ab9caddc54e
2016-03-07 09:41:23 +01:00
David Tardon
cf3782000f fix build
Change-Id: I372e87f94b52c9880662573a56f28b07fede7d8d
2016-03-07 09:26:26 +01:00
David Tardon
a5ed319273 fix build
Change-Id: If6e42d519187990b27fbf15f22d600af86d952f0
2016-03-07 09:25:07 +01:00
David Tardon
ac47ff0334 drop removed templates from the list
Change-Id: I3017a5904569d9f773d3c69cb6aa27f860b8b2a8
2016-03-07 08:50:59 +01:00
David Tardon
fae56aad84 expand src templates only used in a single place
Change-Id: I0af62539f9dfe636eb242acd766559ffe1097217
2016-03-07 08:50:59 +01:00
David Tardon
71e1a44ba1 expand src templates only used in a single place
Change-Id: If10e2fb1448867e79df3ddc962f93b904af94b3d
2016-03-07 08:50:58 +01:00
David Tardon
055fb754c6 expand src templates only used in a single place
Change-Id: Ic18e4c0a1617f0284b7ffcfb8859cdced4949471
2016-03-07 08:50:58 +01:00
Tor Lillqvist
9ffb33a5f0 Bin overly verbose OSL_TRACEs of questionable usefulness
Change-Id: Ic535aef31c2a8d73f9c496ffdc535494c15d3c12
2016-03-07 09:43:32 +02:00
Tor Lillqvist
b5e280fdd0 Bin overly verbose function entry/exit debug print macros
Change-Id: Icdbb9344a669e5f78d5db85dc555e91a56ded34c
2016-03-07 09:36:33 +02:00
Chirag Manwani
cbbeb771ba tdf#96099 Reduce number of trivial typedefs
Change-Id: I39e9fcfdf2203239ac56d1c8195ca7ac07054817
Reviewed-on: https://gerrit.libreoffice.org/22898
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 06:33:10 +00:00
Douglas Mencken
eb07740320 fix typo getSupportedPlaforms -> getSupportedPlatforms
Change-Id: I6adecfc0475b3c93a538874515be478efb733fae
Reviewed-on: https://gerrit.libreoffice.org/22968
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 06:25:58 +00:00
Noel Grandin
70f87284c6 improve defaultparams loplugin
to catch calling params with defaults like "= OUSString()"

Change-Id: Iad060e318ed492c22f8be44e326174fe6d28fff9
Reviewed-on: https://gerrit.libreoffice.org/22932
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 05:57:17 +00:00
Noel Grandin
37a6bafea8 loplugin:unuseddefaultparam in various
Change-Id: I03d7381aad055cbe9bd905e4082586073f4112e0
Reviewed-on: https://gerrit.libreoffice.org/22900
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 05:56:59 +00:00
Noel Grandin
5f6e5cb695 loplugin:unuseddefaultparam in editeng
Change-Id: Ifd86b0f6cca5d5d30daeee1c087c0124f2f18f3c
Reviewed-on: https://gerrit.libreoffice.org/22899
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 05:56:43 +00:00
Takeshi Abe
b89feb8018 starmath: Make SmNode abstract and noncopyable
... and remove unused SmStructureNode's copy ctor/assignment operator.
This seems desirable according to the old comment in SmNode::Accept().

Change-Id: Ifb51c64ca784f1295374d31cc210cbe3e45aa2f8
Reviewed-on: https://gerrit.libreoffice.org/22801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-03-07 03:37:07 +00:00
Tomaž Vajngerl
ed51d4293d opengl: fix loading shader with preamble that uses #version
The preamble was inserted into a false position so the shader
could was constructed incorrectly and would fail to compile.

Change-Id: I4c51adde9014a326bbe38a5d2d17dd0047e33195
2016-03-07 00:20:59 +01:00
Tomaž Vajngerl
7295729574 opengl: fix inv.scale values are always integer - cid#1352479
Force cast to double to avoid integer division - which gives a
wrong inverse scale value.

Change-Id: I0135e44ef07f3915619f9dfead9aadf50fc03685
2016-03-07 00:15:54 +01:00
Caolán McNamara
f12e8d6618 coverity#1326576 Useless call
Change-Id: I1d51b96042f229de42ed26d90ecc2a070eb5b3a6
2016-03-06 20:50:06 +00:00
Caolán McNamara
278bc4ecfd coverity#1355250 Logically dead code
Change-Id: If5a07e11cf63d0dbb83853fce48b2eb7b458663b
2016-03-06 19:22:37 +00:00
Caolán McNamara
ba9393b644 coverity#1355253 Uninitialized scalar field
Change-Id: Ib89a7e44562b6bf8a8ae41e71e3d91ad5569b8d1
2016-03-06 19:22:37 +00:00
Caolán McNamara
22d2b498ce bIsExpanding is unused
Change-Id: I187ca7dc0e9e1a99e82145f4bcdce6abaac68278
2016-03-06 19:22:37 +00:00
Caolán McNamara
3342a557e4 coverity#1355252 Uninitialized pointer field
Change-Id: I34c5565adcfd3fd39f9b03967e5c4272767a58ea
2016-03-06 19:22:37 +00:00
Maxim Monastirsky
1f9374af4f Use menu URLs for context menu interception
This way it's clearer what this name stands for, as it's now
the same name that used to manipulate the same menus via the
XUIConfigurationManager API. It's also consistent with the
names we use for spelling/grammar (see SwView::ExecSpellPopup)
or read-only (see SwEditWin::Command) menus.

Change-Id: I0619578cea9d1f495168e2fa5060d1a664bfcd59
2016-03-06 21:19:17 +02:00
Markus Mohrhard
dc5e56e691 use the initializer list
Change-Id: Ie97eb9d3d162f22f83442c843d3c7f98434f91a8
Reviewed-on: https://gerrit.libreoffice.org/22938
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-06 17:43:33 +00:00
Markus Mohrhard
7afe51975e don't use same file in two tests
Change-Id: I853e5390cf5c3f6fe8ac8e00a876ed021c35a766
Reviewed-on: https://gerrit.libreoffice.org/22954
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-06 16:13:27 +00:00
Xisco Fauli
5f0c3172b3 SVGIO: Check minX, minY, maxX and maxY in polypolygon
Change-Id: I768bef34ad0ba7708134e73981dabf0d47c2f259
Reviewed-on: https://gerrit.libreoffice.org/22952
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-03-06 15:16:22 +00:00
Yousuf Philips
e5f56d0c6e tdf#96969 Calc: Change shortcut key for Select Column
Change-Id: Iaaceef8af479ab40b157b06ed73a71c56e20ece7
Reviewed-on: https://gerrit.libreoffice.org/22795
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-03-06 14:01:57 +00:00
Julien Nabet
72f50743af cppcheck: help it a bit to not fail with syntax error in its AST
Change-Id: I22e1405b2ad94ec4d47011c3f11d108a1bde4fba
2016-03-06 10:02:47 +01:00
Julien Nabet
dff052784e cppcheck: fix redundantCondition
Change-Id: I4b8883ae7e0bf0990ae8736dba598ab3943ad401
2016-03-06 09:59:45 +01:00
Julien Nabet
025cf075c1 cppcheck: fix duplicateBreak
Change-Id: Iab3be6d6b7dac0497f7de6dc64b4c7828e0754d5
2016-03-06 09:53:10 +01:00
Matteo Casalin
96be131c5e Minor optimization, and improved comments
Change-Id: I6732725ef48d69f4c01762a117a60447e313aea0
Reviewed-on: https://gerrit.libreoffice.org/22936
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-06 06:40:41 +00:00
Matteo Casalin
078188793b Remove unuseful nStartIndex data member (and fix indexing)
The methods that modify nUinqIndex already maintain class invariants:
* Insert() never decrease its value
* Remove() can replace its value with that of the removed item,
  which was no lower than the one specified in constructor call.
Besides, boundary checks against nStartIndex are not really needed
since the various methods rely on map::find.

Finally, FirstIndex/NextIndex/LastIndex/GetIndexOf did not adjust with
nStartIndex the index value retrieved from tha map, thus provifing wrong
values. Since the map now stores the real indexes, consistency is granted.

Change-Id: I5e47cd2672677805304d4c4860826fe272812abf
Reviewed-on: https://gerrit.libreoffice.org/22935
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-06 06:39:26 +00:00
Matteo Casalin
bc2e74f3c3 Simplify recycling/search of freed UniqueIndex-es
Change-Id: Icb8b375a95718a72abdd6650dda49fb9f43026a4
Reviewed-on: https://gerrit.libreoffice.org/22934
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-06 06:37:05 +00:00
Yousuf Philips
cd0c89f768 SIFR: Add and improve slide master icons in Impress
Change-Id: I735bf8236421b94230dd2e32e7d0bf72474c9842
Reviewed-on: https://gerrit.libreoffice.org/22941
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-03-06 03:27:07 +00:00
Olivier Hallot
bd244c404f Updated core
Project: help  dc56b449b539d845460903a0c614ee9df48b7962

tdf#89419 Help entry for OpenGL options

Add help entry for OpenGL in Tools - Options - LO - View

Change-Id: Id4c8914c86b6dc1ed04a93f97512e3069d6696eb
Reviewed-on: https://gerrit.libreoffice.org/22915
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-03-05 22:13:18 +00:00