summaryrefslogtreecommitdiffstats
path: root/connectivity/source/parse
Commit message (Collapse)AuthorAgeFilesLines
...
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-201-1/+1
| | | | Change-Id: I6fada7331ee369c35cbe019db4e730ce56cd1a1f
* Avoid reserved identifiersStephan Bergmann2016-04-062-30/+30
| | | | Change-Id: I2217920ced336189a94c0a5d1e3ac0ccd3912881
* tdf#97966 Drop 'static' keywordsWastack2016-04-011-2/+2
| | | | | | | | | 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>
* use SAL_N_ELEMENTS more widelyNoel Grandin2016-03-311-2/+2
| | | | | | | found using git grep -n 'sizeof.*/.*sizeof.*[0]' Change-Id: Icd4a6cc1ca8ec8ebd68e1701a02789c74cf0eb2a
* Use const_iterator when possible (connectivity)Julien Nabet2016-03-281-1/+1
| | | | | | | Change-Id: I749e4c3ffa0c89f919459c376edad4804b2b66ca Reviewed-on: https://gerrit.libreoffice.org/23573 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* tdf#91794 Remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar2016-03-081-1/+1
| | | | | | | | | | I either replaced OSL_DEBUG_LEVEL > 1 with OSL_DEBUG_LEVEL > 0 statements or i used SAL_INFO(..)s Change-Id: Iefb6b83e86e1767e55600b6e1989ee91207fb220 Reviewed-on: https://gerrit.libreoffice.org/23000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* convert StandardSQLState to scoped enumNoel Grandin2016-02-251-1/+1
| | | | Change-Id: Ia0a1526140cfed35a73a6fea1a173d2fb5005960
* convert SQLNodeType to scoped enumNoel Grandin2016-02-254-365/+365
| | | | Change-Id: I622e55622d38e6017993c8bc52625c85d0f74d74
* convert TraversalParts to scoped enumNoel Grandin2016-02-251-10/+10
| | | | Change-Id: I34797d6ccdf8b9c75004c129056f3a09f169e1b4
* convert OSQLStatementType to scoped enumNoel Grandin2016-02-251-26/+26
| | | | Change-Id: I2df117cf0f405e88899e7ccab380156284720449
* convert EComposeRule to scoped enumNoel Grandin2016-02-251-3/+3
| | | | Change-Id: I5a2e4f6f6f0f353c75dff85e865608b12c2104f9
* convert InternationalKeyCode to scoped enumNoel Grandin2016-02-252-122/+122
| | | | Change-Id: I2eba99ebb86003f1f5ddefafb4cd191b29853819
* convert ErrorCode to scoped enumNoel Grandin2016-02-253-36/+36
| | | | Change-Id: I37d2dd0b84fce229b548bbe941cfdd1169170af9
* Remove excess newlinesChris Sherlock2016-02-093-4/+0
| | | | | | | | | | | | | | | | | | | A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* Formatting changes across all modulesChris Sherlock2016-02-091-3/+0
| | | | | | | | | | | | | | + Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* connectivity: replace boost::bind with lambdaMichael Stahl2016-02-031-2/+1
| | | | Change-Id: I5a68b743221a3519701e4e3778562ae626783e0f
* -Werror=misleading-indentation (GCC 6)Stephan Bergmann2016-01-131-2/+4
| | | | Change-Id: Ide514da5b4413974e50beeb4f41881294475303c
* use initialiser syntax for Sequence<OUString>Noel Grandin2015-11-151-2/+1
| | | | | | | | | | | | | | replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-102-117/+117
| | | | Change-Id: Iefeeb51c2b101c097a8d77a4625f84baf1f2da44
* loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2015-11-062-6/+6
| | | | Change-Id: Ia3b2020e3f58e23e87a95d1fee0c76c8aba705ea
* loplugin:defaultparamsStephan Bergmann2015-10-201-1/+1
| | | | Change-Id: I7e232e92cc9d058f93eff9f7249e37ed3a9cd9ac
* loplugin:defaultparamsStephan Bergmann2015-10-191-1/+1
| | | | Change-Id: I8e40cf9166aa65c81cb6b4ed17506ec5b9d725e3
* clang-analyzer-deadcode.DeadStoresStephan Bergmann2015-10-061-5/+2
| | | | Change-Id: Ie1416bdd0740efa78e1ebdba9d50536f1768b046
* Fix typosAndrea Gelmini2015-09-301-1/+1
| | | | | | | Change-Id: I13c3dc33722f139582f27412d5d336264d3d15a3 Reviewed-on: https://gerrit.libreoffice.org/18942 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* boost->stdCaolán McNamara2015-09-141-2/+2
| | | | | | | Change-Id: Iff14f69c200217c5d868978e8ffc06962b99ac09 Reviewed-on: https://gerrit.libreoffice.org/18568 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Get rid of connectivity's diagnose_ex.hStephan Bergmann2015-09-091-2/+0
| | | | | | ...that rather trivially wrapped some osl/diagnose.h functionality Change-Id: I4105708488114a9c87aa415affb997a783241248
* warning: nonterminal usesless in grammarStephan Bergmann2015-09-031-13/+1
| | | | | | | ...ever since its use got removed in 17e1d9f46d7957b7ec54943122ddd5fbace19ab8 "INTEGRATION: CWS oj4" Change-Id: I6494e11bb162d4c4bb880a6c4f9ece01331975dd
* warning: nonterminal usesless in grammarStephan Bergmann2015-09-031-1/+3
| | | | Change-Id: I97f3fb5cf62a68460157b2302a84d56a1417d376
* loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2015-08-311-20/+20
| | | | Change-Id: I68b02ad101c4c2165b4618ed5d97cbffc2c43d2d
* loplugin: defaultparamsNoel Grandin2015-08-112-3/+3
| | | | Change-Id: I906912f29448bfc72e8139546aa09525c959867f
* loplugin:staticmethodsStephan Bergmann2015-06-082-10/+10
| | | | Change-Id: I22af41840410ee78aee739e0dec49bb43cda874b
* Revert "loplugin:staticmethods"Jan Holesovsky2015-06-082-10/+10
| | | | This reverts commit 81d82b78a107f2e6c14d6fbdf0d97c8e6cc8b0bd.
* loplugin:staticmethodsStephan Bergmann2015-06-082-10/+10
| | | | Change-Id: I22af41840410ee78aee739e0dec49bb43cda874b
* loplugin:loopvartoosmallNoel Grandin2015-05-292-5/+5
| | | | Change-Id: Icb31e51575f7fffd36be73bbd87a3c5e56c3aa26
* tdf#62475: partial handmade fixesAndrea Gelmini2015-05-153-24/+0
| | | | | | | Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* loplugin:staticmethodsNoel Grandin2015-04-232-4/+4
| | | | Change-Id: I200fdb2e193127f0c9e8cec4859845d3ec19cea0
* tdf#88710 Cleanup after removing dbtoolsclientMatthew Nicholls2015-04-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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>
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-011-7/+7
| | | | Change-Id: Id2361bd7b50f4724211661b024583b8a3445500b
* const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2015-03-261-1/+1
| | | | Change-Id: If7e4e3cae1021529819e0b43ef334020ff8b7a43
* boost->stdCaolán McNamara2015-02-181-6/+6
| | | | Change-Id: Ifa87783f68b0fab98f8a0f7cd6ed867202b4532f
* convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara2015-02-051-1/+1
| | | | | | and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
* BOOST_STATIC_ASSERT->static_assert and drop some includesCaolán McNamara2015-02-051-2/+1
| | | | Change-Id: I74955a05bf13f7b33650d11c5cf4b1388382da2a
* janitorialLionel Elie Mamane2015-01-281-1/+1
| | | | Change-Id: Ifb0a277a27613ea1a771a8bb3b8c784b9eca4f2f
* Query Design: use correct name for columns that come from another query.Lionel Elie Mamane2015-01-281-2/+3
| | | | Change-Id: I25b4ccdc2f50ba89687e1f4c871f286251a28e21
* connectivity: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-182-12/+15
| | | | Change-Id: I9ca72364cd57fd2da0c6f5f704a3fe494c0a1df5
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-122-4/+4
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Revert "use the new OUString::fromUtf8 method"Stephan Bergmann2014-11-062-6/+6
| | | | | | | | 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).
* use the new OUString::fromUtf8 methodNoel Grandin2014-11-062-6/+6
| | | | Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
* fdo#38835 strip out OUString globalsNoel Grandin2014-11-051-3/+3
| | | | | | | they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
* Removed duplicated includesAndrea Gelmini2014-10-311-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>