summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers
AgeCommit message (Collapse)Author
2016-04-22Avoid reserved identifiersStephan Bergmann
Change-Id: I4654278f9a718042efde46755ee25e62494e3fb6
2016-04-22loplugin:salboolStephan Bergmann
Change-Id: Ibcae25d2476de37842e4a0e670b5951f431195a2
2016-04-21clang-tidy modernize-loop-convert in c*Noel Grandin
Change-Id: I77d2548f8be97792660761e6156cd24734a95aaf
2016-04-21new plugin stylepoliceNoel Grandin
check for local variables which follow our member field naming convention, which is highly confusing Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann
Change-Id: I6fada7331ee369c35cbe019db4e730ce56cd1a1f
2016-04-18follow-up for clean-up declarations and includesJochen Nitschke
small change for commit 150ac9cf05ed9da6a2af5bc3f820280fd853e519 use forward declaration instead of include Change-Id: Ida9742b49233dc2bd2731e816dd6dc4d5705bb07 Reviewed-on: https://gerrit.libreoffice.org/24222 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-18cppcheck: silence known condition warning in connectivityJochen Nitschke
Change-Id: Ic1e1b2f7aeb6d4c0a2f59f298df125c12a75b081 Reviewed-on: https://gerrit.libreoffice.org/24197 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-18loplugin:passstuffbyrefStephan Bergmann
Change-Id: Ie10757b8026e0bdf8be40f41bb04bb02334241f3
2016-04-18clang-tidy performance-unnecessary-copy-initializationNoel Grandin
probably not much performance benefit, but it sure is good at identifying leftover intermediate variables from previous refactorings. Change-Id: I3ce16fe496ac2733c1cb0a35f74c0fc9193cc657 Reviewed-on: https://gerrit.libreoffice.org/24026 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-18clean-up: unused using declarations and includesJochen Nitschke
Searched source for using declarations. Checked if those symbols reappear in the source file, even in comments or dead code but not in #include statements. If they don't reappear, remove the declaration. Remove includes whose symbol got removed. Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0 Reviewed-on: https://gerrit.libreoffice.org/24148 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-15loplugin:passstuffbyrefStephan Bergmann
Change-Id: I5c2883dab8045e70467c6d09a75dcb423eecf702
2016-04-13tdf#97853 connectivity: fix inverted conditionMichael Stahl
Also in 2 places IS_TYPE was converted to dynamic_cast instead of a typeid check; use typeid there too, just for consistency. (regression from ac9671f94800b647f82b12e718968311a025e87e) Change-Id: I0df47a845eff660c791304c22c97704589ab999f
2016-04-13loplugin:passstuffbyref in connectivityNoel Grandin
Change-Id: I751977ecc1b532f72dd5673767471cb0a2cdbd06
2016-04-12cleanup: remove unused com/sun/star/uno includesJochen Nitschke
Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-11clang-tidy performance-unnecessary-value-param in connectivityNoel Grandin
Change-Id: Ie84eeac24f22c5e3d3a4f63728a73023d626ccc0
2016-04-11No need to wrap SAL_INFO in OSL_DEBUG_LEVEL > 0Stephan Bergmann
Change-Id: Ibb62a7fd5975ca891333f78a6f3c7c50329aa073
2016-04-11Replace OUtoCStr macroJulien Nabet
+ use SAL_INFO instead of OSL_TRACE for the impacted lines and surroundings Change-Id: Icf12f51d68af15527ec7baf79a2d60608d849c97 Reviewed-on: https://gerrit.libreoffice.org/23975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-04-06Avoid reserved identifiersStephan Bergmann
Change-Id: I2217920ced336189a94c0a5d1e3ac0ccd3912881
2016-04-04tdf#97499 Fixed containers parameters clearing #4tymyjan
Change-Id: I7c96181399f4d7e62d4aceca404b22d68f903513 Reviewed-on: https://gerrit.libreoffice.org/23754 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-04tdf#97499 Fixed containers parameters clearing #2tymyjan
Change-Id: I2e77c3b33ae3b8a49a7890cac77be566391972f2 Reviewed-on: https://gerrit.libreoffice.org/23751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-02cleanup: remove unused Reference.h(xx) includesJochen Nitschke
and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-01tdf#97966 Drop 'static' keywordsWastack
Including no keywords from extern "C" blocks Change-Id: I18ddafbf3d41f6779fb43e36ba1f1c48b37757a0 Reviewed-on: https://gerrit.libreoffice.org/23671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-31use SAL_N_ELEMENTS more widelyNoel Grandin
found using git grep -n 'sizeof.*/.*sizeof.*[0]' Change-Id: Icd4a6cc1ca8ec8ebd68e1701a02789c74cf0eb2a
2016-03-31use SAL_N_ELEMENTS in for loopsNoel Grandin
for with git grep -n 'for.*sizeof' Change-Id: I6211024385e03ac5eeeb38690d2c1c699e015c2f Reviewed-on: https://gerrit.libreoffice.org/23569 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-28Use const_iterator when possible (connectivity)Julien Nabet
Change-Id: I749e4c3ffa0c89f919459c376edad4804b2b66ca Reviewed-on: https://gerrit.libreoffice.org/23573 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-03-23loplugin:constantparam in connectivityNoel Grandin
Change-Id: Idfc7d9709a917ce2ebbc06119a906daf4cee8d48
2016-03-22tdf#88462 convert manual XInterface implementationskerem
Change-Id: Ia77c4d95b6f9c6ac3488406c5fe7585ec6e876a1 Reviewed-on: https://gerrit.libreoffice.org/23424 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-18replace typedef OIndex_ADO->sdbcx::OIndexNoel Grandin
Change-Id: Ib6ac581689f640811051623b17978bc5caa8c246 Reviewed-on: https://gerrit.libreoffice.org/23351 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-11tdf#97966: Remove 'static' keywordsWastack
Change-Id: I0d9837a7ccecd606e0d43b53f8b920547b0d0bcd Reviewed-on: https://gerrit.libreoffice.org/23132 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-09include/jvmfwk/*.h -> .hxx (only ever included from C++ code)Stephan Bergmann
Change-Id: Ia912e937d5a48afb6f8f5345b20bb7bd517fc4f1
2016-03-09loplugin:constantparam in connectivityNoel Grandin
Change-Id: I5e71b3de15e043066cd4177dd42b231527eb71e4
2016-03-08tdf#75280 Replace sal_uIntPtr to better types in /connectivityJaskaran
Many other occurences of outdated sal_uIntPtr still remain.This commit does not fully fix the issue. Change-Id: I744a4399a12cefb48e948c20c2d0dec833116b81 Reviewed-on: https://gerrit.libreoffice.org/23034 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-07loplugin:defaultparamsStephan Bergmann
Change-Id: Ibc922d84aeaba4e2dbfac3a23f253db76408db45
2016-03-07tdf#97499 Remove some Default arguments in unordered containerJaskaran
Change-Id: Ic008e244b8ae1888fa45379371f5525ee77f6087 Reviewed-on: https://gerrit.libreoffice.org/22887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-07loplugin:unuseddefaultparamsNoel Grandin
Change-Id: Ia414f7845425ef73859ed04853378e96cc738795 Reviewed-on: https://gerrit.libreoffice.org/22971 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07improve defaultparams lopluginNoel Grandin
to catch calling params with defaults like "= OUSString()" Change-Id: Iad060e318ed492c22f8be44e326174fe6d28fff9 Reviewed-on: https://gerrit.libreoffice.org/22932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-04pgsql-sdbc: put local code and constants in anonymous namespaceLionel Elie Mamane
Change-Id: Iaccda39ddf651f6b2ef326c9b3903670c25bcdde
2016-03-04pgsql-sdbc: factorise common codeLionel Elie Mamane
Change-Id: Iea185bc216e92baee9f97157b8ac13a9a64f99b5
2016-03-04tdf#92538 pgsql-sdbc make a reasonable sorting of typesLionel Elie Mamane
Change-Id: I74283234834b5057857620ed2466068e88628585
2016-03-04pgsql-sdbc: "text" dataype is *LONG*VARCHARLionel Elie Mamane
Change-Id: Idd01299ef4592b43e573c3b0996d4822664c6bcf
2016-03-04fixup startsWith vs == in string comparisonsLionel Elie Mamane
probably left-over from OUString transition Change-Id: I29f8f34ad44828608aa16b0b0a0759e887e280af
2016-03-04-Werror,-WshadowStephan Bergmann
Change-Id: I944d7bd40a297dac97b954196a0e8e286f0ba712
2016-03-04fixup tdf#92538Lionel Elie Mamane
Change-Id: I57650fe955a31f433d611d9e74a0762d349bed64
2016-03-04fixup tdf#92538Lionel Elie Mamane
Change-Id: I62fbead59ac83147da6da984f89b64b1d7e4f90d
2016-03-03tdf#92538 use proper schema name for type namesLionel Elie Mamane
Change-Id: I7e428e4530765925bd35c7f4fcde7f95ceb12243
2016-03-03loplugin:unuseddefaultparams in connectivityNoel Grandin
Change-Id: I03cc69a924913713a0da819899ce259305b88016
2016-03-01coverity#1352212 Unchecked return valueCaolán McNamara
Change-Id: I75a6853a6708585201dbc4722e7a19cd568a48f7
2016-02-25convert StandardSQLState to scoped enumNoel Grandin
Change-Id: Ia0a1526140cfed35a73a6fea1a173d2fb5005960
2016-02-25convert SQLNodeType to scoped enumNoel Grandin
Change-Id: I622e55622d38e6017993c8bc52625c85d0f74d74
2016-02-25convert OSQLStatementType to scoped enumNoel Grandin
Change-Id: I2df117cf0f405e88899e7ccab380156284720449