Commit Graph

29 Commits

Author SHA1 Message Date
Stephan Bergmann
dbf99dfb98 mysqlc: sal_Bool -> bool
Change-Id: Ie479e1671b03fbb958886d4c01ecff41b2ad1d23
2014-07-02 08:42:58 +02:00
Noel Grandin
6b50e21473 deb#749592 mysql-connector doesn't work with remote connections
and also
fdo#77584 mysql-connector doesn't work over SSH tunnel

Not sure exactly how this got broken, I suspect that the UI code
has started unconditionally passing down the properties, just filling
them with empty spaces for the unused ones.

Anyhow, this appears to fix the problem.

Change-Id: I7ac2a0d6bae610f47d2a28daa9beb3ef0e2dbb52
Reviewed-on: https://gerrit.libreoffice.org/9565
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-30 08:24:31 -05:00
Noel Grandin
624a116d14 use OUString::startsWith()
Change-Id: I0fc77b50792e48be175ab7cc151509e097676849
2014-05-29 09:01:40 +02:00
Noel Grandin
ebc0a15515 remove more unnecesary OUString constructor use
when throwing exceptions

Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +02:00
Noel Grandin
794f09f195 simplify ternary conditions "xxx ? true : yyy"
Look for code like:
   xxx ? true : yyy;
Which can be simplified to:
   xxx || yyy

Change-Id: Ib7ca86580bfd0cf04674328a3c0cf3747de4758d
2014-05-06 07:45:25 +02:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Stephan Bergmann
396248a6bf Get rid of macros
Change-Id: Ic43441201309c3b466ed3dc7a5e85d0d006c0e44
2014-02-03 11:15:55 +01:00
Noel Grandin
d366c9b20e remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14 08:17:32 +02:00
Noel Grandin
ef90021abe convert OUString !compareToAscii to equalsAscii
Convert code like
   if( ! aStr.compareToAscii("XXX") )
to
   if( aStr.equalsAscii("XXX") )
which is both clearer and faster.

Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11 12:58:12 +02:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Fridrich Štrba
730df392f5 Do not try to dlopen a static internal libmariadb
Change-Id: Ib624089418e22c050e951acc4c487572c7e0ea25
2013-03-11 10:09:49 +01:00
Stephan Bergmann
f3c618e46e Adapt to removed MYSQL_LIB
...from cad422afb7 "Adding libmariadb module for
internal mariadb (work in progress)."

Change-Id: Iba803a26be6f62589191122d4defc959cb3248eb
2013-03-10 23:14:27 +01:00
Fridrich Štrba
1bf4306c39 Switch from libmysqlc library to mariadb-native-client
Change-Id: I867918bbb61b289e1ad8752e6f46705af6e85b7c
2013-03-06 11:46:04 +01:00
Thomas Arnhold
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
Michael Meeks
69a51d2bb6 re-base on ALv2 code. 2012-06-26 11:33:02 +01:00
Norbert Thiebaud
0188ebf354 targeted string re-work
Change-Id: I88cdf9d4c3faab75a80ff72e4268748296a09e50
2012-06-02 13:45:57 -05:00
Olivier Hallot
6af59644d6 Fix for fdo43460 Part XXV getLength() to isEmpty()
Please find attached a partial fix for Easy Hack FDO43460

Part XXI
Module
oox
2012-01-02 19:17:17 +01:00
Takeshi Abe
1f2fd91bf1 catch exception by constant reference 2011-12-20 12:07:50 +09:00
Thomas Arnhold
a0ae1cebf6 OSL_TRACE: Use format string 2011-03-12 14:12:21 +01:00
Thomas Arnhold
530b835583 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:12:21 +01:00
Fridrich Štrba
d186420a08 Removing the ext_std masterpiece 2011-02-09 10:50:15 +01:00
Thomas Arnhold
7552a34c76 Remove old RCS lines. 2011-01-21 12:18:23 +01:00
Gert Faller
6c4698ded0 RTL_CONSTASCII_USTRINGPARAM in extensions 1 2010-12-06 13:10:56 +01:00
Sebastian Spaeth
fa39fbdcce Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:24 +02:00
Caolán McNamara
75a8e34f62 #i113503# cppunit stl wrapper headers 2010-10-06 12:15:27 +01:00
Jens-Heiner Rechtien
b4927c06a1 DEV300 masterfix: #i10000#: juggle inclusion order to make mysqlc compilable on STLPort platforms 2010-04-19 17:18:27 +02:00
Caolán McNamara
ce744c8437 cmcfixes73: #i110068# unify headers in one place 2010-03-12 09:15:29 +00:00
Frank Schoenheit [fs]
4946c62f29 mysqlconnector: initial import from CWS mysqlnative 2009-12-11 09:51:25 +01:00