summaryrefslogtreecommitdiff
path: root/connectivity/source
AgeCommit message (Collapse)AuthorFilesLines
2014-07-29Fix *_component_getFactory function typeStephan Bergmann1-2/+3
Change-Id: I827fd727eb49ce19da847327d78bca531a11bc1a
2014-07-26coverity#706301 Uncaught exceptionCaolán McNamara1-2/+13
Change-Id: I6c81df21c7c8713e3d409fb9418e6d6bcca48d68
2014-07-26coverity#1079093 Uncaught exceptionCaolán McNamara1-5/+11
Change-Id: I4b09963e2daf22dcd006fee0ce0bb130c7c18342
2014-07-22Resolves fdo#81213: Wrong table-clause generated by reportbuilderJulien Nabet3-3/+3
Oracle doesn't accept "AS" for making an alias from a table See https://bugs.freedesktop.org/show_bug.cgi?id=81213#c2 https://bugs.freedesktop.org/show_bug.cgi?id=81213#c4 https://bugs.freedesktop.org/show_bug.cgi?id=81213#c5 for more information (thank you Lionel) Change-Id: I33c86d78b2590116d4af46ffd3e54c3c791268ea
2014-07-21coverity#706376 Uncaught exceptionCaolán McNamara42-143/+154
Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30
2014-07-19Typo: generel->generalJulien Nabet1-1/+1
Change-Id: Ib967981eb2b8ee6610a983b38f2f2617e873f17d
2014-07-19fdo#81336 bison priority increase with bigger numberLionel Elie Mamane1-4/+4
Change-Id: Ib99f08c52379fd9df90c30b61cc246ee53022506 Reviewed-on: https://gerrit.libreoffice.org/10401 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-07-18remove unnecessary "const &" qualifier from T* parametersNoel Grandin1-3/+3
e.g. convert code like foo(X * const & p) to foo(X * p) since the "const &" part of it adds nothing useful. Change-Id: Icf5f2041517259e7b6e055b75ed1e0e77c547da5
2014-07-13coverity#706364 Uncaught exceptionCaolán McNamara2-6/+2
Change-Id: I4a6f7a2aa76d2a998bb6392de35fa1d25c85b3ce
2014-07-10coverity#706372 Uncaught exceptionCaolán McNamara2-4/+2
Change-Id: If3b3395bbe44720540e9619bba6088c6cd29ed37
2014-07-10Fix function signatureStephan Bergmann1-2/+3
Change-Id: Ia3cd228009792d2e5c2e3b74e740341bb0088867
2014-07-10use SimpleReferenceObject in connectivity moduleNoel Grandin12-208/+5
to replace hand-rolled version Change-Id: Ib415a6e78733277cbc1c0777d7263b65f404e6a4
2014-07-07WaE: enumeration values not handled in switchTor Lillqvist1-0/+2
The previous commit to this file removed the default: case, so add it back (even if doing nothing now). Change-Id: Idc02818a30216dda0d64fddf21188de5766672e2
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara1-3/+1
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-06DBG_ASSERT->assert when followed by dereferenceCaolán McNamara2-5/+3
Change-Id: I9390228721df1b713d8cf2e719854b74d6b639c8
2014-07-03JOINs are left-associativeLionel Elie Mamane1-1/+2
Change-Id: I24fdd2ce9bb87cc52a7c84ec8cd300bc13b11461
2014-07-03use assert when followed by derefCaolán McNamara1-1/+2
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-03clang scan-build: Argument with 'nonnull' attribute passed nullCaolán McNamara1-0/+2
Change-Id: I7e8700936cf98a672a2513232cf4247f1783c41b
2014-07-02SAL_WARN->assertCaolán McNamara1-1/+1
immediately dereferenced Change-Id: I96a657973c219facbaa64dd079dcaaaa3c1c4dd8
2014-07-02coverity#706374 Uncaught exceptionCaolán McNamara2-3/+3
Change-Id: Ie17e29e6893c6f69f176d77fab9dcb6a90cb432b
2014-07-02coverity#706373 Uncaught exceptionCaolán McNamara2-4/+3
Change-Id: Iee4774dffd43be3fc3eacbcc81f150706625fcad
2014-07-02coverity#706371 Uncaught exceptionCaolán McNamara2-4/+3
Change-Id: I2019711112b1acb336b3002faca312c658f28671
2014-07-02coverity#706368 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: Ia8988be31ed4dc4843bd6c2573ec14efa3af6397
2014-07-02coverity#706367 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: I5c17c94956a44dab13935dca41e812ebd196203a
2014-07-02coverity#706364 Uncaught exceptionCaolán McNamara2-4/+4
Change-Id: I75cd82d55d8bdf2f111cd0a91f056e1956ddad02
2014-07-02coverity#706308 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: I852e701bd62929c1a7303b86286b8cbe66cdfc1f
2014-07-01salplug:literaltoboolconversionStephan Bergmann1-1/+1
Change-Id: I94b3bea97b6b4710bd4bf4c0fe88a1518a151de5
2014-07-01Activate the "suspicious cast to sal_Bool" parts of loplugin:salboolStephan Bergmann1-1/+1
Change-Id: I78a368ef2899b2462251b45a327fc7b1f31fe764
2014-07-01coverity#706382 Uncaught exceptionCaolán McNamara13-149/+164
and coverity#706377 coverity#706378 coverity#706382 Change-Id: I17f672e31867b1be77c16a8a6e121a8f67df7c90
2014-07-01New loplugin:stringconcatStephan Bergmann2-2/+2
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-07-01coverity#1224302 Uncaught exceptionCaolán McNamara2-4/+3
Change-Id: I622a7c41c9083f2deec21dc8c37572f978874127
2014-06-29Typo: beeing->beingJulien Nabet1-1/+1
Change-Id: I34937e400ac8576154d33e1e11b80690222f532c
2014-06-28odbc driver: let's not allocate the buffer twice for nothingNorbert Thiebaud1-6/+5
Change-Id: If5db845c856a9fb3adf8c4fcb883607e1cb9446e
2014-06-28firebird driver: shutdown explicitely firebird on dispose of driver.Norbert Thiebaud1-0/+2
Change-Id: Ia44f7e01a3a01da57e4d9382f41511aa6f987b43
2014-06-28firebird: release driver on dispose rather than destroy.Norbert Thiebaud2-9/+4
Change-Id: I5ffeaf818c1eb4985bdd150830f089f03fe42ceb
2014-06-28firebird driver, abandon ref to about to be disposed embedded storage.Norbert Thiebaud1-0/+3
Change-Id: I6bfce155151b79cd0a1707744e79298b45d8752b
2014-06-28WaE: null argument where non-null required (argument 2)David Tardon1-1/+2
Change-Id: I3eb71120aed85a4ec2c697d149006bce063d983e
2014-06-27fdo#80574 firebird memory management issuesNorbert Thiebaud3-57/+76
Change-Id: I37438cd3f9c8e197e5a3aa3d9cbcc5bf3681d792
2014-06-27Blind fix for OPreparedStatement::setParameter's useWChar caseStephan Bergmann1-11/+22
...after 0181a13904daef160bee543e9806b23a835f79c8 "odbc properly support platform with sizeof(SQLWCHAR) = 4" introduced usage of RTL_TEXTENCODING_UCS2/4 there, which do not make sense in combination with converting between OString and OUString. OTools::getStringValue will need a corresponding fix, too, in the other direction (where the OUString(sal_uInt32 const * codePoints, sal_Int32 codPointCount) ctor will be useful). Change-Id: Ia94cd0deec46d269b6ee43362f4849837bb011c5
2014-06-27odbc properly support platform with sizeof(SQLWCHAR) = 4Norbert Thiebaud2-22/+29
Change-Id: I06d5a6c93817d2623fac3962b82c1319caf13276
2014-06-27loplugin:unreffun: also warn about redundant redeclarationsStephan Bergmann1-1/+0
Change-Id: I9a812220b58cf6da00d854e65794f7c673ab239d
2014-06-25remove spurious com::sun::star::chaosMichael Stahl1-1/+1
Apparently some time before inital CVS import a global search-and-replace went horribly wrong and added spurious namespace prefixes everywhere. Change-Id: I4009bc3ab4b1d4c80412f75ad0e4628a382f99f0
2014-06-24new compilerplugin returnbyrefNoel Grandin6-10/+10
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-18Typo: kjnow->knowJulien Nabet2-2/+2
Change-Id: Ib30aa4e8f430131f5f073169d694e53a3bcd6960
2014-06-18Typo: perharps->perhapsJulien Nabet1-2/+2
Change-Id: Ibc1580d04d896a953edc15fb6cc9381914230e32
2014-06-18Use rtl::Reference to make code clearer & exception-safeLionel Elie Mamane2-22/+14
Change-Id: I8cfdf792541b351a19e16f95d4e6f7127e3d33b2
2014-06-18fdo#80084 file driver PreparedStatement: close previous ResultSet on reexecLionel Elie Mamane3-8/+36
This partially reverts commit d87c2c59c9c1d5f5825f355c9eb941fdf95b42f6 "sdbc file driver (Prepared)Statement: created ResultSet owned by *caller*" From that commit, we keep the part about not reusing the same ResultSet on reexecution (client code may have disposed it or closed it), but we revert the part about not closing / disposing the previous ResultSet on reexecution. Change-Id: I4946207f9740484b2f5fbc3575a5708fe39f357c
2014-06-18rtl::Reference fits just fine hereStephan Bergmann1-7/+5
Change-Id: Ib48999c7fe532b2a8bf5222ef27d8d4929937e3b
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin2-5/+1
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-15Resolves: fdo#80025 Crash with Thunderbird/Icedove address bookJulien Nabet2-4/+0
There's no property USEBOOKMARKS for mork/moz (regression from 0fadbdbbdbd55cf60f9a202f1cf7b1d60517078c) Change-Id: If81f063fad2d702c9d8b0bb4147757655cb016cf