summaryrefslogtreecommitdiff
path: root/connectivity
AgeCommit message (Collapse)Author
2013-11-07WaE: unused variable 'sSqlStatement' [loplugin]Tor Lillqvist
Change-Id: I30fe491d8257affb994083ae312d9663ef7a28e9
2013-11-07typo in commentLionel Elie Mamane
Change-Id: Iea5084bd1c5765197e5dcf379637a780e52f42bd
2013-11-07fdo#65108 inter-module includes <>Lionel Elie Mamane
Change-Id: Ie7e08f25741772f657a71369483917d989a05537
2013-11-07firebird-sdbc: replace named parameter by unnamedLionel Elie Mamane
Change-Id: Iad6023d9d16b10001bb8493dea483e655fc8519c
2013-11-06#i123575# RmMoz 7/9: fix mismatching header guard commentHerbert Dürr
(cherry picked from commit ce2260c549c1cafadd1182e4e7155b18ab44e771)
2013-11-06convert xub_StrLen to sal_Int32Noel Grandin
convert for loops using xub_StrLen to use sal_Int32 Change-Id: I5f635ca078966fefe938dbc7e8dea7c8d0d0b554
2013-11-04fdo#54938: Convert to use cppu::supportsServiceJosé Guilherme Vanz
Change-Id: I5b8e08bad3d83b6df23127377c0700fcd27ff084 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-04Fix bogus OUString constructor fixes.Andrzej J.R. Hunt
aeb41c9b9b7559c6d87bf92807acdc0df9e104cc (remove redundant calls to OUString constructor) introduced: error: variable 'sComposedName' is uninitialized when used within its own initialization Change-Id: I846337da43625d1cdbd33f0705499daa0c419894
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-01Resolves: fdo#71062 Embedded Firebird - Tables with Date-fields let LO crashJulien Nabet
Change-Id: Ie28a1e8765ab9ff6eb345198d6ea223e25429e11
2013-11-01cannot convert parameter 1 from ´const char [2]´ to ´sal_UnicodeCaolán McNamara
Change-Id: I66a1005c3f6bcad448ed2c162a8399c7c32ad78e
2013-11-01fix mozab driver after OUString changeNoel Grandin
for Windows build after my change in commit e2451bd729d0f1d795a5b689deba65bc4e9d92c6 "Convert indexOf->startsWith and lastIndexOf->endsWith" Change-Id: I9397f1310742cdd773a7d2d3c5f0dbe728041d2d
2013-10-31clean up mozilla externalMichael Stahl
Change-Id: Ic69b8763da2933159b55a243c7aed4a8ce557183
2013-10-31fix ambiguous OUString constructor callNoel Grandin
after commit e2451bd729d0f1d795a5b689deba65bc4e9d92c6 "Convert indexOf->startsWith and lastIndexOf->endsWith" Change-Id: I19c0e33e318cbf4be90d60bcbb83bc5de4336190
2013-10-31WaE: while loop has empty bodyTor Lillqvist
Not just a warning, but clearly an accidental editing error. Change-Id: Ib708b1de774d56d6c4b144c4e10e280f8181b67b
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-30connectivity: mozabdrv: avoid warning C4005 macro redefinitionMichael Stahl
Both winnls.h (included via windows.h) and mozilla nsCharTraits.h define macro IS_HIGH_SURROGATE/IS_LOW_SURROGATE; it turns out that the nsEmbedAPI.h that drags in winodws.h is apparently unused. Change-Id: If5189c58dc1fe3a508a360a270337f97333e0ce8
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28windows: warning 4706 is disabled globally in com_MSC_defs.mkThomas Arnhold
So there is no need to do this locally, too. Change-Id: Ibc623235cae07a86dfd0dbc1d7672ca4273facec
2013-10-27Remove redundant comment.Andrzej J.R. Hunt
Change-Id: I317f83e8aca7f61148385763bc1f0a78a84530d8
2013-10-27Firebird: Use explicit integer sizes.Andrzej J.R. Hunt
Change-Id: I5cabe21a2d675773792f9c9d5130d8660718efe8
2013-10-27FIREBIRD: SQL_INT64 should be 8 bytesArnaud Versini
Change-Id: Iae71aab4cd68592fa6e5a7d55468e442e6d94385 Reviewed-on: https://gerrit.libreoffice.org/6451 Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org> Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2013-10-25fdo#6412 firebird-sdbc DatabaseMetaData unimplemented getXXX: provide empty RSLionel Elie Mamane
As opposed to NULL object. Else, callers that do a UNO_QUERY_THROW get unexpected results. Change-Id: Ie9dd157eed03031ba04ed59c363a45e246bbb001
2013-10-25connectivity commontools DatabaseMetaData: provide for getUDTs, tooLionel Elie Mamane
Change-Id: Id361ac34f400922893f6a906e4345eed2be1b2d2
2013-10-25janitorial: indentationLionel Elie Mamane
Change-Id: I0b571a9fe719c4f18f89638eb62434dd0813bd01
2013-10-24connectivity: deliver postgresql-sdbc.ini to INSTDIRMichael Stahl
Change-Id: I0317252e17b0ddadc5e4a1bebb0c7b21963d57fe
2013-10-23clean up some include guardsThomas Arnhold
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21fdo#68849 add some header guardsThomas Arnhold
Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f Reviewed-on: https://gerrit.libreoffice.org/6364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-20Revert "fdo#68657 bool->string conversion to 1/0, not "true"/"false"Lionel Elie Mamane
This reverts commit b89fb0d03ead22f023f367c9a9d046d3d41ba1cf. It was intended for stble branch only; in master, we let the incompatible change go through, but we have introduced a work-around to get the old behaviour again.
2013-10-20an ORowSetValue constructed from a boolean is a booleanLionel Elie Mamane
as opposed to a bit Change-Id: Ife1c8cef5ca1266e161da3a9190e744dd70ec2fd
2013-10-20ORowSetValue: adapt test to new behaviour, extend test moreLionel Elie Mamane
Change-Id: If28046653935051303fd487d87655bacbddf4644
2013-10-20fdo#68657 bool->string conversion to 1/0, not "true"/"falseLionel Elie Mamane
This matches what OO.org / older versions of LibreOffice did, and which was inadvertently changed in 2bd856e6 Reviewed-on: https://gerrit.libreoffice.org/6275 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de> Conflicts: connectivity/source/commontools/FValue.cxx Change-Id: I1d45ea975a096c599a996caafc41e4aa06d35fcd
2013-10-20Extend test to cover changed toString() conversion for bool typesDavid Ostrovsky
Change-Id: I8becffd0c2f12c17495872a99192c7679380d05f
2013-10-17per SQL standard, BIT is 0/1 but BOOLEAN is true/falseLionel Elie Mamane
Change-Id: If088cd33c19bccddbf145a44d19bf37adf638f3b
2013-10-16respect reference values in checkboxesLionel Elie Mamane
Change-Id: Ifd0953f779f530af6b190425794f009a891f0afb
2013-10-16janitorial: bool is bool, not sal_BoolLionel Elie Mamane
Change-Id: Ia6fbde0521d503c3d774ebd265097804d375ed3b
2013-10-16string->bool conversion recognise "1"/"0" additionally to "true"/"false"Lionel Elie Mamane
since that is what the conversion in the other direction recognises. It also recognises the "true"/"false" written by LibreOffice versions affected by fdo#68657 Change-Id: I213c23a19e4857905da93eeb2be1b9714215594a
2013-10-15update pchThomas Arnhold
Change-Id: I475bee35ca5d24903d85e7f2427fab0e47d8db4d
2013-10-12Bin bogus use of UNX (in not compiled test code)Tor Lillqvist
Change-Id: Idef7344e215e9b58e1449fbf71f8a64d0000f8c3
2013-10-09fdo#54938: Adapt connectivity module to use cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I885b4c7a60ff51d44138c4f8a56a584c38a9804a Reviewed-on: https://gerrit.libreoffice.org/6172 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-07CID#738572 uninitialized membersCaolán McNamara
Change-Id: Ie3614d86e27aab67cfe68bea76de30b775173fb3
2013-10-04fdo#64741 Thunderbird mork driver: implement collected addressesDavid Ostrovsky
Change-Id: I5a8516a6cf4bd71cea2be916d5a7fcfb16b4e749 Reviewed-on: https://gerrit.libreoffice.org/6020 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-10-02-Werror,-Wunused-variableStephan Bergmann
Change-Id: I3ad7139190758e86cadebf9555a838dbaddbbf3e
2013-10-02Replace deprecated std::auto_ptr with boost::scoped_ptrStephan Bergmann
Change-Id: Ic55d1a8b14ec0355a6289007d954e89cd41c7486
2013-10-02Fix warnings in sqlflex.l, sqlbison.yStephan Bergmann
Change-Id: I6c6b9452014940e09f8f4b7466c5a5f562c9fff5
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: Ic4edbbc0bf74887ab9624e4551b54ecbe3538108