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
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
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
Caolán McNamara
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
Tor Lillqvist
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
Abeer Sethi
c9afb3f5a7
This incorporates the suggested changes.
2012-04-23 19:37:11 +02:00
Caolán McNamara
b2fdaed465
WaE: MSVC2008 C2220 unsafe mix of types in operation
2012-04-20 20:02:25 +01:00
Takeshi Abe
a9bad6b8f9
made the search straightforward
2012-04-13 02:18:05 +09:00
Takeshi Abe
7465f5e604
extract ImpGetIntntlSep() into sbxconv.hxx and reuse it
2012-04-13 02:18:05 +09:00
Caolán McNamara
3f82d94bdc
String::CreateFromInt32->rtl::OUString::valueOf
2012-04-10 12:49:48 +01:00
Szabolcs Dezsi
e4fb171d3a
Replaced a few equal calls with ==
2012-04-08 19:24:00 +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
Caolán McNamara
15f14ec794
reorganize trickier statics
2012-04-02 14:53:48 +01:00
Caolán McNamara
ae92197691
remove static objects from static_initialization_and_destruction chain
2012-04-02 14:53:48 +01:00
Caolán McNamara
b26df89e6c
callcatcher: remove some unused code
2012-04-02 14:53:47 +01:00
Caolán McNamara
1889728897
remove static OUStrings from static_initialization_and_destruction chain
2012-03-30 14:07:20 +01:00
Takeshi Abe
16244e7f24
removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper
2012-03-28 00:30:29 +09:00
Takeshi Abe
6749dcc154
removed duplicate includes in basic / canvas / chart2 / comphelper
2012-03-26 22:39:42 +09:00
Caolán McNamara
ed0ffbba06
over-engineered thread-safe static OUString
...
This is a ridiculous over-engineered thread-safe static string for
something which is called so few times, and costs 1k of long-term
memory as the OUString dtor needs to be put into a callback
queue to get called at module unload time.
Just return a new string every time, *rolls eyes*
2012-03-22 12:26:42 +00:00
Caolán McNamara
55a4020907
remove ToDouble/ToFloat
2012-03-20 12:57:34 +00:00
Noel Power
7dafa7a3b1
fix error comparing a struct vs an uno prop containing a struct fdo#42819
...
hack to fix the scenario where sometimes we get "Object required" error when comparing an uno property containing a struct with another struct ( if that property is "MAYBEVOID" )
2012-03-09 18:48:36 +00:00