Commit Graph

68 Commits

Author SHA1 Message Date
Noel Power
e14a251c2d squash NoSuchElementExceptions when modifying keybindings
Change-Id: I37882845660929e0001a834b6685a4087dfb465f
2013-04-05 17:15:01 +01:00
Thomas Arnhold
39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms

Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 10:48:30 +00:00
Stephan Bergmann
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01:00
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
Thomas Arnhold
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
Michael Stahl
7fe270b571 warning C4273: sbxToUnoValue: inconsistent dll linkage
Change-Id: I4677038ea4c702dfcea70a018c119ed31bb2cc60
2012-12-04 19:56:51 +01:00
Michael Meeks
16155fdc39 re-base on ALv2 code. Includes:
Patches contributed by Herbert Duerr
    i#118735 prevent endless loop if vlookup/hlookup doesn't find anything
    http://svn.apache.org/viewvc?view=revision&revision=1239673

    Patches contributed by Andre Fischer
    remove lp_solver
    http://svn.apache.org/viewvc?view=revision&revision=1199180
    i#118160: Added external CoinMP library.
    http://svn.apache.org/viewvc?view=revision&revision=1233909

    Patches contributed by Armin Le-Grand
    i#118485 - Styles for OLEs are not saved.
    http://svn.apache.org/viewvc?view=revision&revision=1182166
    i#118524: apply patch, followup fixes to 118485
    http://svn.apache.org/viewvc?view=revision&revision=1186077

    Patches contributed by lihuiibm
    i#108860 - Fix range validation.
    http://svn.apache.org/viewvc?view=revision&revision=1242846
    i#118954 Chart data will lost after copy to different file
    http://svn.apache.org/viewvc?view=revision&revision=1301345

    Patches contributed by Ariel Constenla-Haile
    Fix Linux build breaker: extra qualification on member
    http://svn.apache.org/viewvc?view=revision&revision=1301591
    i#118696 - i#118697 - Fix some Sheet Tab Color API issues
    http://svn.apache.org/viewvc?view=revision&revision=1225428
    i#118697 - Fix uninitialized variable
    http://svn.apache.org/viewvc?view=revision&revision=1225859
    i#118771 - ScUndoImportTab should preserve tab background color
    http://svn.apache.org/viewvc?view=revision&revision=1230356
    i#118921 - Repaint linked sheet tab background color after updating link
    http://svn.apache.org/viewvc?view=revision&revision=1245177
    i#118927 - Undo/Redo "Update Link" does not reset sheet tab color
    http://svn.apache.org/viewvc?view=revision&revision=1245241
    i#118747 - Copy tab color when transferring sheets across documents
    http://svn.apache.org/viewvc?view=revision&revision=1230355

    Patch contributed by Oliver Rainer-Wittman
    i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and
    <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container
    iteration in order to avoid destroyed iterators during iteration.
    http://svn.apache.org/viewvc?view=revision&revision=1297916

    Patches contributed by Mathias Bauer
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    http://svn.apache.org/viewvc?view=revision&revision=1396797
    http://svn.apache.org/viewvc?view=revision&revision=1397315

    Patch contributed by Daniel Rentz
    calc69: #i116936# fix VBA symbol Cells
    http://svn.apache.org/viewvc?view=revision&revision=1172135

    Patches contributed by leiw:
    i#118546 CPU 100% on switched off AutoCalculate with Conditional
    Formatting on date values
    http://svn.apache.org/viewvc?view=revision&revision=1301380

Re-add new function documentation. Many various cleanups.
Add missing calc66: #o11817313# also look at formula result
number format, remove redundant binaries.
2012-12-04 07:17:12 +00:00
Daniel Rentz [dr]
191bf98991 calcvba: #164410# improve VBA compatibility implementation in various areas:
Excel symbols, MSForms symbols, document and forms event handling

Conflicts:
	sc/source/ui/docshell/docsh.cxx
	sc/source/ui/unoobj/docuno.cxx
	sc/source/ui/vba/vbaapplication.cxx
	sc/source/ui/vba/vbaapplication.hxx
	sc/source/ui/vba/vbaeventshelper.cxx
	sc/source/ui/vba/vbaglobals.cxx
	sc/source/ui/vba/vbarange.cxx
	sc/source/ui/vba/vbawindow.cxx
	sc/source/ui/vba/vbaworkbook.cxx
	sc/source/ui/vba/vbaworkbooks.cxx
	sc/source/ui/vba/vbaworksheets.cxx
	sc/util/makefile.mk
2012-12-04 07:17:06 +00:00
Daniel Rentz [dr]
bf2fe6a502 dr80: #i117392# initialize VBAGlobals object if single Basic module is in VBA mode, do not expect existing parent sheet in implementation of Excel.Application.ActiveCell 2012-12-04 07:17:05 +00:00
Norbert Thiebaud
27239ad230 basic: String -> OUString
Change-Id: I42479b4bade5111e38d69f04c889c166f340d5ba
2012-11-07 02:14:53 -06:00
Luboš Luňák
f7a24eff2d mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html

Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-12 13:34:47 +02:00
Noel Power
4597483e00 targetted VBA re-work. 2012-09-12 12:49:49 +01:00
Albert Thuswaldner
933fd8adb8 Corrected max inital worksheet number in debughelper message
Change-Id: Icd40cc3bdc70e0ff55c82a6a4099411d1da47f56
2012-05-22 10:23:20 +02:00
Noel Power
101132c28a add stub vba implementation Application methods
added Application.DisplayExcel4Menus, Application.DisplayNoteIndicator, Application.ShowWindowsInTaskbar. Althought these attributes of the Application object don't do anything they allow setting and retrieval of the state. We could make a usable implementation for Application.DisplayNoteIndicator, the others though don't really seem to have any useful equivalent in the libreoffice world
2012-04-20 18:26:21 +01:00
Noel Power
f2cf3f30a7 vba api Application.DisplayScrollBars implementation bnc#757840 2012-04-20 18:26:21 +01:00
Noel Power
4fa65f95e8 implement VBA Application.DisplayFullScreen bnc#757885 2012-04-20 18:26:21 +01:00
Albert Thuswaldner
670db0daa2 Use global constants for initial tab count bounds checking 2012-04-18 14:57:52 -04:00
Albert Thuswaldner
27dda31347 Removed duplicate set/get methods for initial tab count 2012-04-18 12:26:09 +01:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Caolán McNamara
d41b5a88bd reduce over use of static OUStrings 2012-03-26 12:18:08 +01:00
Takeshi Abe
eedbe7163b removed duplicate includes in sc 2012-03-22 20:53:45 +09:00
Julien Nabet
638f68e68a Fix Prefer prefix ++/-- operators for non-primitive types 2012-03-10 19:57:24 +01:00
Takeshi Abe
dcd7dc4337 avoid temporary rtl::OUString 2012-02-23 03:21:40 +09:00
Takeshi Abe
3006397439 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-21 01:07:21 +09:00
Olivier Hallot
49e11ffbe1 Fix for fdo43460 Part XXX getLength() to isEmpty()
Part XXX
Modules
sc
2012-01-07 07:37:38 -02:00
Tor Lillqvist
2a0a3a15b9 WaE: inconsistent dll linkage 2011-10-10 12:53:22 +03:00
Michael Meeks
bb020b3ea8 use XFilePicker2 regardless of service, if possible, it is far more sane 2011-07-25 21:50:52 +01:00
Caolán McNamara
73de7fa2cc catch by const reference 2011-06-21 09:11:10 +01:00
Jan Holesovsky
e713f1ec23 Merge remote-tracking branch 'origin/integration/dev300_m106' 2011-05-24 15:03:17 +02:00
Kohei Yoshida
dd7605f990 Got it to build. Mostly VBA stuff but no idea what kind of shape it is in. 2011-05-23 23:54:21 -04:00
Kohei Yoshida
eac91db8a2 Merge branch 'libreoffice-3-4'
Conflicts:
	sc/CppunitTest_sc_ucalc.mk
	sc/Module_sc.mk
	sc/qa/unit/ucalc.cxx
	sc/source/core/tool/dbcolect.cxx
	sc/source/filter/excel/excimp8.cxx
	sc/source/filter/inc/excimp8.hxx
	sc/source/ui/docshell/impex.cxx
	sc/source/ui/unoobj/datauno.cxx
2011-05-09 23:47:24 -04:00
Francois Tigeot
0be38078bf Remove OS/2 support 2011-04-25 08:15:30 +02:00
Markus Mohrhard
48b23fbd5e fix cast to implementation objects failure from some vba objects
old calls attempting to cast to implementation objects now fail ( and crash on access ) because we now wrap some objects via a aggregation proxy. This patch fixes this
2011-04-07 17:14:41 +01:00
Michael Meeks
970dfb78ae more merge fixes, compiles and links now 2011-03-15 09:56:18 +00:00
Kohei Yoshida
12343c1556 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-10 20:21:13 -05:00
Thomas Arnhold
0787bb32a9 Replace empty equalsAscii() with getLength(). 2011-01-28 15:19:39 +01:00
Thomas Arnhold
584150cc3c Replace suitable equalsAscii calls with equalsAsciiL.
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
2011-01-20 10:29:32 +01:00
Thomas Arnhold
cb2edbe3e4 Replace suitable equalsAscii calls with equalsAsciiL. 2011-01-19 23:12:18 +01:00
Thomas Arnhold
7a7f65e24e Removed some dead lines, dates and commit notes. Thanks to liuchen, limingl, minz@cn.ibm.com and Amelia Wang for their commits! 2011-01-18 12:32:29 -05:00
Frank Schoenheit [fs]
74dfed04ee undoapi: merged after pulling DEV300_m96. Most probably still not buildable:A number of changes which happened in the CWS need to be redone due to the new build system 2010-12-23 10:01:58 +01:00
Joseph Powers
6eefbb4bee Remove another DECLARE_LIST() from Calc
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
2010-12-09 18:05:21 -05:00
Joost Eekhoorn
d49977f3ba Replace rtl::OUString::createFromAscii with RTL_CONSTASCII_USTRINGPARAM. 2010-11-01 22:22:17 -04:00
Frank Schoenheit [fs]
3da9580378 undoapi: Enter/LeaveBasicCall are no-ops nowadays - removed 2010-11-01 15:32:50 +01:00
Noel Power
65389fcbb7 Merge commit 'origin/master' fix conflicts and more trailing ws
Conflicts:
	sc/source/ui/undo/undodat.cxx
	sc/source/ui/vba/excelvbahelper.cxx
	sc/source/ui/vba/vbadialog.cxx
	sc/source/ui/vba/vbahelper.cxx
	sc/source/ui/vba/vbapagesetup.cxx
2010-10-13 12:41:26 +01:00
Sebastian Spaeth
63bb42ab7d Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:18 +02:00
Noel Power
f13fd7b138 initial commit for vba blob ( not including container_control stuff ) 2010-10-06 10:15:43 +01:00
Daniel Rentz [dr]
bbf445b024 mib19: #163640# do not fire selection change events when changing/insertintg/deleting sheets 2010-09-15 14:11:13 +02:00
Niklas Nebel
f84ff82a7f mib19: #163625# for empty status bar text, call XStatusIndicator::end 2010-09-14 16:39:22 +02:00
Daniel Rentz [dr]
a7f5a052a8 mib19: #163557# make VBA Application settings globally available for all open workbooks 2010-09-13 17:41:51 +02:00
Daniel Rentz
5a6f0aa8c7 mib18: #163200# full rework of VBA symbols Application.Intersect and Application.Union 2010-08-04 16:00:21 +02:00