Commit Graph

2876 Commits

Author SHA1 Message Date
9e0cbe5eb3 some pesky XubStrings
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-29 11:20:32 +01:00
688fcc847b Remove unused locals
Change-Id: I14369787e99d31cba32957301340cef2fc832b91
2012-06-29 09:25:12 +02:00
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
ba23ece286 probably the last uses of the one argument String::CreateFromAscii variant
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
2012-06-28 13:53:36 +01:00
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
d9a00ace2c tidy some resource strings
Change-Id: I611a276d048121084ec842d062129e042f3baea5
2012-06-26 13:34:03 +01:00
2c757293b8 reduce static_initialization_and_destruction chain
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
66cd9eeb90 Remove various commented out defines
Most of them in hrc files.

Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
c3f2401d49 reduce scope and replace some String::CreateFromAscii
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21 15:07:52 +01:00
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
bd4f553ef0 remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00
06e2005ed8 convert LocaleDataWrapper to OUString
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
2012-06-18 15:13:51 +01:00
9bf2d51927 callcatcher: chainsaw out some unnecessary code
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-15 15:41:13 +01:00
6191fa0847 reduce use of UniString ctor from null-terminated unicodearray
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-13 11:20:23 +01:00
a96d082bc0 convert SbPropertyValueArr_Impl to boost::ptr_vector
Change-Id: Id3189a9abff5ee97b93bccefba8193ba36cb043a
2012-06-12 23:25:16 +02:00
a7a6f77582 SbPropertyValues: rename members
Change-Id: Iad6bc5af052a0795608ec11ee11c8dea3d091868
2012-06-12 23:25:16 +02:00
f9c5a36609 SbPropertyValues::setPropertyValue doesn't check that property exists
Change-Id: Ia63eea0c19bfa750b80f4c99f278f8d144c714a8
2012-06-12 23:25:16 +02:00
2110397670 Convert SV_DECL_PTRARR_DEL(SbiSymbols) to std::vector
For reasons I don't understand, the compiler would get uncopy
if I tried to declare the destructor in the header file.

Change-Id: I67fa7941da2f0ee08ae10bf350fb1f3bf1397410
2012-06-12 23:25:11 +02:00
56366fa094 fix previous commit:
Make SbCompare_UString_PropertyValue_Impl a strict weak ordering.

Change-Id: I70d639ad44ceb69311c2d5bc1b95c972ad658451
2012-06-12 23:25:10 +02:00
8de787a266 Convert SV_DECL_PTRARR(SbPropertyValueArr_Impl) to std::vector
Change-Id: I3e072c165d83e9ade06caf2508031b473ef7691d
2012-06-12 23:25:10 +02:00
7d042c50f5 use rtl_ustr_getLength instead of a temporary string just to find length
Change-Id: Ibbf777e57af6b98611cb5dce5a31517de80305b7
2012-06-12 13:35:49 +01:00
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
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
e2cd6a77ea drop String::Reverse
Change-Id: Ie06635dc1f242241d48f9d6de4f592898e605bf2
2012-06-06 14:38:42 +01:00
392a483e10 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method PathSubstitutions::create

Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
d08578912f fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update calls to factories to use new SimpleFileAccess::create method

Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +02:00
bfa906144f targeted string re-work
Change-Id: Ia73452f1cc83eff144e692c5ec19048c4ce0ca60
2012-06-02 18:45:53 -05:00
aca9239724 targeted string re-work
Change-Id: Ia651a93951da514105183775a5f49d031a192937
2012-06-02 17:57:17 -05:00
dc0d009f10 targetted misc. minor cppcheck cleanups reversion
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-05-31 14:58:05 +01:00
bb9f730458 nuke unused typedef
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-31 01:56:28 +09:00
14ced14a22 add missing licence ( populated from TEMPLATE.SOURCECODE.HEADER )
Change-Id: I088e8fef273a42ad3e1d87d249a998867c22b4c6
2012-05-14 15:41:07 +01:00
e9bc6d7897 Revert "attempt to disable multi-defined symbol on windows for basic test"
Let's hope this works now.

This reverts commit 6113b27ec15da2a3b140ae58676062d74c99b31e.
This reverts commit 4e90345a4dea1ddf0ddded4f1fcae1c87894e120.
2012-05-14 16:34:10 +02:00
4b88c6e705 CppunitTest_basic_enable does not seem to need library objects
and it apparently causes linking failures on Windows, so try without.
2012-05-14 16:32:05 +02:00
4e90345a4d fix missing ')' in Module.basic.mk
Change-Id: I2a9eb4d5c6e8dfea2aaf9b8667d3e3de7b1357fe
2012-05-14 15:08:28 +01:00
6113b27ec1 attempt to disable multi-defined symbol on windows for basic test
CppunitTest_basic_enable.mk & test_basic_enable.dll seems to suffer for some strange multiple defined symbol crack which is killing the tinderboxes, disable for the moment

Change-Id: I1584c11a0445ac36c138ae075ca365ad4b2effe1
2012-05-14 15:06:29 +01:00
d7149abc77 add simple basic runtime test
Change-Id: If8742cb174aa1d017763d3ba42807ac4cf6c7420
2012-05-14 13:59:09 +01:00
d87676da22 simple compile test for use of 'Enable' in a Dim statement
Change-Id: I051dbb5cd56fe61e2b0aea1184dcdb03c6413834
2012-05-14 12:01:08 +01:00
9520dbf59f EasyHack fdo#42783: get rid of CPU define/build system variable
Change-Id: I6a178f7ff9c8306e15bcfa847ad1e5e4f8476504
2012-05-09 16:31:31 +02:00
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
bc069413e5 WaE: return SYMBOL -> return true
has been return SYMBOL since initial checkin in 2000,
SYMBOL is a non-0 enum so return true here instead
2012-04-24 15:44:37 +01:00
fd58025dc7 Fix eleven year old typo
No idea if it has actually caused any uninteded behaviour, or if this
fix now then causes something to break.
2012-04-24 12:22:10 +03:00
c9afb3f5a7 This incorporates the suggested changes. 2012-04-23 19:37:11 +02:00
b2fdaed465 WaE: MSVC2008 C2220 unsafe mix of types in operation 2012-04-20 20:02:25 +01:00
a9bad6b8f9 made the search straightforward 2012-04-13 02:18:05 +09:00
7465f5e604 extract ImpGetIntntlSep() into sbxconv.hxx and reuse it 2012-04-13 02:18:05 +09:00
3f82d94bdc String::CreateFromInt32->rtl::OUString::valueOf 2012-04-10 12:49:48 +01:00
6de7392829 add package deps for resources 2012-04-09 10:09:23 +02:00
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00