1180 Commits

Author SHA1 Message Date
Lionel Elie Mamane
3a89da0b66 debug mode is OSL_DEBUG_LEVEL > 0, not > 1
Change-Id: I39465b1b22a537de95db9f65b04ecf4bce667d0c
2013-11-30 12:03:19 +01:00
Caolán McNamara
a556802b52 xub_StrLen->sal_Int32
Change-Id: I4ee33d8c5c564df62ad65cbcaf0d0cb253129fc8
2013-11-13 13:50:37 +00:00
Michael Stahl
f35b3fea46 clean up #ifdef ICC code
According to the dmake documentation, ICC refers to Visual Age C++ for
OS/2, which is not a supported compiler (or platform).

Change-Id: Ic9e23bc7c44de110a3a312bd007beda3b660927d
2013-11-10 00:03:22 +01:00
Lionel Elie Mamane
e58c7886fe typo in comment
Change-Id: Iea5084bd1c5765197e5dcf379637a780e52f42bd
2013-11-07 19:17:25 +01:00
Lionel Elie Mamane
373e4d33c1 connectivity commontools DatabaseMetaData: provide for getUDTs, too
Change-Id: Id361ac34f400922893f6a906e4345eed2be1b2d2
2013-10-25 10:09:21 +02:00
Thomas Arnhold
f852bda5ec clean up some include guards
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-23 10:28:07 +00:00
Thomas Arnhold
8fc6905674 fdo#68849 add some header guards
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-21 09:15:59 +00:00
Caolán McNamara
8e30689680 drop worthless _VECTOR_/_MAP_ header guards
Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
2013-09-25 19:24:24 +02:00
Caolán McNamara
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
Norbert Thiebaud
8529e88518 Cleanup String in connectivity
Change-Id: Ica1cf0ac9e9da9c943e50ba77b1ce4a9dc7f8300
Reviewed-on: https://gerrit.libreoffice.org/4895
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-07-19 09:45:01 +00:00
Tor Lillqvist
a0c50b739c Further fallout from the connectivity SQL parser changes
A couple of headers now need to be public because they are indirectly
included in other modules.

Change-Id: Id01945197b67183a0a042e854289875ae147a0eb
2013-07-10 20:48:49 +03:00
Norbert Thiebaud
710f41b7ae Clean String and sal_Bool in tools
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-30 04:58:49 +00:00
Thomas Arnhold
ab3f90e051 fdo#62699 remove pass-through header
Change-Id: Ib2c6ae071525ba52ee754439c1405da79fa3eeaa
2013-06-28 06:55:38 +02:00
Noel Grandin
7298a2b0c7 fdo#46808, Convert XMultiServiceFactory to XComponentContext
Change-Id: I3a74d4edaa3ff3c2498c3db2720b0e4e5305c2e4
2013-05-22 15:20:03 +02:00
Lionel Elie Mamane
48b29cd42b flat db driver: reorganise OFlatTable
Change-Id: I5d522abdffaf1aeb4ae0996d3a19acdcca474f95
2013-05-19 14:05:24 +02:00
Lionel Elie Mamane
f2cf75d188 janitorial: spelling in comment
Change-Id: I54854765c7ad88f1749d5ae7ad9203f6d29fa2b6
2013-05-19 14:05:19 +02:00
Lionel Elie Mamane
db6ab9f8f1 remove unused & suspicious method
calls m_pTable->seekRow with m_nRowPos instead of m_nFilePos...

Change-Id: Ibf9b4da3dffdd75402deb9e7a371a312e0464613
2013-05-19 14:05:18 +02:00
Lionel Elie Mamane
9b9612f554 janitorial: clean up comments
Change-Id: Iaa146aad75acdceaeb6701b069f0a538904af298
2013-05-19 14:05:17 +02:00
Lionel Elie Mamane
4f214b2b42 connectivity::file::OResultSet remove totally unused data member
Change-Id: I5c4b2d72b600c8ce9de070dc82bf489d66144342
2013-05-19 14:05:16 +02:00
Philipp Riemer
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
Michael Meeks
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
Lionel Elie Mamane
9830fd36db date/time IDL datatypes incompatible change
- nanosecond precision
 - signed (allowed negative) year

Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.

Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
Thomas Arnhold
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +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
Thomas Arnhold
488e6875e9 remove external include guards
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25 19:58:16 +01:00
Tor Lillqvist
59a9190675 Remove a couple of unused private fields
Change-Id: Ia28d6befe63453ced7c623e76abc7a0ec7d6cbeb
2013-03-25 21:44:13 +02:00
Noel Grandin
a066525b42 fdo#46808, Convert a bunch of comphelper::ComponentContext stuff
.. to Reference<XComponentContext>
mostly in the dbaccess module, but it also affected some other
modules.

Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
2013-03-20 07:32:53 +02:00
Borim
a0296296fb fdo#60691 add modelines to *.src and *.hrc files
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
2013-03-08 21:02:26 +00:00
Noel Grandin
9a36294079 fdo#46808, Adapt java::JavaVirtualMachine UNO service to new style
Change-Id: Ib0329b9cdc4290ce98c4182e8466c1b44b408341
2013-02-11 08:02:10 +02:00
Noel Grandin
fd5a2eb070 fdo#46808, new method OConfigurationTreeRoot::createWithComponentContext
and use it to replace usage of createWithServiceFactory, and thus
replace usage of XMultiServiceFactory.

Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
2013-01-09 08:08:14 +02:00
Tor Lillqvist
11ce98e1b9 WaE: "PAGE_SIZE" redefined
No wonder such a generic-sounding term is defined in some system header, like
in the Android NDK's <asm/page.h>.

Change-Id: Id813afb836d358a3749a8a9fb1c9fb162f881c04
2012-12-29 01:08:18 +02:00
Caolán McNamara
bba34cfa6d use return value optimization
Change-Id: I08e6b49c9250d3542777f207e93f1d7b6d1a92a7
2012-12-17 09:35:24 +00:00
Noel Grandin
9fc4553b64 fdo#46808, Adapt sdbc::DriverManager UNO service to new style
Change-Id: Ic2be6bd08aaabc81d0fbe0269ca577868defe934
2012-12-10 08:05:36 +02:00
Lionel Elie Mamane
d497d70a9b no SAL_CALL for internal utility functions
Change-Id: I7b945946d5e45d5518ab48fc8fe6cd66fba8d040
2012-12-07 11:06:40 +01:00
Noel Grandin
06fa6ebbd5 fix missing SAL_CALL attributes
Change-Id: Ibdf93f27f08d4a76867c6871557d2d4967e7b9a5
2012-12-07 11:07:21 +02:00
Lionel Elie Mamane
82555fdad5 fdo#47520 ODBC: overhaul data fetching
fetched data in the current row is always cached.
This avoids trying to fetch the same data several times, which is tricky in several scenarios in ODBC.

Numerous cleanups in passing.

Change-Id: I17246aa614276e141161a64c716881242c559310
2012-12-06 19:38:00 +01:00
Lionel Elie Mamane
bcb20ec988 comment meaning inverted wrt to reality in code
Change-Id: I9974921bd62bf4f57e13ffb681b2a90e1403c90b
2012-12-06 19:20:27 +01:00
Lionel Elie Mamane
2dac905bd4 const-ify arguments of some OTools function members
Change-Id: Ie19a5277a9b847a9e440d137cf7ee18943c77832
2012-12-06 19:20:10 +01:00
Noel Grandin
7470cc532f fdo#46808, Adapt reflection::ProxyFactory UNO service to new style
The service is deprecated, but we still have a handful of in-tree
users, and converting it lets me thread XComponentContext through
a bunch of classes.

Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
2012-11-28 13:06:18 +01:00
Luboš Luňák
ad410afdfa fix strange copy ctor that triggers a missing base initialization warning 2012-11-03 14:19:25 +01:00
David Ostrovsky
ac2cfed553 fdo#53070 fix access violation
Through that different initialization pIUnknown
got random address. The consequence was that
if (pIUnknown)
    pIUnknown->Release();
ends with access viloation in
WpBase& WpBase::operator=(const WpBase& rhs)

Change-Id: I8b3c5de233d0868fea052c990cc83aed917117ae
2012-11-03 01:26:35 +01:00
Lionel Elie Mamane
2c54307713 ODBC PreparedStatement Parameters: redesign setXXX handling
More type-safe way, instead of void* everywhere
void* instead of sal_Int8 for raw memory / multi-use buffers
Fixed more issues than I care to count, but at least:
 - updates to a DECIMAL were truncated to integer because DecimalDigits set to 0
   maybe/probably also NUMERIC
 - setObjectWithInfo(... DataType::LONGVARCHAR ...) was passed as AT_EXEC, but the buffer was already free()d by then -> crash or wrong data

Change-Id: I0e6791a05b96fb345bfe3f911386263e6cfedde9
2012-10-26 19:12:23 +02:00
Lionel Elie Mamane
7b4e7e0279 odbc::OTools::bindParameter takes an ODBCtype, not a JDBCtype
Change-Id: I6de4e86f09be74518c9980d1b2347217cdcc4e02
2012-10-26 19:12:22 +02:00
Lionel Elie Mamane
77e60c0058 fdo#52392 dbase: correctly NULL out non-filled in fields in inserted rows
Change-Id: Id2e8ad5b6bed1c184de6dccf7fa43254099fb958
2012-10-26 19:12:22 +02:00
Lionel Elie Mamane
bacc03791d dbase::ODbaseTable::WriteMemo does not change its ORowSetValue& argument
Change-Id: Icf6a71900d79377cde84c2307ce85a9b3c96a54f
2012-10-26 19:12:21 +02:00
Stephan Bergmann
c67fedbd56 To ease debugging, display printStackTrace of caught exceptions in jdbc driver
Change-Id: I8c48b09fcab18af196a8441351bcf3180a32005b
2012-09-24 09:52:38 +02:00
David Ostrovsky
77e4adbe47 mork driver implementation
This is a preparation for merge into master, feature/mork
branch is obsoslete and shouldn't be used any more. In
context of this change the usage of old mozilla based mork
driver depends on platform: all non windows platforms use
this new mork driver, windows still uses mozilla.

Because mozilla driver shipping was stripped on feature/mork
branch for all platforms, the corresponding commits were
changed prior to creating this change (the build file changes
are reverted now). So the build and shipping of different mork
driver implementation should be implemented from scratch:
mozilla on windows, new mork dirver on all other platforms.

Currently the new mork dirver is compiled (on all platforms),
but not used. It can be tested with mork_helper executable.

fdo#51004

Change-Id: Ib2413ab6856f163337aa311c4bf7b1182d6c6f63
Reviewed-on: https://gerrit.libreoffice.org/635
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-18 08:30:01 +00:00
Stephan Bergmann
886a3640e2 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I55d99ff74de5825e239772160735a8b0d87cb122
2012-08-31 09:04:14 +02:00
Lionel Elie Mamane
cc430308c3 Put functions exported by sqlbison.hxx into a .hxx file
Change-Id: Ibf4fed39e4d36cb03d079cf55a12d4ec37a70f2b
2012-08-21 19:30:18 +02:00
Jung-uk Kim
ed93117447 fdo#53061: Fix for C++11 #define NULL nullptr
Change-Id: Ia1805aab4bec7fef02c96ec4e7a7a0ed9991d3c3
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-14 10:39:13 +02:00