Commit Graph

174 Commits

Author SHA1 Message Date
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
Caolán McNamara
81c5bd4bd2 WaE: unused variable 2011-09-06 16:28:27 +01:00
Matúš Kukan
ad814e27cf unusedcode: vbahelper::CollectionBase class 2011-09-05 20:01:57 +02:00
Caolán McNamara
71fcd819d5 catch by const ref 2011-08-26 15:32:35 +01:00
Caolán McNamara
095c493edd WaE: drop unused ctor argument 2011-08-23 14:38:00 +01:00
Noel Power
4e0691b9b3 merge foobars? fix broken MultiPage api, also fix broken api change events 2011-08-23 13:18:24 +01:00
Kohei Yoshida
c8f40655ea Keep the container and object separate methods.
ScVbaControl doesn't have any container instance to pass to the
old method.
2011-08-16 21:22:44 -04:00
Kohei Yoshida
80b1e66277 Added XPropertySet2 to allow disabling of change event notifications.
Sometimes broadcasting changes to the property set on every new
value insertion makes no sense especially during import.  Turning
that off also improves performance especially when inserting millions
of property values.
2011-08-16 21:22:43 -04:00
Julien Nabet
1f7b66104d Some cppcheck cleaning 2011-07-31 00:02:18 +02:00
Matúš Kukan
a90983bd65 Remove component_getImplementationEnvironment methods 2011-07-12 17:59:13 +02:00
Caolán McNamara
75705b69c0 catch by const reference 2011-06-16 09:15:37 +01:00
Caolán McNamara
698bf10b4b createFromAscii -> RTL_CONSTASCII_USTRINGPARAM 2011-06-13 11:43:07 +01:00
Jan Holesovsky
9df8682ced Merge remote-tracking branch 'origin/integration/dev300_m106'
Conflicts:
	basic/source/classes/sbunoobj.cxx
	basic/source/inc/runtime.hxx
	basic/source/runtime/step1.cxx
	desktop/source/deployment/dp_services.cxx
	drawinglayer/prj/d.lst
	drawinglayer/source/primitive2d/makefile.mk
	sfx2/source/appl/appinit.cxx
	sfx2/source/appl/appquit.cxx
	sfx2/source/inc/appdata.hxx
	sfx2/source/view/viewfrm.cxx
	svx/source/fmcomp/gridctrl.cxx
	vbahelper/source/vbahelper/vbahelper.cxx
2011-05-27 20:46:20 +02:00
Jan Holesovsky
a79c69155e vbahelper builds after the m106 merge. 2011-05-23 17:27:25 +02:00
Christian Lohmaier
b993b1e905 WaE - add explicit casting (decimal-types → integer types) 2011-05-16 23:29:02 +02:00
Thorsten Behrens
f51c3f66b1 Merge commit 'ooo/DEV300_m106' into integration/dev300_m106
Conflicts:
	avmedia/source/gstreamer/gstframegrabber.cxx
	avmedia/source/gstreamer/gstplayer.cxx
	avmedia/source/gstreamer/gstplayer.hxx
	basic/inc/basic/sbxdef.hxx
	basic/source/classes/sbxmod.cxx
	basic/source/comp/makefile.mk
	basic/source/comp/sbcomp.cxx
	basic/source/inc/namecont.hxx
	basic/source/inc/scriptcont.hxx
	basic/source/runtime/methods.cxx
	basic/source/runtime/runtime.cxx
	basic/source/runtime/stdobj.cxx
	basic/source/runtime/step1.cxx
	basic/source/uno/namecont.cxx
	basic/util/makefile.mk
	connectivity/source/commontools/predicateinput.cxx
	connectivity/source/drivers/dbase/DNoException.cxx
	connectivity/source/drivers/dbase/DTable.cxx
	connectivity/source/drivers/file/fcomp.cxx
	connectivity/source/drivers/jdbc/JConnection.cxx
	connectivity/source/drivers/odbcbase/OResultSet.cxx
	connectivity/source/drivers/odbcbase/OStatement.cxx
	connectivity/source/parse/sqlnode.cxx
	desktop/source/app/app.cxx
	drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx
	drawinglayer/source/processor2d/vclprocessor2d.cxx
	formula/inc/formula/token.hxx
	formula/source/core/api/token.cxx
	fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
	fpicker/source/win32/filepicker/platform_vista.h
	framework/source/helper/persistentwindowstate.cxx
	framework/source/uielement/menubarmanager.cxx
	oovbaapi/ooo/vba/XFoundFiles.idl
	oovbaapi/ooo/vba/excel/XApplication.idl
	oovbaapi/ooo/vba/msforms/XCheckBox.idl
	oovbaapi/ooo/vba/msforms/XComboBox.idl
	oovbaapi/ooo/vba/msforms/XControl.idl
	oovbaapi/ooo/vba/msforms/XGroupBox.idl
	oovbaapi/ooo/vba/msforms/XLabel.idl
	oovbaapi/ooo/vba/msforms/XListBox.idl
	oovbaapi/ooo/vba/msforms/XNewFont.idl
	oovbaapi/ooo/vba/msforms/XRadioButton.idl
	oovbaapi/ooo/vba/msforms/XTextBox.idl
	oovbaapi/ooo/vba/msforms/XToggleButton.idl
	scripting/source/dlgprov/dlgevtatt.cxx
	sfx2/source/control/unoctitm.cxx
	sfx2/source/doc/objstor.cxx
	sfx2/source/doc/objxtor.cxx
	svx/inc/svx/svdograf.hxx
	svx/source/form/fmpage.cxx
	svx/source/form/fmpgeimp.cxx
	svx/source/svdraw/svdedtv.cxx
	svx/source/svdraw/svdfmtf.cxx
	svx/source/svdraw/svdograf.cxx
	svx/source/svdraw/svdouno.cxx
	svx/source/xml/xmlgrhlp.cxx
	uui/source/iahndl-ssl.cxx
	vbahelper/Library_msforms.mk
	vbahelper/Library_vbahelper.mk
	vbahelper/inc/vbahelper/vbahelper.hxx
	vbahelper/prj/build.lst
	vbahelper/source/msforms/vbacombobox.cxx
	vbahelper/source/msforms/vbacontrol.cxx
	vbahelper/source/msforms/vbacontrols.cxx
	vbahelper/source/msforms/vbaframe.cxx
	vbahelper/source/msforms/vbaframe.hxx
	vbahelper/source/msforms/vbalabel.cxx
	vbahelper/source/msforms/vbalabel.hxx
	vbahelper/source/msforms/vbalistbox.cxx
	vbahelper/source/msforms/vbalistbox.hxx
	vbahelper/source/msforms/vbamultipage.cxx
	vbahelper/source/msforms/vbatogglebutton.cxx
	vbahelper/source/msforms/vbauserform.cxx
	vbahelper/source/vbahelper/vbacommandbar.cxx
	vbahelper/source/vbahelper/vbacommandbarcontrol.cxx
	vbahelper/source/vbahelper/vbacommandbarcontrols.hxx
	vbahelper/source/vbahelper/vbahelper.cxx
	vbahelper/source/vbahelper/vbawindowbase.cxx
	xmloff/source/meta/xmlmetai.cxx
	xmloff/source/style/PageMasterExportPropMapper.cxx
	xmloff/source/style/PageMasterStyleMap.cxx
	xmloff/source/text/txtexppr.cxx
	xmloff/source/text/txtprmap.cxx
2011-04-28 00:12:58 +02:00
Francisco Saito
e60d365c86 drop bogus executable flag from [ch]xx/bas/asm files 2011-03-29 21:40:28 +01:00
Daniel Rentz [dr]
851d6112c1 calcvba: try to extract different types as numeric index 2011-03-28 12:43:38 +02:00