summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/hsqldb
AgeCommit message (Collapse)AuthorFilesLines
2015-05-08jboolean-related clean-upStephan Bergmann3-6/+6
Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c
2015-04-23loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: I200fdb2e193127f0c9e8cec4859845d3ec19cea0
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin3-3/+3
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 Bergmann1-1/+1
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-09V801: Decreased performanceCaolán McNamara1-1/+1
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin1-1/+1
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-01-28Use vector::dataStephan Bergmann2-4/+2
...in some places where it is obvious that it does not hurt that for an empty vector the obtained pointer is not necessarily a nullptr. Change-Id: Id5d66b1559ca8b8955d379bcdbfae6986ef46a51
2015-01-06Remove unnecessary include files declaring JNI functionsStephan Bergmann3-23/+20
Change-Id: Ie9e083a9dcdaebf9f481bae920eddef69e47c3bc
2015-01-05Some loplugin:revisibility clean-upStephan Bergmann3-20/+20
Stumbled across such redundant visibility re-specifications when looking at the odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in cppu/source/cppu/cppu_opt.cxx and used in inline code in include/com/sun/star/uno/Reference.hxx with only a declaration lacking CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows. However, this plugin is probably not worth it being run all the time, so committing it to compilerplugins/clang/store/. Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
2015-01-02Remove unnecessary comphelper::string::getTokenStephan Bergmann1-6/+5
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
2014-12-18connectivity: Use appropriate OUString functions on string constantsStephan Bergmann1-1/+1
Change-Id: I9ca72364cd57fd2da0c6f5f704a3fe494c0a1df5
2014-12-12connectivity: Use appropriate OUString functions on string constantsStephan Bergmann2-3/+3
Change-Id: I10b2ddf9dcc83219fea8eb55783507eed52702e8
2014-12-09fdo#39440 reduce scope of local variablesMichael Weghorn1-2/+1
This addresses some cppcheck warnings. Change-Id: Ib35eb591534c3f23adc3cb7b7fa9696dc5cbeabf Reviewed-on: https://gerrit.libreoffice.org/13383 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-12-01Resolves: fdo#80938 fix SQL view to be editableCaolán McNamara1-28/+53
regression from commit d60392fb5b387175dbd2e575848993c02c56922f Author: Caolán McNamara <caolanm@redhat.com> Date: Thu Mar 6 12:05:24 2014 +0000 coverity#706316 help out coverity re tortured logic Change-Id: I2ee7bd3b7421ae46878d1b565ef14dd7b0bbd10e
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl4-1/+4
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin3-15/+15
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-31Removed duplicated includesAndrea Gelmini1-1/+0
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6 Reviewed-on: https://gerrit.libreoffice.org/12160 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin1-1/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-21coverity#706376 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30
2014-06-04connectivity: fix includesThomas Arnhold9-25/+25
Change-Id: I5d5dc6871789865189c78fe9135e7f8bff829489
2014-05-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet2-4/+4
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-10Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9Julien Nabet1-1/+1
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
2014-04-19fixincludeguards.sh: connectivityThomas Arnhold2-6/+6
2014-04-16connectivity: sal_Bool->boolNoel Grandin9-23/+23
Change-Id: I96371121ce6697f153f4e973e65831ea2265eb56
2014-04-11Clean up function declarations and some unused functionsStephan Bergmann1-27/+0
Change-Id: I4c63cd304908ce0e8ae3f9938d7323225dd314a5
2014-04-04fdo#43157 : clean up more OSL_POSTCONDMichaël Lefèvre1-1/+1
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-01connectivity: sal_Bool->boolNoel Grandin3-5/+5
Change-Id: Iafa52d3643b9313c20c75cf98f6b1ec231bf9d6d
2014-04-01connectivity: sal_Bool->bool and fix method nameNoel Grandin2-4/+4
Convert method name getBoleanComparisonPredicate to getBooleanComparisonPredicate Change-Id: I00c726b1fecd8352dc49f2af98c3ae3c799ef424
2014-04-01connectivity: sal_Bool->boolNoel Grandin1-2/+2
Change-Id: Ic583deda8b0be3c89bcd644a1872ebd83276487a
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2-4/+4
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-14comphelper,connectivity: prefer passing OUString by referenceNoel Grandin4-4/+4
Change-Id: I19b2613918ec62ee39bb3e447f3587c5dba1e36a
2014-03-06coverity#706316 help out coverity re tortured logicCaolán McNamara1-10/+13
Change-Id: I6d6a948fdac4442c69972316275349fe73b9e741
2014-02-27Remove visual noise from connectivityAlexander Wilms8-43/+43
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 Bergmann9-41/+41
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-23Remove unneccessary commentsAlexander Wilms18-182/+182
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-22Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe1-1/+3
Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
2014-01-25coverity#440730 Dereference after null checkNorbert Thiebaud1-1/+1
Change-Id: Iab8f02e3bb1e03c0ee7efdd0b47d8329d786578d
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin1-1/+1
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2013-12-18nIndex can only be -1 or < sSystemPath.getLength()Caolán McNamara1-4/+2
from sal_Int32 nIndex = sSystemPath.lastIndexOf('.'); so OUString sConnPartURL = sSystemPath.copy( 0, ::std::max< sal_Int32 >( nIndex, sSystemPath.getLength() ) is equivalent to OUString sConnPartURL = sSystemPath.copy( 0, sSystemPath.getLength() ) which is OUString sConnPartURL = sSystemPath; so drop sConnPartURL and replace with sSystemPath Change-Id: I3fc8e88a4b3e474c3dccd08cf356e4663503ae02
2013-12-18STROAGE->STORAGECaolán McNamara1-1/+1
Change-Id: I2c83c87d15f5fdc766a8464a8389e22120eabc52
2013-12-17HSQLDB: correct syntax of change password from MySQL to HSQLDBLionel Elie Mamane1-3/+6
Change-Id: Iacf60c456912f2e38c7a082e48c45164e79c1097
2013-12-17HSQLDB: quote usernamesLionel Elie Mamane1-3/+7
Change-Id: I8384920bc55dafb2cc6581fe82f38d4e2659cc3d
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-2/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17cppcheck: fix statements that begin with string constantJulien Nabet1-2/+2
Change-Id: I42427beeae06f607e60aeeb7142714fd1f5d740d
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara1-1/+1
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-06Clean up includes of comphelper/stl_types.hxxStephan Bergmann2-2/+0
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06Get rid of DECLARE_STL_USTRINGACCESS_MAPStephan Bergmann1-1/+5
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-11-21remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin1-4/+2
Convert code like this: if (aStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aStr == "rem") which compiles down to the same code. Change-Id: I2dfa0f0a457c465948ecf720daaa45ff29d69de9