380784 Commits

Author SHA1 Message Date
Andrea Gelmini
a0dd7f887b Fix typos
Change-Id: I7dbee92d75836c54fd245c89a70ab02e40dafefb
Reviewed-on: https://gerrit.libreoffice.org/18998
Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-29 22:12:56 +00:00
Caolán McNamara
e0e2cc7ca6 Related: tdf#93461 relax loop detection some more
have an internal RH document which has a caption on a draw
document which appears behind the drawing otherwise

Change-Id: I7c3abb3104e0125fce4fc1b575861006f166fa48
2015-09-29 21:07:48 +01:00
Andrea Gelmini
81e2dbd9b5 Updated URL
Change-Id: I20656a78d25bcb767340057c259e9b2d83ec152a
Reviewed-on: https://gerrit.libreoffice.org/18933
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-09-29 19:23:38 +00:00
Stefan Heinemann
c50eb68af3 Renamed wrongly prefixed boolean variables
Fixed tdf#94269

Change-Id: I63109cc4e095bad680d7637a065080ea368860ae
Reviewed-on: https://gerrit.libreoffice.org/18851
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29 18:33:40 +00:00
Andrea Gelmini
491c2e24ac Jewish Calendar: updated URL of borrowed code
Change-Id: Id937e0b1192ad0bf4ba4ecc38e69c55d024fe3c0
Reviewed-on: https://gerrit.libreoffice.org/18930
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-09-29 18:19:31 +00:00
Yousuf Philips
796fc2b502 Updated core
Project: help  54f47c030184e70a78b29b81868bef43c4c7d172

tdf#92825 Fix the file menu in writer, calc, and impress

Change-Id: I2deb95d101073ac452b9088e4062c7a3a75bea81
Reviewed-on: https://gerrit.libreoffice.org/18515
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-09-29 16:22:19 +00:00
tagezi
a0a8b89753 Updated core
Project: help  fa9b83defffcd6a10aacf8f97106cd17054855cc

tdf#85228 Added description of AGGREGATE function

UPD: Changed in accordance with the comment of Regina (10:36 PM)
UPD: Corrected separators in the syntax
UPD: set up tags <item>

Change-Id: I05993ffec8af8dd1e997b3d2ae92ba0226b1bf28
Reviewed-on: https://gerrit.libreoffice.org/18821
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2015-09-29 16:10:20 +00:00
Caolán McNamara
318bbe8a6d reorganize so arrays are allocated with same variables as access limits
in an effort to unroll this for coverity, no logic change intended

Change-Id: Ifbb0ec6d8c4d6f1dfe809f9fecdf3af4f87399e3
2015-09-29 16:06:56 +01:00
Michael Meeks
0e163b0db5 tdf#93922 - dispose the calc InputHintWindow properly.
Change-Id: I5c331380b872429cf1fa3908c6add8de879c9ed2
2015-09-29 16:07:56 +01:00
Eike Rathke
ef0a26835e use exponential 'E' format for General when appropriate
Fixes all these test case scenarios:
1. in A1 enter =1E222
   * move cell cursor back onto A1
   * status bar displays Sum=100000... repeated until
     filled (or 222 '0' characters)
2. invoke number format dialog on A1
   * for General format 100000... is displayed in the preview
3. move cell cursor to A2
   * open Function Wizard (Ctrl+F2)
   * choose (double click) ABS function
   * enter A1 as parameter
   * see 100000... displayed as Function result and Result
4. save as .ods
   * in content.xml see display text of A1 being saved as 100000...

Change-Id: I7c22c0461a6783c85c1d51c31e8607fb2edb821c
2015-09-29 16:01:47 +02:00
Eike Rathke
82d1c4b9bb Revert "do not use unlimited precision in status bar"
... that cured only a symptom.

This reverts commit 04aceed37a42245392ed4671d276dd2de6118a89.
2015-09-29 16:01:47 +02:00
Takeshi Abe
4672445c1a starmath: ClaimPaternity() is only for SmStructureNode
rather than SmNode.

Change-Id: I2c4765500f077007979417b90f47cc22c6362491
Reviewed-on: https://gerrit.libreoffice.org/18917
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-29 13:41:10 +00:00
Caolán McNamara
64a3c4d9e2 m_pData is always a ImplSVEvent
Change-Id: I0207419ac1b2ecdf36f208169766d965ae48ad8c
2015-09-29 14:38:51 +01:00
Noel Grandin
34180700b2 loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29 15:08:43 +02:00
Stephan Bergmann
e710170d90 Avoid ambiguity with C++14 std::make_unique
Change-Id: I81b8bed175527bab02ffdd2fa17fa6a66c243d95
2015-09-29 15:04:21 +02:00
Michael Stahl
106a96075d vcl: oops, fix windows build
Change-Id: I73135440321c7c9898f758cb7a921d62f2265bcb
2015-09-29 15:02:45 +02:00
Michael Stahl
ea8de68df5 vcl: Vista implies usp10.dll >= 1.600
... claims https://en.wikipedia.org/wiki/Uniscribe - #ifdef this so it
can be removed when dropping XP support.

Change-Id: I9a51635cf9bb4876faf6dca011e6da9e1c2dc35d
2015-09-29 14:57:44 +02:00
Michael Stahl
28f18b68db vcl: replace alloca() with std::unique_ptr
Change-Id: I82b982895ee422bcf5a23756df4d81c89bc47636
2015-09-29 14:57:44 +02:00
Michael Stahl
9555d03c98 remove unused #include <sal/alloca.h>
Change-Id: I490841fd2c526e4ca6d6c94cc7b9dba318c932a1
2015-09-29 14:57:43 +02:00
Michael Stahl
e77981764a filter: the placeware filter is not entitled to its own createTempFile
Change-Id: Id4f4c23eab4aaf4d0f42827a89ecf90364605d97
2015-09-29 14:57:42 +02:00
Michael Stahl
16e3daba91 vcl: replace alloca() with std::unique_ptr
Change-Id: If0f44ac761afdf50a8e6f5c77023ae5d74fdcad9
2015-09-29 14:57:42 +02:00
Michael Stahl
2c9a1811fc vcl: replace alloca() with std::unique_ptr
Change-Id: I73d27e0e5a8ad0a02579c43f3fd479cb374d6bbd
2015-09-29 14:57:41 +02:00
Michael Stahl
8f3d411f46 toolkit: convert alloca() to std::unique_ptr
Change-Id: Ie50b4a1a189fffdaa6a0b26040c2e7c4cc42cd69
2015-09-29 14:57:40 +02:00
Michael Stahl
54bb97aa30 sax: remove obsolete XML_UNICODE code
Change-Id: Ib5b9b7dc01b713554cf33f58f8fe2f97cb32c369
2015-09-29 14:57:40 +02:00
Michael Stahl
8102575002 vcl: remove alloca() in UniscribeLayout::GetCaretPositions()
Change-Id: I0caab3b69b10aba6a5d45a11f8e9724b4d3c6d83
2015-09-29 14:57:39 +02:00
Michael Stahl
d70302ef5c basic: more plausible build fix than e5a8eb9e
Change-Id: I26fd8a76a17386de73fa12058509ccee7e768512
2015-09-29 14:57:39 +02:00
Caolán McNamara
e5a8eb9e29 fix dbgutil build
Change-Id: If2a9d330bd7fde8db5e998e97c278fb19c90f24a
2015-09-29 13:48:00 +01:00
Stephan Bergmann
4290105937 Remove newly meaningless comment
...after d35adb0835eb57ca6ef0576781a87d829c2689d0 "Retain the original project
name"

Change-Id: I9b351c79914bf31f2afcc69f3888fee9ea8b10ed
2015-09-29 14:39:18 +02:00
Caolán McNamara
46c4be15d7 boost->std
Change-Id: I26a4ac92e05f4c6ee46f32acb59fcd39d7dc2ac4
Reviewed-on: https://gerrit.libreoffice.org/18890
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-29 12:37:30 +00:00
Stephan Bergmann
7aa6009a7f Take care of ~ViewShellBase -> ~FormShellManager -> ViewShellBase::...
...ViewShellBase::GetEventMultiplexer call sequence, where

  OSL_ASSERT(mpImpl->mpEventMultiplexer.get()!=NULL);

would call on an already stale ViewShellBase::mpImpl if ~FromShellManager were
only called from within ViewShellBase::~Implementation instead of directly from
~ViewShellBase.

(Needed to unbreak <https://gerrit.libreoffice.org/#/c/18890> "boost->std" on
Mac OS X, where libc++ presumably nulls a std::unique_ptr early in ~unique_ptr.)

Change-Id: I179e0d12cc049f33b5724673b65f84d7f7c3d059
2015-09-29 14:36:14 +02:00
Oliver Specht
d3c7c9ea81 tdf#94559: first step to remove rtti.hxx
replaced use of PTR_CAST, IS_TYPE, ISA in
avmedia, basctl, basic, cui, dbaccess, vcl,xmloff

Change-Id: If4496762e82e896b6fbc362e6626502703c245f5
Reviewed-on: https://gerrit.libreoffice.org/18905
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-29 12:26:20 +00:00
Stephan Bergmann
2bce2365e7 Work around odd -Werror=strict-overflow
"sc/source/filter/oox/pivotcachebuffer.cxx:401:45: error: assuming signed
overflow does not occur when assuming that (X + c) < X is always false" at least
with "g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)" and --disable-debug

Change-Id: I1d267b2947f04b84f73da2b1458d316397e2374e
2015-09-29 13:55:47 +02:00
Pranav Kant
c3ce35f0a1 lokdocview: Reset view completely
Resetting tiles only is not enough. We need to empty stale
selection rectangles, handle bars, cursor positions etc., so that
they do not interfere with next view to be opened using same
widget instance.

We are not destroying the document here, so the widget would
still point to the same document unless it is made to point to
another document by subsequent lok_doc_view_open_document calls.

Change-Id: I3c7cc789c8c7393b3793b4edf6aa96d54bc0b1a3
Reviewed-on: https://gerrit.libreoffice.org/18866
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-29 11:32:16 +00:00
Caolán McNamara
f31d7fecb6 the only use of non-null pData in PostEvent is with a ImplSVEvent
Change-Id: Id843c886cc9a029f37eab53a95497707060c3ada
2015-09-29 12:16:38 +01:00
Caolán McNamara
d62dddd634 coverity#1325059 Argument cannot be negative bodge
Change-Id: I9bae22c7420247a26f0fe73e6c4e590471f19b0e
2015-09-29 12:13:03 +01:00
Caolán McNamara
4fd693f718 coverity#1325060 Argument cannot be negative bodge
Change-Id: Iee72d75a5609aa6e1098723ff62928bd47b42072
2015-09-29 12:13:03 +01:00
Takeshi Abe
ce3c818e89 starmath: tdf#93240 replace boost::ptr_vector
with std::vector<std::unique_ptr>

Change-Id: I72f96b08273c73cbd11c7796c34a45b262325209
Reviewed-on: https://gerrit.libreoffice.org/18820
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29 11:05:22 +00:00
Caolán McNamara
ccdf49ab24 missing a PostEvent apparently
Change-Id: I54c39d23007d079fc9fdedf68c81c7eba64baea0
2015-09-29 11:33:49 +01:00
Stephan Bergmann
bf89e877e2 -Werror,-Wunused-variable
Change-Id: Ice39e95596c5fcd9b3b728ef0064161898f27fb5
2015-09-29 12:23:56 +02:00
Caolán McNamara
1b4994065e retain type for another level
Change-Id: I4017e5404c99d37b36988f1d7a8ce17e42010070
Reviewed-on: https://gerrit.libreoffice.org/18913
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-29 10:21:15 +00:00
Caolán McNamara
97a2ca5d68 coverity#1242658 Untrusted loop bound
Change-Id: I0a279e47a4d87f561f39d5a8ca65fa17e2bc4a65
2015-09-29 11:10:34 +01:00
Caolán McNamara
6a0adc9aea fix coverity#1325071
Change-Id: I36e2e15b3c01c3d648feb23d8c886ea26301a5fd
2015-09-29 11:10:34 +01:00
Caolán McNamara
d49430893e coverity#1325077 Uninitialized pointer field
Change-Id: I74121c1cc94edf338cf40a3d186308491e1d2409
2015-09-29 11:10:34 +01:00
Caolán McNamara
4d5979d35a coverity1325072 Resource leak
Change-Id: I78db1f189d4773ba2ced52fee82add2344b7435e
2015-09-29 11:10:33 +01:00
Caolán McNamara
a0c42a13de coverity#1325071 Resource leak
Change-Id: If045233eeb0d8f6fab89dff4c4307a3b8bde5a92
2015-09-29 11:10:33 +01:00
Caolán McNamara
2f50e90080 coverity#1325070 Resource leak
Change-Id: I9ae845f1350095e5049ca4e56956fe9f5c7c918f
2015-09-29 11:10:33 +01:00
Caolán McNamara
cea187b6ea coverity#1325069 Resource leak
Change-Id: Ie02b77e17403474c65fbafa9ee2aa17bf0132417
2015-09-29 11:10:33 +01:00
Caolán McNamara
e2c8fbb535 coverity#1325068 Resource leak
Change-Id: I608140eb05703f6f0cf2920be7ed706ef30e2a7d
2015-09-29 11:10:32 +01:00
Caolán McNamara
acf83365fc coverity#1325067 Resource leak
Change-Id: I1db24c81a2698ff49dd2441ddd1bc94a1a3e6f58
2015-09-29 11:10:32 +01:00
Caolán McNamara
1faa4dd2fb coverity#1325066 Resource leak
Change-Id: I8065898bcce11f8b0243aea23854edee6fb05595
2015-09-29 11:10:32 +01:00