Commit Graph

548 Commits

Author SHA1 Message Date
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
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
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
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
Norbert Thiebaud
aca9239724 targeted string re-work
Change-Id: Ia651a93951da514105183775a5f49d031a192937
2012-06-02 17:57:17 -05:00
Takeshi Abe
bb9f730458 nuke unused typedef
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-31 01:56:28 +09:00
Caolán McNamara
b2fdaed465 WaE: MSVC2008 C2220 unsafe mix of types in operation 2012-04-20 20:02:25 +01: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
Caolán McNamara
ae92197691 remove static objects from static_initialization_and_destruction chain 2012-04-02 14:53:48 +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
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
Tor Lillqvist
c91f279e7e Revert "Build libsb with a few dummy classes also for --disable-scripting"
Nah, these dummy classes would turn out quite complex anyway. Better
to just use ifdefs elsewhere, the number required is not that large.

This reverts commit 6d33801b44.
2012-03-05 02:05:24 +02:00
Tor Lillqvist
6d33801b44 Build libsb with a few dummy classes also for --disable-scripting
Work in progress, the dummy class implementations surely still
incomplete and/or might contain methods not actually needed. More
dummy class implementations needed, hopefully not too many
though. Will add also a few ifdefs for DISABLE_SCRIPTING in some key
places in sc and elsewhere to cut down on the need.
2012-03-01 01:26:18 +02:00
Takeshi Abe
ebba94a957 Replaced String by rtl::OUString 2012-02-13 23:44:24 +09:00
Caolán McNamara
761f502083 can use a reference for singleton 2012-02-13 11:02:46 +00:00
Markus Mohrhard
05d48fb71f add SbGlobal for shared static objects 2012-02-10 22:59:45 +01:00
Takeshi Abe
6073c31fe8 Replaced String by rtl::OUString in SbiScanner 2012-01-31 02:29:23 +09:00
Takeshi Abe
bb51e8e72b Deleting a null pointer is safe 2012-01-26 03:03:08 +09:00
August Sodora
cd10d4e8a6 Remove SbErrorStack[Entry] 2012-01-16 20:47:40 -05:00
August Sodora
0ced88ad44 Remove unused enum SbLanguageMode 2012-01-16 11:37:34 -05:00
David Tardon
d54349233f remove useless misleading macros 2012-01-15 20:27:18 +01:00
Caolán McNamara
2d3203b2db make ReadUniOrByteString return a string 2012-01-06 09:52:42 +00:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Marcel Metz
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
Caolán McNamara
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
Caolán McNamara
5c24789ca3 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 13:44:52 +00:00
Caolán McNamara
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293.
2011-12-21 10:29:33 +00:00
Caolán McNamara
d00fc0e293 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 10:10:58 +00:00
Caolán McNamara
815b7b39f2 EXTENDED_BINARY_MODULES is always defined 2011-12-19 20:34:53 +00:00
Caolán McNamara
220b97fd14 SbTextPortions, etc can completely go 2011-12-13 10:11:45 +00:00
Caolán McNamara
a15cdba6ef disassembler unused 2011-12-13 10:11:44 +00:00
Caolán McNamara
90ca7d9e24 callcatcher: remove newly unused code 2011-12-13 10:11:44 +00:00
Noel Grandin
583582c5bf German translations
By Mike Whiteley/Noel Grandin, some smaller changes by myself; changes to binfilter removed from patch
2011-12-12 22:35:05 +01:00
Olivier Hallot
91d4fe75ee Fix for fdo43460 Part III getLength to isEmpty
Part III
Module
basic
2011-12-10 21:13:58 +04:00
Caolán McNamara
87ec1f8857 callcatcher: remove unused code post automation removal 2011-12-09 13:57:16 +00:00
Caolán McNamara
625f1cd72e callcatcher: some unused methods 2011-11-29 10:35:13 +00:00
Takeshi Abe
3c795a953f removed dead code 2011-11-29 10:07:04 +09:00
Caolán McNamara
6f33482f8f ByteString->rtl::OUStringToOString 2011-11-28 09:55:03 +00:00
Norbert Thiebaud
2ca38d3c7c rmove include of pch header in basic 2011-11-27 12:55:59 -06:00
mikew
5c76e221fe Some German to English comment translations. 2011-11-25 11:18:19 +00:00
David Tardon
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00