Commit graph

249 commits

Author SHA1 Message Date
Thomas Arnhold
7910718259 Remove unused code: those classes are unused
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-08-01 18:34:46 +02:00
Caolán McNamara
69bb7c732d regression test for CVE-2012-1770
Change-Id: I2c51a128437913c3bb0bc7a59774ff117603dc82
2012-07-26 16:38:05 +01:00
Julien Nabet
00ae1cec08 Change form of checking self-assignment + cleaning before assigning
Change-Id: Idc8e8445b870805b99d2b9434cf1f752c63cc6a0
2012-07-16 22:54:38 +02:00
Julien Nabet
528b406bc2 Check for assignment to self for =operator
Change-Id: I88369c1b0c6f261e8350d196b56acdc8f8f61ce8
2012-07-14 19:58:57 +02:00
Julien Nabet
962d78294b Perform initalization in initialization list
Change-Id: I103af00b8d4f057ecf427914d35aaa02fcf452ae
2012-07-14 00:46:46 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Thomas Arnhold
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +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
d8fd071886 Remove commented out code
Change-Id: Idbd7ddb3f0a65454c4a82cd421298bee30184a4d
2012-06-27 13:32:36 +02:00
Takeshi Abe
4ba4b87042 removed unused forward declarations of class
except moving CGMBitmapDescriptor into filter/source/graphicfilter/icgm/outact.hxx

Change-Id: Ib11d1c907b4c52c6e0f261b20992659b52f4c136
2012-06-26 10:35:23 +09:00
Takeshi Abe
eb0497307b nuke dead code
Change-Id: Id9920ea7b82ea178e904f78bbd41ffc434813e0b
2012-06-07 23:03:11 +09:00
Thorsten Behrens
fcc31f1749 Targeted string re-work for lotuswordpro filter
Also cleaned up commented code, and a few extraneous temporaries
2012-06-01 17:54:29 +02:00
Norbert Thiebaud
93d83fe15a targeted string re-work
Change-Id: Ie527fc87d2ef18e60524ef235c1332fdd02be829
2012-05-29 21:41:07 -05:00
Stephan Bergmann
683312377a Removed unused SfxMedium::bDirect
See the TODO comment in sfx2/inc/sfx2/docfile.hxx about a temporary SfxMedium
ctor overload to find not yet adapted uses of another overload, to be removed
again in due time.

Change-Id: Ie22c33c32f8870ce6ebf6d500abc7a4e33d97183
2012-05-24 11:38:12 +02:00
Caolán McNamara
e78b716035 WaE: silence tedious msvc2008 warnings
Change-Id: Iecdc085b9af162ffdc6e0c52ad8a408a0983e088
2012-05-09 16:37:16 +01:00
Caolán McNamara
f909446caa WaE: C4146 unary operator applied to unsigned type
Change-Id: I5326baab63d8ec30a2f7fcb027c4a5a5526acdf0
2012-05-09 14:28:29 +01: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
David Tardon
5fcacd8408 rename gb_CppunitTest_uses_ure 2012-04-08 15:17:45 +02:00
David Tardon
fbbb833dda compile- and run-time use of UNO must be split
There are unit tests that do not use URE, e.g., in cppuhelper.

This reverts commit 33e9f3d3d6.

Conflicts:

	sot/CppunitTest_sot_test_sot.mk
	svl/CppunitTest_svl_urihelper.mk
2012-04-08 15:12:18 +02:00
David Tardon
cd2c512f9f clean up 2012-04-08 14:53:10 +02:00
David Tardon
e3cf2b45f7 simplify use of configuration from unit tests 2012-04-08 14:53:09 +02:00
David Tardon
e5f16b8d3e always use --protector for UNO tests 2012-04-08 14:53:08 +02:00
David Tardon
33e9f3d3d6 drop uses_ure 2012-04-08 14:53:08 +02:00
David Tardon
fe209e78db let use_api handle the use of type rdbs at runtime
Or is there any use case where we would need to use UNO API headers, but
not require the appropriate type database at runtime?
2012-04-08 14:53:07 +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
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c 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 15:07:41 +02:00
Luboš Luňák
802518c59a always pass --headless to cppunits
They should not need any actual UI anyway, and most of them already
pass the option manually.
http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
2012-04-02 12:26:20 +02:00
Caolán McNamara
6220ed4e6e callcatcher: update list 2012-03-07 11:06:48 +00:00
Julien Nabet
39c2a52d19 Avoid temporary rtl::OUString 2012-03-03 14:57:01 +01:00
Caolán McNamara
c452088325 add a more extensive lotuswordpro sample 2012-03-02 12:40:49 +00:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Caolán McNamara
13de41eaaf WaE: uninitialized pCell 2012-02-17 12:21:36 +00:00
Tor Lillqvist
a52f348700 WaE: unreachable code 2012-02-13 14:02:20 +02:00
Matúš Kukan
4b30ec9def fdo#39491 -I$(OUTDIR)/inc is set in SOLARINC 2012-02-10 21:41:45 +01:00
Josh Heidenreich
700b794126 Added and improved READMEs for modules which used to be in filter 2012-02-08 07:46:58 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Fridrich Štrba
1f65dc9ef5 Use the right define 2012-01-26 14:31:16 +01:00
David Tardon
c94a2118bb WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:24 +01:00
Matúš Kukan
58b8a4d25d these are not old component files anymore 2012-01-15 16:11:33 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Olivier Hallot
74e2d9b1e0 Fix for fdo43460 Part XXIV getLength() to isEmpty()
Part XXIV
Modules
lotuswordpro
2011-12-30 13:02:13 +01:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Stephan Bergmann
3684fcdc0f configmgr.component is no longer an old one. 2011-12-14 10:42:51 +01:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Caolán McNamara
c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
David Tardon
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00