summaryrefslogtreecommitdiffstats
path: root/connectivity
Commit message (Collapse)AuthorAgeFilesLines
* -Wunused-macrosStephan Bergmann2013-03-278-26/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* postgresql-sdbc-impl: does not need these externals for MSVCMatúš Kukan2013-03-271-5/+7
| | | | | | Hopefully.. blind fix for the build. Change-Id: I3c59ceba4eee9eb9950332433045dcb6337bef49
* a little ldap cleaningMatúš Kukan2013-03-271-1/+1
| | | | Change-Id: Ib224484ef994312e78bac75c40421c7f6235326a
* remove external include guardsThomas Arnhold2013-03-252-40/+1
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* fix postgresql buildPeter Foley2013-03-261-1/+1
| | | | Change-Id: I379029dbf600769e415582aa7162f320e707c3da
* Do not needlessly include jvmaccess/virtualmachine.hxx in headerStephan Bergmann2013-03-263-1/+4
| | | | Change-Id: Ieb1564eb7b477a7b239b07347f46fc55b64bd92b
* don't build postgresql just to parse the makefilesPeter Foley2013-03-261-5/+8
| | | | | | | | When running module-deps.pl postgresql gets built just so that libpq-flags.mk can be included. Since we already have all the necessary libraries, add them explicitly and avoid this. Change-Id: Icd94fc215ecb26c95f9ae3c14625bf819bf3c5c3
* Remove a couple of unused private fieldsTor Lillqvist2013-03-252-3/+0
| | | | Change-Id: Ia28d6befe63453ced7c623e76abc7a0ec7d6cbeb
* Fix warning: unused variable 'aMutex' [loplugin]Tor Lillqvist2013-03-251-5/+0
| | | | Change-Id: I1dc2d18f285bbd7fc4316a7a194a21769b11d545
* Fix warning: unused variable 'sColumnName' [loplugin]Tor Lillqvist2013-03-251-16/+0
| | | | Change-Id: I3b4267f9782bc7bc71247523c8fd5940bc8cef38
* Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann2013-03-253-5/+9
| | | | | | | | | | | | | ...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
* coverity#704216 Logically dead codeJulien Nabet2013-03-231-1/+0
| | | | Change-Id: I83af7c87576c185b4884a2a6ceaea5274efa7c37
* String::AppendAscii cleanupRicardo Montania2013-03-222-6/+5
| | | | | | | Change-Id: I3c1ff291488b7747e143982aa7ea95169175c2c2 Reviewed-on: https://gerrit.libreoffice.org/2914 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Fix single core builds when TDE integration is enabledTimothy Pearson2013-03-211-0/+4
| | | | | | | Change-Id: I3a28d843e567db2a905125424615cba0bd28c7b4 Reviewed-on: https://gerrit.libreoffice.org/2882 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* no need for include guard valueThomas Arnhold2013-03-203-4/+4
| | | | Change-Id: Ib12b2c975d90cf842381916f3eb98dad3b4b3b4d
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-202-6/+6
| | | | | | | ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
* use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák2013-03-201-1/+1
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
* simplify OUString assignmentsChr. Rossmanith2013-03-204-12/+12
| | | | | | | Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb Reviewed-on: https://gerrit.libreoffice.org/2863 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin2013-03-204-16/+14
| | | | | | | | .. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
* coverity#704590 Explicit null dereferencedJulien Nabet2013-03-191-1/+1
| | | | | | | Change-Id: I787a39959a1558fe4f284bc1941194a841e2d600 Reviewed-on: https://gerrit.libreoffice.org/2860 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-1928-80/+78
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann2013-03-192-2/+2
| | | | Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-1969-415/+413
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Fix single core build when TDE integration is enabledTimothy Pearson2013-03-191-0/+4
| | | | | | | Change-Id: I15d537a8ea7d3a42c9a1924dd81e83ba9b4aa421 Reviewed-on: https://gerrit.libreoffice.org/2830 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* avoid Wundef in cases where the usage seems otherwise okLuboš Luňák2013-03-182-2/+2
| | | | Change-Id: Iabccc31c59cec32235661f5225f45bb13f76a68f
* coverity#705135 Missing break in switchJulien Nabet2013-03-181-1/+1
| | | | | | | Change-Id: Ie610b3b10b5d83b772ad96e455d59360368086a4 Reviewed-on: https://gerrit.libreoffice.org/2779 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fix makeAny callsChristian Lohmaier2013-03-181-3/+2
| | | | | | | | | | | | checks failed on Mac/PPC - setValue expects sal_Bool, not plain bool for bool there's assignment operator. Similar for unsigned short - there's dedicated operator to assign sal_uInt16 - no need to cast to signed sal_Int23 that then fails to convert properly. Change-Id: I6c67a3741cf2d7910fc543c9c71db1c6e816bea6 Reviewed-on: https://gerrit.libreoffice.org/2805 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Revert "cleanup sqlflex and sqlbison options"Kohei Yoshida2013-03-153-8/+9
| | | | | | | | | This reverts commit b659d7c33fcacdbbef86557e78f071abf94bead2. That commit appears to have broken the build on Linux. Reverting it fixes it. Change-Id: I70d62c04e9fb284ed2c360c0976d0cbeafc2ddc2
* cleanup sqlflex and sqlbison optionsPeter Foley2013-03-153-9/+8
| | | | Change-Id: I3f01636ef861828fdbe87e4057b6dc293ca63576
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* update pch headersLuboš Luňák2013-03-122-0/+14
| | | | Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
* janitorial: readabilityLionel Elie Mamane2013-03-121-2/+1
| | | | Change-Id: Iaab09826d79b0fbcd3104d33d1f159767a09921a
* fix my previous commit (compareToAscii)Thomas Arnhold2013-03-111-1/+1
| | | | Change-Id: I06885691c1fb3cfa0824f2ac1307ae4d9f3c9d40
* use startsWith() instead of compareToAscii()Thomas Arnhold2013-03-113-3/+3
| | | | | | brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
* fdo#61726: rename report-builder package to org.libreoffice.reportDavid Ostrovsky2013-03-111-2/+2
| | | | | | | | | | | | To prevent future clashes with uno name space rename the com.sun.star.report package to org.libreoffice.report. Bump the version to 1.2.4. Change-Id: Ia06cb7ad8c1528c1d5b5eeb70f1e4b2aa854b70f Reviewed-on: https://gerrit.libreoffice.org/2578 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-099-26/+26
| | | | Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-092-2/+2
| | | | Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
* fdo#60691 add modelines to *.src and *.hrc filesBorim2013-03-0818-0/+42
| | | | | | | | | use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
* evoab2: Follow API changes in EDS 3.8Mathias Hasselmann2013-03-083-12/+53
| | | | | | | | | | | | | | EDS 3.8 deprecates e_book_client_new() and replaces it with various e_book_client_connect() functions. This patch follows the change and enables direct read access for the addressbook. That means instead of receiving contacts via the D-Bus session bus, the connectivity driver now directly accesses the underlaying SQLite data base (for reading). This patch also shuffles code in EApiInit() slightly to avoid excessive if/else nesting. Change-Id: If41fb92eed2ea26bbf2d3125a9ba2250f142c5a2
* evoab2: Move get_e_source_registry() to EApi.cxxMathias Hasselmann2013-03-082-8/+8
| | | | | | | | | get_e_source_registry() was declared in EApi.hxx, but defined in NDatabaseMetaData.cxx. This doesn't seem right, the header file and the purpose of the function indicate that it belongs into EApi.cxx. Change-Id: Iea3f11a901398aa3f467b96fbe8778c403887bcb
* evoab2: Avoid G_N_ELEMENTS when loading symbolsMathias Hasselmann2013-03-081-6/+6
| | | | | | | | | With G_N_ELEMENTS() the array name has to be twice, which can cause hard to spot typos in code derived from copy-and-paste, as we have here in the module loader. C++ can avoid the duplication by using the proper templates. Change-Id: I485e28a92e74b7e24f4a59cced6e5635f3a53a38
* make use of startsWith()Thomas Arnhold2013-03-0810-11/+10
| | | | | | | Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-066-14/+3
| | | | | | | | Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* doubled usingThomas Arnhold2013-03-054-6/+0
| | | | Change-Id: Ib1d3213a688194bfb027b7bca5bd9ac1b7bb1b28
* make lto workPeter Foley2013-03-042-0/+2
| | | | Change-Id: Iab6892368c6ba6bb5b83132cdcd6aa959c3b0e1f
* sal_Bool to boolTakeshi Abe2013-03-041-1/+1
| | | | Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
* doubled namespacesThomas Arnhold2013-03-0410-11/+0
| | | | Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
* doubled namespaceThomas Arnhold2013-03-043-3/+0
| | | | Change-Id: I756f4a98b1eedcbe7674e9afd9b06816141688b9
* remove unused and commented out codeThomas Arnhold2013-03-042-7/+0
| | | | | | This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
* coverity: merge traverse{OR,AND}Criteria into traverseSearchConditionLionel Elie Mamane2013-03-042-64/+16
| | | | | | | | | | | | | Meaning, these two functions have the same behaviour, they produce the same output (and side-effects) when called on the same input. traverseORCriteria handles only the actual "foo OR bar" case, and hands off all other cases to traverseANDCriteria. But, lo and behold, traverseANDCriteria also handles the "foo OR bar" case, in the same manner! Change-Id: I10410e88ce48852b60d1d688fe2865923de9d80b