summaryrefslogtreecommitdiff
path: root/basic
AgeCommit message (Collapse)AuthorFilesLines
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold2-4/+4
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold1-3/+3
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-09coverity#705627: fix memory leakMarkus Mohrhard1-0/+1
Change-Id: I4f73f77b27d2ed28a9f97757105c8a6cc5521b33
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim3-0/+9
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08remove duplicate file loading from basic_coverage ( now in MacroSnippet )Noel Power1-32/+5
Change-Id: I1b19fec59419575fcf09d79986b6bac73ea51c9a
2013-03-08fix WAE mbError unusedNoel Power1-2/+0
Change-Id: I03bae6808008dcb0b53b1e816f3fe84739036773
2013-03-08some further OUString cleanupThomas Arnhold4-6/+5
Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605
2013-03-07doh! sReturnStrg is OUStringBuffer, no need to assignNoel Power1-1/+1
Change-Id: I490d20e8b494b4f59277b1cc92c73beb65a05813
2013-03-07fix String->OUString foobarNoel Power1-1/+1
Change-Id: Ia924e6e8f3cfa25b131185713699d64e9d339357
2013-03-07Add some stand alone vba specific tests ( mostly vba only functions )Noel Power11-0/+1309
Change-Id: I137e93a8af67b7eec4c51348caf3d0d03dbbce73
2013-03-07finally remove no long needed BasicTestBaseNoel Power1-29/+0
Change-Id: Ic1522b0c3a292af061f5777e06e796dd82884fbf
2013-03-07Nested_Struct should really inherit from test::BootstrapFixtureNoel Power1-2/+2
Change-Id: I06255940f41c32493187d1ec847f7238fef4e9f8
2013-03-07adapt existing tests to use MacroSnipper helper classNoel Power3-193/+75
Change-Id: I50980d9510b82277a5da04cc4f6c1d3ec8e7c756
2013-03-07use "doUnitTest" as the method to search for, tweak error reportingNoel Power1-3/+5
Change-Id: I0c0f4ce1304b561bf94af5444c83d8920062568b
2013-03-07Create new Macro helper class to help invoking macros for unittestsNoel Power1-0/+137
Change-Id: Icc3cbfc3eae6ade037960497e7fe2addf1912897
2013-03-07fdo#46808, Convert singleton theMasterScriptProviderFactoryNoel Grandin1-25/+20
Change-Id: I647a02e552acdd354463fc46c13c5a73b1c90d09
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong3-34/+36
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-05Do not CPPUNIT_FAIL (which throws exceptions) from a destructorStephan Bergmann1-10/+3
...this is a sure way to std::terminate Change-Id: I8753b1b1d6594829ea529462aa0369e4f2f623d4
2013-03-04sal_Bool to boolTakeshi Abe1-1/+1
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04doubled namespacesThomas Arnhold1-3/+0
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04doubled includesThomas Arnhold2-3/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04remove unused and commented out codeThomas Arnhold2-32/+0
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-04don't do something different in dbgutil mode than productCaolán McNamara1-12/+7
Change-Id: Ibe0f41206ffaa3ff73018e49b4e710123c7fb14d
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold6-10/+10
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-02coverity: fix memory leakMarkus Mohrhard1-0/+1
Change-Id: I17a09015d98a98349571a35492d516724ae2daa9
2013-03-01coverity#736108: nesting level mismatchMarkus Mohrhard1-1/+4
Change-Id: I6e6a3baa5aba5591a40fd236e7a2056fb59d6977
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28coverity#705626 and coverity#705627: fix memory leakMarkus Mohrhard1-0/+1
Change-Id: I68f43d07798ccb3fc3a5ab438992ac74f4cd262a
2013-02-25loplugin: improve indentationThomas Arnhold3-10/+5
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25loplugin: unused variablesThomas Arnhold5-9/+1
Change-Id: I46a748bf2c54d15c0f5718901197f3b4c34b82bf
2013-02-23Fix typo accessable/accessibleJulien Nabet1-5/+5
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-23Fix typo seperated/separatedJulien Nabet1-1/+1
Change-Id: I133423de994b1befe246b6c921802428a3528202
2013-02-23Fix typo "paramater" -> "parameter" + remove some commented linesJulien Nabet1-1/+1
Change-Id: I1e6343fdcee91d23aacd776520e8bfdf81d411e4
2013-02-22coverity#707499 coverity#735400 coverity#738541Norbert Thiebaud1-21/+9
Change-Id: Idc00fe9ad5158043cf2eee652567581111c89177 Reviewed-on: https://gerrit.libreoffice.org/2277 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-22coverity#704204 Logically dead codeNorbert Thiebaud1-1/+1
Change-Id: I0a8dbbb3dbe7408e6f4d92c0bbebdaaa7d882f01 Reviewed-on: https://gerrit.libreoffice.org/2271 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-22coverity#982288 Logically dead codeNorbert Thiebaud1-4/+0
Change-Id: I4fb90cb00829bc4be7d050521215528de4748d76 Reviewed-on: https://gerrit.libreoffice.org/2245 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-19coverity#735398 Logically dead codeNorbert Thiebaud1-3/+3
Change-Id: Iadb7fbd8a1fb1c535a3ed78d4b2f7120b29aeb75 Reviewed-on: https://gerrit.libreoffice.org/2270 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-17coverity#707502 Uninitialized scalar variableCaolán McNamara1-1/+1
Change-Id: I38db032b2e9331170da9e8d84eaa85c894f9d8fb
2013-02-17coverity#707496 Uninitialized scalar variableCaolán McNamara1-2/+3
also... coverity#707497 Uninitialized scalar variable Change-Id: Ie3ac361685a52b23e088b78404ea4e013407fe2a
2013-02-16Move SyntaxHighlighter class from svtools to comphelperAndras Timar1-1/+0
We use this class in helpcompiler, and it is not desirable to compile svtools (thus half of LibreOffice) for a build tool in cross-compiling environment. Change-Id: I5e6bc3e576af41eb03c1420dd347c542306f69fa
2013-02-12Some cppcheck cleaningJulien Nabet1-2/+1
Change-Id: Idb380dbb7470dbdb371778ba0c486392cc55380e
2013-02-12Fix Variable 'TimeBuffer' is not assigned a valueJulien Nabet1-0/+1
See http://nabble.documentfoundation.org/Cppcheck-TimeBuffer-is-not-assigned-a-value-in-basic-module-td4036591.html Change-Id: I2d67cecf3530301d49c43bbe397c5e975b2816b0
2013-02-11blind wae fix for PPUNIT_ASSERT_EQUALNoel Power1-5/+8
Change-Id: I0842e354fb766ebbbf2cff57a410a38fb8b8d3b1
2013-02-11fix basic access to nested uno structures fdo#60117Noel Power2-8/+247
Although basic might appear to correctly change nested struct elements fdo#60117 shows that basic can be fooled ( and even the watch(ed) variable in the debugger shows the expected values ). The problem stems from the fact that the uno object held by basic isn't infact modified when changed via the introspection uno service. Additionally pimp the existing tests to check the actual uno struct to see if the changes made are *really* reflected in the object Change-Id: Iff007e17df87148ea81e69d3567c8cf9857fdcaa
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin1-8/+2
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-11fdo#46808, Use service constructor for awt::DialogProviderNoel Grandin1-7/+4
Change-Id: I5d0a3e66afeadafa6d53ff0a255d036b7e3d528d
2013-02-05fix for fdo#60065Noel Power2-0/+25
squash errors trying to gain object for rhs ( where no object yet exists ( Change-Id: I81548d1c6a32f0445dc18e31c84c3df85163ed45
2013-01-30make basic XubString freeCaolán McNamara1-2/+2
Change-Id: Iea5c01fe902b052a55c86ca3b879bcca12c80690
2013-01-28fdo#46808, Convert SvNumberFormatter to use XComponentContextNoel Grandin4-18/+5
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-28fdo#46808, Adapt document::GraphicObjectResolver UNO service to new styleNoel Grandin1-8/+6
The services already existed, it just did not have an IDL file Change-Id: I245f78c165dbfde11a981efd7033c5c282f4e8ad