summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
AgeCommit message (Collapse)AuthorFilesLines
2015-05-08loplugin:staticmethodsStephan Bergmann3-56/+59
Change-Id: Ic93e560641f1ec1c5fc316ed126617c6d99ab5b5
2015-04-23loplugin:staticcallStephan Bergmann1-2/+2
Change-Id: I7dfe5b8f6d87db5f0f70bd16e45c4d0bd4a72da2
2015-04-22add missing includeDavid Tardon1-0/+1
Change-Id: Iffd293c20880f28a1b93225583d3f315eddb328f
2015-04-21cppcheck: cstyleCastCaolán McNamara1-1/+1
Change-Id: Iaf5c394a1cacaa6de9d10566dc6a1371361b40de
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin7-8/+8
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann2-2/+2
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2-2/+2
Change-Id: Id2361bd7b50f4724211661b024583b8a3445500b
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-1/+1
Change-Id: I24dc3a9b16abb1397cdd6a4f6cfafb81cc61d0f9
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann1-2/+2
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann2-5/+5
Change-Id: I6c7c31befd61cbf0800a62c08e7395ddf78e4b30
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann1-1/+1
Change-Id: If7e4e3cae1021529819e0b43ef334020ff8b7a43
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann1-1/+1
...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32 "tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit build Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann1-1/+3
...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
2015-02-02coverity#1267656 Logically dead codeCaolán McNamara1-3/+0
Change-Id: I37c59a0bc2d7a62535f4f4951f8378c291f2affa
2015-01-30coverity#1267628 Resource leak in objectCaolán McNamara1-2/+1
Change-Id: I90e36c7af58638e57296dc4776fbd86beff3d101
2015-01-30coverity#1267700 Uninitialized scalar fieldCaolán McNamara1-5/+6
Change-Id: I1e9d412ccf68996e59e0875c0f0af17592258acb
2015-01-20Some more loplugin:cstylecast: connectivityStephan Bergmann4-5/+5
Change-Id: Iee1d11aef454284dbe050780c4308917c1a2b36f
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-5/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2014-12-17Introduce rtl::OUStringLiteral1Stephan Bergmann1-1/+1
...to use single ASCII character literals "more directly" in the OUString API (instead of having to go via an intermediary OUString ctor call). Especially useful for character literals that are defined as const variables or via macros ("direct" uses of character literals in the OUString API can often simply be replaced with single-character string literals, for improved readability). (The functions overloaded for OUStringLiteral1 are those that are actually used by the existing LO code; more could potentially be added. The asymmetry in the operator ==/!= parameter types is by design, though---writing code like 'x' == s is an abomination that shall not be abetted.) Change-Id: Ic5264714be7439eed56b5dfca6ccaee277306f1f
2014-12-04connectivity (Linux): loplugin:cstylecastStephan Bergmann2-10/+6
Change-Id: If2a3306360ea3db4476b09774e4f93c2c0dc4027
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann3-6/+11
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin3-11/+6
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin1-1/+1
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-01fdo#82577: Handle TimeNoel Grandin1-1/+1
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-12connectivity: sal_Bool -> boolStephan Bergmann7-11/+11
Change-Id: Id9458a3aa0928eedc87aec39f305b206e2638e67
2014-07-21coverity#706376 Uncaught exceptionCaolán McNamara4-10/+10
Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30
2014-07-01coverity#706382 Uncaught exceptionCaolán McNamara2-38/+38
and coverity#706377 coverity#706378 coverity#706382 Change-Id: I17f672e31867b1be77c16a8a6e121a8f67df7c90
2014-06-06fixincludeguards: fix include guardsThomas Arnhold4-4/+7
Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-04connectivity: fix includesThomas Arnhold12-22/+22
Change-Id: I5d5dc6871789865189c78fe9135e7f8bff829489
2014-05-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet1-3/+3
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-04-19fixincludeguards.sh: connectivityThomas Arnhold12-31/+31
2014-04-16connectivity: sal_Bool->boolNoel Grandin2-32/+31
Change-Id: I96371121ce6697f153f4e973e65831ea2265eb56
2014-04-11Clean up function declarations and some unused functionsStephan Bergmann1-25/+0
Change-Id: I4c63cd304908ce0e8ae3f9938d7323225dd314a5
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann1-2/+2
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-01loplugin:literaltoboolconversionStephan Bergmann4-7/+7
Change-Id: I9f0e84b63ee6e338fc273c137eb1d1470b8185dc
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann12-326/+326
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-19loplugin:passstringbyrefStephan Bergmann1-1/+1
Change-Id: I0cbb49b29f0b1ee69f342d14d4560924e7bc5d11
2014-03-14No need for a virtual OPropertyContainer::getTypesStephan Bergmann1-1/+1
(and rename to getBaseTypes for clarity) Change-Id: Icfe6202eea9b1f4ec2e46ade3fc8e001ca6b649f
2014-02-27Remove visual noise from connectivityAlexander Wilms5-10/+10
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-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann16-532/+532
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-23Remove unneccessary commentsAlexander Wilms12-329/+329
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-01-28bool improvementsStephan Bergmann1-1/+1
Change-Id: If35c939adede6a912dee14714a7ceeab84ac977e
2014-01-14bool improvementsStephan Bergmann1-7/+3
Change-Id: Ibe8e80169b222e425df7016a0012591793546adf
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-2/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin1-1/+1
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11remove unnecessary use of OUString constructorNoel Grandin1-3/+3
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11remove unnecessary use of OUString constructor in CONNECTIVITY moduleNoel Grandin4-4/+4
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
2013-11-06#i123575# RmMoz 7/9: fix mismatching header guard commentHerbert Dürr1-1/+1
(cherry picked from commit ce2260c549c1cafadd1182e4e7155b18ab44e771)
2013-10-31fix ambiguous OUString constructor callNoel Grandin1-2/+2
after commit e2451bd729d0f1d795a5b689deba65bc4e9d92c6 "Convert indexOf->startsWith and lastIndexOf->endsWith" Change-Id: I19c0e33e318cbf4be90d60bcbb83bc5de4336190
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin1-2/+2
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