Commit Graph

366698 Commits

Author SHA1 Message Date
Matúš Kukan
f92183833f package: Better to use temporary files for huge memory zip streams
ZipPackageBuffer was holding the whole compressed data stream in one
uno::Sequence which seems to be a lot for big documents in some cases.

Change-Id: Ib10d00ac54df9674231f4bbf047fab7e9b0a7d45
2014-12-14 00:21:20 +01:00
Matúš Kukan
43eca2d9f8 package: Create memory buffer only when we need it - if we use parallelism
Otherwise write directly to the resulting zip file.

Change-Id: I75097969f0cccf0b45da591c71221e5ae18668cb
2014-12-14 00:21:18 +01:00
Miklos Vajna
2ffeaecdf0 writerfilter: only dmapper needs LoggedResources
Change-Id: Ic8c691c4185ec8b808e75885f9354c35d68be58c
2014-12-13 20:45:30 +01:00
Miklos Vajna
f7a87bf837 writerfilter: only dmapper needs DomainMapper.hxx
Change-Id: I9508938754cf353ecc210eb13d7063ac7ef437bf
2014-12-13 20:45:25 +01:00
Miklos Vajna
7012e5fc75 Avoid '#include "../'
Change-Id: I1ae598269b81095dc7d6ad83044f228d1297bfb8
2014-12-13 20:45:19 +01:00
Miklos Vajna
fa15bd13a9 writerfilter: use DomainMapperFactory
Change-Id: I8053676f9aec8f20dc9753c5651a072c5d80c1f2
2014-12-13 20:45:12 +01:00
Tor Lillqvist
9939fb9777 Fix build for iOS
Change-Id: Ib2c1d439866764a5c3510f0796efe6bc0d8d2a1e
2014-12-13 11:09:49 +02:00
Yousuf Philips
56cc4c4f4c fdo#84909 enable start from current slide and add its tango icons
Change-Id: I2af37e19f5f54557415b80d9aad2bba38d381a87
Reviewed-on: https://gerrit.libreoffice.org/13462
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2014-12-13 05:34:15 +00:00
Tor Lillqvist
801408c441 Define gb_LinkTarget__use_plc4 for Android build
Change-Id: Ib44177a27b58e1f11fc98bfe0852f381251e436e
2014-12-12 23:51:17 +02:00
Radu Ioan
3c77eba67b fdo#85486 - Clean up unnecessary enumerations from xenum.hxx
Removed XHatchStyle

Change-Id: I89e7edadc4f408e5a50840aaa1a13965b8503afb
Reviewed-on: https://gerrit.libreoffice.org/13442
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-12 20:22:15 +00:00
Tor Lillqvist
e570cd7a29 Make IPHONEOS_DEPLOYMENT_TARGET match configure.ac
Change-Id: Ie81075e1e392facfd281acdd652f6fcc6076c70e
2014-12-12 19:55:17 +02:00
Lionel Elie Mamane
1e10f6d229 fdo#67930 work around fdo#68024
don't emit string-value attribute

Change-Id: I3668b88437451523f2b6bb3c2c82e1929f7ba3d8
Reviewed-on: https://gerrit.libreoffice.org/5371
Tested-by: Miklos Vajna <vmiklos@suse.cz>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
(cherry picked from commit 76408b0f0d7e91cddb8b056069a2ee547109b156)
2014-12-12 18:04:40 +01:00
Michael Stahl
d6ce95ae22 fdo#87044: reportbuilder: Revert "fdo#67930 don't use variables ...
... for formattedtext in header/footer"

This reverts commit b0e3c6b8fa.
This reverts commit fc92c1abeb.

The other fix from the libreoffice-4-1 branch seems to work better.

Change-Id: Idc5d7543c11dff74977729dab5afd978197dab6a
2014-12-12 18:04:39 +01:00
Michael Stahl
458f22c338 reportbuilder: re-add numerous bits of dead code needed by bug fix
Change-Id: Ia0a8b8ec3b4684ad6766467c8e3413f91dc8bf67
2014-12-12 18:04:39 +01:00
Michael Stahl
541800fa17 reportdesign: avoid assertion on duplicate properties ...
... from XMLAutoStylePoolProperties that happens when opening bugdoc
from fdo#87044.

Change-Id: I7002cf5176cd326f57b50fb6030ffb89160c237b
2014-12-12 18:04:39 +01:00
Stephan Bergmann
fbcb2556be ucb: Use appropriate OUString functions on string constants
Change-Id: I6839e032c981fcff472f29c51c84503d6370fd1c
2014-12-12 17:53:23 +01:00
Stephan Bergmann
34a903796c svx: Use appropriate OUString functions on string constants
Change-Id: Ia012f2bec767cd7e7d2be9502062bea0b085fea0
2014-12-12 17:53:03 +01:00
Stephan Bergmann
d2177cded6 sfx2: Use appropriate OUString functions on string constants
Change-Id: I28ca30da980b81dbf3328495291916afca654999
2014-12-12 17:52:47 +01:00
Stephan Bergmann
58138d117d sax: Use appropriate OUString functions on string constants
Change-Id: Ic0750322439f15e6c9b99dac9dbb3b8c060ad8e0
2014-12-12 17:52:31 +01:00
Stephan Bergmann
b733f5c4f4 framework: Use appropriate OUString functions on string constants
Change-Id: I72bb5ff2ab8a55061072fde567fcc1c4a8e20a2f
2014-12-12 17:52:18 +01:00
Stephan Bergmann
4fbdcb8c05 extensions: Use appropriate OUString functions on string constants
Change-Id: I2476f409604d69e8e8ea1a132cd0a9169b5d435e
2014-12-12 17:51:56 +01:00
Stephan Bergmann
9d94148b04 desktop: Use appropriate OUString functions on string constants
Change-Id: I5791c212a103fe9c2a5376545944a70454b28bdd
2014-12-12 17:51:36 +01:00
Stephan Bergmann
bca00da686 connectivity: Use appropriate OUString functions on string constants
Change-Id: I10b2ddf9dcc83219fea8eb55783507eed52702e8
2014-12-12 17:51:11 +01:00
Tor Lillqvist
77d844c9a9 Add plc4 for PL_strdup
Change-Id: I2a2f18d76b0deb5f6cfd68b36699d940703372b3
2014-12-12 18:36:13 +02:00
David Tardon
bf97980c8d rhbz#1116534 crash when pasting over a formula
When pasting CSV data into existing document, we cannot use the
ScImportExport optimization for insertion, because the cells can already
have content (a grouped formula in this case). So use appropriate
ScDocument functions, even if that means the import is slower.

This is a regression from commit 93959db4d8
"use DocumentImport for csv import, related fdo#69006".

Change-Id: I92f70abca0542d796e3aa674b28a31053fff00d0
2014-12-12 17:32:22 +01:00
Tor Lillqvist
cbf0c9f833 Tentative fix for fdo#83937
One clear bug in the code, in my opinion, was that
PDFSigningPKCS7PasswordCallback() returned its argument as such. However, a
PK11PasswordFunc should return "a pointer to the password. This memory must
have been allocated with PR_Malloc or PL_strdup", says
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/pkfnc.html
.

I could not test this fix fully before my hardware token decided to block
itself, thanks to too many wrong PIN attempts. Possibly it would work to even
just pass NULL for the password callback function and its argument to
NSS_CMSEncoder_Start(). After all, at least with the hardware token and
associated software that I tested with, the software itself pops up a dialog
asking for the PIN (password).

Change-Id: I85a8b2833cfdd1a1d7b7779016fefb71dd53ab80
2014-12-12 18:06:39 +02:00
Stephan Bergmann
d79b96cf65 css::uno::Sequence ctor with initializer_list
(though LIBO_INTERNAL_ONLY, as it needs C++11, so cannot in general be used in
URE client code; I think it's better to not offer it outside LO at all, than
based on a feature-check macro, and thus catch accidental misuses of it via
CppunitTest_odk_checkapi)

...plus adapting binaryurp/ to use the new feature

Change-Id: I9a88a0e9eac5daf72896470e8b6a1deb1a6fc88f
2014-12-12 17:04:47 +01:00
Caolán McNamara
7a85674c93 Resolves: fdo#87245 crash because clip doc doesn't own DocumentPool
multiple documents sharing the same doc pool so can't unset its
secondary here.

Here the assumption is that SharePooledResources has always been called on Clip
or Undo docs (otherwise persumably need a flag which SharePooledResources
toggles on)

Change-Id: Ibcdbe5f698102dc683c290d3bd581c31e214765f
2014-12-12 15:02:38 +00:00
Eike Rathke
b500e60b32 resolved fdo#86809 connect filter conditions correctly
Maybe since 0960ec3e1b all conditions of a
single filter stack were OR connected, regardless whether filter-and was
given in the file.

Change-Id: Ifb423ccc7deb42bb6bba0bfc810607633f2c342c
2014-12-12 15:22:43 +01:00
Caolán McNamara
1a858eabef fix typo, thanks to Matteo
Change-Id: I6fd3f69cc56672fe2639ee575f9ed0cdf45490bd
2014-12-12 13:43:10 +00:00
Caolán McNamara
6daf1083c2 coverity#1242875 Untrusted pointer write
Change-Id: I197a67320bd6cd8f0e6735b8cd24deebcdf190f1
2014-12-12 12:46:50 +00:00
Caolán McNamara
9785fd625f silence coverity#1242911 Untrusted loop bound
Change-Id: Ifab75371cbedd26d510f162efe2c9247e37893ed
2014-12-12 12:35:24 +00:00
Caolán McNamara
bab07202fc coverity#1242775 Use of untrusted scalar value
Change-Id: Iaaf92c4be9b41c5824a1b1474fbce19a1afa49ae
2014-12-12 12:32:08 +00:00
Caolán McNamara
24d2831e69 coverity#1242895 Untrusted loop bound
Change-Id: If01f0edecca8988087386507717ea8222058bab8
2014-12-12 12:27:07 +00:00
Caolán McNamara
886f962d3a coverity#1257108 Explicit null dereferenced
Change-Id: Ic4d9c99c8a2b994cec8828808d02a46ec6a18e2c
2014-12-12 12:20:50 +00:00
Caolán McNamara
956de90c04 coverity#1242728 Use of untrusted scalar value
and

coverity#1242836 Use of untrusted scalar value
coverity#1242927 Use of untrusted scalar value
coverity#1242937 Use of untrusted scalar value
coverity#1242942 Use of untrusted scalar value

Change-Id: I66b602c27ee78ba80baab74dfb49ae90df45cbdc
2014-12-12 12:13:39 +00:00
Caolán McNamara
4f8029066a coverity#1257735 Logically dead code
Change-Id: Ia96d9b4ead01e6ba68d97e933cae7c97a75efdf1
2014-12-12 12:05:48 +00:00
Caolán McNamara
11a0890b6c coverity#1257736 Explicit null dereferenced
Change-Id: I2cd312255f80e22ead614d0ea12a2130fb8bbeaa
2014-12-12 12:00:42 +00:00
Caolán McNamara
efa5db0755 leave this Clone as inline
so code isn't generated for it unless the new_clone is required,
which it isn't under gcc.

Change-Id: I07e0b3e4b2e07625509b51ba7d37e24440f56cfe
2014-12-12 11:49:04 +00:00
Caolán McNamara
2c2e80da68 callcatcher: remove newly unused code
and rework reads to just return the read value

Change-Id: I5d2f01064465c65859ec4ba031ec9dfa16403487
2014-12-12 11:49:03 +00:00
Caolán McNamara
c928840ef2 leave the deliberately unused, not-for-use method inline
doing so means code is not generated for it seeing as its not used, moving it
out means code is generated for it and its detected as unused code

Change-Id: I72edc89446bdfac50069e0b509fc7f90540e0d4a
2014-12-12 11:49:03 +00:00
Noel Grandin
7320714922 java: fix non-public UNO implementation classes
which I messed up in commit 70f56bc22f
"java: reduce scope, make member classes private"

Change-Id: I817b2a571e2124f551ccd5c0d8e1099d89f0ec46
2014-12-12 13:41:21 +02:00
Stephan Bergmann
513108bd57 xmloff: Use appropriate OUString functions on string constants
Change-Id: Idbe6ac27a4125bd9d9acb01ac42b60396abf0c81
2014-12-12 12:25:35 +01:00
Stephan Bergmann
554ba09f76 vcl: Use appropriate OUString functions on string constants
Change-Id: Ie230115d71bffeb08fc13380648e8216c43f3a5d
2014-12-12 12:25:01 +01:00
Stephan Bergmann
6088eb600b unotools: Use appropriate OUString functions on string constants
Change-Id: I14d3a3187b8528e3ff9743245b869773c2eb5e98
2014-12-12 12:24:35 +01:00
Stephan Bergmann
55cd108d48 testtools: Use appropriate OUString functions on string constants
Change-Id: I5cb34d95e2a59ff6a3f5189beb40b7dbf574dc29
2014-12-12 12:24:15 +01:00
Stephan Bergmann
45fe77164c toolkit: Use appropriate OUString functions on string constants
Change-Id: I3bb1e560eb325046f5b170da0c4c46c1139f3225
2014-12-12 12:23:58 +01:00
Stephan Bergmann
e965798caf svtools: Use appropriate OUString functions on string constants
Change-Id: I8799033322d345b2f146c3577d3d264448252816
2014-12-12 12:23:11 +01:00
Stephan Bergmann
fc45562945 svl: Use appropriate OUString functions on string constants
Change-Id: I8d8528c74bae3de67a0a9bdd727cd0d8c8304d3e
2014-12-12 12:22:32 +01:00
Stephan Bergmann
ba7605c8c0 sal: Use appropriate OUString functions on string constants
Change-Id: I568c2e0c9b5b234d941e17d57bcb53374626909e
2014-12-12 12:22:01 +01:00