summaryrefslogtreecommitdiff
path: root/basic/source
AgeCommit message (Collapse)Author
2014-03-27basic: sal_Bool->boolNoel Grandin
Change-Id: Id4952b6f97f9e8f917fea5651dee91499d109e48
2014-03-27basic: sal_Bool->boolNoel Grandin
Change-Id: Idfe18863b2c6f60da5192d661f66e85a2bac09e5
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26Split TYPEINFO into plain and TYPEINFO_OVERRIDEStephan Bergmann
...where the latter contains SAL_OVERRIDE annotations Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
2014-03-25osl_setDetailedDebugMessageFunc is effectively doing nothingStephan Bergmann
...since the osl/diagnose.h macros got rebased onto sal/log.hxx, so remove the corresponding tools/debug.h functionality. Change-Id: Ife4b5b1a2608230d0dbfc3fa8852243c89ed292f
2014-03-25These DbgOutf calls do not seem worth keepingStephan Bergmann
Change-Id: I6da5848ee2d1d23f921e56ac2eae09c6f148ebbd
2014-03-25Adapt to sal/log.hxxStephan Bergmann
Change-Id: Ibb4549bcca6dd93ae31ef84fbb34f5054d50fe7b
2014-03-25Adapt to sal/log.hxxStephan Bergmann
Change-Id: Ie90467573a2e0fb2da227c58ce2e89ab2318eb04
2014-03-25Avoid possible resource leaks by boost::scoped_arrayTakeshi Abe
Change-Id: I14e1f7ef217eb5e8e9db9f8962af868ab0a4ab81
2014-03-19convert OUString::match to OUString::endsWithNoel Grandin
Convert code like: rTxt.match( "---", rTxt.getLength()-3 ) to: rTxt.endsWith( "---" ) Change-Id: Iada74c5e714f7234f25b326526843a36255d5599
2014-03-13basic: prefer passing OUString and OString by referenceNoel Grandin
Change-Id: I8121204cdb37d4e1d8967397f3e45bdab6aaddad
2014-03-10basic: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I7f0d75c5eaa62f012cb2ae19c5107c09cbc6936a
2014-03-07Introduce com.sun.star.beans.theIntrospection singletonStephan Bergmann
...deprecating com.sun.star.beans.Introspection (single-instance) service. Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-02-28remove unused code in basic/CodeCompleteDataCacheNoel Grandin
Specifically: CodeCompleteDataCache::GetVars() const CodeCompleteDataCache::SetVars(boost::unordered_map const&) CodeCompleteDataCache::print() const Change-Id: I59fb6f50ff47747c3cac959302bf6b7c4f4d79d3
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25Remove visual noise from basicAlexander Wilms
Change-Id: I10865b94f67de39e9dbcbe71ede42aa94d81db61 Reviewed-on: https://gerrit.libreoffice.org/8234 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25basic: remove use of sal_uIntptr in favor of more appropriate typeNorbert Thiebaud
Change-Id: Ie878f43c7245838519fe7477b039827b079dde63 Reviewed-on: https://gerrit.libreoffice.org/8214 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-24Remove some temporaries around calls to SvNumberFormatter methodsMatteo Casalin
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-23Remove unneccessary commentsAlexander Wilms
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-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20svl: sal_Bool -> boolStephan Bergmann
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-12more SvStream:operator>> conversionNoel Grandin
Convert the template based read_lenPrefixed methods to regular methods. Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019 Reviewed-on: https://gerrit.libreoffice.org/7895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12fix crash when importing unsupported macro content, related fdo#59374Markus Mohrhard
Change-Id: I960c8174454074fd9ddb27fb17244d782c4cb24c
2014-02-07Simplify access to theCoreReflection singletonStephan Bergmann
Change-Id: I9901991a320b87895230a92095c9c7d3109380a6
2014-02-06typo fixes in commentsAndras Timar
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06Typo: applictaion -> applicationJulien Nabet
Change-Id: I2d578cb417bb1e814dcf3007f500fe8ff77510f7
2014-02-05basic: _FIND_STATIC likely not an error in SbiExprNode::GenElement()Michael Stahl
All other _FIND_* are explicitly not errors, and probably CWS npower10 forgot to adapt this assertion. Change-Id: If721c275eb1bc31d76140898602b41e11c23d82e Reviewed-on: https://gerrit.libreoffice.org/7863 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2014-02-04Related: #i123862# use O*String's isEmpty() method...Herbert Dürr
to check for emptiness in modules starting with 'b' Patch-by: j.nitschke@ok.de Review-by: hdu@apache.org (cherry picked from commit 87204b0f4062ef8fc8f138ad15f4378da609d4e2) Conflicts: basctl/source/basicide/baside2.cxx basctl/source/basicide/bastype2.cxx basctl/source/basicide/localizationmgr.cxx basctl/source/dlged/dlgedobj.cxx basic/source/basmgr/basmgr.cxx basic/source/basmgr/vbahelper.cxx basic/source/classes/sbunoobj.cxx basic/source/comp/sbcomp.cxx basic/source/runtime/iosys.cxx basic/source/runtime/methods.cxx basic/source/runtime/methods1.cxx basic/source/runtime/step2.cxx basic/source/uno/namecont.cxx basic/source/uno/scriptcont.cxx binaryurp/source/bridge.cxx binaryurp/source/bridgefactory.cxx binaryurp/source/reader.cxx binaryurp/source/unmarshal.cxx bridges/source/cpp_uno/cc50_solaris_intel/except.cxx bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx bridges/source/cpp_uno/shared/vtablefactory.cxx bridges/source/jni_uno/jni_data.cxx Change-Id: I37bd84e0a1d6426759dba81854faf32c88147fe1
2014-02-03some more continuous correctionsThomas Arnhold
2014-01-30fdo#63154 Removed unused solar.h ref. in basic, cui, forms and writerfilter.Alexandre Vicenzi
Change-Id: I09cca73d8d77af259965e74e1b29a88aa5c315ab Reviewed-on: https://gerrit.libreoffice.org/7731 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-28bool improvementsStephan Bergmann
Change-Id: I571354540f1ab108c55d32c20786d34a799c3bed
2014-01-28coverity#738565 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie969773240bd7ecdcf56d7c533010d0aa32872c8
2014-01-27coverity#441077 Dereference after null checkCaolán McNamara
Change-Id: Ia6a04846068e0bc500942e9a2dc6ee2e72d9d527
2014-01-27coverity#984078 Uninitialized scalar fieldCaolán McNamara
Change-Id: I36b4a8c7d047f392fdbbe167a0e801b9a6d80b03
2014-01-27coverity#707652 Uninitialized scalar fieldCaolán McNamara
Change-Id: I6d561955454b0619255296704812b41a10ffe962
2014-01-27coverity#707651 Uninitialized scalar fieldCaolán McNamara
Change-Id: I6e497d60e72efd1df6c271ce6bf8d5e46ba09ea7
2014-01-27coverity#707650 Uninitialized pointer fieldCaolán McNamara
Change-Id: I6843ce28f3e1395a2ab3c5515f393cce5096674b
2014-01-27coverity#707649 Uninitialized scalar fieldCaolán McNamara
Change-Id: I1a95a051463860dc9c7b087bfaf17f3b70f297ee
2014-01-24coverity#736909 Allocation too small for typeCaolán McNamara
Change-Id: I330ebdfd94d0c30b40e180e307d7543c09fd334b
2014-01-24coverity#736908 Allocation too small for typeCaolán McNamara
Change-Id: Ic41c5071957f5e95322971f8ec3ef864edecdb20
2014-01-24coverity#706117 Allocation too small for typeCaolán McNamara
Change-Id: I1bb2bd26e533cf5b7de5225f0bcf323446e69f63
2014-01-22remove SvStream::operator<< methodsNoel Grandin
.. and convert the last few places still using those methods. Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd Reviewed-on: https://gerrit.libreoffice.org/7495 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-22convert more SvStream::operator<< callsNoel Grandin
.. to more explicit SvStream::Write* calls This was done using another run of the clang rewriter, and then a lot of hand tweaking to fix all the places where the rewriter did not play nice with various macros. Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18 Reviewed-on: https://gerrit.libreoffice.org/7494 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-21bool improvementsStephan Bergmann
Change-Id: I64288207adb083e006b4acc5e7f26d647236a443
2014-01-21Resolves: fdo#73771 Non-standard behaviour for Function MidJulien Nabet
Change-Id: I90be516235228574dc219447a0eef3a34f83bee2 Reviewed-on: https://gerrit.libreoffice.org/7539 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-19how should I fix this memory leak??Markus Mohrhard
2014-01-19CID#706118: possibly invalid castMarkus Mohrhard
2014-01-17Whatever those "true" arguments to SotStorage ctor may once have meantStephan Bergmann
...is lost to history, but they are effectively equivalent to pssing default SorageMode nStorageMode = 0 today, as the only thing that is done with that nStorageMode value (in SotStorage::CreateStorage, sot/source/sdstor/storage.cxx) is to compare it against STORAGE_TRANSACTED (0x04) STORAGE_CREATE_UNPACKED (0x44). Change-Id: I6ce79c03aff941b5abb5370e52a30b2294690b3a
2014-01-17fdo#73698 check for empty aOutAndras Timar
Change-Id: I0da26ef746553618bd8aee69f21ff0d1261efbf6 Reviewed-on: https://gerrit.libreoffice.org/7474 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>