2007 Commits

Author SHA1 Message Date
Stephan Bergmann
cbe5a8c858 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I213bc96fd6c9049c0dba0a527e827ae5d8f0ace3
2012-08-14 10:39:11 +02:00
Thomas Arnhold
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Thomas Arnhold
87f242e036 remove empty ascii boxes and stuff III
Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
2012-08-07 18:08:29 +02:00
Thomas Arnhold
d1ba5419cf Remove non-existing forward declarations
Those classes don't exist. So remove friend class operators too.

Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-07 13:45:26 +02:00
Fridrich Štrba
cf2bdd6594 Fix windows build where min and max are macros
Change-Id: I59186db4003564b0b9c202456b7fdf91eaa67751
2012-08-02 10:23:15 +02:00
Stephan Bergmann
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
Thomas Arnhold
8849f13ea3 Partially revert "Remove unused defines"
This partially reverts 8ca21893e58dc9694e0e7a6c0fc52154b3ccb5f7

http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html

Change-Id: Iae4347a26b1f388bc5e780d24ab7371ffac8b1f8
2012-07-28 19:48:46 +02:00
Stephan Bergmann
cf7c9599e7 Make comphelper/configuration.hxx work for localized properties
See aebf5bf22304c73e121b16dc0b51f909c5f34c28 "fdo#52232 ConfigurationSet wrapper
unusable for localized properties" for a discussion of the problems with the
original design.

1  Redesigned configmgr's localized property access to understand ['*<locale>']
paths that select the best existing value match for the requested <locale>.
Adapted ConfigurationWrapper::getLocalizedPropertyValue accordingly.

2  Redesigned ConfigurationChanges to fix the locale at instantiation time.
That takes care of ConfigurationWrapper::setLocalizedPropertyValue,
ConfigurationWrapper::getGroupReadWrite, and
ConfigurationWrapper::getSetReadWrite.  (This required an additional constructor
parameter for the ReadWriteAccess service, to specify a locale at instantiation
time.)

3  Redesigned ReadOnlyAccess to be a service that fixes the locale at
instantiation time.  That allows to take care of
ConfigurationWrapper::getGroupReadOnly and ConfigurationWrapper::getSetReadOnly.

Change-Id: I2ae7342b278b6f4222a0189a1deb2a53e204059f
2012-07-25 19:10:19 +02:00
Michael Stahl
e5762c8488 mhu24: add comphelper::newArray_{null,ex} helpers
Change-Id: I5cba60c8a14fc8d0adc0c4c5273aabbdd9830f91
2012-07-24 11:37:41 +02:00
Stephan Bergmann
deae1af649 Fix sense of SAL_WARN_IF conditions
Change-Id: Idd3dea4e42eb7f63447e1f804d90e991c801cdd3
2012-07-18 14:42:30 +02:00
Matúš Kukan
31b05fe9ff unusedcode: drop CellBlock and one small method
Change-Id: I7cad80ea59b4527193a35ea1b7cfdd56e07a0efe
2012-07-16 07:28:31 +02:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Thomas Arnhold
8ca21893e5 Remove unused defines
Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
2012-07-01 18:33:41 +02:00
Noel Grandin
0dae234811 Java5 update - use generics in code, and general cleanup
Change-Id: I6f2490c48a9d6dbb7de4917c07d5c1fb36c58777
2012-06-29 22:03:03 +02:00
Michael Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Frank Schoenheit [fs]
7be964961f gridfixes: #i117265# implement less-predicate for Date/Time structs 2012-06-29 15:51:44 +01:00
Thomas Arnhold
4c4d748767 Remove some more include guards
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-29 09:25:10 +02: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
Caolán McNamara
2c757293b8 reduce static_initialization_and_destruction chain
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
Julien Nabet
e45bb323ee Fix prefix ++/-- operators for non-primitive types
Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2
2012-06-23 23:06:48 +02: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
Caolán McNamara
8e01e88145 add a route to compare a O[U]String to one code unit
Seems very awkward to create an entire temporary O[U]String just to compare it
to another when we want to know if that other contains just one char of a given
value

Change-Id: Iacd4e0d87dc5c5211fa06c61c55e1ed85b1e91f3
2012-06-18 15:13:51 +01:00
Caolán McNamara
9bf2d51927 callcatcher: chainsaw out some unnecessary code
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-15 15:41:13 +01:00
Caolán McNamara
df4c929bc3 don't need to realloc string
Change-Id: I17ec5a54b0088b56bd8c8431eb255626dbb1fac8
2012-06-12 13:35:49 +01:00
Caolán McNamara
38fea22431 removeTrailingChars is the same as stripEnd
Change-Id: I3fc618f886082e08e9baae3ae09017f653e729bd
2012-06-11 14:46:44 +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
Thomas Arnhold
13887f4848 Remove superfluous include comments
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
2012-06-09 04:51:38 +02:00
Caolán McNamara
e2cd6a77ea drop String::Reverse
Change-Id: Ie06635dc1f242241d48f9d6de4f592898e605bf2
2012-06-06 14:38:42 +01:00
Michael Meeks
93b415a68f targetted prefer prefix operators reversion
Change-Id: I7e1ae9622bc89b584ddbb307dac15b0ed56ae563
2012-05-31 14:58:05 +01: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
Caolán McNamara
0e9c60d596 reduce static_initialization_and_destruction chain
Change-Id: Ib2642e19d9148acca27227b0d91de4e8855178aa
2012-05-17 14:03:25 +01:00
Michael Stahl
326d255eaa rename Library_comphelp.mk to Library_comphelper.mk...
... so the silly broken gb_Symbols_get_all enables debug for it.
2012-05-04 00:25:37 +02:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Tor Lillqvist
1ab7d31a68 Add comment describing the meanings of the filter flag bits 2012-04-18 23:40:20 +03:00
Caolán McNamara
abda377619 callcatcher: update list 2012-04-18 13:03:22 +01:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Szabolcs Dezsi
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Caolán McNamara
b26df89e6c callcatcher: remove some unused code 2012-04-02 14:53:47 +01:00
Julien Nabet
e511a7d639 Fixes a bunch of "Prefer prefix ++/-- operators for non-primitive types" 2012-03-29 23:56:31 +02:00
Caolán McNamara
9ce98add53 remove static OUStrings from static_initialization_and_destruction chain 2012-03-29 12:44:23 +01:00
Takeshi Abe
16244e7f24 removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper 2012-03-28 00:30:29 +09:00
Takeshi Abe
6749dcc154 removed duplicate includes in basic / canvas / chart2 / comphelper 2012-03-26 22:39:42 +09:00
Caolán McNamara
88cf101f18 move GetFilterFlags inside ifdef WNT 2012-03-20 12:57:32 +00:00