summaryrefslogtreecommitdiff
path: root/vbahelper/source
AgeCommit message (Collapse)AuthorFilesLines
2014-04-24coverity#707478 Uncaught exceptionCaolán McNamara1-1/+2
Change-Id: Ib967053b7d306d18c69843da39646d69540f081f
2014-04-24coverity#707479 Uncaught exceptionCaolán McNamara1-1/+3
Change-Id: I4a1c43dab2814ed66f1785b91ead76407e32de46
2014-04-23coverity#707461 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I73d469744605e788c3b5710b38ef846a444cff68
2014-04-19fixincludeguards.sh: scThomas Arnhold1-1/+1
sorry, huge one...
2014-04-15whitespace for include statementsThomas Arnhold2-8/+8
Change-Id: I76bd0ef07a2fa134e948724cecdf539ffe6ccb8a
2014-04-14Clean up function declarationsStephan Bergmann1-5/+2
Change-Id: I0602166c8e6485b68e06bbcc9f0064938facd3fa
2014-04-14no need for those static stringsThomas Arnhold12-101/+62
2014-04-12cppcheck: multiCondition, remove 2 duplicate "else if" blocksJulien Nabet1-4/+0
Change-Id: I538bacd0e52a5e7d5df9847ad4632e02124aeb95
2014-04-05fix colonCaolán McNamara1-1/+1
Change-Id: Ibeaa20a99d7b027dee26e591bb19bd61a3aed8a2
2014-04-05coverity#708570 Uninitialized scalar fieldCaolán McNamara1-1/+3
Change-Id: I0b5a12181d67db6b096807b7b32836214c71ebc8
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin15-49/+49
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03vbahelper: sal_Bool->boolNoel Grandin2-9/+9
Change-Id: Ic4bcc2fa02426e1995d08a6992cc5b35777c1c9a
2014-04-02coverity#1194895 Logically dead codeStephan Bergmann1-3/+1
Change-Id: I24e8ee88a1efdfaa7cedf996bd2d3bb05fbd4dc6
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann1-1/+1
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann37-443/+443
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-19coverity#982489 Unchecked dynamic_castCaolán McNamara1-1/+1
Change-Id: I6211295884a2ddd4d2b1bfa2a9e1c2d31e6559da
2014-03-13xmloff,vbahelper: prefer passing OUString and OString by referenceNoel Grandin5-10/+9
Change-Id: I8b7e4284c122549c03edaa7f3963cbfb2024b3fc
2014-03-07Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann1-2/+2
...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann69-830/+830
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from vbahelperAlexander Wilms10-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>
2014-02-23Remove unneccessary commentsAlexander Wilms3-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>
2014-02-21ScVbaButton -> VbaButton in vbahelper, the same name is in sc/source/ui/vba.Matúš Kukan3-23/+23
Change-Id: Id85002ba80335a2a7c662cb1189ecabb05bbf8b9
2014-02-13coverity#707460 Uncaught exceptionCaolán McNamara1-1/+2
Change-Id: I8157893addbf805a18deac5034098dfda125a631
2014-02-06Introduce com.sun.star.ui.theWindowStateConfiguration singleton.Matúš Kukan1-2/+2
Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409
2014-01-31coverity#735370 : signed/unsigned mixupNorbert Thiebaud1-2/+3
Change-Id: I98366335430ba5ede4e46e1e9ec6488739e2099a
2014-01-30Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.Matúš Kukan1-2/+2
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-28bool improvementsStephan Bergmann1-1/+1
Change-Id: I7b599df68b5004b5a1c9e5328e40d07bf3f388b4
2014-01-27coverity#738968 Unused pointer valueCaolán McNamara1-3/+2
Change-Id: I0fabc525f5c052823946da93587ff1caaada9ab1
2014-01-22bool improvementsStephan Bergmann1-2/+1
Change-Id: I9eebb02ff295bf5713ce39fabd38a7a0d10b89f4
2014-01-07Fix syntax errorTor Lillqvist1-1/+1
Change-Id: I3967658c001479d0adc7a0f60dea97d1c0c64eb2
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin1-9/+9
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2013-12-20typo fixesAndras Timar1-1/+1
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-12Do not use C++-UNO internal static_type functions in client codeStephan Bergmann9-15/+15
...use cppu::UnoType instead. Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin1-1/+1
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann1-3/+3
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin1-2/+2
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11Accelerate checking for VBA macros that are not there.Michael Meeks1-9/+10
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin2-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
2013-10-23fixincludeguards.sh: vbahelperThomas Arnhold30-83/+99
Change-Id: Ib744fe11590c3c03b55606fa9746cd7ed522ab2f
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist1-1/+1
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-07CID#708571 uninitialized membersCaolán McNamara1-1/+4
Change-Id: I786b81d0982e814a9f9f8d88cb724042de7cfd81
2013-10-02Spell "indices" correctlyTor Lillqvist2-6/+6
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02WaE: unused variableTor Lillqvist1-1/+0
Change-Id: I1d7fdcdeed30288e7fff37c8a68cfe93137b5948
2013-10-01convert remains of String to vbahelper module to OUStringNoel Grandin1-3/+3
Change-Id: Ibbecdd1c28ba078e1031ec6185beaff05b6d8b6e
2013-09-26typo fixes in commentsAndras Timar2-2/+2
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák4-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
2013-06-29remove OUString wrap for string literalsThomas Arnhold4-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>
2013-05-09Parse workbook name correctly, don't fall over spaces etc.Noel Power2-5/+11
Change-Id: I26213e4202ea2f2d15014ca722ab7878aa09cbf1
2013-05-09support UserForm.Visible attributeNoel Power2-0/+20
Change-Id: I6e5a9d3e7908349a76a73a79b3b1319b44e1e3aa
2013-05-09support Shape.AlternativeNoel Power1-0/+16
Change-Id: I6d822ef0d06e222f454c1279be16e33bcaae0037