Commit Graph

1243 Commits

Author SHA1 Message Date
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
6bdeee7884 typo: suiteable -> suitable 2014-04-14 12:32:26 +02:00
d23f07cc28 typo: secunden -> seconds 2014-04-14 12:32:25 +02:00
643bbd6041 typo: choise -> choice 2014-04-14 12:32:24 +02:00
5e378e331e typo: titel -> title 2014-04-14 12:32:23 +02:00
d47e763eab typo: simpe -> simple 2014-04-14 12:32:22 +02:00
a148122b09 typo: usualy -> usually 2014-04-14 12:32:22 +02:00
f7ea60218a fdo#74079 - sd html export: fix false width values
Change-Id: I498310525cf912706d64adb773c951b197b6fc72
2014-04-13 23:13:58 +02:00
24ae12911a sd html export: q&d add single document publish mode
Change-Id: Ifa96814eb2664bea082e51bfaa739250718abd1e
2014-04-13 23:13:58 +02:00
ccbe5105ca sd html export: reset progress bar in single document mode
Change-Id: I455588c927cc35660023f74885f63108625cd123
2014-04-13 23:13:58 +02:00
87c3fdeed8 sd html: export outline, code simplification
Change-Id: Ic201f4bd7716806edd031a2935d1e859a6b51958
2014-04-13 23:13:57 +02:00
69fe106628 sd html export: "single document" publish mode & support tables
Change-Id: I0c9f45011091f962d5304c9efcaebbed7e6c3d9d
2014-04-12 12:58:49 +02:00
e98e738a82 replace some SvStream seeking with calls to remainingSize()
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
2014-04-11 23:08:11 +02:00
001f44a7ca coverity#738818 Uninitialized scalar field
Change-Id: Ic2d6b70da3adcd99a35b63afcfacf55e566755c4
2014-04-08 12:18:53 +01:00
dcfa6ba11f coverity#708128 Uninitialized scalar field
Change-Id: Ic22b6640ba6b87769bdf00bc630d463de1ba04ad
2014-04-07 13:47:03 +01:00
7ebd6b5dcf coverity#708126 Uninitialized scalar field
Change-Id: Ib5dfaaf60551ed87c650863388e2e81b899bd253
2014-04-07 13:47:03 +01:00
b89813ea45 coverity#708124 Uninitialized scalar field
Change-Id: Id5cb00b710a91c63eff40025b6c91a985ea90ad7
2014-04-07 13:47:03 +01:00
bf39758029 coverity#708123 Uninitialized scalar field
Change-Id: I3161342b7033e376ef3fb49ffd63b4577ef18811
2014-04-07 13:47:03 +01:00
f0efb472b1 coverity#708121 Uninitialized scalar field
Change-Id: I73d128c82281f252af62f0318dd1d15e11c0e9a7
2014-04-07 13:47:03 +01:00
61a7ece840 coverity#708120 Uninitialized scalar field
Change-Id: I097d0bc2df695df0e3d170efc0bee39f8b00a954
2014-04-07 13:47:02 +01:00
67b3a97283 coverity#708119 Uninitialized scalar field
Change-Id: I746a90d5af339fc0dc7471e1e7fed88e6933b50e
2014-04-07 13:47:02 +01:00
2953243732 coverity#708117 Uninitialized scalar field
Change-Id: I7ef430d48c7a984bc68f89fdcca821ddd2265853
2014-04-07 13:47:02 +01:00
ed77c76c83 coverity#708125 Uninitialized scalar field
Change-Id: I9d97cdc9e6f4644ca773addf403d7ccf52a272e9
2014-04-07 10:14:51 +01:00
64e291376f coverity#738816 Uninitialized scalar field
Change-Id: I4d4ec5391321879746a833b72de211e2b05056b0
2014-04-04 16:24:36 +01:00
abc429987c filter/msfilter: sal_Bool->bool
Change-Id: I24deda680469ce99ba358a68e83551bdb584751a
2014-04-03 09:17:52 +02:00
a7ff16ada6 coverity#705854 Dereference before null check
Change-Id: I8bdedf38a29587bb504ccf310371dea756efd47d
2014-04-02 15:51:16 +01:00
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
3daa47e87a coverity#704291 Logically dead code
Change-Id: Icfdb7178ea89f2a3bd9680cf1b2c017b5058bb83
2014-03-31 11:19:11 +01:00
919187cbcc coverity#1194939 Uncaught exception
Change-Id: I679b494c7c563a776da7ee891c0f4e92926fcfe4
2014-03-31 11:19:10 +01:00
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
ac01de882d sfx2: sal_Bool->bool
Change-Id: I87c5a180566e9da185c2992844e6522e82c17747
2014-03-18 11:27:38 +02:00
cc2700245d sd: prefer passing OUString by reference
Change-Id: Ide21e1f51284fb2d4c7aaaa358417c6080b2fdde
2014-03-17 13:30:51 +02:00
13bc4094da svx: sal_Bool->bool
Change-Id: I673d022c01b7d076120c026b236a37735b5043b0
2014-03-14 07:50:32 +02:00
6c97bc4717 svx: sal_Bool->bool
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
2014-03-11 08:18:24 +02:00
d1bffe3596 svx: sal_Bool->bool
Change-Id: I64d9c1bbe6ed85108783bf6a97329fcdc167ca62
2014-03-11 08:18:24 +02:00
0b291d42e7 Use SfxStyleSheetIterator to iterate over SfxStyles in sd/pptin.cxx
Change-Id: I99534efdd52644882f2e2960bdafce58bf632804
Reviewed-on: https://gerrit.libreoffice.org/8483
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-03-10 11:52:41 -05:00
cbe1fd744e Resolves: fdo#75949 HTML Export dialog
"Save Image as" option should be in plural

Change-Id: I1e423143d7eb54d86eb7fbb251f8282b68099aa4
2014-03-09 22:47:22 +01:00
b2371492df Use cstdlib std::abs instead of stdlib.h abs
...because the latter lacks the abs(long) overload in some popular environments,
cf. <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401> "stdlib.h does not
provide abs(long) overload."

Similarly, stdlib.h lacks the abs(float), abs(double), abs(long double)
overloads compared to cmath there, whose use was apparently intended in
sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx.  Rewrote that to use
CPPUNIT_ASSERT_DOUBLES_EQUAL instead, which revealed that the comparisons need
rather large deltas of .1 resp. .2 (which the original code hid with an
implicit conversion to integral type, thus using an effective delta of 1).

Discovered with -Wabsolute-value ("absolute value function 'abs' given an
argument of type 'long' but has parameter of type 'int' which may cause
truncation of value") recently introduced on Clang trunk towards 3.5.

Change-Id: I4c41575ffdccb2944498b662bd3a53fd510cb0c0
2014-03-03 18:36:55 +01:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
6fc2bd0094 Fixup whitespace changes, remove commented code.
This is a light touchup of 2ef9df8aee696993d9eb235fd36caa4cbcfd3624

Change-Id: Icfaf6fb0111c85b5f78010b16bdda0e237419323
2014-02-26 17:50:46 +01:00
2ef9df8aee Remove visual noise from sd
Change-Id: I0957cabd66ddc4e25c7e6ff54ec2a555eda0792c
Reviewed-on: https://gerrit.libreoffice.org/8306
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 06:53:03 -06:00
ad73967e99 Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-24 08:08:00 +01:00
6cccfd6c63 coverity#704736 Dereference after null check
Change-Id: Ib11b59696135f29375ec53332c526f0b5bcd638d
2014-02-23 14:45:55 +00:00
ad346fb791 coverity#704735 Dereference after null check
Change-Id: Ib2804949024dc3967d3eb2bcc7a82844f225be2f
2014-02-23 14:43:37 +00:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
7be107378b coverity#738813 Uninitialized scalar field
Change-Id: Ibd63cdba123a1171b40780bb8a9ab6ef1af6e8a0
2014-02-21 12:40:24 +00:00
11a671ac5b coverity#738815 Uninitialized scalar field
Change-Id: I64379b438718ac1043fe7583a9eba966d8d83853
2014-02-21 12:40:23 +00:00