Commit graph

4846 commits

Author SHA1 Message Date
Fridrich Štrba
e42319c10a Pointless nitpicking to increase my commit count
Change-Id: Id887eeec911e32b8c43e9e561ffc74763f6da05d
2012-07-18 16:53:42 +02:00
Fridrich Štrba
e1832ac55e Further simplification of ldap includes
Change-Id: I5608cc330104f1e50501c5e63ab05545fcd67fb9
2012-07-18 16:38:00 +02:00
Fridrich Štrba
79f15259bc Junking wrapldapinclude.hxx, since it is included only once and is small
Change-Id: I16ec56f8fefd3224b82e074371d9a8a944c75032
2012-07-18 16:24:45 +02:00
Fridrich Štrba
36d506146c Remove unnecessary define
Change-Id: Idff408bcf0e4f49a97478cdbba3eec9ac197d128
2012-07-18 15:19:41 +02:00
Fridrich Štrba
d391fe20a1 Using WCHAR ldap api on Windows
Change-Id: Ie81c33a5c51ae588ae8242d8790c3c748b442d31
2012-07-18 15:17:32 +02:00
Fridrich Štrba
ea96897237 First step to proper handling of character encodings in windows ldap backend
Change-Id: Id28174af5c28346fc363e3f62a8004ce0cf98c6a
2012-07-18 13:34:48 +02:00
Fridrich Štrba
b79115518b simplify the header a bit
Change-Id: If04e415b043c822d082e8e0889f162db3ed1849e
2012-07-18 12:54:18 +02:00
Michael Stahl
e0ee0d444e RepositoryExternal.mk: add openldap
Change-Id: I5f673db405449d28951eff4d6d30ad0b9ec5d77f
2012-07-16 19:00:07 +02:00
Fridrich Štrba
aad94ec02c Fixing build with internal openldap
Change-Id: I365c5252a48b6ba4e8409534c75d34c4d07b2475
2012-07-16 17:22:49 +02:00
Fridrich Štrba
336c956262 First attempt at removing mozilla ldap at all (please help to fix)
Change-Id: I0559cf1820c782d22c4d75749f2171d7702b4e73
2012-07-16 17:22:49 +02:00
Fridrich Štrba
a42dba8723 define CONST_PCHAR_CAST for openldap case too
Change-Id: Iecf6c142a52007eb5dff731a0f7b1ab3460f2b30
2012-07-16 12:49:07 +02:00
Fridrich Štrba
1d1e7313ab Cast from const sal_Char* to const PCHAR on Windows
Change-Id: If77916c59c3752f166482e0b8929fda859fac2f4
2012-07-16 12:44:48 +02:00
Fridrich Štrba
589f09363b Don't load ldap library dynamically, link it!
Change-Id: I5e9aeb3ebda0c30da364df0d7a1c0f245a33431c
2012-07-16 12:42:56 +02:00
Christophe JAILLET
df645a2bd8 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-16 11:33:05 +01:00
Thomas Arnhold
abdaf7e5f8 Remove unused HIDs
Those were only listed in help_hid.lst

Change-Id: I491a037b375015db76c30c93a59b615a63fb1838
2012-07-14 20:05:38 +02:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Christophe JAILLET
a767448225 Search for char instead of 1 char long string, when possible.
It is faster and even avoid memory allocation somtimes.

Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-13 16:36:04 +02:00
Stephan Bergmann
023513fb71 Remove unused #includes
Change-Id: I041feabb7ee94b33caebb67a380b8f3694d09e82
2012-07-13 13:55:23 +02:00
Matúš Kukan
cfec62ef44 fix typo
Change-Id: I004a3981728b0f00f1536b6e7975bb45b2451eda
2012-07-11 08:34:51 +02:00
Matteo Casalin
739e20ac58 Decrease header files dependencies
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-11 11:12:15 +05:30
Michael Stahl
8ab07f99d6 warning C4267: conversion from 'size_t' to 'DWORD'
Change-Id: I343a819a11d3121030d294d78808a2ec1da2adeb
2012-07-11 00:15:06 +02:00
Fridrich Štrba
0e732d6f09 Load the right wldap32.dll
Change-Id: I73c0a5b8265fa92d7aeeadc803d337ef85651781
2012-07-10 11:25:22 +02:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Fridrich Strba
4bc7149816 Trying to use Windows LDAP for Windows builds
Change-Id: Ic06bda1393de4da05af01f79b8ba54cf0ee2cb73

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-07-09 09:44:37 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
David Tardon
0b379def83 coverity: protect against buffer overflow
Change-Id: I467e328ddb4786996ea81cdce2b76498fe8f1c61
2012-07-03 17:47:20 +02:00
David Tardon
ac45c9867a coverity: protect against buffer overflow
Change-Id: Ibf56341b2e52d341ba06708c232947db5191a486
2012-07-03 17:47:19 +02:00
Thomas Arnhold
64517292c9 hrc cleanup: Remove include guards
Also add some missing include guards.

Change-Id: I320a3c017ca65d34f2cd516849bcde3dec9b33f1
2012-07-02 22:42:09 +02:00
Michael Meeks
678d1f12ad targetted improvement of UNO API includes / usage 2012-07-02 16:52:50 +01:00
Thomas Arnhold
278000a28b Remove unused defines
Some of them were commented out for documentation purpose.

Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02 17:46:25 +02:00
Thomas Arnhold
892bb81d17 hrc cleanup: Remove unused defines
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-07-02 17:46:25 +02:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Thomas Arnhold
00240d0497 Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01 18:33:42 +02:00
Thomas Arnhold
d341aca7f6 hrc cleanup: Remove unused resource definitions
Change-Id: Ie3a3a65bfb628195940105d7261464989e9af3fa
2012-07-01 18:33:42 +02:00
Thomas Arnhold
8ca21893e5 Remove unused defines
Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
2012-07-01 18:33:41 +02:00
Julien Nabet
6b11a18071 Some cppcheck cleaning
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-30 18:21:26 +02:00
Michael Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Michael Meeks
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Thomas Arnhold
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
Takeshi Abe
d57d3c3454 removed unnecessary forward declarations of class
Change-Id: Id08393f66797ef1c4378c8f3549d0900d4f1c7ec
2012-06-26 22:48:49 +09:00
Caolán McNamara
037ddf9c77 Resolves: fdo#50967 Address DataSource dialog fails on throws
e.g. kde3 address book support is built in, but loaded
on system without kde3 libs

Change-Id: I0be27eeab3fce8f26fca203d61c67693b880fb3b
2012-06-26 13:34:04 +01:00
Caolán McNamara
d54830a9b6 throw an exception if a given resource file is not found
Change-Id: I8929e9b2cdeffa4d893f795a66809475a7cdae19
2012-06-25 16:24:58 +01:00
Thomas Arnhold
66cd9eeb90 Remove various commented out defines
Most of them in hrc files.

Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
Tor Lillqvist
ee7404c819 WaE: 'Mapping' defined as a struct here but previously declared as a class
Change-Id: I79de31ca5eac837fe755ea0b52ac6fe5cfec8e15
2012-06-25 13:06:58 +03:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00