summaryrefslogtreecommitdiff
path: root/basctl
AgeCommit message (Collapse)Author
2015-04-20convert SEARCH_OPTIONS constants to scoped enumNoel Grandin
Change-Id: Id0f0c7d692410cf5e1477c5180e7cfb8e7b0f52b Reviewed-on: https://gerrit.libreoffice.org/15345 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SIGNATURESTATE_ constants to scoped enumNoel Grandin
Change-Id: I715e39599464a199a8b78ec274bfe47b90fc4bb7 Reviewed-on: https://gerrit.libreoffice.org/15301 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SFX_VIEW constants to scoped enumNoel Grandin
Change-Id: I327dc1ec722fa9445f13fc5168ad646e272ba9d4 Reviewed-on: https://gerrit.libreoffice.org/15300 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-13loplugin:staticmethodsNoel Grandin
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
2015-04-12cppcheck: cstyleCastCaolán McNamara
Change-Id: I9add864d76d08e76a3a4ac9645323ba49c3906ec
2015-04-10convert SFXOBJECTSHELL_ constants to scoped enumNoel Grandin
Change-Id: I5a159be0c342b778730cedb0fe35843c2c368c97
2015-04-10convert SFXMODEL_ to scoped enumNoel Grandin
and fix up some confusion in SC and STARMATH about which constants to use Change-Id: Ib75bc78a24bd2fad6ec6d7c94c4c1ad7dc222c1a
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I24164f5fe3654445190ca26856188a33070e7544
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: Icaec7ce94a915945ff464d0734115c729e740c83
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I0db5c02e9fbc09fe7d85e46f1434c86b5b5b4853
2015-03-27fix macro and enum name collision using CamelCaseNoel Grandin
so that the enum names remain consistent Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
2015-03-27convert BUTTON_ constants to enum classNoel Grandin
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I43f7a4c372502214c6f36413077d686921dba73b
2015-03-24loplugin:constantfunction: basctlNoel Grandin
Change-Id: I675b6cee53a9cef240dd798b13515141e194828f
2015-03-24convert SFX_PRINTER constants to enum classNoel Grandin
Change-Id: I5dca39f7668be2c03c904c33b6181ba769b70990
2015-03-24convert SfxPopupWindowType to enum classNoel Grandin
Change-Id: I03813103d648c5745beab740403c7912cdff2756
2015-03-20tdf#88230: cleanup solar mutex yieldingPranav Kant
Use SolarMutexReleaser, instead. Change-Id: I276459c42b688813ea168d6fc80466a07a5ecba4 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-19loplugin:constantfunction: sotNoel Grandin
this appears to be completely unused Change-Id: I74dad8b0c478a1aed035ce9cc663a74de157816e
2015-03-19loplugin:constantfunction: unotoolsNoel Grandin
Change-Id: Icf543973dc9edde270016c8af7e4c08c57eff650
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-10tdf#89592 Using initializer_lists to populate Sequence<PropertyValue>Swachhand Lokhande
Change-Id: Idef9dd55eb1719eaf592bc4a86440cbd5aa4fb32 Reviewed-on: https://gerrit.libreoffice.org/14781 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-03-09cppcheck: cstyleCastCaolán McNamara
Change-Id: I3a1aaafe30f13f2eb388f7db3d78ecafaf0a4a2d
2015-03-06Idle: Changed to new enum nameTobias Madl
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Idle and Timer are now completely independentTobias Madl
And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: Ica2563d9e8da15e19eb38246d4de54a1fcb75655
2015-03-02replace SVX_SEARCHCMD_ constants with enum classNoel Grandin
Change-Id: I675c488742219cc19624a21d1fc8e5033e7cbefa
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-17boost->stdCaolán McNamara
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-17tdf#39440 - cppcheck cleanlinessRadu Ioan
Fixed some cppcheck defects Change-Id: I25fd6aba9d76df98d20b9a1bb4c9d3c1bf6f84bb Reviewed-on: https://gerrit.libreoffice.org/14487 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-16add GetSelectEntryData to ListBox and ComboBoxNoel Grandin
to reduce code clutter like pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos()) since this is a fairly frequent operation. Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184 Reviewed-on: https://gerrit.libreoffice.org/14472 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-12these can all be made constCaolán McNamara
Change-Id: I6a8af82e8612196f20143f4997eb95c80a2ca13d
2015-02-12BASIC IDE : add the current procedure name in the status barLaurent Godard
Change-Id: Icecef1748bcc964670b0b95263314d9d8a4555f0 Reviewed-on: https://gerrit.libreoffice.org/14367 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-10coverity#1268024 coverity#1267686: basctl: uncaught exceptionMichael Stahl
DlgEdObj::_propertyChange() should have same exception spec. as XPropertyChangeListener::propertyChange(). Change-Id: I8d5b628b7cc382dae55a9e17bf813fba647453eb
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I71bfb6628bb746498ff47d6d9aba50e150757144
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-01coverity#1267686 Uncaught exceptionCaolán McNamara
Change-Id: Iab9067590cd15b3b60cfa2a98ee6be30d2fdf13d
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-12Resolves: #i120772# do not ignore last three properties...Tsutomu Uchino
when special properties not found in watching window (cherry picked from commit 8815f3f3fbb3632cccbbf8476f4c40c9bda8eb6e) Conflicts: basctl/source/basicide/baside2b.cxx Change-Id: I6069d55b9f894846a7b4d81b981cf4523b444753
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin
and dump the ones that nothing is listening to Change-Id: I253ef284df785812a439dd160edba1b07fdbaac4
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin
and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-05fdo#39596: replace cstyle castsJuan Picca
Change-Id: I1a0814ec973b1dc0f4db4ee88a999d9ffc219e7a Reviewed-on: https://gerrit.libreoffice.org/13701 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>