11329 Commits

Author SHA1 Message Date
Noel Grandin
436cd90095 svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
Noel Grandin
bdd2df7723 svtools/svparser.hxx: sal_Bool->bool
Change-Id: I130c40227a756b396c4f858468457867d53454b1
2014-03-25 14:32:55 +02:00
Noel Grandin
f5864e8ff4 svtools: sal_Bool->bool
Change-Id: Ia0280d3d4f2d5b8a93a37a93847951391e928028
2014-03-25 14:32:53 +02:00
Noel Grandin
b41badb803 svtools: sal_Bool->bool
Change-Id: I37352e90a5304e75ce0c8ae922a167b1e70625e8
2014-03-24 08:12:10 +02:00
Noel Grandin
f7074d8de5 svtools: sal_Bool->bool
Change-Id: I2044e6c1f15579b6051fad5d36fcfa8795f88953
2014-03-24 08:12:10 +02:00
Noel Grandin
7a679ee19c svtools: sal_Bool->bool
Change-Id: I35c9c1514c67860e61b6e2457ab4548d04a4d159
2014-03-24 08:12:10 +02:00
Noel Grandin
f661ac03e0 svtools: sal_Bool->bool
Change-Id: I22d8869551f46d2a0607f670f937853f394b6acf
2014-03-24 08:12:09 +02:00
Noel Grandin
b1de52241c svtools: sal_Bool->bool
Change-Id: Iaa489318f25107e91fc8133523fbd9d724493314
2014-03-24 08:12:08 +02:00
Noel Grandin
1a1fe47731 svtools: sal_Bool->bool
Change-Id: I0c2e9314d85860831b29db76c89c8776c1b071b9
2014-03-24 08:12:08 +02:00
Caolán McNamara
3eb0607187 coverity#738615 Uninitialized pointer field
Change-Id: I33e67198c99cfa6bd240b4ca7eeeb32c8f91cb6d
2014-03-22 20:33:14 +00:00
Caolán McNamara
6df6fefed8 coverity#738610 unused member pointer value
Change-Id: I157c3bb7323767a27ac8a11361e6013bfee1de15
2014-03-22 20:20:37 +00:00
Noel Grandin
16752a8a77 sfx2: sal_Bool->bool
Change-Id: Ief810c49b821e2e60ee2c8b14187dd8d7d81c461
2014-03-19 09:21:24 +02:00
Noel Grandin
86a32589e9 Find places where OUString and OString are passed by value.
It's not very efficient, because we generally end up copying it twice -
once into the parameter and again into the destination OUString.

So I create a clang plugin that finds such places and generates a
warning so that we can convert them to pass-by-reference.

Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-18 08:32:26 +02:00
Stephan Bergmann
d697a05905 Remove unused framework::IMutexGuard::reset
Change-Id: If05ef86284c4ed7bf66a6a6de17a4bf8d49e89e1
2014-03-17 17:25:16 +01:00
Stephan Bergmann
00550fbd19 Fold framework::IGuard into framework::IMutexGuard
Change-Id: I14a77fc3fbf225862bc01f677d09d5b5a52bb1aa
2014-03-17 17:25:16 +01:00
Noel Grandin
5d456dc5c6 dbaccess: prefer passing OUString by reference
Change-Id: I7cec02a40db48ce3d3003b3808d06ff0455a6eb4
2014-03-17 13:30:52 +02:00
Caolán McNamara
8967b65be8 coverity#1000861 Uninitialized pointer field
Change-Id: I343ae6fde04e2ad937499909f5b5da221d1d12d5
2014-03-15 20:55:51 +00:00
Stephan Bergmann
98666e8625 No need for a virtual OPropertyContainer::getTypes
(and rename to getBaseTypes for clarity)

Change-Id: Icfe6202eea9b1f4ec2e46ade3fc8e001ca6b649f
2014-03-14 17:57:24 +01:00
Stephan Bergmann
0085bd2866 Model IEventProcessor acquire/release exactly after XInterface
...so classes deriving from both can easily share a single implementation for
these functions.

Change-Id: I6882dddc8b3ea3b0192d85102a0305494d964dc1
2014-03-14 12:20:41 +01:00
Noel Grandin
5fe7ecc04f sfx2: sal_Bool->bool
Change-Id: I56a50ee4a169c8f82c830ebf498f7ead1335f0b5
2014-03-14 07:50:34 +02:00
Noel Grandin
358be80f65 comphelper,connectivity: prefer passing OUString by reference
Change-Id: I19b2613918ec62ee39bb3e447f3587c5dba1e36a
2014-03-14 07:47:01 +02:00
Caolán McNamara
dca7bd06ca convert relation dialog to .ui format
Change-Id: I5c3fce06cbcd9ce46e85f66fb06369155d514efe
2014-03-13 16:24:15 +00:00
Caolán McNamara
07579ec100 convert query join dialog to .ui format
Change-Id: I1de2bb1d171e23a42834e20040ade92822901876
2014-03-13 16:24:15 +00:00
Caolán McNamara
ec76f39ab5 coverity#705808 Dereference before null check
Change-Id: Ibeaf8989e54017f7cf30a4ffc3f639cd43983d03
2014-03-13 14:03:24 +00:00
Caolán McNamara
756d36a1cc coverity#705463 Dereference null return value
Change-Id: Icf620e065e3b15a8d900a6da00fe979cc45c1f07
2014-03-12 11:02:17 +00:00
Stephan Bergmann
cfedbdea58 Remove newly unused getUnoTunnelImplementationId functions
...after recent clean-up of getImplementationId implementations.

Change-Id: I2a11f6ddf03dc7852b7e8e50dc6284a7215a0113
2014-03-11 13:03:20 +01:00
Noel Grandin
5e456cc3b3 svx: sal_Bool->bool
Change-Id: I061f1e15c816f8077c0fbb0abbc1474eb286796b
2014-03-11 08:18:16 +02:00
Stephan Bergmann
2f3be98732 dbaccess: simplify deprecated XTypeProvider.getImplementationId
Required some clean-up of getImplementationId vs. getUnoTunnelImplementationId
confusion.

Change-Id: I645dd80d24efe7ed5224b220911eed8ad880b7c0
2014-03-10 17:39:54 +01:00
Stephan Bergmann
3aaaab3db7 Remove unused OQueryComposer::getSomething
(OQueryComposer does not actually derive from XUnoTunnel.)

Change-Id: Ib0d358db2b6a87caae9bbc893dffb25e86109b85
2014-03-10 17:39:54 +01:00
Stephan Bergmann
74f0596ea0 Remove unused OSingleSelectQueryComposer::getSomething
(OSingleSelectQueryComposer does not actually derive from XUnoTunnel.)

Change-Id: I4eb26f5d217016e09d1e7e6a4b4bc10fcc5159e6
2014-03-10 17:39:53 +01:00
Eike Rathke
68ec95b3f8 made ListBox handle more than 64k elements, fdo#61520 related
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.

Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05 07:31:19 -06:00
Alexandre Vicenzi
e218663251 fdo#63154 Remove unused solar.h
Removed from dbaccess. editeng, filter,
framwork, formula, lotuswordpro, reportdesing, rsc,
uui

Conflicts:
	framework/source/uielement/menubarwrapper.cxx
	reportdesign/inc/RptDef.hxx
	uui/source/iahndl.hxx

Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273
Reviewed-on: https://gerrit.libreoffice.org/8118
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-28 15:01:05 -06:00
Tor Lillqvist
278cc07451 WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'
Change-Id: Ic46830dfdb82e4519cfccd5da3f673aec12fdfd8
2014-02-28 13:22:56 +02:00
Stephan Bergmann
9661d5b164 Remove unused #include <comphelper/basicio.hxx>
Change-Id: I710d430342de0f1bfb98227264df3a44283f8dc2
2014-02-28 10:43:43 +01:00
Alexander Wilms
2a33953f6e Remove visual noise from dbaccess
Change-Id: I1130439e5883672b4ca462838d72197acd6bc1f2
Reviewed-on: https://gerrit.libreoffice.org/8251
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 06:44:14 -06:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Norbert Thiebaud
9aee4d1c9e harmonize Tell() Seek() type.
Change-Id: I2e472aa0279d0763762d3c660207cd74da512626
2014-02-24 23:14:45 -06:00
Stephan Bergmann
33740b7d5a Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
Stephan Bergmann
146c7c5c89 toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
2014-02-24 11:13:42 +01:00
Stephan Bergmann
b7259532d8 Remove unnecessary bool2any
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24 08:08:00 +01:00
Stephan Bergmann
ad73967e99 Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-24 08:08:00 +01:00
Caolán McNamara
1babae95f1 coverity#704614 Dereference after null check
Change-Id: I0ee36c064bfd5cbd0aaa2554b36b9b1d51d5e6ec
2014-02-23 14:22:42 +00:00
Alexander Wilms
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
Takeshi Abe
3b06e5e646 Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
2014-02-22 21:51:27 +09:00
Caolán McNamara
2ff57a77d8 coverity#738611 Uninitialized scalar field
Change-Id: Ib80c34fa3f6e6cbfc14cc4fa97afec24228c382d
2014-02-21 12:40:31 +00:00
Caolán McNamara
b9179d8798 coverity#738612 Uninitialized scalar field
Change-Id: I6d2ffdfe3a4e70c6588988be9026e28411ee273a
2014-02-21 12:40:30 +00:00
Caolán McNamara
649bb48e2a coverity#738613 Uninitialized scalar field
Change-Id: If6166e4b22afcc0afc5f552652ab76f5e21c52de
2014-02-21 12:40:30 +00:00
Caolán McNamara
86ff16b9c9 coverity#738616 Uninitialized scalar field
Change-Id: I8dd9daa06c86f14430ea0a8d1485daad93f63eee
2014-02-21 12:40:30 +00:00
Caolán McNamara
ead9f07bd2 coverity#738617 Uninitialized scalar field
Change-Id: I4e90e3c0d583925bebfa2468e4c6b87afbe5b993
2014-02-21 12:40:30 +00:00
Caolán McNamara
75cb13c406 coverity#738618 Uninitialized scalar field
Change-Id: Ib54d8f080a8590a3deb75ec26383ef3f44636375
2014-02-21 12:40:29 +00:00