summaryrefslogtreecommitdiff
path: root/include/connectivity
AgeCommit message (Collapse)Author
2015-08-06parameter handling: fix confusion between column name and realnameLionel Elie Mamane
Change-Id: I81fd45276183b911e4560ca785221894ea2ebc88 Reviewed-on: https://gerrit.libreoffice.org/16340 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-05-08callcatcher: update unused codeCaolán McNamara
Change-Id: I8563922204d3ec93bf138cbd1aaba620c0215bf7
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-24loplugin:simplifyboolStephan Bergmann
Change-Id: Ib0290487a963d665a628bd75f4140a9e2b89faa7
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: I200fdb2e193127f0c9e8cec4859845d3ec19cea0
2015-04-22tdf#88710 Cleanup after removing dbtoolsclientMatthew Nicholls
Removes "virtualdbtools" and its implementation under "simpledbt", which are mostly wrappers around various dbtools functions and classes, previously aiding the now removed dynamic loading logic. Removes IDataAccessTools, IDataAccessTypeConversion and IDataAccessToolsFactory interfaces and their accompanying implementations which are completely unused. Removes IDataAccessCharSet (implemented by ODataAccessCharSet) and moves the implementation into a function which replaces ODataAccessCharsetHelper. Removes ISQLParseNode and ISQLParser and their implementation in OSimpleParseNode and OSimpleSQLParser, which simply wrap around OSQLParseNode and OSQLParser respectively. To avoid including "sqlbison.hxx" unnecessarily, includes to "sqlbison.hxx" are now only used where needed. Change-Id: Id882dfbf43514d84a1eaffc1f916d627830c8cd6 Reviewed-on: https://gerrit.libreoffice.org/15450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
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-14tdf#88710 Kill svx dbtoolsclientMatthew Nicholls
Removes dynamic loading logic described in tdf#84315, similar thing removed in swdbtoolsclient. Change-Id: I8762102a7263e6933354c2ff6f9978929b760f6e Reviewed-on: https://gerrit.libreoffice.org/15147 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-04Typo: creat->createJulien Nabet
Change-Id: I5e57e6d506504933096f4c8e371b0ddc93c04cbd
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I6c7c31befd61cbf0800a62c08e7395ddf78e4b30
2015-03-25new constantfunction lopluginNoel Grandin
Change-Id: Ie9b7a0c41fc4dbd2560ceff6bae9ab85357f518b
2015-03-23Catch accidental mis-conversions from pointer to boolStephan Bergmann
Change-Id: I3f6ec3bd951d45b973880be1ae19e167c5e99d20
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
2015-03-02TyposJulien Nabet
Change-Id: I70b8249827c799610a0466ebd5559169c4fac6ec
2015-02-18boost->stdCaolán McNamara
Change-Id: Ifa87783f68b0fab98f8a0f7cd6ed867202b4532f
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I0faa47383f8952a74742a640ab2af602b4fcba8f
2015-02-05callcatcher: update unused codeCaolán McNamara
Change-Id: I540d192a361938cd4dca811e7170d762841662ee
2015-01-28That is well worth an assertLionel Elie Mamane
The exception thrown by at() is not treated meaningfully anyway. Change-Id: I8c243541271d7da76b2a9b102e058b5f2d1ad6d3
2015-01-28Query Design: use correct name for columns that come from another query.Lionel Elie Mamane
Change-Id: I25b4ccdc2f50ba89687e1f4c871f286251a28e21
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2014-12-12connectivity: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I10b2ddf9dcc83219fea8eb55783507eed52702e8
2014-12-08callcatcher: update unused codeCaolán McNamara
Change-Id: I3cd65d112339fa9c67ed462fe39acbbef91d4d8d
2014-12-01fdo#86852 correctly recognise NULL values in query parameter values dialogLionel Elie Mamane
Change-Id: I3c0cf976e0a9fbafe6eee768799a2f48c2ee0ea9
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
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-09-27error C2513: 'const short' : no variable declared before '='Miklos Vajna
com/sun/star/beans/PropertyAttribute.hdl's OPTIONAL had a clash with some of the Windows headers. Change-Id: I26a4fdcd1a1d53596b82ebdaf609e0a0e9309697
2014-09-26factorise odbc headers inclusionLionel Elie Mamane
it is complicated enough that we should implement that logic only once Change-Id: I0cc5ffb871223b27df825f21612e3c8f6f2febb3
2014-09-26fix build & better name for ERROR_INVALID_TABLELionel Elie Mamane
Change-Id: Ic7253575859766f18869159e4a8dd6b3d715850d
2014-09-26loplugin:inlinevisibleStephan Bergmann
Change-Id: Id2530063cd0302b65dcc82965f1b81c31b759b63
2014-09-26implement --with-system-odbc on windowsNoel Grandin
Change-Id: I1757b9ce74277b1c11533f41caeafaf9b88658ef
2014-09-26rip out all remaining uses of svxform::OTypeConversionClient and remove itLionel Elie Mamane
It just wraps around dbtools, which is linked directly now. Change-Id: If8d281962018a48a54858421e3490f5032658691
2014-09-25connectivity: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I796dc05d1846f140a56b5a6f14a69a239324ae5b
2014-09-12connectivity: sal_Bool -> boolStephan Bergmann
Change-Id: Id9458a3aa0928eedc87aec39f305b206e2638e67
2014-09-04fdo#55703 automagically use IS NULL fo 'null' in query design.Norbert Thiebaud
Change-Id: I31bcec74a786df016d994834e6146fb7a76e72cb
2014-08-17use bool directlyThomas Arnhold
Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
2014-07-21coverity#706376 Uncaught exceptionCaolán McNamara
Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30
2014-07-21fix -Werror=extra: base class ‘class salhelper::SimpleReferenceObject’Michael Stahl
should be explicitly initialized in the copy constructor Change-Id: If375412e43bad6bced7bd5c69578f998b9e6618c
2014-07-21convert ORefVector to use salhelp::SimpleReferenceObjectNoel Grandin
instead of hand-rolled code Change-Id: I56e991c70334cb201a460ea8679be70808451a86
2014-07-18remove unnecessary "const &" qualifier from T* parametersNoel Grandin
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-10use SimpleReferenceObject in connectivity moduleNoel Grandin
to replace hand-rolled version Change-Id: Ib415a6e78733277cbc1c0777d7263b65f404e6a4
2014-07-08Revert "use SimpleReferenceObject in connectivity module"Caolán McNamara
turns out to be a bit tangled wrt copy construction This reverts commit 48cc4f1b8cf06a8e56c12e659a71f72d609568cd.
2014-07-08use SimpleReferenceObject in connectivity moduleNoel Grandin
to replace hand-rolled version Change-Id: I7a7bf7f8f7d4f8a73ee842e7aba5eab5a254d8eb
2014-07-01coverity#706382 Uncaught exceptionCaolán McNamara
and coverity#706377 coverity#706378 coverity#706382 Change-Id: I17f672e31867b1be77c16a8a6e121a8f67df7c90
2014-06-29Typo: beeing->beingJulien Nabet
Change-Id: I34937e400ac8576154d33e1e11b80690222f532c
2014-06-25remove spurious com::sun::star::chaosMichael Stahl
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-18rtl::Reference fits just fine hereStephan Bergmann
Change-Id: Ib48999c7fe532b2a8bf5222ef27d8d4929937e3b
2014-06-06fixincludeguards: fix include guardsThomas Arnhold
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-05connectivity: remove SAL_THROW macroNoel Grandin
Change-Id: Id3bbb7a0d39a41b7106303f42d55ba4968235b63
2014-06-04compareToAscii -> equalsAsciiNoel Grandin
convert places using compareToAscii that should be using equalsAscii Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5