6a20b62711
salplug:literaltoboolconversion
...
Change-Id: I94b3bea97b6b4710bd4bf4c0fe88a1518a151de5
2014-07-01 23:19:17 +02:00
968f633b24
coverity#706382 Uncaught exception
...
and
coverity#706377
coverity#706378
coverity#706382
Change-Id: I17f672e31867b1be77c16a8a6e121a8f67df7c90
2014-07-01 16:43:05 +01:00
75ae6c9105
Typo: kjnow->know
...
Change-Id: Ib30aa4e8f430131f5f073169d694e53a3bcd6960
2014-06-18 22:56:12 +02:00
a2db194ea0
connectivity: fix includes
...
Change-Id: I5d5dc6871789865189c78fe9135e7f8bff829489
2014-06-04 21:18:39 +02:00
b09b5f8f7c
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19
...
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-22 23:21:18 +02:00
0fadbdbbdb
Kill DECL_PROP0 and the rest + clean propertyids.hxx
...
Change-Id: I872bc07ff9b1fe96a35e06ad3c5d8aaa75199bdd
2014-05-12 22:54:33 +02:00
8ecb4e4acb
Kill DECL_PROP1IMPL and related (macab part)
...
Change-Id: I7d4fb32f1240125a87b1ced311dec20bb9d44452
2014-05-12 22:54:32 +02:00
888057cb5c
fixincludeguards.sh: connectivity
2014-04-19 11:10:08 +02:00
453ee351f3
fdo#43157 : clean up more OSL_POSTCOND
...
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16
Reviewed-on: https://gerrit.libreoffice.org/8832
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-04-04 07:23:43 -05:00
4ffb0830ad
loplugin:literaltoboolconversion
...
Change-Id: I90f590a64f6004aecf7da5253db158e382a5b801
2014-04-01 21:30:39 +02:00
990f52cbbf
SAL_OVERRIDE, Mac OS X connectivity redux
...
Change-Id: I9d4ef90501c9c36c77991d9521d08b327c3d0d5c
2014-03-27 19:46:31 +01:00
12b2461a45
loplugin:passstringbyref
...
Change-Id: Ibd88c8d980072801f533103cd16d2c3a5e9b8fc5
2014-03-19 22:49:09 +01:00
ac9212feed
Remove visual noise from connectivity
...
Conflicts:
connectivity/source/inc/odbc/OConnection.hxx
Change-Id: I5ca98359e18cf1b27bf53037dde211774d798626
Reviewed-on: https://gerrit.libreoffice.org/8245
Tested-by: Caolán McNamara <caolanm@redhat.com >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2014-02-27 06:54:35 -06:00
eb4187edbe
std::exception fixup
...
Change-Id: I36c9f19580ef2a8e87d68fcc7f3cc3fd56ec7605
2014-02-26 18:47:09 +01: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
f5a030c2d8
loplugin:bodynotinblock
...
Change-Id: Icc60ba3c9b5e79a25a8a55c613e4af96289461ed
2014-02-22 00:22:09 +01:00
9ed364774c
Adapt all (non-extension, SharedLibrary) .components to environment="..."
...
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
08fe82e59c
Remove unnecessary use of OUString constructor in + expressions
...
Convert code like
aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp");
to
aFilename = OUString::number(nFilePostfixCount) + ".bmp";
Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-17 11:49:03 +02:00
1bdb2b6f06
remove unnecessary use of OUString constructor in CONNECTIVITY module
...
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
2013-11-11 11:21:25 +02:00
aeb41c9b9b
remove redundant calls to OUString constructor
...
Change code like this:
aStr = OUString("xxxx");
into this:
aStr = "xxxx";
Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04 10:11:07 +02:00
e2451bd729
Convert indexOf->startsWith and lastIndexOf->endsWith
...
This is both an optimisation and a cleanup.
This converts code like
aStr.indexOf("XX") == 0
to
aStr.startsWith("XX")
and converts code like
aStr.lastIndexOf("XXX") == aStr.getLength() - 3
to
aStr.endsWith("XXX")
Note that in general
aStr.lastIndexOf("X") == aStr.getLength() - 1
converts to
aStr.isEmpty() || aStr.endsWith("X")
so I used the surrounding context to determine if aStr could be empty
when modifying the code.
Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-31 08:34:21 +02:00
2b91dc3ae6
fdo#54938: Adapt connectivity module to use cppu::supportsService
...
Change-Id: I885b4c7a60ff51d44138c4f8a56a584c38a9804a
Reviewed-on: https://gerrit.libreoffice.org/6172
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2013-10-09 15:03:38 +00:00
4216518982
Update implementations of ColumnLocate::findColumn to throw on invalid column.
...
Change-Id: I7a9354ecd35a70a005c6c50e38d27de9b33332bd
Reviewed-on: https://gerrit.libreoffice.org/5922
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-09-12 17:26:12 +00:00
ecae2b16c1
WaE: 'valueOf' is deprecated
...
Change-Id: I9e7e0872eeb5011b79648e1fca436d09304c44ef
2013-08-21 16:48:30 +03:00
2c46fa1299
fdo#64528 macab URL is sdbc:address:macab, not sdbc:address:macab:*
...
Change-Id: I1e5721815c961e14484f78f449910908ed48aeb1
2013-05-13 14:34:29 +02:00
e8ff469da5
Remove any remaining remnants of unused component_canUnload feature
...
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19 16:52:03 +02:00
9830fd36db
date/time IDL datatypes incompatible change
...
- nanosecond precision
- signed (allowed negative) year
Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.
Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
8b27d78b4a
automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
...
Done with a perl regex:
s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms
Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 09:00:26 +00:00
4bf95c4c31
make use of startsWith()
...
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679
Reviewed-on: https://gerrit.libreoffice.org/2599
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-03-08 13:16:49 +00:00
1b718682ad
Fix MACAB driver for my UNO changes
...
Change-Id: Ib513a633e3c887f310711c44d4155be4f998a702
2012-12-21 11:23:32 +02:00
bb121c864c
fdo#46808, Convert frame::Desktop to new style service.
...
I had to drop XEventBroadcaster from the merged interface
because it introduced method name conflicts (addEventListener).
Shouldn't be an issue since it was scheduled to be dropped anyhow,
and the service implementation still implements it, so existing clients
will be fine.
I dropped the interface XPropertySet from the combined IDL because nobody
seems to be using it, and it's primary purpose appears to be to set weird
flags.
I dropped the optional interfaces
XStatusIndicatorFactory
XDispatchInformationProvider
from the combined IDL because the service does not implement them, and
nobody seems to be using them. I suspect they were mistakenly copied
from XFrame.
I also did not convert the Title, UserDefinedAttributes and LayoutManager
properties to attributes, again because no-one is using them.
Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21 10:57:09 +02:00
bd9eaa10d3
Some cppcheck cleaning in connectivity
...
Change-Id: I72cf68b193a4d6b16255f8b92e4c0262cd6cac78
2012-12-20 23:56:32 +01:00
32728f7192
No member named 'getStr' in 'rtl::OStringConcat<rtl::OString, rtl::OString>'
...
Change-Id: I6e2570569d8f8b6ae55d66e2d99fe1ac4d69a7bc
2012-12-04 09:44:04 +02:00
65d4e59fed
fdo#46808: Adapt macab driver to recent commit
...
Change-Id: Ie6e9c58cc4762a0159680a71ce2e03340dac6f7f
2012-11-05 21:39:36 +01:00
3b6ba84a21
connectivity: port macab driver to new OColumn, too
...
Change-Id: I88a64a19d9f2812a77f0a71f31fe8314732ec44f
2012-11-02 12:24:35 +01:00
f42a930976
Use prefixes for these UNO components
...
Change-Id: I719f10818fd211bfe60e5351a5de53a716fdf20f
2012-10-01 21:54:57 +03:00
750fc20611
replace remaining InterlockedCount() with inlined version
...
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-09-25 01:55:38 +00:00
091c1b6fc5
more old module-description xml files
...
Change-Id: I9ac503b073ee3f9b8e7958264ffcc26d9446c220
2012-08-22 23:27:34 +02:00
d88325f73e
Revert "fix for fdo#48200.diff import regrex state for filter"
...
This reverts commit 094654fcebe35af07a9e12137becdf85277ef706.
2012-08-16 17:43:12 +01:00
094654fceb
fix for fdo#48200.diff import regrex state for filter
...
Change-Id: I46b07341e96d78130e6301e40fa32df6ed2c7879
2012-08-16 17:40:05 +01:00
cf239da5c4
There is not need to allocate memory just for getting the 'indexOf'
...
a literal within a OUString.
Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-06 12:22:10 +01:00
57154616f0
Remove UNO includes comments
...
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
27b88d815d
removed unused forward declarations of class
...
Change-Id: I814f8bdf4e4015f8e4eea34533db4ed8d6a7496e
2012-06-25 10:13:44 +09:00
ddaf53acd4
re-base on ALv2 code.
2012-06-12 22:24:55 +01:00
bfa906144f
targeted string re-work
...
Change-Id: Ia73452f1cc83eff144e692c5ec19048c4ce0ca60
2012-06-02 18:45:53 -05:00
d6fef33ef7
targeted string re-work
...
Change-Id: Iac38f0f2622b1f7ddcc6f91b022c949e7a733c41
2012-06-02 09:42:47 -05:00
1a5637b8a9
targeted string re-work
...
Change-Id: If9a9889fa36bc76c9afed295568ed9a05de4587f
2012-05-29 21:39:24 -05:00
4689264f67
WaE unused variable
...
Change-Id: I9545097bd69928f608dd34d5729a6053be3114d1
2012-05-29 07:35:32 +02:00
50c5dd122e
switch connectivity to gbuild
...
Change-Id: I37e6706ff244c9cc21b0826e61ef5d7cd72b3566
2012-05-29 07:24:52 +02:00