summaryrefslogtreecommitdiffstats
path: root/forms
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of trivial comphelper::query_interface wrapperStephan Bergmann2015-04-216-18/+21
| | | | Change-Id: I2b9dafd2a34d055dcd8b8c4d894be30dc821d3be
* Get rid of trivial comphelper::in-/decrement wrappersStephan Bergmann2015-04-2114-48/+47
| | | | Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
* convert SCRIPTTYPE_ constants to scoped enumNoel Grandin2015-04-175-28/+26
| | | | | | | Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433 Reviewed-on: https://gerrit.libreoffice.org/15344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-152-4/+4
| | | | | | | | | | | | | | | | 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
* loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann2015-04-132-2/+2
| | | | Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
* Remove dead INetProtocol::VimStephan Bergmann2015-04-073-6/+6
| | | | | | | ...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
* unused ODatabaseForm::CreateCaolán McNamara2015-04-062-9/+0
| | | | Change-Id: If8da2da02942fb1fc38ca04c4a9e8923e373df6f
* Change INetProtocol enumerators to CamelCaseStephan Bergmann2015-04-023-6/+6
| | | | | | ...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
* Change INetProtocol to scoped enumerationStephan Bergmann2015-04-023-6/+6
| | | | | | ...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
* loplugin:staticmethodsNoel Grandin2015-04-021-3/+3
| | | | Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-0115-30/+30
| | | | Change-Id: Ifd082fb63b791441a9af595e02f6ce1732d36ab0
* Clean up remaining C-style casts among void pointersStephan Bergmann2015-03-291-2/+2
| | | | Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-286-10/+10
| | | | Change-Id: I9564d76c9b6fb808ca92b53f1bca07ec0850c6f8
* forms: Replace these macrosMatúš Kukan2015-03-2815-137/+64
| | | | Change-Id: I656905cf6f0e3647824ff3836fcea93920251264
* forms: More unused services related stuffMatúš Kukan2015-03-287-390/+1
| | | | Change-Id: I3be9b1a57971286441d78e03130d0467ea2cc838
* const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2015-03-262-3/+3
| | | | Change-Id: I4293d3e9244bb2ae3c6b8999c0d682e7f23138fb
* convert EE_STAT constants to enum classNoel Grandin2015-03-251-7/+7
| | | | Change-Id: I2967cdbfd0303844892150bbff7aa5ce1a57054f
* convert EV_CNTRL constants to enum classNoel Grandin2015-03-251-2/+2
| | | | Change-Id: I0ffc0e222c978ce7c734228f712e88422d3a615f
* convert EE_CNTRL constants to enum classNoel Grandin2015-03-251-2/+2
| | | | | | | | there were a couple of lines in SC and SW where the code was using a EV_CNTRL constant. I switched it to used the same-valued constant from EE_CNTRL Change-Id: I027183cc3b6e700bf365d48833e37eddc9b50f04
* loplugin:constantfunction: formsNoel Grandin2015-03-248-58/+19
| | | | Change-Id: Icb1b4bb3fd73b54378b77fbaa6c41c3a0f03706a
* create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin2015-03-181-3/+3
| | | | | | | | | | | | 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
* Fix various XServiceInfo implementationsStephan Bergmann2015-03-1748-148/+308
| | | | | | ...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
* SfxItemHandle is only used in one place, so inline itNoel Grandin2015-03-111-14/+14
| | | | Change-Id: Ie54e0699312b6c072d2b162a068cffdf960be4d0
* V801: Decreased performanceCaolán McNamara2015-03-061-3/+3
| | | | Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
* Idle: Changed to new enum nameTobias Madl2015-03-061-1/+1
| | | | Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
* Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl2015-03-061-1/+1
| | | | Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
* Timer: Adapted all idle includes and enum usesTobias Madl2015-03-062-1/+2
| | | | Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
* cppcheck: duplicate inherited memberNoel Grandin2015-03-021-2/+0
| | | | Change-Id: Iee20ca4523739eb082ea1fa8c1145891c0caed29
* Fix OFormattedFieldWrapper[_ForcedFormatted] instance creationStephan Bergmann2015-02-272-5/+51
| | | | | | | broken with 5d05f7ed8582193c39e29b7dc16767fb850e9f28 "forms: use constructor feature for form modules" and follow-up misguided clean up Change-Id: If9447740e6408472722b81d112cd85349020eabe
* Remove unnecessary prefixesStephan Bergmann2015-02-201-2/+2
| | | | | | ...from .components that exclusively use constructors now Change-Id: I009f29a49d5be0aec32af8cfcae6fb8e2cd4f486
* callcatcher: update unused codeCaolán McNamara2015-02-1916-180/+0
| | | | Change-Id: If6e0cbf8544ca7a4668cdc67fcf390d8835b7017
* forms: Fix copy'n'paste mistakes.Jan Holesovsky2015-02-175-17/+16
| | | | | | | | | | | | com_sun_star_form_ORadioButtonModel_get_implementation -> com_sun_star_form_ORadioButtonControl_get_implementation com_sun_star_form_OGroupBoxModel_get_implementation -> com_sun_star_form_OGroupBoxControl_get_implementation and a bit of further cleanup. Change-Id: I2d03d69ac83c482257baed5a6b84a6bacae68889
* forms: Convert also com.sun.star.form.XForms.Jan Holesovsky2015-02-179-545/+190
| | | | | | Plus some associated cleanup. Change-Id: I0a923198c23e2e4ecbc91e5b56cfac31b7f71256
* forms: use constructor feature for form modulesChris Sherlock2015-02-1739-569/+439
| | | | Change-Id: I8f1588cbd338e2f8b5bc6047d84b17c697a7d2d3
* GenerateHeader(false) -> SetHeaderGenerated()Stephan Bergmann2015-02-111-1/+1
| | | | Change-Id: I41f06c92589e6b1839e39d840a479f1a184b47dd
* forms: use constructor feature for ODatabaseFormMiklos Vajna2015-02-093-4/+8
| | | | Change-Id: I1f36b28c3d71b90e439c6ba86bba09cf55bc43ae
* forms: use constructor feature for OFormsCollectionMiklos Vajna2015-02-093-2/+8
| | | | Change-Id: Ifdc031480617ec4d0a50ae5b6cd6a2c838ae076a
* loplugin:deletedspecialStephan Bergmann2015-02-0713-46/+28
| | | | Change-Id: Ic3b744fe3eb3a07d7f5a7feeaf43cde2ec2b3241
* coverity#704645 Dereference after null checkCaolán McNamara2015-01-301-4/+3
| | | | Change-Id: Id6930c8e87f27051520e10e1277d769d0b380374
* chisel off some more unused codeCaolán McNamara2015-01-302-9/+0
| | | | Change-Id: I62cafc8e10e9c9dab3fde1785b826ba8ff68569f
* followup code removal after changing virtual methods to non-virtualNoel Grandin2015-01-263-5/+5
| | | | | | | | | | 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
* new loplugin: change virtual methods to non-virtualNoel Grandin2015-01-268-13/+13
| | | | | | | | | | 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
* Some more loplugin:cstylecast: formsStephan Bergmann2015-01-204-14/+14
| | | | Change-Id: I39325fccdadcc57df32fe5821eef0d8477018b59
* Revert "ListBox: refuse to give values before we are loaded"Stephan Bergmann2015-01-141-3/+0
| | | | | | | | | This reverts commit 1cc29a04adb721205655091854f5ea828bb8eb11, as it caused JunitTest_forms_unoapi trigger the assert( m_nConvertedBoundValuesType == getValueType()) at forms/source/component/ListBox.cxx:1189.
* simplify Date/Time/DateTime conversion codeNoel Grandin2015-01-131-6/+3
| | | | | | | | | | | add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
* css.form.component.{CheckBox,RadioButton} DefaultState property valuesStephan Bergmann2015-01-131-2/+9
| | | | | | | | ...must be in the range 0--2; avoid setting bad values from generic qadevOOo property set tests, and throw an IllegalArgumentException if bad values do get set. Change-Id: Ia4a97d0fac326b3ca2ce254946dc4d418e9dd5a7
* ListBox with value list: consider first empty value as NULLLionel Elie Mamane2015-01-132-12/+27
| | | | Change-Id: I15c040b481b7f03720d0227ba5d2fcd2ccc78386
* ListBox: refuse to give values before we are loadedLionel Elie Mamane2015-01-131-0/+3
| | | | | | | | If we are not loaded, we don't know our field type, so cannot give values with the right type Change-Id: I372b77647ec8ff7428b67cca72fdd89e5e147a32
* janitorialLionel Elie Mamane2015-01-131-1/+0
| | | | Change-Id: If0fcad97538556ef7be5fe5f8405ca171696502d
* java: inline some test propertiesNoel Grandin2015-01-132-22/+6
| | | | Change-Id: I8be2ee13652ed7223e41765811db577ecc1c85d6