Commit Graph

679 Commits

Author SHA1 Message Date
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
Takeshi Abe
e2de4357f5 catch by const reference 2011-11-23 02:21:44 +09:00
Caolán McNamara
f017740f50 StaticIsEnabledBroadcasting can only be true 2011-11-06 22:08:36 +00:00
Caolán McNamara
c50612d516 callcatcher: unused code 2011-09-29 09:33:44 +01:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Stephan Bergmann
23b04dae8b sb140: #i117698# no implementations of XIdlClassProvider remain, so code that checks for it can be removed 2011-09-12 22:47:49 +02:00
Allmann-Rahn
8b11173f34 Translated German comments, removed redundant ones till cairo (incl.) 2011-08-31 16:29:43 +03:00
Takeshi Abe
e1a1091d0a catch ignored exceptions by const reference 2011-08-24 11:30:17 +09:00
Noel Power
1640c883df make sure dialog api object is reset when window is closed ( but not vetoed ) 2011-08-23 15:20:10 +01:00
Thomas Arnhold
228d801ab1 callcatcher: remove unused methods 2011-08-02 18:17:13 +02:00
Matúš Kukan
c8e76fbfed convert basic to gbuild 2011-07-30 10:39:20 +02:00
Michael Meeks
0ee44dbd6f fdo#39520 - turn DocBasicItems into an rtl::Static to improve shutdown on mac 2011-07-25 18:08:29 +01:00
Caolán McNamara
acc2e9d719 callcatcher: remove unused non-class level methods 2011-07-14 21:17:14 +01:00
Thomas Arnhold
01ea434011 remove runsInSetup which has a const return value 2011-07-12 17:01:19 +02:00
Thomas Arnhold
7884de47a5 callcatcher: remove unused StarBASIC::StaticSuppressSfxResource 2011-07-12 17:01:18 +02:00
Thomas Arnhold
e64de79888 callcatcher: remove unused StarBASIC::SetGlobalLanguageMode 2011-07-12 17:01:18 +02:00
Thomas Arnhold
b83da0e77a callcatcher: remove unused StarBASIC::LoadOldModules 2011-07-12 17:01:18 +02:00
Thomas Arnhold
f3041e079b callcatcher: remove unused StarBASIC::GetLanguageMode 2011-07-12 17:01:18 +02:00
Thomas Arnhold
9683103cd3 callcatcher: remove unused StarBASIC::GetGlobalLanguageMode 2011-07-12 17:01:18 +02:00
Thomas Arnhold
74181bf634 callcatcher: remove unused StarBASIC::GetGlobalBreakHdl 2011-07-12 17:01:18 +02:00