summaryrefslogtreecommitdiffstats
path: root/vbahelper
Commit message (Collapse)AuthorAgeFilesLines
* Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann2014-03-2737-443/+443
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
* coverity#982489 Unchecked dynamic_castCaolán McNamara2014-03-191-1/+1
| | | | Change-Id: I6211295884a2ddd4d2b1bfa2a9e1c2d31e6559da
* xmloff,vbahelper: prefer passing OUString and OString by referenceNoel Grandin2014-03-135-10/+9
| | | | Change-Id: I8b7e4284c122549c03edaa7f3963cbfb2024b3fc
* Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann2014-03-071-2/+2
| | | | | | ...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2669-830/+830
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from vbahelperAlexander Wilms2014-02-2610-15/+15
| | | | | | | Change-Id: I068c2a73a3ae487aff7c5451545d3e0aee50b1da Reviewed-on: https://gerrit.libreoffice.org/8338 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-233-12/+12
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* ScVbaButton -> VbaButton in vbahelper, the same name is in sc/source/ui/vba.Matúš Kukan2014-02-213-23/+23
| | | | Change-Id: Id85002ba80335a2a7c662cb1189ecabb05bbf8b9
* coverity#707460 Uncaught exceptionCaolán McNamara2014-02-131-1/+2
| | | | Change-Id: I8157893addbf805a18deac5034098dfda125a631
* Introduce com.sun.star.ui.theWindowStateConfiguration singleton.Matúš Kukan2014-02-061-2/+2
| | | | Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409
* coverity#735370 : signed/unsigned mixupNorbert Thiebaud2014-01-311-2/+3
| | | | Change-Id: I98366335430ba5ede4e46e1e9ec6488739e2099a
* Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.Matúš Kukan2014-01-301-2/+2
| | | | Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
* bool improvementsStephan Bergmann2014-01-281-1/+1
| | | | Change-Id: I7b599df68b5004b5a1c9e5328e40d07bf3f388b4
* coverity#738968 Unused pointer valueCaolán McNamara2014-01-271-3/+2
| | | | Change-Id: I0fabc525f5c052823946da93587ff1caaada9ab1
* bool improvementsStephan Bergmann2014-01-221-2/+1
| | | | Change-Id: I9eebb02ff295bf5713ce39fabd38a7a0d10b89f4
* Fix syntax errorTor Lillqvist2014-01-071-1/+1
| | | | Change-Id: I3967658c001479d0adc7a0f60dea97d1c0c64eb2
* remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin2014-01-071-9/+9
| | | | | | | | | Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
* typo fixesAndras Timar2013-12-201-1/+1
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-171-2/+2
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* Do not use C++-UNO internal static_type functions in client codeStephan Bergmann2013-12-129-15/+15
| | | | | | ...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-191-1/+1
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* Move MediaDescriptor from comphelper to unotoolsStephan Bergmann2013-11-141-3/+3
| | | | | | ...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
* remove unnecessary sal_Unicode casts in various placesNoel Grandin2013-11-141-2/+2
| | | | Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
* Accelerate checking for VBA macros that are not there.Michael Meeks2013-11-111-9/+10
|
* Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin2013-10-312-2/+2
| | | | | | | | | | | | | | | | | | | | | | This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
* fixincludeguards.sh: vbahelperThomas Arnhold2013-10-2330-83/+99
| | | | Change-Id: Ib744fe11590c3c03b55606fa9746cd7ed522ab2f
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-221-1/+1
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* CID#708571 uninitialized membersCaolán McNamara2013-10-071-1/+4
| | | | Change-Id: I786b81d0982e814a9f9f8d88cb724042de7cfd81
* Spell "indices" correctlyTor Lillqvist2013-10-022-6/+6
| | | | Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
* WaE: unused variableTor Lillqvist2013-10-021-1/+0
| | | | Change-Id: I1d7fdcdeed30288e7fff37c8a68cfe93137b5948
* convert remains of String to vbahelper module to OUStringNoel Grandin2013-10-011-3/+3
| | | | Change-Id: Ibbecdd1c28ba078e1031ec6185beaff05b6d8b6e
* typo fixes in commentsAndras Timar2013-09-262-2/+2
| | | | Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-214-11/+11
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* remove OUString wrap for string literalsThomas Arnhold2013-06-294-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* re-base on ALv2 code. Includes:Michael Meeks2013-06-032-42/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
* Parse workbook name correctly, don't fall over spaces etc.Noel Power2013-05-092-5/+11
| | | | Change-Id: I26213e4202ea2f2d15014ca722ab7878aa09cbf1
* support UserForm.Visible attributeNoel Power2013-05-092-0/+20
| | | | Change-Id: I6e5a9d3e7908349a76a73a79b3b1319b44e1e3aa
* support Shape.AlternativeNoel Power2013-05-091-0/+16
| | | | Change-Id: I6d822ef0d06e222f454c1279be16e33bcaae0037
* tweak combox to selectively fire change or click eventNoel Power2013-05-091-1/+9
| | | | | | | we need to fire a click event if just the item in the dropdown changed and a change event if the item we changed is really part of the list Change-Id: I19f950fca0857761d8f59a07513803f1f3ef135b
* support api initiated change_event for combox & textboxNoel Power2013-05-092-0/+7
| | | | Change-Id: Iff51a184792e9d12accb902df1772fc07589443b
* fix contrast not increment to limit value between 0.0 & 1.0Noel Power2013-05-091-5/+5
| | | | Change-Id: I1a8c08fb8f704e69ae1ae75d77784f07a1d99a12
* Setting TEXT causes exception, don't do itNoel Power2013-05-091-2/+1
| | | | Change-Id: Idc5614a80e6e45d12f1323ffa9843c7fa7f9576e
* ListBox.MultiSelection takes fmMultiSelect enum not boolNoel Power2013-05-092-6/+22
| | | | Change-Id: Ic9ea60feadc551b232b393faafea9760cc3b82f0
* fix TextBox value error, MaxLength is long in vba but short in libreofficeNoel Power2013-05-091-3/+4
| | | | Change-Id: I550fe6833f240d085fadf55ab8d9421947318eef
* tweak vba Control implementation to aritificially fire events from apiNoel Power2013-05-092-3/+6
| | | | | | | | Previouslly there were some internal methods to allow event handlers to be triggered. To test some functionality from the unit tests we now expose some of that functionality via uno. Change-Id: I11022226260d3dacd82f42ce89413102ce34cc13
* create togglebutton class ( for togglebutton on sheet )Noel Power2013-05-091-1/+8
| | | | Change-Id: If987eb6ed04d80e62b4b418e8f9de3a143ef68a7
* handle bool value for checkbox, radiobutton, togglebutton consistentlyNoel Power2013-05-093-18/+22
| | | | Change-Id: I1f9057e58fe3625e0b76a09d79c7c56e1838d98a
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-2/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2323-2119/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* Revert "add missing include"Bjoern Michaelsen2013-04-161-1/+0
| | | | This reverts commit 6b08209ae4cebe9c71fe5496499f2e9a4d42def3.