Commit Graph

191 Commits

Author SHA1 Message Date
Noel Grandin
8638f1e72a fdo#46808, Adapt script::Converter service code to new style
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-27 15:40:07 +02:00
Noel Power
44dc8746f3 remove VBA_OOBUILD_HACK and friends
Change-Id: I5c21a407bcae1b668976b94a757d564120973b1a
2012-08-26 09:49:24 +01:00
Noel Power
6573690587 mark methods as stub where appropriate
Hopefully this will allow us to track methods we don't or can't implement ( although we let them actually exectute )

Change-Id: I53c74054ffea6cfa8e45aa4583f51c03f33991ee
2012-08-26 09:49:24 +01:00
Noel Power
dd91af40e3 clean up unnecessary non working implementations
Change-Id: I4cbc0fbf17aa80db4b19df630d6f18f97b9f6982
2012-08-26 09:49:23 +01:00
Christophe JAILLET
df645a2bd8 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-16 11:33:05 +01:00
Christophe JAILLET
a767448225 Search for char instead of 1 char long string, when possible.
It is faster and even avoid memory allocation somtimes.

Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-13 16:36:04 +02:00
Michael Meeks
7cb232e6ee re-base on ALv2 code. 2012-06-22 16:31:33 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Noel Grandin
0fcd1a73f0 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method URLTransformer::create

Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:53:34 +02:00
Norbert Thiebaud
827865fee1 targeted string re-work
Change-Id: Ic08995a67a407576da475a6716b1218e45b60dfd
2012-05-31 21:15:00 -05:00
Norbert Thiebaud
02bd365494 targeted string re-work
Change-Id: I7a67dba479e562ae3b08e6acf9bb6139eb155556
2012-05-31 19:37:03 -05:00
Michael Meeks
6e6d81e9cf targetted SAL_N_ELEMENTS reversion.
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-29 18:03:34 +01:00
Julien Nabet
2b657f5844 Fix Prefer prefix ++/-- operators for non-primitive types
Change-Id: I4ebb1027151c3bc34f81fb1e13de6c4c5cfed54d
2012-05-19 15:10:13 +02:00
Takeshi Abe
a6b68f4682 removed unused static rtl::OUString
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-14 23:43:54 +09:00
Noel Power
7ddb8f73c1 tweak support Sheets.PrintPreview bnc#75784 allow specific sheet(s) selection
this is a followup to commit 17c8f6745f
2012-04-24 11:26:32 +01:00
Takeshi Abe
9cb75ccaa7 removed unused static data 2012-04-23 23:05:24 +09:00
Noel Power
17c8f6745f support Sheets.PrintPreview bnc#757844
there is still a little wrinkle, the preview shell always shows what sheets are selected, it's currently not possible to specify the sheets to preview
2012-04-23 13:35:31 +01:00
Noel Power
f39d0b8377 add support for MousePointer attribute in controls
For Useforms it doesn't quite work exactly as MSO, for examply if we set the MousePointer for the Userform it works as expected until we mouse over another control at which point the mouse pointer is changed to that of the control. In MSO it would appear that the Userform mousepointer is king, perhaps all that is necessary is to apply the mouse pointer to each contained control, needs some investigation. Also only a limited number of the possible mouse pointer styles are processed, the conversions of mso -> lo pointer styles ( and vice-versa ) and not really tested to see if they all make sense
2012-04-17 14:30:31 +01:00
Stephan Bergmann
0dda8f1933 Set DefaultContext property of service manager/component context combo
...to avoid mismatch warnings from OServiceManager::createInstanceWithContext.
2012-04-12 13:04:39 +02:00
Gábor Stefanik
231520e7bb Kill vbaFontBase::get/setUnderline 2012-04-10 14:07:40 +01:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Julien Nabet
1ea28ebcf0 Dump MarkManager::dumpFieldmarks + extractIntFromAny from vbahelper 2012-04-08 13:13:31 +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
Takeshi Abe
643a582793 removed duplicate #includes
in vbahelper / writerfilter / writerperfect / xmlhelp / xmloff / xmlscript / xmlsecurity
2012-04-04 01:39:08 +09: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
9ce98add53 remove static OUStrings from static_initialization_and_destruction chain 2012-03-29 12:44:23 +01:00
Caolán McNamara
d41b5a88bd reduce over use of static OUStrings 2012-03-26 12:18:08 +01:00
Tor Lillqvist
2a1171929e chmod -x 2012-03-21 13:00:45 +02:00
Julien Nabet
7fbdd5ec03 Fix WaE : Add call to ScVbaControl::getForeColor() 2012-03-20 22:12:50 +01:00
Stephan Bergmann
88a7c524f2 More missing SAL_CALL 2012-03-20 21:26:53 +01:00
Stephan Bergmann
e1d52ccec3 Missing SAL_CALL 2012-03-20 21:16:52 +01:00
Noel Power
092d6d9d6f add vba support for BackColor, AutoSize, Locked attributes bnc#749960 2012-03-20 17:29:19 +00:00
Santiago Martinez
fdd3427a58 Removed unused code. 2012-03-08 11:17:08 +05:30
Noel Power
14620c3b33 support import of key shortcut for macro ( Excel only ) 2012-03-05 20:15:16 +00:00
Noel Power
75fbed472c vba implementation for Application.OnKey 2012-03-05 14:55:33 +00:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Julien Nabet
b8629e45c3 Fix "never read" reported by clang 2012-02-17 23:02:48 +01:00
Elton Chung
e99c70d268 Remove unused code 2012-02-05 18:21:07 +04:00
Elton Chung
9c06348b32 Remove unused code. 2012-02-05 16:40:03 +04:00
Olivier Hallot
7f585002c4 Fix for fdo43460 Part LVI getLength() to isEmpty()
Part LVI
Modules
vbahelper
2012-01-28 11:59:23 -02:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Eike Rathke
86adb5cacb get rid of class Date and Time default ctor with system time penalty 2011-12-01 21:04:29 +01:00
Korrawit Pruegsanusak
c0a9d3d3f9 typos fixing 2011-11-28 10:21:57 +07:00
Tor Lillqvist
8aeeb8eb06 WaE: class has virtual functions, but destructor is not virtual 2011-10-07 15:56:15 +03:00
Tor Lillqvist
fd5a9a65f0 WaE: unreachable code
Interesting use of for loops with the body of the loop returning
unconditionally.
2011-10-07 15:56:12 +03:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00