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
e4fb171d3a
Replaced a few equal calls with ==
2012-04-08 19:24:00 +02:00
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
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
15f14ec794
reorganize trickier statics
2012-04-02 14:53:48 +01:00
ae92197691
remove static objects from static_initialization_and_destruction chain
2012-04-02 14:53:48 +01:00
b26df89e6c
callcatcher: remove some unused code
2012-04-02 14:53:47 +01:00
1889728897
remove static OUStrings from static_initialization_and_destruction chain
2012-03-30 14:07:20 +01:00
16244e7f24
removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper
2012-03-28 00:30:29 +09:00
6749dcc154
removed duplicate includes in basic / canvas / chart2 / comphelper
2012-03-26 22:39:42 +09:00
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
55a4020907
remove ToDouble/ToFloat
2012-03-20 12:57:34 +00:00
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
e4fe6a9c46
state *what* was not found when throwing exception
2012-03-08 12:02:38 +00:00
f150208ca8
these Links either shouldn't be links, or shouldn't exist
2012-03-08 12:02:36 +00:00
2d7550d53f
Removed unused macro
2012-03-08 00:06:25 +09:00
fe4bb3579a
basic: add missing forward declarations for helper functions
2012-03-05 22:32:22 +00:00
c5bf9b10b9
Remove unused SbxMemoryStream
2012-03-05 23:03:34 +02:00
b344c30ab4
Sprinkle more DISABLE_SCRIPTING ifdefs
2012-03-05 22:30:12 +02:00
99ff0ab0b2
Remove unused code from basic
2012-03-05 18:54:28 +02:00
8d4fe3ed1f
Convert SbxFactory from SV_DECL_PTRARR_DEL to boost::ptr_vector
2012-03-05 12:57:08 +02:00
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 6d33801b4498f5c13d2dc75588f88c22a11f455b.
2012-03-05 02:05:24 +02:00
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
1543f1ec6d
basic: tolerate empty / missing dialog.xlc and script.xlc files
2012-02-24 16:46:47 +00:00
1dc601f1b6
basic: remove un-used return value indicating failure
2012-02-24 16:46:46 +00:00
86ffa60647
Get rid of CREATEVERSIONRESMGR[_NAME]
2012-02-23 17:05:10 +01:00
f150ed241f
OUString ctor for string literals without RTL_CONSTASCII stuff
...
http://lists.freedesktop.org/archives/libreoffice/2012-February/025662.html
2012-02-22 16:21:37 +01:00
48bfb52d71
expand and remove NS_* macro
2012-02-21 14:02:45 +01:00
634b211632
allow keyword Append to be used as a variable. bnc#745930
...
statements like
Dim AppEnd As Integer
will generate compiler errors because Append is a special symbol/keyword in libreoffice basic. This restriction though is too strict because 'Append' is only such a keyword when used within the 'Open' statement ( where it refers to one of the possible values for a paramater ).
2012-02-21 12:26:29 +00:00
aafcf8c84c
Remove unused code
2012-02-20 11:49:35 +00:00
03591233c1
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
...
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
08c475bb24
callcatcher: update unused code list
2012-02-16 10:26:03 +00:00
a62395237e
WaE: moaning about unintialized variables
2012-02-15 13:01:00 +00:00
72e04abea5
remove sunpro 5.0 handling
2012-02-14 17:45:26 +01:00
ebba94a957
Replaced String by rtl::OUString
2012-02-13 23:44:24 +09:00
3b4786b6b7
callcatcher: regenerate list
2012-02-13 11:02:46 +00:00
761f502083
can use a reference for singleton
2012-02-13 11:02:46 +00:00
da39d1443c
use TransliterationWrapper in lcl_queryMacro, fdo#45607
2012-02-10 22:59:45 +01:00
05d48fb71f
add SbGlobal for shared static objects
2012-02-10 22:59:45 +01:00
849a2471bd
update unused list
2012-02-08 09:12:27 +00:00
2cae4ff166
callcatcher: update list, ByteString is on the ropes
2012-02-08 09:12:27 +00:00
254f372b01
Use defined utility BASIC_DLL()/BASIC_MOD()
2012-02-07 00:31:29 +09:00
64c498ff17
Removed unused variables
2012-02-07 00:31:27 +09:00
7be0cc289d
A few safe replacements of pathes->paths
2012-02-01 14:43:37 +01:00