Commit Graph

383912 Commits

Author SHA1 Message Date
Michael Stahl
2ee802245e compilerplugins: enhance badstatics plugin to follow pointers
.... and references. This gives numerous false positives as pointers may
be re-set prior to shutdown, so needs a white-list.

Change-Id: I19a011c6f19501cc31b3d9ae76b599296f132478
Reviewed-on: https://gerrit.libreoffice.org/19949
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-17 09:19:24 +00:00
Varun Dhall
23ea117f1c Added Test for tdf#67238 table cell Unprotect
Change-Id: Iaaaaca1bcc5f5b6274f54ef4fcd3f35ffe1a9cd0
Reviewed-on: https://gerrit.libreoffice.org/20008
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-17 09:16:57 +00:00
Noel Grandin
5fc51f8d25 use unique_ptr for pImpl in ucbhelper/
Change-Id: Ibae75fc4d843bd38179d4c7afc6ddb532835c7a6
2015-11-17 10:59:48 +02:00
Noel Grandin
edc264d1da use unique_ptr for pImpl in unotools/
Change-Id: I4128ca0d4ff18f6e0c3c9f8ecad13b69c38c3157
2015-11-17 10:59:48 +02:00
Noel Grandin
85d7a76aba use unique_ptr for pImpl in ucb/
Change-Id: I9a626a11d665b081a7b05db52955598dbd90721e
2015-11-17 10:59:47 +02:00
Noel Grandin
dfb3be7e15 use unique_ptr for pImpl in vcl,vbahelper,uui
Change-Id: Icb7573c24c681a8fc0570d61b6a30dab91378eb8
2015-11-17 10:59:47 +02:00
Noel Grandin
b4bd157d0f use unique_ptr for pImpl in writerperfect/
Change-Id: I23ab4d214ed01073f26cbbf2e88732ccde4ebc10
2015-11-17 10:59:46 +02:00
Miklos Vajna
6ceb4e2d7a sw: unomapproperties.hxx can be private to unocore
Change-Id: Ia3d1c1ccef53113e50f81a2f93aa157c4e23963b
2015-11-17 09:10:45 +01:00
Stephan Bergmann
3972f34a61 Typo "stirng" -> "string"
Change-Id: I08c98ed0f81894444a75adcf7da3a952c7f418cf
2015-11-17 09:09:28 +01:00
Xisco Fauli
970813b0a4 instead of converting from std::string to OUString...
... use OUString directly

Change-Id: Ibdf863d7dbbb578e7fe87eac51e3d773a5b05199
Reviewed-on: https://gerrit.libreoffice.org/20009
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17 07:57:25 +00:00
Tor Lillqvist
da11e33744 Check for OpenGL errors right where an error might be generated
CHECK_GL_ERROR() is now zero-cost in a production build, so no reason
to avoid it.

Don't check for OpenGL errors after glX or wgl calls. They don't
generate OpenGL errors but use the X and Win32 error mechanisms, as
far as I see.

Change-Id: I8f97ef434cbdc89d6e345a247456cfc4a1a82bb6
2015-11-17 09:28:02 +02:00
Noel Grandin
e1d88a5745 use unique_ptr for pImpl's in xmloff/
Change-Id: Ib95118941938af83fed566a085837e17f092017a
2015-11-17 08:23:35 +02:00
Andras Timar
32d4c03cba Updated core
Project: translations  7a70fe0c90384e2259a141073d2db4d6bf0038c5

Updated Slovenian translation

Change-Id: Ie3fd52c15d78d44e7e46207a92d7d23bab492814
2015-11-16 21:28:23 +00:00
Tor Lillqvist
43190248c9 If SAL_WARN() does nothing, no point in CHECK_GL_ERROR() either
Earlier, CHECK_GL_ERROR() always called OpenGLHelper::checkGLError().
That function looks up the OpenGL error status using glGetError(),
which might be a not so light-weight operation, and outputs error
information using SAL_WARN(). In a production build where SAL_WARN()
is a no-op anyway, that is fairly pointless.

Change-Id: I2d044bff6128a8ac7739020f8e414d7d3615e8d5
2015-11-16 22:48:23 +02:00
Tomaž Vajngerl
97972153d0 slideshow: initial work on "honeycomb" transition (incomplete)
Change-Id: I4a46f7f1ec289f96f9fd1b849317b7548ac29383
2015-11-16 21:41:50 +01:00
Stephan Bergmann
8b34be0852 Use injected class name
Change-Id: I22bf0f7024538ea7a6c2c328a6647d3aeb478141
Reviewed-on: https://gerrit.libreoffice.org/20000
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-16 20:37:35 +00:00
Miklos Vajna
70f3c595ca tdf#83300 DOCX import: 'TOC Heading' should not be 'keep with next' by default
On one hand, neither our binary DOC import, nor Word maps the "TOC
Heading" style to something special, and that's how the DOCX import
added that property to some paragraphs in the document, moving the
as-char picture from the first to the second page.

OTOH, the DOCX export filter has a lcl_guessQFormat() function that
explicitly assumes that such a style name exists in Writer document
models, so again it doesn't make sense to handle this style name with
special care.

Change-Id: I3af548930f9683695fc3ad56b486e013f107d61a
2015-11-16 20:42:30 +01:00
Julien Nabet
72ac345ab4 tdf#95824: Crash: when opening Function Wizard
Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=ccde2360d5c29bb99008cfae5ab3675bee4ca46c
Let's just initialize m_pDoc in ctor

Change-Id: I4fe0f8eff5439b3150c90ac14343aaf8e0a4e43e
Reviewed-on: https://gerrit.libreoffice.org/20004
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-16 19:34:51 +00:00
Michael Meeks
a6c5cfa56d vcl: de-layer needless module fragmentation in gtk and gtk3.
Change-Id: I299fa196e960f14e9480e2ac1047bcdcc95b1021
2015-11-16 17:43:07 +00:00
Michael Meeks
9801b2c24c opengl: remove unused mbPixmap & glPix members.
We use textures bound to FBO's for everything in recent times.

Change-Id: I7c9068d75b3653a2ceff0056e2ade1f27955422f
Reviewed-on: https://gerrit.libreoffice.org/19995
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-16 17:24:59 +00:00
Michael Meeks
4ad05823f6 Add comment to 'direct' parameter: un-related to double-buffering.
Change-Id: I07002fd73fc004439aea75c5aca8ca3700ec1079
Reviewed-on: https://gerrit.libreoffice.org/19996
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-16 17:18:29 +00:00
Samuel Mehrbrodt
38839ae10c Remove the ability to set tooltips in the toolbar xml files
It was possible to set a tooltip for a certain toolbar entry.
However, this hasn't been used since that tooltip needed to be repeated for each occurence of the same command.
Instead, a TooltipLabel property has been introduced lately (see 9c2f197e8e).

This doesn't affect extensions (They have their own format to specify toolbars).

Change-Id: I0f0fd05b310bb49dd5b4123e31d3e7fec997dd15
2015-11-16 17:34:25 +01:00
Caolán McNamara
97fc4f7cb8 this is pure cairo, no xlib foo here
Change-Id: I037f4a293c64071306b782a156162735a2658e23
2015-11-16 16:21:49 +00:00
Caolán McNamara
fb7d4ba1cb build cairo on android
Change-Id: Ie2f7662a4cc3955963517f265894b8f6a495ece8
Reviewed-on: https://gerrit.libreoffice.org/19991
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-16 16:07:03 +00:00
Miklos Vajna
dc65f048fd sw lok comments: fix sidebar width with custom zoom
Change-Id: I6772cce10d157421d983d6b93efb52bf8b95f5b8
2015-11-16 16:31:54 +01:00
Samuel Mehrbrodt
d8fc06d233 Move functionality to retrieve command image to CommandInfoProvider
Change-Id: I79c22e0507c5eba8b5e28721de3279131aececc9
2015-11-16 15:49:46 +01:00
Samuel Mehrbrodt
40fa83871e Move CommandInfoProvider to vcl and use it from there
Change-Id: If7e3ef81cad8974bc54f359096e3ecc700fa62d6
Reviewed-on: https://gerrit.libreoffice.org/19984
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-16 14:48:47 +00:00
Andrzej Hunt
396b5f411f sc lok: use client zoom for ViewRowColumnHeaders
Change-Id: I85000851f82ea7cdc4b536683adbc8570de9af7e
2015-11-16 15:42:28 +01:00
Takeshi Abe
f630b6d5f1 tdf#94008 Crash opening password protected file - CJK UI
This fixes a buffer overflow writing over the end of pCaretXArray,
which can happen e.g. when drawing mnemonics in the password dialog.
Based on a similar calculation of nCurrIdx found in
GenericSalLayout::GetCaretPositions().

Change-Id: I7d723cf8cfaeb66f340c7d9ea5b3bc728c6d6209
Reviewed-on: https://gerrit.libreoffice.org/19385
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-16 14:41:39 +00:00
Stephan Bergmann
6edc492efd -Werror,-Winconsistent-missing-override
Change-Id: I3bb2764b625d44f6e0cecbdde3363440faef63b5
2015-11-16 15:26:50 +01:00
Jan Holesovsky
3190f5a71d rename-sw-abbreviations.sh: Add Crsr -> Cursor, Frm -> Frame and Stk -> Stack.
The build works fine with these now, and produces no (new) warning.

Change-Id: I3e5aad7baaec172ee4d2b50ea66876bdb7e9cac5
2015-11-16 14:50:59 +01:00
Caolán McNamara
d49b8e32e5 don't allow caito to add -flto to its own cflags
Change-Id: I22c66755e8e5ede01cf3e5f21c910f759b55de7a
2015-11-16 13:38:51 +00:00
Jan Holesovsky
8a9211a068 sw: prefix members of SwChartDataSequence.
Change-Id: Ie0c91e739ee7a3bda55fd6dd45aa79c6b75675d1
2015-11-16 14:20:19 +01:00
Eike Rathke
b31b17e52b prevent ForceArray propagation on the same token, tdf#95670 follow-up
This may happen if the last RPN token is put and the function has a
ForceArray parameter but now again would be wrong if not all parameters
are ForceArray.

Change-Id: I890fb6b5b88337033cfcf2e8189371ee39461205
2015-11-16 13:46:39 +01:00
Tor Lillqvist
01fc648763 Bin some const char arrays used only once
Change-Id: I08c4cc689016708f4c219f36492bf827111bbc30
2015-11-16 14:28:13 +02:00
Eike Rathke
311b5b69f0 unit test for tdf#95670
Change-Id: I5874a7fea97311b0e69dbeae8923517a08b63c9a
2015-11-16 13:25:50 +01:00
Eike Rathke
49257e1da7 Resolves: tdf#95670 propagate ForceArray per parameter
Regression of b5cd11b4b0

It was always wrong to propagate ForceArray already if a function had a
ForceArray parameter *somewhere*, we need to do this per parameter
instead.

Change-Id: If188d45366279d9a7bf641edc7e4dd7095d6d035
2015-11-16 13:25:49 +01:00
Michael Stahl
c994ce8a1d desktop: stop --convert-to from creating some not requested ...
... file format by default if the requested filter does not exist.

Much better to write an error message and do nothing.

Change-Id: Ie5404772e7aae5751126bd4c2784b58177804448
2015-11-16 13:11:47 +01:00
Michael Stahl
6b6eb1abed sc: add some assertions on ScAccessibleEditLineTextData
JunitTest_sc_unoapi crashed when accessing a disposed ScTextWnd from
~ScAccessibleEditLineTextData(), but the ScTextWnd::dispose() would also
call ScAccessibleEditLineTextData::Dispose() and clear mpWindow, so it
seems impossible to observe a disposed ScTextWnd in the dtor?

Change-Id: If571ee61d9a29601acb1de552ec1b9cc36d0d51e
2015-11-16 13:11:47 +01:00
Noel Grandin
21a9bc8716 no need to take a mutex when only dealing with stack-local data
Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65
Reviewed-on: https://gerrit.libreoffice.org/19979
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16 11:37:11 +00:00
Jan Holesovsky
b317d5fbb5 sw: Rename to avoid conflict after Frm -> Frame rename.
Change-Id: I4d02024fd80ad85c8c3ecd830dcc5c4b49ad2014
2015-11-16 12:34:50 +01:00
Jan Holesovsky
a5055366c3 sw: Rename to avoid conflict after Frm -> Frame rename.
Change-Id: I59147583c74e7211ac56d75468501f328122ba0f
2015-11-16 12:27:59 +01:00
Jan Holesovsky
78bad75960 sw: Rename to void conflict after Crsr -> Cursor rename.
Change-Id: I850a207aebdf2a0f85f1ae75bb6b9a1532b3b4a6
2015-11-16 12:22:52 +01:00
Jan Holesovsky
f794c3f919 sw: Rename to avoid conflict after Frm -> Frame rename.
Change-Id: Iffb3681458aeee7b374d1836158e30b6fd488122
2015-11-16 12:18:52 +01:00
Jan Holesovsky
d72c90cc83 sw: Rename to avoid conflict after Crsr -> Cursor rename.
Change-Id: Iee7124259cadc1db416e8aedc5b4e87f75ba9d21
2015-11-16 12:18:51 +01:00
Caolán McNamara
764a1cdf2a upgrade png to 1.6.19
Change-Id: I3b89e005a0d61ec3b52be16e6a47561fd60887d0
Reviewed-on: https://gerrit.libreoffice.org/19981
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-16 11:18:24 +00:00
Caolán McNamara
6f967b4432 fix android build
Change-Id: Ida1447bad7f81ebfcc0da1e8278a74c11a139afe
2015-11-16 10:56:52 +00:00
Jan Holesovsky
f5c11ad181 sw: Prefix a member in SwVirtFlyDrawObj.
Change-Id: I5514bf16446fa4e4c498a6bc1df77e4f59565ee1
2015-11-16 11:48:10 +01:00
Jan Holesovsky
6329a3036e sw: prefix members of SwTextFrmBreak.
Change-Id: Id1d6166ee8c1c3558746da1d7bb5ad2163a87845
2015-11-16 11:48:10 +01:00
Jan Holesovsky
edf26ccc29 sw: Prefix a member that may conflict after a rename.
Change-Id: I083dfbb768df0ba2a6bd6a396cf33ab1e2e09f4b
2015-11-16 11:48:09 +01:00