Commit graph

362852 commits

Author SHA1 Message Date
Noel Grandin
91fac2a32c cid#705051 Dereference after null check
Change-Id: I6b7adb593efa137bb09b3b8d49539f6cd405dd20
2014-10-27 15:32:55 +02:00
Michael Stahl
8f7e364a5b sw: deploy some asserts in SwpHints::TryInsertNesting()
Change-Id: I584edadf13b34edf054e3405865c43bae74a7830
2014-10-27 14:25:52 +01:00
Michael Stahl
8af112febc sc: assert SfxPoolItem::operator==
Change-Id: I69b7d2b9e580b08ebd59866f1244e0e61c4b1dcb
2014-10-27 14:25:52 +01:00
Michael Stahl
a54734c82a sw: assert SfxPoolItem::operator==
Change-Id: I9b48fc25abcbdeceefd5a86d8305209f312c9976
2014-10-27 14:25:52 +01:00
Maxim Monastirsky
3c3257e499 fdo#84844 Sidebar: Use SvxColorToolBoxControl for fill color
Change-Id: I0aa9dbef960391334097b68c980064724435db38
2014-10-27 14:28:13 +02:00
Maxim Monastirsky
2dfa6b15ec Fix color update for selection with multiple colors
Change-Id: Ie6ec5596027b053cea49faba67bd82bd9bfa2d31
2014-10-27 14:28:12 +02:00
Maxim Monastirsky
bf87e74318 fdo#84844 Sidebar: Use SvxColorToolBoxControl for cell fill color
Change-Id: I4a067b31b4b518c56a0d18c6e6709955562d77fa
2014-10-27 14:28:12 +02:00
Yousuf Philips
bb214c3279 SIFR: add missing icons for calc's function wizard and sum toolbar buttons
Change-Id: Ia3fd2f71ee68e03a409c00d146ad0647e305a6f2
Reviewed-on: https://gerrit.libreoffice.org/12109
Reviewed-by: Matthew Francis <mjay.francis@gmail.com>
Tested-by: Matthew Francis <mjay.francis@gmail.com>
2014-10-27 12:26:46 +00:00
Yousuf Philips
573aa44d74 fdo#85500 - TOOLBAR: Use insert page number icon for insert field control
Change-Id: Ibebe4ea7ba504b306a191ca0cd61cfd366577d5e
Reviewed-on: https://gerrit.libreoffice.org/12107
Reviewed-by: Matthew Francis <mjay.francis@gmail.com>
Tested-by: Matthew Francis <mjay.francis@gmail.com>
2014-10-27 10:18:44 +00:00
Noel Grandin
c0c8478620 cid#1249676 Uninitialized scalar field
Change-Id: I87df4e9c1d3f36afccf13aebfd95d1b4f3bfa655
2014-10-27 11:36:37 +02:00
Noel Grandin
5c90f8dd04 cid#1249675 Uncaught exception
Change-Id: I3923a6a83bfc0a35f5a5af86cfd0e5308cfda24c
2014-10-27 11:34:06 +02:00
Noel Grandin
7ef698355a fdo#84938: replace KEYTYPE_ constants with enum
Change-Id: I563cf96f8ca815d6c8ad9f5fe365fc7ce7a2a328
Reviewed-on: https://gerrit.libreoffice.org/12104
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-27 08:09:35 +00:00
Miklos Vajna
608396721e sw: fix misleading prefixes of param names in AttrSetHandleHelper
Change-Id: Id7da4e54bf3a11c2cf46f924f249706eddb183f2
2014-10-27 08:49:46 +01:00
Kohei Yoshida
ae5ac4807c fdo#85215: Write test for this.
Change-Id: Ibe959201541ce6ad84540eba93ac9235dca91f40
2014-10-26 14:45:59 -07:00
Kohei Yoshida
10fc138307 fdo#85215: Don't adjust references wrt cell position when disabled.
Change-Id: Ie1a12cc189bcb66fad59ea9901ac0dc95bb68788
2014-10-26 14:45:52 -07:00
Miklos Vajna
8c6d3cd45e Avoid boost::optional<bool>
Change-Id: Idaacaf80098e59df47183741402c8664ba5ea631
2014-10-26 15:17:31 +01:00
Miklos Vajna
cc926007e2 Let's have both switchHeaderFooter() calls in DocxExport::WriteHeaderFooter()
Change-Id: I051a2a74e0da44b8f13a21e052c35581159402f1
2014-10-26 15:17:31 +01:00
Miklos Vajna
956c3ff3d4 fdo#82076 RTF import: handle footnote in table cell
Change-Id: I69def7936c320e93db5d4504922d52346caaf9cf
2014-10-26 15:17:31 +01:00
Yousuf Philips
89a0424022 fdo#62947 - Relabelling the submenu items
Change-Id: I9b30634c752acfdeb13ccd567695c83a8f85d226
Reviewed-on: https://gerrit.libreoffice.org/12093
Reviewed-by: Matthew Francis <mjay.francis@gmail.com>
Tested-by: Matthew Francis <mjay.francis@gmail.com>
2014-10-26 14:01:17 +00:00
Yousuf Philips
f3c60a38f9 add transparency to fontwork gallery tango icons
Change-Id: I4e39f579bf7d2db190440cefe3fefc8f7c03b6bb
Reviewed-on: https://gerrit.libreoffice.org/12100
Reviewed-by: Matthew Francis <mjay.francis@gmail.com>
Tested-by: Matthew Francis <mjay.francis@gmail.com>
2014-10-26 13:41:57 +00:00
Maxim Monastirsky
35ae136427 fdo#84844 Sidebar: Use SvxColorToolBoxControl for line color
Change-Id: I266cfd8c80088f698ec36662357477bb456a96fe
2014-10-26 12:35:21 +02:00
Matteo Casalin
4eeee76476 Simplify and optimize booleans expressions
Change-Id: Ic5d736cdd48565c62958de72b08714922f1c56e5
2014-10-26 10:37:22 +01:00
Matteo Casalin
3bcbcb12c5 sal_uInt16 to more proper integer types
Change-Id: I8a541e6466b66d6ca41e7b1556db3c72764582d1
2014-10-26 10:37:21 +01:00
Matteo Casalin
992859b437 Use an enum instead of a constant, and reduce its scope
Change-Id: Ica9d53103ffa98a72b27303352f2f3997a3386d5
2014-10-26 10:37:20 +01:00
Matteo Casalin
1ccd386cd4 Use USHRT_MAX consistently, minor cleanups
Change-Id: I1a2906a350baf7af7141aaa6124930485578a604
2014-10-26 10:37:20 +01:00
Matteo Casalin
ff61e912e8 Remove unneeded forward declaration
Change-Id: Ib650c1e191f5ed8f64bb8ac253e9f412b358e2e8
2014-10-26 10:33:35 +01:00
Matteo Casalin
f595a6c4c7 Reuse common code
Change-Id: I8f1e8203f8318183fa327e96e53bdd0fb599ed89
2014-10-26 10:33:34 +01:00
Matteo Casalin
8fea52beee sal_uInt16 to size_t
Change-Id: Id60ca700d090dba30aeda7cdb3b3256a7fa3814e
2014-10-26 10:33:34 +01:00
Zolnai Tamás
fa58d91094 Some notes about image swapping
Change-Id: Ifbda35d2bcd73a8ca196d39f0f621da78e8cc576
2014-10-26 10:28:06 +01:00
Andras Timar
3f5251675e bnc#893791 XLS export: external sheet references on Linux/OSX
The commit solves two problems.
1. Make sure we save absolute paths on Linux/OSX
2. Make sure we don't save invalid XLS (VirtualPath longer than 255 chars)
The first problem has always been there, so after a few load/save cycles
an XLS with reference to other XLS on a Unix-like file system became
invalid, and only LibreOffice could open it, Excel could not. These
broken XLS files can be repaired by saving after this patch, however,
the original reference will remain broken.

Change-Id: I8f575acb1d560d539c1da61a1afdaac3f0c13977
2014-10-25 23:58:01 +02:00
Andras Timar
863bed8dd4 typo: uesd -> used
Change-Id: I827f9a0889aca4a55586cdd2baa21846b1bc155b
2014-10-25 23:58:01 +02:00
Caolán McNamara
22494121d7 this is more natural
Change-Id: I93421de3d11f4cecb733d5c6c30e5fb43117a20a
2014-10-25 17:30:06 +01:00
Caolán McNamara
392dc0bad2 coverity#735342 silence Unchecked return value from library
Change-Id: I95f0d81a741fc684468c720390b43dc9d7b585f9
2014-10-25 16:56:28 +01:00
Caolán McNamara
33492060dd coverity#735348 silence Unchecked return value from library
Change-Id: I834dabc524ac2e1af6a77da8f66edfc349e6556d
2014-10-25 16:56:27 +01:00
Caolán McNamara
859656f40d coverity#735349 silence Unchecked return value from library
Change-Id: Ie87d7600b69da0a567fafc7a949f97a6d4fe03e8
2014-10-25 16:56:26 +01:00
Caolán McNamara
2f4546487a coverity#982164 silence Unchecked return value from library
Change-Id: Ibec38a7e7846c463601b0a876778f53003cf0441
2014-10-25 16:56:25 +01:00
Caolán McNamara
28dbb39389 coverity#982163 silence Unchecked return value from library
Change-Id: I6b9a3c6ce75472da551706b1c1555eff4ba1abc8
2014-10-25 16:56:25 +01:00
Caolán McNamara
25e0764965 coverity#1242839 Untrusted loop bound
Change-Id: Ib0e96d20f18edfab53373f153bd128f725fe335a
2014-10-25 16:56:24 +01:00
Caolán McNamara
aee9338113 coverity#1242886 Untrusted loop bound
Change-Id: I3eb9deac3850e895d0b78a0af73079f378dfbb99
2014-10-25 16:56:23 +01:00
Caolán McNamara
6333a7c8b0 coverity#1242959 Untrusted value as argument
Change-Id: If6132ff4fb9293282b4ed5690f940985cf198b8d
2014-10-25 16:56:22 +01:00
Caolán McNamara
2de8674047 coverity#1242746 turn this around to help out coverity
Change-Id: I06cc94395e6421b7e01811b3d5f17c2677650a83
2014-10-25 16:56:21 +01:00
Caolán McNamara
eb5f54a9d7 coverity#983652 Uncaught exception
Change-Id: Ib818955314689a3193e2026fae19161a79aa8e5b
2014-10-25 16:56:20 +01:00
Caolán McNamara
92f83d8a59 coverity#706329 Uncaught exception
Change-Id: Ia056948df45ade616dd4c434a4c9d319d48d97f2
2014-10-25 16:56:20 +01:00
Caolán McNamara
654d845320 coverity#706328 Uncaught exception
Change-Id: I9182ad75a5b49d5aa9d58cecc690b06220f13272
2014-10-25 16:56:19 +01:00
Caolán McNamara
6c8b24bf3c coverity#706322 Uncaught exception
Change-Id: I4ebfee76cb17562a47d4c2e868539fc70ead530e
2014-10-25 16:56:18 +01:00
Caolán McNamara
9e965e9b15 coverity#706319 Uncaught exception
Change-Id: I7f390151c232d0a96d50b16c0c76aacea569653e
2014-10-25 16:56:17 +01:00
Caolán McNamara
7c896697f2 coverity#706317 Uncaught exception
Change-Id: I8b39addd8d4b9f7d68d0f7a317d1dff7388aba93
2014-10-25 16:56:16 +01:00
Caolán McNamara
d6ce524de5 coverity#1242671 Untrusted value as argument
Change-Id: Ic810391c9ecfef9f28aba34cdc0f85d42ebf656f
2014-10-25 16:56:15 +01:00
Caolán McNamara
6c761698e8 coverity#1249458 Explicit null dereferenced
Change-Id: I9e56aa8908ae6747d6820d8b90e85ec07e981223
2014-10-25 16:56:15 +01:00
Caolán McNamara
4d08aba74b coverity#1249457 writeFastAttributeList never takes NULL
and

coverity#1249456

Change-Id: If1f6ef550290d3b6bb53ae87389b466c7d7a31f1
2014-10-25 16:56:14 +01:00