Commit graph

304055 commits

Author SHA1 Message Date
Olivier Hallot
ca8a3e0034 Further refactoring after RTL_CONSTASCII_USTRINGPARAM removal
Further refacorring after RTL_CONSTASCII_USTRINGPARAM removal.
Remove rtl::OUString() inside functions.
2012-04-06 18:50:45 -03:00
Caolán McNamara
16fc0fdb90 callcatcher: update unused code 2012-04-06 22:40:48 +01:00
Caolán McNamara
121e715d9a optional argument is always provided 2012-04-06 22:40:48 +01:00
Caolán McNamara
f5407c72f9 UniString::CreateFromInt32(0) -> "0" 2012-04-06 22:40:48 +01:00
Luboš Luňák
cdd0e1810d enable -fno-enforce-eh-specs only for non-dbgutil builds
The code uses exception specifications, so it doesn't make much
sense to have them, but disable them using a gcc option. MSVC
ignores them completely, so this would leave only clang as
the only compiler to enforce them. Either the majority compiler
needs to enforce it at least in dbgutil builds (in product builds
the option can be seen as a kind of NDEBUG), or alternatively
the exception specifications should be removed.
2012-04-06 21:29:43 +02:00
Luboš Luňák
837aa67861 reduce overzealous naming 2012-04-06 20:10:51 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Jan Holesovsky
0e1c058761 I suspect the logic is supposed to be the other way around. 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
27cea710fd 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 20:03:42 +02:00
Szabolcs Dezsi
99268dbe1f 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 20:03:41 +02:00
Jan Holesovsky
7acf99de38 Kill this. 2012-04-06 20:03:41 +02:00
Matúš Kukan
ff496d9124 javaloader: add_linked_lib salhelper 2012-04-06 20:02:04 +02:00
Matúš Kukan
b33134d246 fix build of jurt_urp 2012-04-06 19:18:45 +02:00
Miklos Vajna
46e7e5a505 n#751017 testcase 2012-04-06 16:58:47 +02:00
David Tardon
2c1d6b2fde fix makefiles 2012-04-06 16:49:20 +02:00
David Tardon
565707cda4 fix build on windows (i hope) 2012-04-06 16:49:20 +02:00
Luboš Luňák
2dde3c3ebb reset the flag before checking it it will be set again 2012-04-06 16:15:09 +02:00
Luboš Luňák
d91d98a536 fix gcc-4.0.1 and/or 32bit build for string literals
Plain 0 is ambiguous to convert to either long or const char*,
and just adding an overload next to sal_Int32 would be a dupe if
they actually are the same type, so just go with plain int, which
is the sensible thing to do anyway.
2012-04-06 15:10:06 +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
David Tardon
0c6ebe5d22 Merge remote-tracking branch 'origin/master' 2012-04-06 14:51:42 +02:00
David Tardon
7545dbbf64 merge feature/gbuild_components 2012-04-06 14:31:05 +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
Jan Holesovsky
6cf547f02c Do not extern these const char[]'s. 2012-04-06 14:30:04 +02:00
Luboš Luňák
066dbfd197 string literal O(U)StringBuffer ctors too, after all 2012-04-06 13:46:21 +02:00
Olivier Hallot
7d82fb18fe Review of some RTL_CONSTASCII_USTRINGPARAM removal
Remove OUString constructor where not needed.
2012-04-06 08:33:34 -03:00
Matúš Kukan
501e290b8e include variable before it's used 2012-04-06 13:15:14 +02:00
Matúš Kukan
12b3707ed2 ops, this should not be deleted 2012-04-06 13:11:09 +02:00
Szabolcs Dezsi
f770c5d6bc Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
Matúš Kukan
0168b4e6ec make add_custom_headers better 2012-04-06 12:41:38 +02:00
Thomas Collerton
9f92346e7c Remove unused code (vcl) 2012-04-06 12:41:38 +02:00
Matúš Kukan
c282d0a3d8 jurt: use CustomTarget makefile 2012-04-06 12:41:37 +02:00
Matúš Kukan
1dc52cbc24 ridljar: use CustomTarget makefile 2012-04-06 12:41:37 +02:00
Matúš Kukan
c92c4ca8ed unoil: use CustomTarget makefiles 2012-04-06 12:41:36 +02:00
Matúš Kukan
149cb46885 gbuild: add customtarget dependencies for java stuff 2012-04-06 12:41:36 +02:00
Miklos Vajna
1a3ab52289 rtftok: drop m_bIsSubstream, we already have a m_pSuperstream
Originally there was m_bIsSubstream (true for footnotes, headers, etc.),
then we needed a pointer to the original stream, now the boolean value
is redundant, so remove it.
2012-04-06 10:09:55 +02:00
Olivier Hallot
fe51974e65 More removal of RTL_CONSTASCII_USTRINGPARAM in sd
More removal of RTL_CONSTASCII_USTRINGPARAM in module sd
2012-04-05 19:34:00 -03:00
Olivier Hallot
e912c60184 More RTL_CONSTASCII_USTRINGPARAM cleanup
More RTL_CONSTASCII_USTRINGPARAM in module sd
2012-04-05 18:39:50 -03:00
Olivier Hallot
8981d1d06f Cleanup of some RTL_CONSTASCII_USTRINGPARAM macro in sd
Cleanup of some RTL_CONSTASCII_USTRINGPARAM macro in module sd
2012-04-05 18:21:32 -03:00
Julien Nabet
7d2508572a Fix Prefer prefix ++/-- operators
Includes too replacement < by != for comparison between current and end iterators
2012-04-05 21:17:09 +02:00
Stephan Bergmann
7a56eef989 Clean up optional online update module
* The updatecheckui lib is part of that module; should its scp entry also be
marked ComponentCondition="ISCHECKFORPRODUCTUPDATES=1"?

* unpack_update (and other scripts as well?) need only be generated if
ENABLE_ONLINE_UPDATE.

* It is inconsistent that there is a distinct onlineupdate.xcd not merged into
main.xcd, while the updchk and updatecheckui component files are merged into
the global services.rdb.

* The updchk res file should also go into (a resource sub-module of) the
optional online update module.
2012-04-05 21:10:57 +02:00
Eike Rathke
0de1b33bf7 resolved fdo#48347 do not override preselected CSV with SYLK detection 2012-04-05 19:48:37 +02:00
Tor Lillqvist
0d5f437bf7 Catch attempts to open /assets files read-write. Improve debugging output 2012-04-05 20:46:28 +03:00
Tor Lillqvist
694bb9f5de Do two fairly useless but often emitted OSL_TRACEs only if OSL_DEBUG_LEVEL > 2 2012-04-05 20:46:26 +03:00
Tor Lillqvist
8451dec867 dlopen() also the sw and swd libs ahead of time so that they can be debugged 2012-04-05 20:46:24 +03:00
Tor Lillqvist
cafcd85774 Set TMPDIR also in non-NativeActivity apps 2012-04-05 20:46:22 +03:00
Ivan Timofeev
c5154a179f SfxViewShell::GetScrollingMode always returns SCROLLING_DEFAULT 2012-04-05 21:11:21 +04:00
Michael Stahl
dc2fe18e95 fdo#43895 lp#905355: fix the fix so it doesn't crash
rtl::OUString rtl::OUString::copy(sal_Int32) const: Assertion
`beginIndex >= 0 && beginIndex <= getLength()' failed.
(regression from dd2fe95cce)
2012-04-05 18:13:33 +02:00
Michael Stahl
d564c79e6d shell: fix silly flags from 2c5a817591 2012-04-05 16:54:34 +02:00
Caolán McNamara
735a2cba30 cppcheck Uninitialized variable 2012-04-05 15:43:49 +01:00
Rob Snelders
45413e32fe Removal VERBOSE 2012-04-05 15:24:05 +01:00