Caolán McNamara
162cd5d4fe
tidy this a titch
...
Change-Id: I71153579a193abc209a08a0f076ee50cf8ec5d06
2017-02-28 21:01:54 +00:00
Caolán McNamara
26ea6d50b3
fix leak
...
Change-Id: Ia073517977648a21d7adb5ee4d7bda51b1b7db18
2017-02-28 20:53:34 +00:00
Caolán McNamara
b018021d5a
ofz: timeout on clamping big double to 0..360
...
Change-Id: Ica2aedc5275e5f523302f5793e3f3816b3ff65b4
2017-02-28 20:47:57 +00:00
Stephan Bergmann
0b849247e1
loplugin:unoany
...
Change-Id: Id50b15bbb9f8c62ac5258358431ff6ce0e7584d1
2017-02-28 20:51:16 +01:00
Stephan Bergmann
bd7dd48189
loplugin:unoany
...
Change-Id: I525ba4d7706e6f6a385a0fbf5976d8e9883a40a5
2017-02-28 20:10:52 +01:00
Stephan Bergmann
386e38bd3f
loplugin:sallogareas
...
Change-Id: Ida8a58bd95164cd651934dbf8be0923ac2c08a8e
2017-02-28 19:09:45 +01:00
Eike Rathke
d3676ceeec
in decRefAndDestroy() the remaining element must be one and only one
...
So head can be destroyed already there and removeFromList() take a short cut.
Change-Id: I8f53d252c4e0ad867674ee410ecfaa300ac0c731
2017-02-28 18:31:02 +01:00
Stephan Bergmann
e6a90b3f28
loplugin:sallogareas
...
Change-Id: I9af09bc52775501c8dbf0e883f4ec3b53c397de4
2017-02-28 18:02:58 +01:00
Caolán McNamara
1bb1801097
convince ofz lsan this isn't leak
...
Change-Id: Ifac8b0ac03cedb59deec1733b0d38887038992de
2017-02-28 17:01:34 +00:00
Stephan Bergmann
9697b14b65
loplugin:unoany
...
Change-Id: I57f1d614b1dbb945e39b546fec2fdaac40de82b2
2017-02-28 17:57:12 +01:00
Caolán McNamara
d4ea5708a8
don't check for printers during fuzzing
...
Change-Id: Id52d5dc425b6e3319879c1802f6c1fc51c1dd4f3
2017-02-28 16:56:04 +00:00
Caolán McNamara
99c361be16
check nTargetBits size
...
Change-Id: I5cc7499cfdee58ffa480bb31dfc262d5b781180d
2017-02-28 16:44:05 +00:00
Stephan Bergmann
2c5db7360d
loplugin:unoany
...
Change-Id: Id0823ce54c7adb03c824e4095c835356846c69ca
2017-02-28 17:27:08 +01:00
Caolán McNamara
c632aa3269
endless loop on corrupt lwp
...
Change-Id: Ie984d396a6c0055fc5175755fd42161749c572be
2017-02-28 16:25:59 +00:00
Eike Rathke
d407791075
dissolve() needs to delete head now that it's not a list element anymore
...
Change-Id: I9949a1006e6d1b4b50dd5350106ad69b643e833c
2017-02-28 17:17:37 +01:00
Caolán McNamara
67070d5838
don't have to create SfxApplication if none exists
...
Change-Id: I312f00e8b2956470eaa496abfa2687c296f256ae
Reviewed-on: https://gerrit.libreoffice.org/34717
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-02-28 16:17:03 +00:00
Caolán McNamara
3ae57096ae
use memset instead of loop
...
Change-Id: I572f52658914a0814bc3d3990830e247275e110b
2017-02-28 16:15:46 +00:00
Caolán McNamara
9fadf818e9
fix leak
...
Change-Id: I57d1ae4d8f3fed72f024672a9eefb748df83bb93
2017-02-28 15:24:29 +00:00
Christian Lohmaier
b694f15c86
update credits
...
Change-Id: Iea0785f5ec1b55200d25d5cd55a63652ab5a38e1
2017-02-28 15:30:45 +01:00
Christian Lohmaier
e5b616bc22
update emoji autocorrect files from po-files
...
Change-Id: Ib837a679e359ac7f7c1e22f57cdfc0fddbdee931
2017-02-28 15:22:34 +01:00
Caolán McNamara
7edc6b9a74
fix leak
...
Change-Id: Id6171fbaffda1f0a20d33e9137d68e14c59e6aac
2017-02-28 14:12:18 +00:00
Christian Lohmaier
696f5cfed5
Updated core
...
Project: translations 2883419ce5b0406a375cea7774ab6918e27efd8f
update translations for 5.3.1 rc2
and force-fix errors using pocheck
Change-Id: I37d9df9e5daf10adc8baf905bb43c621c37d960e
(cherry picked from commit 05788c2f5a2a282905055c813b3b3504a25938c3)
2017-02-28 13:41:26 +00:00
Caolán McNamara
def48d5027
fix leak
...
Change-Id: Icce163a695ce5467d943019919de1bb604dd130b
2017-02-28 13:14:51 +00:00
Caolán McNamara
73051d46a6
ofz: detect failure earlier
...
Change-Id: I28be740fb15b3b9ed88d2575c94073c24d53579c
2017-02-28 13:09:44 +00:00
Tor Lillqvist
c5b956b9ab
Fix incorrect function name in SAL_INFO
...
Change-Id: I75ee5f1a20fadef7c20103278bc03abd41b815cf
2017-02-28 14:59:29 +02:00
Eike Rathke
041a9b641b
assert that nullptr captions are not in a list
...
Change-Id: I0c286891454d290ec4373dbc37e31d65c22c746d
2017-02-28 13:50:44 +01:00
Caolán McNamara
214ef61b37
fix leak
...
Change-Id: Id501339e1576277655c53e0cf0d172947640d64e
2017-02-28 12:42:41 +00:00
Caolán McNamara
11c92df5e6
loplugin:subtlezeroinit
...
Change-Id: I29197c9a4093d904d1f7b990de08fbf8254c168e
2017-02-28 12:35:50 +00:00
Caolán McNamara
b9483aacad
hwp: avoid low hanging invalid input
...
Change-Id: I06133d6db14edb9d915c38e4c120a9d0905495dd
2017-02-28 12:34:43 +00:00
Caolán McNamara
727a25090d
might as well move append 'usage' into the msConfigPath from the start
...
Change-Id: Ie8a15f1a20621ebdd00ab4ed195495e0acd111a5
2017-02-28 12:34:43 +00:00
Noel Grandin
e4f6db9ec2
FontDescription.IsVertical is a tristate
...
found by still in progress "UNO scoped enum" change
Change-Id: I0a21b89e77be165bc96e914017a402cf8724d218
Reviewed-on: https://gerrit.libreoffice.org/34719
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-28 12:21:06 +00:00
Stephan Bergmann
563e56653b
loplugin:unoany
...
Change-Id: I57375d39aa2e84e40f2c2eb13e3e942497a78a3e
2017-02-28 13:14:03 +01:00
Caolán McNamara
06206252f4
fix leak
...
Change-Id: I724c6e50392d70acd847c733e09a959c08c8c790
2017-02-28 12:01:29 +00:00
Caolán McNamara
36398bb8ba
std::unique_ptr -> rtl::Reference for loplugin:refcounting
...
Change-Id: I83cccff1f4fb172e1b6aa5c1cfda93de2e4be525
2017-02-28 11:44:17 +00:00
Caolán McNamara
e7c960e233
fix leak
...
Change-Id: Ic84035f68075733a6777a7447cb2be092f17a189
2017-02-28 11:33:48 +00:00
Caolán McNamara
390b7ffbc9
Revert "move append 'usage' into the msConfigPath from the start"
...
oops
This reverts commit dc1c69a4ef
.
Change-Id: I5fb9016040636fb44d4337567a6b894bfe16f503
2017-02-28 10:58:39 +00:00
Caolán McNamara
9fe0c6636f
fix leak
...
Change-Id: I20e665a2b0bfadd44976b1659d85b1828e10311f
2017-02-28 10:53:45 +00:00
Caolán McNamara
dc1c69a4ef
might as well move append 'usage' into the msConfigPath from the start
...
Change-Id: Ic3e141d91607f8e34ff4a74cd1ae3276e42934e7
2017-02-28 10:53:45 +00:00
Stephan Bergmann
061b541e77
Add back tests that got lost
...
...with 198c41c4fe
"new loplugin unoany"
Change-Id: Ia4e59356ad8ef3af899209a287ac5326e1389c5e
2017-02-28 11:33:10 +01:00
Caolán McNamara
328d26a17b
fix leak
...
Change-Id: I88e652fa2eab8738d0e1a235cf1a3f9066bfc230
2017-02-28 10:19:37 +00:00
Noel Grandin
198c41c4fe
new loplugin unoany
...
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89
Reviewed-on: https://gerrit.libreoffice.org/34714
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-28 10:17:47 +00:00
Jan Holesovsky
d3981b3e8c
Keep the order that is in the header.
...
Change-Id: I6171668b91e13cbcddf223645333e435cf08cb2a
2017-02-28 11:14:53 +01:00
Michael Stahl
e7f463cea5
tdf#77111 sw: add unit test, fix getting PageNumberOffset property
...
There are 2 places where the style:page-number attribute is handled, in
XMLNumberWithAutoInsteadZeroPropHdl (for paragraphs) and
SvXMLExportItemMapper/SvXMLImportItemMapper (for tables)
Apparently for the paragraph case, 0 was never written to mean "auto",
this happened only for tables (see
7edaf190e2
).
The test reveals that SwXParagraph::Impl::GetSinglePropertyValue_Impl()
was kinda broken by 7d9bb549d4
, which
converts void values of "short" properties to short(0), wrongly assuming
that the Any contains a long. (Fortunately this is then mapped to
"auto" in XMLNumberWithAutoInsteadZeroPropHdl.)
Change-Id: I3dc6d5533ac96955440b1589f1999d06750101af
2017-02-28 11:01:19 +01:00
Katarina Behrens
e7729f4584
Run macro:// via LOKit
...
Change-Id: I54d3c734d86d4b44e1dfe1ad7728e2f51cd26d53
Reviewed-on: https://gerrit.libreoffice.org/34538
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-02-28 09:50:11 +00:00
Miklos Vajna
6603947329
tdf#103931 DOCX import: fix lost section break
...
When there are multiple sections in a document, every <w:p> element
triggers a handleLastParagraphInSection() call, and that's how the
previous section is ended and the next one is started if necessary. In
case the section contains no paragraphs at all, the section was lost on
import. Fix this by also calling handleLastParagraphInSection() on
<w:sectPr> as well.
It's not a problem if there are both <w:p> and <w:sectPr> in a section
(which is the usual situation) as only the first call closes the
previous section / starts the next one.
Change-Id: I64f2c403dcb2ceca76d444ab06df3052235d2795
Reviewed-on: https://gerrit.libreoffice.org/34715
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-28 09:47:20 +00:00
Caolán McNamara
14faa41beb
fix leak
...
Change-Id: I195094adfd0a68401d26ef97b6489b105424b99b
2017-02-28 09:41:03 +00:00
Caolán McNamara
5ae0cb5618
ofz#704 fix tiff leak
...
Change-Id: Id43fd11b5503d1fdd967d146a71445e2fed4192f
2017-02-28 09:32:31 +00:00
Caolán McNamara
c0d06c51f2
sal_uLong->sal_uInt32
...
Change-Id: I49d926f4ff064871e3773fce089d7f927df9b099
2017-02-28 09:29:52 +00:00
Bjoern Michaelsen
ca1aa69503
fold CreateVirtObj()
...
- only one caller, and throwing around nacked pointers to owned objects
should be avoided anyway
Change-Id: I2ecc716a844c73e42a0838ac048caf0c20c045a1
Reviewed-on: https://gerrit.libreoffice.org/34705
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2017-02-28 09:05:27 +00:00
Bjoern Michaelsen
912b30b361
use a vector of unique_ptr for explicit memory management
...
Change-Id: Ieda786709343a14e8191d1c408375d3e5b061095
Reviewed-on: https://gerrit.libreoffice.org/34704
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2017-02-28 09:03:41 +00:00