Commit graph

2894 commits

Author SHA1 Message Date
Michael Meeks
5ac018f9e3 WaE: basic compile snafu 2012-07-18 09:29:20 +01:00
Michael Meeks
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Caolán McNamara
36b9ff5eee ure cppunit tests depend on unobootstrapprotector
Change-Id: I998d0f46020d3f5ea6fd387fbed8480e3d57e59a
2012-07-11 13:10:07 +01:00
Michael Meeks
ae7534f616 targetted rename xcr -> xmlscript to match includes and module name 2012-07-09 14:23:26 +01:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Noel Power
6ee44323ce fix wae
Change-Id: I924c23853916cc26f151f1cfd3091dcbcf3899dd
2012-07-05 21:41:05 +01:00
Noel Power
0996c0d319 make unoCheckStruct uglier but detect unfixed type assignment + add new tests
Change-Id: I6160e7d1abeeda1ea89e2fe15a9155041f2e5adb
2012-07-05 19:31:16 +01:00
Noel Power
8e9e166d35 fix missing makefile, also add a further test to test_nested_struct.cxx
Change-Id: I7da88595fd3024f72b260267e34200375358e401
2012-07-05 15:03:11 +01:00
Noel Power
cac7e7cdc2 split out some common basic test stuff, add intial nested struct test
Change-Id: I8da6b3166e40e92c31ee001ce19938f286e057b9
2012-07-05 13:56:42 +01:00
Michael Stahl
c3dc9a3ef3 clean up include guards in sbxvar.hxx
Change-Id: I802d142ae93b3e9c7d42ab98d5c757df94a82196
2012-07-05 10:48:19 +02:00
Noel Power
1720641bf3 initial attempt at fdo#47263 allow direct access to nested uno structs 2012-07-04 20:13:45 +01:00
Daniel Rentz [dr]
1f0abdcf60 dr80: #i117392# initialize VBAGlobals object if single Basic module is in VBA mode, do not expect existing parent sheet in implementation of Excel.Application.ActiveCell 2012-07-04 11:50:22 +01:00
Takeshi Abe
30d3637516 removed unnecessary forward declarations of class
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-07-04 19:18:57 +09: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
00240d0497 Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01 18:33:42 +02:00
Julien Nabet
6b11a18071 Some cppcheck cleaning
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-30 18:21:26 +02:00
Caolán McNamara
9e0cbe5eb3 some pesky XubStrings
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-29 11:20:32 +01:00
Thomas Arnhold
688fcc847b Remove unused locals
Change-Id: I14369787e99d31cba32957301340cef2fc832b91
2012-06-29 09:25:12 +02:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Caolán McNamara
ba23ece286 probably the last uses of the one argument String::CreateFromAscii variant
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
2012-06-28 13:53:36 +01:00
Michael Meeks
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
Thomas Arnhold
ee1c5c4768 Reduce newline bloat at eof
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27 13:32:28 +02:00
Caolán McNamara
d9a00ace2c tidy some resource strings
Change-Id: I611a276d048121084ec842d062129e042f3baea5
2012-06-26 13:34:03 +01:00
Caolán McNamara
2c757293b8 reduce static_initialization_and_destruction chain
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-25 14:19:03 +01:00
Thomas Arnhold
66cd9eeb90 Remove various commented out defines
Most of them in hrc files.

Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Caolán McNamara
c3f2401d49 reduce scope and replace some String::CreateFromAscii
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21 15:07:52 +01:00
Michael Meeks
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
Caolán McNamara
bd4f553ef0 remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-19 09:13:23 +01:00
Caolán McNamara
06e2005ed8 convert LocaleDataWrapper to OUString
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
2012-06-18 15:13:51 +01:00
Caolán McNamara
9bf2d51927 callcatcher: chainsaw out some unnecessary code
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-15 15:41:13 +01:00
Caolán McNamara
6191fa0847 reduce use of UniString ctor from null-terminated unicodearray
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-13 11:20:23 +01:00
Michael Stahl
a96d082bc0 convert SbPropertyValueArr_Impl to boost::ptr_vector
Change-Id: Id3189a9abff5ee97b93bccefba8193ba36cb043a
2012-06-12 23:25:16 +02:00
Michael Stahl
a7a6f77582 SbPropertyValues: rename members
Change-Id: Iad6bc5af052a0795608ec11ee11c8dea3d091868
2012-06-12 23:25:16 +02:00
Michael Stahl
f9c5a36609 SbPropertyValues::setPropertyValue doesn't check that property exists
Change-Id: Ia63eea0c19bfa750b80f4c99f278f8d144c714a8
2012-06-12 23:25:16 +02:00
Noel Grandin
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
Michael Stahl
56366fa094 fix previous commit:
Make SbCompare_UString_PropertyValue_Impl a strict weak ordering.

Change-Id: I70d639ad44ceb69311c2d5bc1b95c972ad658451
2012-06-12 23:25:10 +02:00
Noel Grandin
8de787a266 Convert SV_DECL_PTRARR(SbPropertyValueArr_Impl) to std::vector
Change-Id: I3e072c165d83e9ade06caf2508031b473ef7691d
2012-06-12 23:25:10 +02:00
Caolán McNamara
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
Caolán McNamara
8f5629fd5a remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-11 14:46:46 +01:00
Thomas Arnhold
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
Caolán McNamara
e2cd6a77ea drop String::Reverse
Change-Id: Ie06635dc1f242241d48f9d6de4f592898e605bf2
2012-06-06 14:38:42 +01:00
Noel Grandin
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
Noel Grandin
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
Norbert Thiebaud
bfa906144f targeted string re-work
Change-Id: Ia73452f1cc83eff144e692c5ec19048c4ce0ca60
2012-06-02 18:45:53 -05:00
Norbert Thiebaud
aca9239724 targeted string re-work
Change-Id: Ia651a93951da514105183775a5f49d031a192937
2012-06-02 17:57:17 -05:00
Michael Meeks
dc0d009f10 targetted misc. minor cppcheck cleanups reversion
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-05-31 14:58:05 +01:00
Takeshi Abe
bb9f730458 nuke unused typedef
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-31 01:56:28 +09:00