Commit Graph

4763 Commits

Author SHA1 Message Date
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
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
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
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
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
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02: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
Thomas Arnhold
5fcecf9b88 hrc cleanup: Remove unused defines
All of those defines (should) not be used at any point in the code.
False positives may exist, because some macro names are getting
generated by some template/macro foo. This is the version which
compiled fine for me.

Also there are many commented out lines removed.

Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-21 11:54:18 +02:00
Noel Grandin
a01789ec7c Convert SV_DECL_PTRARR_DEL(BibToolBarListenerArr) to boost::ptr_vector
Change-Id: I851a3ef2bda7f427f6562ed946c7889c97ad83a0
2012-06-20 19:46:37 +02:00
Noel Grandin
c513264f19 Convert SV_DECL_PTRARR_DEL(BibStatusDispatchArr) to boost::ptr_vector
Change-Id: I3a09158ee1d864d3185b015d344391a60a926b65
2012-06-20 19:46:37 +02:00
Noel Grandin
b5f66b2d09 Convert SV_DECL_PTRARR_DEL(MappingArray) to boost::ptr_vector
Change-Id: I12762582ccf871828e27900f643fcbe4b59dbbf3
2012-06-20 19:46:37 +02:00
Caolán McNamara
8109913567 ditch last (?) uses of UniString::UniString(sal_Unicode, ...)
Change-Id: Ie04a3465100d2f013f34168aaf136a20cd2f7e0d
2012-06-20 12:06:40 +01:00
Andras Timar
54e9a28390 typo: paramters, paramaters -> parameters
Change-Id: If58683331c50f2a95204e8e2dea11edbef3ccb63
2012-06-19 16:44:08 +02:00
Petr Mladek
1a2549dcdd Revert "Remove License/Credits menu items"
GPLv3 has to be easily accessible. We should not hide it under too many
mouse clicks.

This reverts commit f4c567f8d4.
2012-06-19 14:56:53 +02:00
Caolán McNamara
bd4f553ef0 remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00
Stefan Knorr (astron)
f4c567f8d4 Remove License/Credits menu items
The About dialog now houses these functions.

Change-Id: I7f751027564897a063d2910644c69680d471b6d9

Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-06-18 16:34:44 +02:00
Thomas Arnhold
e06d6e3956 hrc cleanup: Remove completely unused RIDs
These RID definitions aren't used at any other point. So remove
them. Unused START and END definitions were commented out for
documentation purpose.

All definitions in basctl/source/basicide/tbxctl.hrc were unused,
so I removed this file.

Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-15 08:22:09 +02:00
Martyn Russell
4019acf297 cppcheck: avoid unreachable code warnings
Change-Id: I1d126eb10bfebc747d4bb6d153b80abe73a1e81e
2012-06-12 12:08:33 +01:00
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00