summaryrefslogtreecommitdiff
path: root/basctl/source
AgeCommit message (Collapse)AuthorFilesLines
2014-03-28Remove remaining DBG_NAME* usesStephan Bergmann1-2/+0
...that had been used for DBG_CTOR, DBG_PROF, etc. Change-Id: I8eac38e24b7110511feb7813aaf5a20ab82bdbe0
2014-03-28Remove remaining DBG_CTOR etc. remnants from basctlStephan Bergmann7-91/+0
Change-Id: I383021580f69ac51ca65f3464bf863b800ccd931
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann32-335/+335
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-26Split TYPEINFO into plain and TYPEINFO_OVERRIDEStephan Bergmann10-11/+11
...where the latter contains SAL_OVERRIDE annotations Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
2014-03-25svtools: sal_Bool->boolNoel Grandin5-14/+14
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-19sfx2: sal_Bool->boolNoel Grandin3-7/+7
Change-Id: I73acb3a150b01114d32274a6842f6db9654b3e63
2014-03-18sfx2: sal_Bool->boolNoel Grandin2-6/+6
Change-Id: I375a72c34e46778385a9fdc24c9ebd0f0a3f3c9b
2014-03-17basct: prefer passing OUString by referenceNoel Grandin11-13/+14
Change-Id: Ide803f793e829767fad89ab2aef776ef24fedb37
2014-03-16sal_Bool to boolMatteo Casalin2-2/+2
Change-Id: Ib19ecab287396dc6d6cf4a77dcf7072c5c4c84f8
2014-03-14No need for a virtual OPropertyContainer::getTypesStephan Bergmann1-1/+1
(and rename to getBaseTypes for clarity) Change-Id: Icfe6202eea9b1f4ec2e46ade3fc8e001ca6b649f
2014-03-11No need for implGetBounds to be SAL_CALLStephan Bergmann2-2/+2
Change-Id: I4eb1f998de57a4ceeb7990c6e4a964ce0d07ea88
2014-03-11svx: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
2014-03-10basctl: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann1-11/+1
Change-Id: I422ec5b0ad485d1f74191d4bf713367aeb7a0a3d
2014-03-05made ListBox handle more than 64k elements, fdo#61520 relatedEike Rathke4-20/+20
ListBox and related now handle up to sal_Int32 elements correctly. sal_Int32 instead of sal_Size or size_t because of UNO and a11y API. Also disentangled some of the mess of SvTreeList and other containers regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures. Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a Reviewed-on: https://gerrit.libreoffice.org/8460 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-02-28sal_Bool -> bool in mostly vcl moduleChris Sherlock2-2/+2
Conflicts: include/vcl/settings.hxx svtools/source/table/tablecontrol_impl.cxx sw/source/core/frmedt/fecopy.cxx vcl/inc/canvasbitmap.hxx vcl/inc/headless/svpframe.hxx vcl/inc/unx/salframe.h vcl/inc/win/salframe.h vcl/inc/win/salprn.h vcl/inc/win/salvd.h vcl/osx/DragSource.cxx vcl/osx/DragSource.hxx vcl/osx/DropTarget.cxx vcl/osx/DropTarget.hxx vcl/osx/OSXTransferable.cxx vcl/osx/OSXTransferable.hxx vcl/osx/clipboard.cxx vcl/osx/clipboard.hxx vcl/osx/salprn.cxx vcl/qa/cppunit/canvasbitmaptest.cxx vcl/source/components/fontident.cxx vcl/source/control/edit.cxx vcl/source/control/spinfld.cxx vcl/source/gdi/gdimtf.cxx vcl/source/gdi/virdev.cxx vcl/source/helper/canvasbitmap.cxx vcl/source/window/dockwin.cxx vcl/unx/generic/dtrans/X11_selection.hxx vcl/unx/kde/UnxFilePicker.cxx vcl/unx/kde/UnxFilePicker.hxx vcl/unx/kde4/KDE4FilePicker.cxx vcl/unx/kde4/KDE4FilePicker.hxx vcl/unx/kde4/KDESalFrame.hxx Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0 Reviewed-on: https://gerrit.libreoffice.org/8219 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann18-166/+166
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25Remove visual noise from basctlAlexander Wilms34-155/+155
Change-Id: I3e6a238a0bafbb70a7c22bde1f2258b8014ed2d2 Reviewed-on: https://gerrit.libreoffice.org/8232 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 Thiebaud1-1/+1
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-23Remove unneccessary commentsAlexander Wilms19-565/+118
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-21vcl: sal_Bool -> boolStephan Bergmann6-10/+10
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21Add config option used when we try to link one huge object file.Matúš Kukan1-0/+2
In theory, it should not be used, we use it now to mark duplicated symbols from sdi slots as weak. See idl/source/objects/types.cxx. Change-Id: I3c6fccfb96884df6b9e6eb35b8615ba4d66ca208
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert11-0/+11
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-14Drop unused #includeTakeshi Abe1-1/+0
Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin1-2/+2
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-12fdo#63154 Remove unused solar.h ref in vcl, basctl, desktop..Alexandre Vicenzi1-3/+2
Change-Id: Ic0187495d8f7f64ddf9d3c202ec41201c9ac3a8c Reviewed-on: https://gerrit.libreoffice.org/8001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-11-Werror,-Wunused-functionStephan Bergmann1-25/+0
Change-Id: I0b3399478c00e7e6db8973e9e4811f3f75c5a3db
2014-02-11convert manage languages dialog to .uiCaolán McNamara6-269/+60
Change-Id: I1a50f8715040e64758cf18bee8ca6ac1d04652c8
2014-02-10the return of callcatcherCaolán McNamara2-6/+0
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-09coverity#1169816 Division or modulo by zeroCaolán McNamara1-10/+10
Change-Id: Ibd07c0d3766467f2b11b0a9fb18ca089ddcb1cb2
2014-02-07auto_ptr -> heap_ptrStephan Bergmann4-69/+32
Change-Id: I401505ee15f71e8655570233b953951aa22ad668
2014-02-07auto_ptr -> scoped_ptrStephan Bergmann4-9/+10
Change-Id: I19fbc4f6e0fb0d53a72759e5faf9c86c595e8e17
2014-02-07Simplify access to theCoreReflection singletonStephan Bergmann1-4/+4
Change-Id: I9901991a320b87895230a92095c9c7d3109380a6
2014-02-04Related: #i123862# use O*String's isEmpty() method...Herbert Dürr1-1/+1
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-02fdo#54938 Convert basctl, mysqlc, sdext, svgio, writerp. to cppu::supportsSer.Alexandre Vicenzi1-6/+6
Change-Id: I60128dbb5bf83f25eea847fe655d7126c9077414 Reviewed-on: https://gerrit.libreoffice.org/7756 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-01-27coverity#736985 Uncaught exceptionCaolán McNamara2-2/+5
Change-Id: I58f2bc50a87ed07340caa148b4ade07062d730fc
2014-01-27coverity#982152 Unchecked return valueCaolán McNamara1-1/+5
Change-Id: I58fd11e38fa0b8ba7efeff8861aeec17742999c3
2014-01-27coverity#735667 Unchecked dynamic_castCaolán McNamara1-1/+2
Change-Id: I747b6bcfb1e57fd3f21250b274f2f179e1982d7c
2014-01-27coverity#1130421 Improper use of negative valueCaolán McNamara1-14/+15
Change-Id: Iefdd854cb0348b187b95f4a89d52482381c73dfc
2014-01-22Related: #i50481# improve Select All command in Basic IDETsutomu Uchino2-1/+17
see also fdo#37211 i.e. commit 4bc2724240b11ce4dfb7adafbe1f1c260fa44030 (cherry picked from commit f841659faf09fec69c962959b9da032fa0bc2b16) Conflicts: basctl/source/basicide/baside2.cxx basctl/source/basicide/baside2b.cxx basctl/source/basicide/baside3.cxx Change-Id: Id679b1e16b87ec8d81fb78039318728320b9d5bc
2014-01-19coverity#735600 : Division by zeroNorbert Thiebaud1-0/+1
Change-Id: I67c2af62144872c4ad0ac7e17be5bb9a5883ba69
2014-01-19coverity#1000814 coverity#1000815 : Unintended sign extensionNorbert Thiebaud1-2/+2
Change-Id: Ia9e40dba5ef2beca2ebc6cc40672d6804d430af0
2014-01-19coverity#735599 : Division by zeroNorbert Thiebaud1-1/+5
Change-Id: I1a69224793eb39d88894e1090672bdb641c88a02
2014-01-19coverity#735598 : Division by zeroNorbert Thiebaud1-1/+3
Change-Id: I288b46a933d8a301823deed8fccae9764b74e840
2014-01-18Window::PreNotify should return boolStephan Bergmann2-12/+12
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-17bool improvementsStephan Bergmann5-6/+6
Change-Id: Ia5ab74b8a8b367ea92f29eb6269ef0ede47f09bb
2014-01-17Window::Notify should return boolStephan Bergmann2-5/+5
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17Remove use of deprecated css::document::XEventBroadcaster/ListenerStephan Bergmann1-13/+13
Change-Id: I178ae590fec87f53e90db5aa6e560cd146c0676b
2014-01-16Introduce com.sun.star.frame.theGlobalEventBroadcaster singletonStephan Bergmann2-4/+4
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-14Remove unused bForBrowsing parameterStephan Bergmann2-4/+2
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
2014-01-14PrepareClose should probably return boolStephan Bergmann2-2/+2
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314