Commit Graph

90 Commits

Author SHA1 Message Date
Stephan Bergmann
cead54b6e5 Use vector::data
...in some places where it is obvious that it does not hurt that for an empty
vector the obtained pointer is not necessarily a nullptr.

Change-Id: Id5d66b1559ca8b8955d379bcdbfae6986ef46a51
2015-01-28 17:56:18 +01:00
Julien Nabet
b158fd2695 Prefer cppu::UnoType<T>::get() to ::getCppuType(&T)
See http://nabble.documentfoundation.org/Questions-about-getCppuType-td4106361i20.html

Change-Id: I05d0b026e1ef2088472a42ee20e0823df1588428
2014-05-28 23:09:11 +02:00
Julien Nabet
b09b5f8f7c Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-22 23:21:18 +02:00
Noel Grandin
ca86511a6e dbaccess: remove SAL_INFO's that only make function entry
Change-Id: Ibdf92698446d0a7aed7c474ec7d3ea720cd2c2a6
2014-05-14 10:00:03 +02:00
Julien Nabet
bd59628620 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-05-11 10:16:42 +02:00
Stephan Bergmann
2f3be98732 dbaccess: simplify deprecated XTypeProvider.getImplementationId
Required some clean-up of getImplementationId vs. getUnoTunnelImplementationId
confusion.

Change-Id: I645dd80d24efe7ed5224b220911eed8ad880b7c0
2014-03-10 17:39:54 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Arnaud Versini
5b2ba8ed5d DBACCESS : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.

Conflicts:
	dbaccess/source/ui/dlg/tablespage.cxx

Change-Id: I25ea9174a042050efdb371246417ee7f2edae997
Reviewed-on: https://gerrit.libreoffice.org/7532
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-21 16:20:10 +00:00
Jelle van der Waa
2ec606730b fdo#62475 removed pointless comments
Conflicts:
	dbaccess/source/filter/xml/xmlfilter.cxx
	dbaccess/source/ui/dlg/ConnectionPage.cxx
	dbaccess/source/ui/dlg/detailpages.cxx
	dbaccess/source/ui/dlg/odbcconfig.cxx
	dbaccess/source/ui/querydesign/querycontroller.cxx

Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338
Reviewed-on: https://gerrit.libreoffice.org/5484
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-27 16:11:09 +00:00
Radu Ioan
61db96daa8 fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*

Change-Id: I26761cf1d4c1cfe21dec7d8ede6df6f177bf2c3e
Reviewed-on: https://gerrit.libreoffice.org/4620
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-03 07:59:33 +00:00
Miklos Vajna
e894e57aab dbaccess: {DECLARE,IMPLEMENT}_CONSTASCII_USTRING are no longer needed
Change-Id: Id404f8f3a5bdbf32c207ee81c6f6be9c9d328679
2013-04-25 11:02:34 +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
Arnaud Versini
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
Stephan Bergmann
4a69252e2c -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I55ad905bef36b54fadc245bfb22f687e47d20c3a
2012-08-31 09:04:17 +02:00
Michael Meeks
577cf8ff67 re-base on ALv2 code. 2012-06-14 17:41:07 +01:00
Takeshi Abe
bb9f730458 nuke unused typedef
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-31 01:56:28 +09:00
Caolán McNamara
5dcf536b69 merge the 5 ConstAsciiString duplicate classes together
a) merge them together and move it into comphelper
b) turn it into a POD rather than having vast amounts
of destructors registered into the cxa_atexit chain

Change-Id: I04d3b9d7804f8e233013c916df9d617a0f84f96a
2012-05-17 14:03:26 +01:00
Olivier Hallot
545921f914 Fix for fdo43460 Part XII getLength() to isEmpty()
Part XII
Module
dbaccess
2011-12-21 09:52:48 +01:00
Norbert Thiebaud
281b13ce89 remove include of pch header in dbaccess 2011-11-27 13:04:48 -06:00
Kenneth Venken
7ca07a1553 replaced DGB_ASSERT with OSL_ENSURE 2011-02-03 08:59:33 +01:00
Gil Forcada
1aa44a7761 Removed comments, trailing spaces and death code 2010-10-13 12:18:30 +02:00
Sebastian Spaeth
6450d1a7f5 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:12 +02:00
J. Graeme Lingard
10eefb3907 Remove commented out #include directives
Signed-off-by: Kalman Szalai - KAMI <kami911@gmail.com>
2010-10-02 23:31:05 +02:00
Frank Schoenheit [fs]
c73b3e8ea9 autorecovery: merged changes from m74. Still need to find out how to re-do two patches (to module_hidden_ooo.scp and file_ooo.scp in scp2/source/ooo) which do not apply anymore. 2010-03-11 11:26:05 +01:00
Jens-Heiner Rechtien
1708f6091b changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Ocke Janssen [oj]
6fd6b96682 dba33e: #i107717# impl first entry points for db extensions 2009-12-16 12:46:33 +01:00
Frank Schönheit [fs]
70d7ac8e49 more column class refactoring in preparation of #i67202#. Removed unneeded classes, consolidated the property handling of the various Column classes 2009-11-02 14:41:02 +01:00
Ivo Hinkelmann
d4420993d6 CWS-TOOLING: integrate CWS dbaperf1
2009-04-02 09:12:25 +0200 oj  r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45)
2009-03-17 10:20:34 +0100 oj  r269577 : add parameter
2009-03-17 10:20:05 +0100 oj  r269576 : add parameter
2009-03-12 12:32:24 +0100 oj  r269387 : add missing ++
2009-03-11 12:53:35 +0100 oj  r269315 : compile error
2009-03-06 08:52:11 +0100 oj  r268968 : #i99264# remove duplicate code
2009-03-06 08:20:08 +0100 oj  r268966 : add missingheader
2009-03-06 08:17:41 +0100 oj  r268965 : add header
2009-03-06 08:15:07 +0100 oj  r268964 : #i99708# remove duplicate code
2009-03-06 07:24:11 +0100 oj  r268963 : #i99708# remove duplicate code
2009-03-06 07:22:24 +0100 oj  r268962 : #i99708# use tenary operator
2009-03-06 07:19:21 +0100 oj  r268961 : remove unused rtl_logs
2009-03-06 07:15:55 +0100 oj  r268960 : #i99708# extract getLength from for loop
2009-03-06 07:15:35 +0100 oj  r268959 : #i99708# extract getLength from for loop
2009-03-06 07:14:57 +0100 oj  r268958 : remove unused rtl_logs
2009-03-06 07:13:01 +0100 oj  r268957 : insert DBG_ helper
2009-03-06 07:12:17 +0100 oj  r268956 : remove unused rtl_logs
2009-03-06 07:10:26 +0100 oj  r268955 : remove unused rtl_logs
2009-03-06 07:04:51 +0100 oj  r268954 : #i99708# use tenary operator
2009-03-05 12:04:46 +0100 oj  r268895 : comment RTL_LOG out
2009-03-05 09:05:07 +0100 oj  r268874 : add rtl logfile
2009-03-04 14:21:18 +0100 oj  r268828 : #i99708# make static inplace and some method calls in for loop removed
2009-03-04 14:20:34 +0100 oj  r268827 : #i99708# impl double check pattern for getInfohelper
2009-03-02 09:31:42 +0100 oj  r268636 : add rtl logfile
2009-03-02 08:18:37 +0100 oj  r268633 : add rtl logfile
2009-02-27 11:22:16 +0100 oj  r268570 : #i99709# change algorithm for marking objects
2009-02-27 11:17:04 +0100 oj  r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster
2009-02-24 10:09:35 +0100 sb  r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM
2009-02-23 13:44:04 +0100 oj  r268354 : #i76606# seekrow changes
2009-02-23 12:27:30 +0100 oj  r268349 : deleted
2009-02-20 15:14:23 +0100 oj  r268325 : #i76606# some code changes
2009-02-19 14:15:25 +0100 oj  r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... )
2009-02-19 11:27:55 +0100 oj  r268265 : #i76606# insert some RTL_LOG and setObject impl
2009-02-18 14:45:37 +0100 oj  r268222 : #i99363# insert RTL_LOG
2009-02-18 14:45:18 +0100 oj  r268221 : #i99363# insert RTL_LOG
2009-02-18 11:14:54 +0100 oj  r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls
2009-02-18 11:10:47 +0100 oj  r268206 : #i99363# make isCount inline
2009-02-18 10:33:22 +0100 oj  r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG
2009-02-18 10:32:57 +0100 oj  r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG
2009-02-17 07:29:05 +0100 oj  r267843 : #i96897# remove some dll public
2009-02-16 15:01:04 +0100 oj  r267816 : #i96897# remove some dll public
2009-02-16 14:25:53 +0100 oj  r267810 : #i99264# remove duplicate code
2009-02-16 14:25:33 +0100 oj  r267809 : #i99264# remove duplicate code
2009-02-16 14:24:59 +0100 oj  r267808 : #i99264# remove duplicate code
2009-02-13 10:56:17 +0100 oj  r267703 : #i99191# comment the contextclassloader
2009-02-13 10:32:40 +0100 oj  r267700 : reduce call to resultset meta data
2009-02-13 10:27:31 +0100 oj  r267699 : reduce call to resultset meta data
2009-02-13 10:27:08 +0100 oj  r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
Rüdiger Timm
9e7635753d INTEGRATION: CWS dba30c (1.61.8); FILE MERGED
2008/05/05 11:09:03 oj 1.61.8.1: #i87131# collect keys only once, getKeys always refetch keys
2008-06-06 12:59:39 +00:00
Rüdiger Timm
3dd81662aa INTEGRATION: CWS changefileheader (1.60.196); FILE MERGED
2008/03/31 13:26:45 rt 1.60.196.1: #i87441# Change license header to LPGL v3.
2008-04-10 11:35:59 +00:00
Oliver Bolte
fe004cc880 INTEGRATION: CWS dba22c (1.59.50); FILE MERGED
2007/01/18 09:59:17 fs 1.59.50.1: removed superfluous columnCloned
2007-01-25 10:59:25 +00:00
Ivo Hinkelmann
cb646c8e5e INTEGRATION: CWS dba205b (1.56.18); FILE MERGED
2006/09/04 11:56:31 oj 1.56.18.3: RESYNC: (1.56-1.57); FILE MERGED
2006/08/09 19:51:19 fs 1.56.18.2: refreshColumns is overwritten unnecessarily
2006/08/06 20:20:05 fs 1.56.18.1: #i67020# hold the column container mediator as ::rtl::Reference
2006-10-18 12:27:38 +00:00
Oliver Bolte
a470c9d30e INTEGRATION: CWS pchfix02 (1.57.4); FILE MERGED
2006/09/01 17:24:07 kaib 1.57.4.1: #i68856# Added header markers and pch files
2006-09-17 05:36:41 +00:00
Jens-Heiner Rechtien
2c677a6acd INTEGRATION: CWS dba30 (1.54.14); FILE MERGED
2006/07/19 12:14:11 fs 1.54.14.2: RESYNC: (1.54-1.56); FILE MERGED
2006/01/02 09:17:09 oj 1.54.14.1: #i44200# use supportsMixedCaseQuotedIdentifiers where storesMixedCaseQuotedIdentifiers was used
2006-08-15 09:43:50 +00:00
Oliver Bolte
1ef9805854 INTEGRATION: CWS qiq (1.54.124); FILE MERGED
2006/06/28 10:31:07 fs 1.54.124.4: #i10000#
2006/06/27 11:59:24 fs 1.54.124.3: RESYNC: (1.54-1.55); FILE MERGED
2006/06/16 11:47:37 fs 1.54.124.2: during #i51143#:

refactored VCollection:
- createEmptyObject now named createDescriptor
- cloneObject removed
- appendObject now returns the newly created object
  (previously done via a subsequent call to cloneObject)
2006/05/24 06:40:21 fs 1.54.124.1: some refactoring of compose/quoteTableName and friends, in preparation of #i51143#
2006-07-10 14:07:11 +00:00
Jens-Heiner Rechtien
37349ca324 INTEGRATION: CWS warnings01 (1.54.50); FILE MERGED
2006/06/14 10:57:44 fs 1.54.50.3: removed useless include
2006/05/12 16:25:13 sb 1.54.50.2: #i53898# Made code warning-free and/or compile at all after resync to SRC680m162 (and in some cases reverted previous, problematic changes).
2006/03/24 15:35:50 fs 1.54.50.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro)
2006-06-20 01:41:47 +00:00
Rüdiger Timm
00940c0eff INTEGRATION: CWS ooo19126 (1.53.116); FILE MERGED
2005/09/05 17:32:11 rt 1.53.116.1: #i54170# Change license header: remove SISSL
2005-09-08 09:12:13 +00:00
Vladimir Glazounov
5d42bd8508 INTEGRATION: CWS dba23 (1.52.44); FILE MERGED
2005/01/19 08:45:18 oj 1.52.44.1: #i40293# cast to sal_int64
2005-02-17 10:03:00 +00:00
Rüdiger Timm
444b5745a1 INTEGRATION: CWS dba16 (1.50.10); FILE MERGED
2004/10/11 15:34:03 oj 1.50.10.2: RESYNC: (1.50-1.51); FILE MERGED
2004/08/27 12:40:29 oj 1.50.10.1: #i33482# setParent and queryInterface corrected
2004-10-22 07:57:42 +00:00
Rüdiger Timm
beb06df498 INTEGRATION: CWS ooo20040704 (1.49.12); FILE MERGED
2004/06/30 15:33:20 cmc 1.49.12.1: #i30801# allow using system stl if possible
2004-09-09 06:34:33 +00:00
Jens-Heiner Rechtien
2fbc3204e7 INTEGRATION: CWS insight01 (1.47.38); FILE MERGED
2004/07/06 09:36:18 oj 1.47.38.9: RESYNC: (1.48-1.49); FILE MERGED
2004/02/12 16:15:23 oj 1.47.38.8: #111075# fix refcount problem
2004/01/02 13:54:03 oj 1.47.38.7: RESYNC: (1.47-1.48); FILE MERGED
2003/12/19 13:07:18 oj 1.47.38.6: #111075# ongoing work
2003/12/17 09:19:00 oj 1.47.38.5: #111075# ongoing work
2003/11/05 11:36:16 oj 1.47.38.4: #111075# ongoing work
2003/10/24 06:30:03 oj 1.47.38.3: #i21643# import filter changes
2003/08/15 10:17:24 oj 1.47.38.2: #111075# ongoing new dbaapp work
2003/08/15 08:52:48 oj 1.47.38.1: #111075# ongoing new dbaapp work
2004-08-02 14:05:04 +00:00
Oliver Bolte
49bc6a99df INTEGRATION: CWS oj5 (1.48.64); FILE MERGED
2004/05/19 09:20:20 oj 1.48.64.1: #109328# new strings
2004-06-01 09:10:28 +00:00
Rüdiger Timm
6933aaa485 INTEGRATION: CWS geordi2q10 (1.47.94); FILE MERGED
2003/11/28 09:42:55 rt 1.47.94.1: #111934#: join CWS dba01pp1
2003-12-01 09:35:26 +00:00
Jens-Heiner Rechtien
041373615f INTEGRATION: CWS apps61beta2 (1.46.52); FILE MERGED
2003/04/09 09:59:56 oj 1.46.52.1: i12747# unnescessary select stmt calls removed
2003-04-28 14:48:12 +00:00
Vladimir Glazounov
bec1435f93 #10000# corrections for GCC 2002-10-30 08:34:14 +00:00
Ocke Janssen
d1480d1ffa #104495# make use of the new base classes in connectivity 2002-10-25 07:55:22 +00:00
Ocke Janssen
58b26608a7 #i3289# correct table name quoting so that in every situation the correct schema, catalog is used 2002-10-07 12:09:48 +00:00
Ocke Janssen
261d076e58 #96397# check if indexname is valid 2002-03-27 13:59:31 +00:00
Ocke Janssen
9a670235d4 #95825# check key_seq 2002-03-27 13:17:20 +00:00
Ocke Janssen
84b21823a1 #95610# fetch autoincrement values after insert with max 2001-12-05 13:56:24 +00:00