Commit Graph

1289 Commits

Author SHA1 Message Date
f8bf090bbb These "newly added" record types are publicly documented nowadays
Use symbolic names from the MS-PPT RecordType documentation,
http://msdn.microsoft.com/en-us/library/dd945336(v=office.12).aspx

Change-Id: I1deecfc69dd3360ef982f144d5ff5348a2953280
2014-08-21 12:33:19 +03:00
a107bdfdfc ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18 10:57:21 +01:00
fad62d928a check TRG_HasMasterPage before TRG_GetMasterPage
bff + valgrind

Change-Id: Ie08ddfe06dc0850cf44955cc9f9079b3856b19e3
2014-08-17 19:31:13 +01:00
47e2fd0dc8 Consistently use size_t and SAL_MAX_SIZE
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-16 21:52:32 +02:00
151fbebf8c Consistency around SdrOnOffItem in svx/sdtagitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: I6d8b3709d6d55bd6958d38f262141c43779dfdcc
2014-08-04 19:22:55 +02:00
768d32cf5b Consistency around SdrMetricItem in svx/sdtditm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."

Change-Id: Ib0234883d441be668700df5ccd0e855973dc5426
2014-08-04 11:29:51 +02:00
f264ff6aad put ReadThroughComponent to anon. namespace to avoid redefinition
Change-Id: Idcc97e067b0f389a5d9e01013ab2fc20d2dd4ccd
2014-08-03 22:42:20 +02:00
68969cc61a Consistency around SdrMetricItem
...where some instances of SDRATTR_TEXT_MINFRAMEHEIGHT etc. where SdrMetricItem
while others where of trivial derived classes SdrTextMinFrameHeightItem etc.,
that appear to only existed for better-named constructors.

Change-Id: If0af79fbb803275ed09fc7b950868c5de7d61615
2014-07-31 15:57:12 +02:00
1e6ff8f7f8 XFillStyle -> css::drawing::FillStyle
Change-Id: I6b2fabd72fd34f4ac1b3a18f386c90794bc39ce4
2014-07-19 00:30:37 +02:00
44ba417d72 coverity#982181: Unchecked return value
Change-Id: Idcac7155b9cd3ee94c3ed773a0e6e7f24a48d47a
2014-07-06 06:58:06 +02:00
59b94d5e13 coverity#704008 Uncheck return value
Change-Id: I0bfd2c59782869b232a5705bbb05a06c3476f754
2014-07-04 13:31:36 +02:00
42927fbdf4 coverity#704007 Uncheck return value
Change-Id: Ia8fc871123982b77a9313e56fac7f5e09f545610
2014-07-04 13:31:36 +02:00
daa6898578 clang: Dead initialization
Change-Id: Ieae5303e55f21044ef8e91e63c4896696cfad51c
2014-06-26 16:29:15 +01:00
a3b68ba2de loplugin:unreffun
Change-Id: If67f953bb0d1842ff75482fdb878acf4b1bf87cb
2014-06-25 11:20:47 +02:00
ed6b8a100c remove whitespaces
Change-Id: I9daea42a433b5032931a722878874917cf37f4d1
2014-06-25 05:41:09 +02:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
c6eb208473 loplugin:staticcall
Change-Id: I502702dfd04405748a314bd171e6298850777c0a
2014-06-13 17:54:31 +02:00
2f8fd888b4 -Werror,-Wundefined-bool-conversion
Change-Id: I13f415f1870d385433c4b9e287c2f5bae170c8ee
2014-06-10 17:25:22 +02:00
b00d84975e sd html: Provide some minimal reasonable defaults.
Change-Id: I72b02f7d87cf6075d318c1cc0d7288e27bbe1b9c
2014-06-06 18:25:27 +02:00
1380f5d542 sd html: Implement export of metadata in the single document case.
Change-Id: Icf99c9bcea187e2a3127b97050d6ddb072540b0d
2014-06-06 18:25:26 +02:00
38ad9104ef coverity#1209650 Missing break in switch, probably intentional
Change-Id: Iaa48a39cc86548dd2805703a97a90406663099ba
2014-06-04 15:13:32 +01:00
eaa89db886 tweak massively complicated html export wizard a bit
Change-Id: I1d15780d0128204f063a816df9df251b05ab93d2
2014-05-30 15:54:58 +01:00
df903c3e20 Convert DLG_PUBLISHING to .ui
Change-Id: I0e15b6f7610c7b262a037d6a9ea482112a5bb8b4
Reviewed-on: https://gerrit.libreoffice.org/9532
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-30 09:53:41 -05:00
7b75f9a144 coverity#705222 Missing break in switch
Change-Id: Ie127c5238fd2f69f52fb3cbe4090929eb23566f4
2014-05-30 14:19:10 +01:00
8ce36c3736 coverity#705223 Missing break in switch
Change-Id: I7b6f64fccc0fc16dff2d060c035fbad0ebb73335
2014-05-30 14:19:10 +01:00
3b24dcc8a8 Remove unnecessary semicolons
A simplified version of the semantic match that finds this problem is
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p

@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
    cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>

Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e
Reviewed-on: https://gerrit.libreoffice.org/9493
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-27 01:19:00 -05:00
41ce668f90 coverity#1209647 Missing break in switch
Change-Id: I1942735bd2c8922abc95e927a249fd82ecdb31c5
2014-05-26 10:18:27 +01:00
51d6b42e4c coverity#705221 Missing break in switch
Change-Id: Ib798371f42dff6fcc67ea16c3f0ddf579160a87e
2014-05-26 10:18:24 +01:00
227af32d8c Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-05-20 23:29:53 +02:00
3db8d606d5 hrc and src files: squeeze multiple newlines
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done

Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-19 20:04:22 +02:00
018e2f629e Avoid possible memory leaks in case of exceptions
Change-Id: I61fe5f5fff157531de9962a2dd4e6e0431e8601c
2014-05-19 22:28:31 +09:00
745a094a37 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15
Change-Id: I38e855966598342eb2352e70e04f7a5e09e54f83
2014-05-17 23:33:02 +02:00
248145f99e Find places where uno::Sequence is passed by value.
Implement a clang plugin to find them, and clean up existing code
to pass them by reference.

Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8
Reviewed-on: https://gerrit.libreoffice.org/9351
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-14 08:10:22 +00:00
68e7692d2a Fix previous commit
Change-Id: Iebd7674cc8afb547821878dd1565b0f300d22f1f
2014-05-11 11:34:09 +02:00
bd59628620 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-11 10:16:42 +02:00
5ec7a589be Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
2014-05-10 06:19:42 +02:00
11fc0c1ee9 Revert "coverity#736452 Resource leak"
Somehow this one lets the windows tinderboxes fail.

This reverts commit f6012f6c5d40857ea7a9490da90ae5541d859563.

Change-Id: I1f3e503bef74956f64bb2f0b9d748fc7fc7299c5
2014-05-08 20:45:15 +02:00
76e8779787 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
2014-05-08 18:12:58 +02:00
f6012f6c5d coverity#736452 Resource leak
Change-Id: I7880007562e6706c2a4439fbda3063dc70fe13a3
2014-05-08 09:56:22 +01:00
e3193eb37a coverity#736451 Resource leak
Change-Id: Ifd806074e31a4d7f91023d5baf22bc465e52019c
2014-05-08 09:56:22 +01:00
21010f3ea7 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part4
Change-Id: I8e52c2fd66f8f3291434ee82a745431e11b12caf
2014-05-06 23:25:42 +02:00
de9ebbaddc sd html: support export of tables for Draw documents
Change-Id: I32fe35c90c08d7c87b27ad4a5c10f91c6284c4a3
2014-04-29 23:57:33 +02:00
6e793fdb9f sd html: Support export of any text objects (draw) and groups
Change-Id: Ied2de0a076db722df8366e866ae66846f3fb2854
2014-04-28 17:39:13 +02:00
982babed5c Fix typo: cought => caught
Change-Id: I4fcede18c4b36a2b35f7fafae997f14acef84394
2014-04-27 14:00:42 +02:00
dde3c84d44 coverity#737762 Uncaught exception
Change-Id: Iaa34147326ebcb3a29b922c29c0a1fd6b4a5f515
2014-04-25 20:19:10 +01:00
b45a12c37d sd: sal_Bool->bool
Change-Id: I3172a42f6b6abe434ffe0475d1201ff50b6c06ea
2014-04-24 10:53:17 +02:00
97a5ba4a71 remove comments why a file gets included
also remove some commented out code

Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
1531b523bf Clean up function declarations and some unused functions
Change-Id: I7a2b5970fd0ab2059b5f5b0100a049e04ba54ee3
2014-04-14 17:55:32 +02:00
fa1f7d27c1 typo: attribut -> attribute 2014-04-14 12:32:59 +02:00
c017c66491 typo: atim -> atom 2014-04-14 12:32:27 +02:00