Commit graph

304041 commits

Author SHA1 Message Date
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
Winfried Donkers
8ae3e12fa8 remove unused code 2012-04-05 14:43:02 +01:00
Caolán McNamara
47bc24a6bf Resolves: fdo#47068 use of pointer to deleted object 2012-04-05 13:59:07 +01:00
Caolán McNamara
0102886421 Resolves: fdo#45271, i#17964 count CJK words the way that's expected by users 2012-04-05 13:59:07 +01:00
Caolán McNamara
53600134ec no use is made of FmFormObj::m_nType 2012-04-05 13:59:06 +01:00
Caolán McNamara
5688b51bcb UniString::CreateFromInt32 -> rtl::OUString::valueOf 2012-04-05 13:59:05 +01:00
Caolán McNamara
dd20a8c6e2 SvtFileDialogURLSelector::OpenURL can go apparently 2012-04-05 13:59:05 +01:00
Caolán McNamara
fe630f3b09 callcatcher: update list, add README, remove some newly unused code 2012-04-05 13:59:05 +01:00
Caolán McNamara
9c2dee67b5 drop methods only used in svdem 2012-04-05 13:57:22 +01:00
Caolán McNamara
83b42cdccb convert (ugly) WriteUniOrByteString to rtl::OUString 2012-04-05 13:57:22 +01:00
Caolán McNamara
5daa649c56 disabled for 11 years, not like to get fixed soon 2012-04-05 13:57:22 +01:00
Caolán McNamara
c8ec810324 pure virtual with unused baseclass impl 2012-04-05 13:57:22 +01:00
Caolán McNamara
3c19ff4f85 DEFINE_CONST_UNICODE isn't needed here anymore 2012-04-05 13:57:22 +01:00
Caolán McNamara
69fec63d46 unused U2S define 2012-04-05 13:57:22 +01:00
Caolán McNamara
4cc2654c57 String::CreateFromInt32 -> OUString::valueOf 2012-04-05 13:57:21 +01:00