Commit graph

1667 commits

Author SHA1 Message Date
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
Thorsten Behrens
80fe015a86 Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changes
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16 17:02:23 +01:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Stefan Knorr (astron)
5bec57a0b7 Correct some mistranslated comments 2012-03-10 22:00:56 +01:00
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
Tom Thorogood
8907a41bf8 Translate german comments in core/comphelper 2012-03-05 18:52:34 +02:00
Marc-André Laverdière-Papineau
1d6cadf516 Removed dead code 2012-03-04 21:26:14 -05:00
Marc-André Laverdière-Papineau
0586306a54 Removed dead code 2012-03-04 21:26:13 -05:00
Caolán McNamara
53294e814b move template out of header 2012-02-29 10:09:44 +00:00
Matúš Kukan
2126166320 add AddFilterNameCheckOwnFile back for WNT 2012-02-26 00:03:21 +01:00
Elton Chung
ba8919e812 Remove unused code 2012-02-25 20:33:57 +00:00
Elton Chung
0333d2101a Remove unused code in basegfx, comphelper 2012-02-25 20:33:57 +00:00
Cédric Bosdonnat
e3e7623bf6 fdo#45560: Fixed docx textbox borders style and width import 2012-02-23 13:56:24 +01:00
Stephan Bergmann
2eaa1422a0 Adapted AsyncEventNotifier to safer-to-use salhelper::Thread 2012-02-23 10:47:37 +01:00
Stephan Bergmann
fe981519f5 gb_JunitTest_JunitTest takes only one argument 2012-02-20 16:39:59 +01:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Stephan Bergmann
4a98b359d8 Clean up AsyncEventNotifier interface 2012-02-16 19:01:27 +01:00
Stephan Bergmann
9ab0b38e95 Various string function clean up
Added:
* rtl::OString::matchL
* rtl::OString::endsWith
* rtl::OString::endsWithL
* rtl::OString::indexOfL
* rtl::OString::replaceFirst
* rtl::OString::replaceAll
* rtl::OString::getToken
* rtl::OUString::endsWith
* rtl::OUString::replaceFirst
* rtl::OUString::replaceFirstAsciiL
* rtl::OUString::replaceFirstAsciiLAsciiL
* rtl::OUString::replaceAll
* rtl::OUString::replaceAllAsciiL
* rtl::OUString::replaceAllAsciiLAsciiL
* rtl::OUString::getToken
plus underlying C functions where necessary

Deprecated:
* comphelper::string::remove
* comphelper::string::getToken

Removed:
* comphelper::string::searchAndReplaceAsciiL
* comphelper::string::searchAndReplaceAllAsciiWithAscii
* comphelper::string::searchAndReplaceAsciiI
* comphelper::string::replace
* comphelper::string::matchL
* comphelper::string::matchIgnoreAsciiCaseL
* comphelper::string::indexOfL

Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM ->
RTL_CONSTASCII_STRINGPARAM.
2012-02-15 15:41:09 +01:00
Lionel Elie Mamane
034b130b90 comphelper: add getINT64 2012-02-14 19:55:22 +01:00
Stephan Bergmann
765c6d9916 Make simplified configuration API available down in comphelper 2012-02-13 22:15:33 +01:00
Caolán McNamara
3b4786b6b7 callcatcher: regenerate list 2012-02-13 11:02:46 +00:00
Caolán McNamara
740cf4a590 bah, we don't need these after all 2012-02-10 14:20:52 +00:00
Caolán McNamara
9c19e79f19 extend unit test to islower 2012-02-10 11:09:08 +00:00
Santiago Martinez
3957a49b12 Remove unused code. 2012-02-10 09:52:57 +00:00
Josh Heidenreich
8b9615be88 Added (and improved) READMEs for modules which used to be in libs-gui 2012-02-08 07:46:57 +01:00
Kohei Yoshida
b03bc57647 Typos in method descriptions. 2012-02-06 16:12:30 -05:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Julien Nabet
fa6665282e Some cppcheck cleaning 2012-02-05 10:50:31 +01:00
Stephan Bergmann
6fca59d9c2 Simplify code by making getProcessComponentContext() implicit. 2012-01-31 17:26:57 +01:00
Stephan Bergmann
ca3e3e7e31 Move unotools/configuration.hxx to comphelper
...so that other code in comphelper can use it.
2012-01-31 15:50:10 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Thorsten Behrens
29bd62fdc2 Switch flag sequence of OpenCommandArg3 to NamedValue.
Based on feedback for 09954fc863,
using the less-bulky NamedValue type instead of PropertyValue.
2012-01-17 11:42:07 +01:00
Stephan Bergmann
2898e58b2a Clang -Wunused-variable. 2012-01-15 22:50:36 +01:00
Olivier Hallot
4e7f9be2c0 Fix for fdo43460 Part VII getLength() to isEmpty()
Part VII
Module
comphelper
2012-01-05 22:05:44 -02:00
Caolán McNamara
6d14db4514 catch by const ref 2012-01-05 09:18:20 +00:00
Caolán McNamara
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
Caolán McNamara
f80d462331 callcatcher: drop some unused methods 2012-01-05 09:18:15 +00:00
Stephan Bergmann
a90d4d5f03 Do not export whole class to avoid MS C++ implicitly exporting base template. 2012-01-03 16:11:53 +01:00
Caolán McNamara
5c1dc778d6 remove some unused code 2011-12-22 10:46:58 +00:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00