Commit Graph

5933 Commits

Author SHA1 Message Date
Caolán McNamara
5a308b1239 V801: Decreased performance
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
2015-03-09 12:41:09 +00:00
Bjoern Michaelsen
ca3700c422 v612: obfuscated if/goto
Change-Id: Ia12b325e41238b9e12e2f388273bd01b96d61c08
2015-03-06 15:08:39 +01:00
Caolán McNamara
32f95a3551 V813: Decreased performance
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-04 13:07:40 +00:00
Julien Nabet
2b347972fc Typos
Change-Id: I64995f15e8367412f345c6505668a1c560eef1ef
2015-03-03 22:07:23 +01:00
Noel Grandin
019ab2b00f convert GFF_ constants to enum class
Change-Id: I88469e8d6afb3fcefdaf285a56b7acd576bc8520
2015-03-02 08:59:17 +02:00
Noel Grandin
ba233e87ef remove unnecessary parenthesis in return statements
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'

Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-23 09:26:58 +02:00
Julien Nabet
52fa2e97df Typos
Change-Id: I8d6e9b20c478e649e35eca16f39692a9ce42b3c5
2015-02-21 23:46:16 +01:00
Julien Nabet
f00fce5b06 Typo: containted->contained
Change-Id: I678c35ca2007169a38529b36fd31367bac4ed481
2015-02-21 14:45:36 +01:00
Julien Nabet
b98ac70724 Typo: trough->through
Change-Id: I5af784709df88492695d1ac9c9a5b020e909f362
2015-02-21 14:45:36 +01:00
Julien Nabet
800e09a3ce Typos: caculate->calculate + acceses->accesses
Change-Id: Id2b645829ceb9affc76483a651fe6830a9f01cda
2015-02-21 14:45:36 +01:00
Stephan Bergmann
c4ac108e5d Remove unnecessary prefixes
...from .components that exclusively use constructors now

Change-Id: I009f29a49d5be0aec32af8cfcae6fb8e2cd4f486
2015-02-20 07:49:00 +01:00
Chr. Rossmanith
cacc3a0e7f tdf#65788: svg export - put transform attribute into text element
if transform is put into an inner tspan element rotated text isn't rendered rotated

Change-Id: I6fcab1db0e213c65fe8ba88a7694fd10c902bfec
Reviewed-on: https://gerrit.libreoffice.org/14314
Reviewed-by: Katarina Behrens <bubli@bubli.org>
Tested-by: Katarina Behrens <bubli@bubli.org>
2015-02-19 09:17:05 +00:00
Julien Nabet
13b884a863 Typo in xsl: "page-layout-propertie" instead of "page-layout-properties"
Change-Id: Ie5a298886e3c6638b041600b82b642ac69f7f33b
2015-02-18 22:24:47 +01:00
Julien Nabet
48f0a5ed35 Typos
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-18 21:59:02 +01:00
Chris Sherlock
99a09427e7 filter: use constructor for filter module
Change-Id: Ic03555dc06909da1c60c8edc7aa17d4cb41c468b
Reviewed-on: https://gerrit.libreoffice.org/14533
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-02-18 10:17:10 +00:00
Chris Sherlock
93a63e0711 Revert "filter: use constructor for filter module"
This reverts commit a2b197ff1f.
2015-02-18 21:09:51 +11:00
Chris Sherlock
a2b197ff1f filter: use constructor for filter module
Change-Id: I466fe67d7f7144a50bdf15f42f1d7f8dfb107418
2015-02-18 21:05:31 +11:00
Caolán McNamara
3744d8506e boost->std
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-17 16:24:05 +00:00
Vort
ea91563683 tdf#64075 SVG Import: close non-closed filled polygons
Change-Id: I26335c88cd3fd6644e122c8c525bf319cb09f4db
Reviewed-on: https://gerrit.libreoffice.org/14475
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-17 13:25:09 +00:00
Tor Lillqvist
6d500371eb Bin wrong, misleading and pointless comments
Change-Id: I3d5218b4777f7a1f486b5d4faec1959ade39d123
2015-02-17 11:23:00 +02:00
Tor Lillqvist
d83e6e9cdb tdf#88431: Pass the selected Time Stamp Authority, if any, along to vcl
Work in progress. If a TSA is selected, pass it along to the signature
generation in vcl.

Change-Id: Ibe105b6d02ab9241b93dd66ab3cb1fa8c6d10093
2015-02-17 10:46:32 +02:00
Tor Lillqvist
b8b9d51b8c tdf#88428: Add GUI to select one of user-configured Time Stamp Authorities
Work in progress. The selection not used for anything yet.

Change-Id: Ia86fa0f59dcfee8e9d332a028a3fad37f4019fe0
2015-02-17 10:46:24 +02:00
Caolán McNamara
a1ceacc17e boost::foo_ptr->std::foo_ptr
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-16 12:54:44 +00:00
Noel Grandin
9f8ffc8dfe add GetSelectEntryData to ListBox and ComboBox
to reduce code clutter like
    pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos())
since this is a fairly frequent operation.

Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184
Reviewed-on: https://gerrit.libreoffice.org/14472
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-16 06:38:42 +00:00
Julien Nabet
e8c348a0e5 Typos
Change-Id: Ia3382b3b233d416c946090fc670a0ff029851c2a
2015-02-14 18:14:33 +01:00
Caolán McNamara
ac6af669f4 coverity#1267690 Uncaught exception
Change-Id: I38edf3f78d73c004cb85edd84a22dddc9d870f37
2015-02-07 14:27:13 +00:00
Michael Stahl
3159f59e2c filter: try to fix GCC 4.6 build
Change-Id: I3fa777b2f2d155bbd8bebf58211446eb1fa458f6
2015-02-07 01:07:03 +01:00
Matthew Pottage
4f7a1f5b94 fdo#75757: Remove inheritance from std::vector
Deprecated comphelper/sequenceasvector.hxx.

Rewritten code using it. Using instead the functions containerToSequence and
sequenceToContainer, found in include/comphelper/sequence.hxx.

One class that inherits from it (in framework/inc/stdtypes.h), and
the code using that has been left.

Signed-off-by: Michael Stahl <mstahl@redhat.com>

Conflicts:
	writerfilter/source/dmapper/DomainMapper.cxx
	writerfilter/source/dmapper/TblStylePrHandler.hxx
	writerfilter/source/dmapper/WrapPolygonHandler.hxx

Change-Id: Ice61c94ffb052e389281aebb7cdf185134221061
2015-02-06 23:06:58 +01:00
Andras Timar
b1751e6ed0 bnc#637947 improve DrawingML export of custom shapes
Change-Id: Iaa880528cf3c899ce66e4349c6d989dfbe5cbeb6
Reviewed-on: https://gerrit.libreoffice.org/14346
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-02-06 09:37:36 +00:00
Michael Stahl
6cd1012563 svx: remove silly cast
Change-Id: Ia8097b6d92c9bc4e3841d96bcb8cd553969f54a0
2015-02-05 15:31:02 +01:00
Caolán McNamara
55a4c5d629 coverity#1266492 Untrusted value as argument
Change-Id: Ie7fa1318660b1647639fe09d5b6fe97e901e483a
2015-02-04 11:11:01 +00:00
Caolán McNamara
9327373a02 coverity#1242624 Untrusted loop bound
Change-Id: I277e98156c9a9832d1f5e968e590356d14b91af6
2015-02-04 11:11:00 +00:00
Caolán McNamara
af6811b3d0 coverity#1267691 Uncaught exception
and

coverity#1267690 Uncaught exception

Change-Id: I728fc0fb1c5e472ab40649e949499d98e3ee2b7f
2015-02-04 11:10:59 +00:00
Caolán McNamara
c4fcc5986d coverity#1267692 Uncaught exception
Change-Id: I62c05d2baf7f46263468e194a1e947000ef7a1e3
2015-02-04 11:10:58 +00:00
Caolán McNamara
55803acc19 coverity#1267696 Uncaught exception
Change-Id: I3b4a1db77a5b9888e2ac5db32ba2cb8f904e663d
2015-02-04 11:10:58 +00:00
Caolán McNamara
f22c19c0a4 coverity#1267694 Uncaught exception
Change-Id: Idfa32d54ed8af7eda823da2223cbaaf2f396e8d9
2015-02-04 11:10:58 +00:00
Tor Lillqvist
b5008653ec Clean up some weird logging
Change-Id: I8da0a89b7d6e044af8188a87220c654cb7bf9d4d
2015-02-03 12:27:54 +01:00
Caolán McNamara
c8bd2518dd coverity#1266492 Untrusted value as argument
Change-Id: Idbe205df445b29e7a121e93dbd74b2578199699b
2015-02-02 10:57:21 +00:00
Caolán McNamara
dcad3ac445 coverity#1242624 Untrusted loop bound
Change-Id: Idf52c09828c2bab767e9ff0d07b61befd6bfc64b
2015-02-02 10:57:19 +00:00
Caolán McNamara
e8870af695 this cannot happen in reality
Change-Id: I6b8b447763cc61e9dfef6d4ba122384482078d84
2015-02-01 22:10:38 +00:00
Noel Grandin
fe480d8136 remove unused typedefs
found with some minor modifications to find/find-unused-defines.sh

Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd
Reviewed-on: https://gerrit.libreoffice.org/14194
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-28 06:19:49 +00:00
Stephan Bergmann
598d8194b0 Visible function type RTTI for Clang -fsanitize=function
...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf.
b4f6b26b5a "SAL_DLLPUBLIC_RTTI for proper RTTI
visibility for LLVM") and by making sure relevant function types do not use
incomplete types in their parameter and return types (which would make the RTTI
hidden).

Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
2015-01-26 15:17:28 +01:00
Caolán McNamara
91a3976aa8 coverity#1266495 Untrusted loop bound
Change-Id: Ia96b29f291cf4dc97d2a4998850d641f16cb2a01
2015-01-26 12:14:33 +00:00
Noel Grandin
f61dbc3029 followup code removal after changing virtual methods to non-virtual
This cleanups up indentation and removes dead classes.

This is a followup patch to commit
272b1dd55797aacf511fb4342b0054e3697243f6
"new loplugin: change virtual methods to non-virtual"

Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26 08:42:29 +02:00
Noel Grandin
b44cbb26ef new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden.

In the case of pure-virtual methods, we remove the method entirely.
Sometimes this leads to entire methods and fields being
eliminated.

Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-26 08:42:28 +02:00
Caolán McNamara
475461a6b5 coverity#1266494 Untrusted value as argument
Change-Id: I220e582cd75199b5619c2ad7607392b078ab3956
2015-01-25 21:17:35 +00:00
Caolán McNamara
f159b94299 coverity#1266492 Untrusted value as argument
Change-Id: Id2a102fae99ecf938ac8f326e358785581d6f986
2015-01-25 21:13:45 +00:00
Caolán McNamara
a046795194 coverity#1266496 Untrusted loop bound
Change-Id: Ibab7f84940f6eec75bc3ee914bac59a07689a80c
2015-01-25 21:05:37 +00:00
Caolán McNamara
a6218ad20a coverity#984091 Uninitialized scalar field
Change-Id: Ie0d90edb26fe2704192895a2b456a37f3d500a17
2015-01-25 14:24:57 +00:00
Tor Lillqvist
d2ac4c3e68 'Ownership' is one word, as is 'relationship'
Change-Id: I45c441f68ed5f20cfc87e34e7bfb529a30952f81
2015-01-23 16:23:26 +02:00