summaryrefslogtreecommitdiff
path: root/forms
AgeCommit message (Collapse)AuthorFilesLines
2015-03-28forms: More unused services related stuffMatúš Kukan7-390/+1
Change-Id: I3be9b1a57971286441d78e03130d0467ea2cc838
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2-3/+3
Change-Id: I4293d3e9244bb2ae3c6b8999c0d682e7f23138fb
2015-03-25convert EE_STAT constants to enum classNoel Grandin1-7/+7
Change-Id: I2967cdbfd0303844892150bbff7aa5ce1a57054f
2015-03-25convert EV_CNTRL constants to enum classNoel Grandin1-2/+2
Change-Id: I0ffc0e222c978ce7c734228f712e88422d3a615f
2015-03-25convert EE_CNTRL constants to enum classNoel Grandin1-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
2015-03-24loplugin:constantfunction: formsNoel Grandin8-58/+19
Change-Id: Icb1b4bb3fd73b54378b77fbaa6c41c3a0f03706a
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin1-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
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann48-148/+308
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-11SfxItemHandle is only used in one place, so inline itNoel Grandin1-14/+14
Change-Id: Ie54e0699312b6c072d2b162a068cffdf960be4d0
2015-03-06V801: Decreased performanceCaolán McNamara1-3/+3
Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
2015-03-06Idle: Changed to new enum nameTobias Madl1-1/+1
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl1-1/+1
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl2-1/+2
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-02cppcheck: duplicate inherited memberNoel Grandin1-2/+0
Change-Id: Iee20ca4523739eb082ea1fa8c1145891c0caed29
2015-02-27Fix OFormattedFieldWrapper[_ForcedFormatted] instance creationStephan Bergmann2-5/+51
broken with 5d05f7ed8582193c39e29b7dc16767fb850e9f28 "forms: use constructor feature for form modules" and follow-up misguided clean up Change-Id: If9447740e6408472722b81d112cd85349020eabe
2015-02-20Remove unnecessary prefixesStephan Bergmann1-2/+2
...from .components that exclusively use constructors now Change-Id: I009f29a49d5be0aec32af8cfcae6fb8e2cd4f486
2015-02-19callcatcher: update unused codeCaolán McNamara16-180/+0
Change-Id: If6e0cbf8544ca7a4668cdc67fcf390d8835b7017
2015-02-17forms: Fix copy'n'paste mistakes.Jan Holesovsky5-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
2015-02-17forms: Convert also com.sun.star.form.XForms.Jan Holesovsky9-545/+190
Plus some associated cleanup. Change-Id: I0a923198c23e2e4ecbc91e5b56cfac31b7f71256
2015-02-17forms: use constructor feature for form modulesChris Sherlock39-569/+439
Change-Id: I8f1588cbd338e2f8b5bc6047d84b17c697a7d2d3
2015-02-11GenerateHeader(false) -> SetHeaderGenerated()Stephan Bergmann1-1/+1
Change-Id: I41f06c92589e6b1839e39d840a479f1a184b47dd
2015-02-09forms: use constructor feature for ODatabaseFormMiklos Vajna3-4/+8
Change-Id: I1f36b28c3d71b90e439c6ba86bba09cf55bc43ae
2015-02-09forms: use constructor feature for OFormsCollectionMiklos Vajna3-2/+8
Change-Id: Ifdc031480617ec4d0a50ae5b6cd6a2c838ae076a
2015-02-07loplugin:deletedspecialStephan Bergmann13-46/+28
Change-Id: Ic3b744fe3eb3a07d7f5a7feeaf43cde2ec2b3241
2015-01-30coverity#704645 Dereference after null checkCaolán McNamara1-4/+3
Change-Id: Id6930c8e87f27051520e10e1277d769d0b380374
2015-01-30chisel off some more unused codeCaolán McNamara2-9/+0
Change-Id: I62cafc8e10e9c9dab3fde1785b826ba8ff68569f
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin3-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
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin8-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
2015-01-20Some more loplugin:cstylecast: formsStephan Bergmann4-14/+14
Change-Id: I39325fccdadcc57df32fe5821eef0d8477018b59
2015-01-14Revert "ListBox: refuse to give values before we are loaded"Stephan Bergmann1-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.
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin1-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>
2015-01-13css.form.component.{CheckBox,RadioButton} DefaultState property valuesStephan Bergmann1-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
2015-01-13ListBox with value list: consider first empty value as NULLLionel Elie Mamane2-12/+27
Change-Id: I15c040b481b7f03720d0227ba5d2fcd2ccc78386
2015-01-13ListBox: refuse to give values before we are loadedLionel Elie Mamane1-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
2015-01-13janitorialLionel Elie Mamane1-1/+0
Change-Id: If0fcad97538556ef7be5fe5f8405ca171696502d
2015-01-13java: inline some test propertiesNoel Grandin2-22/+6
Change-Id: I8be2ee13652ed7223e41765811db577ecc1c85d6
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl3-4/+5
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-6/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin3-3/+3
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-05spelling: attachement -> attachmentNoel Grandin2-2/+2
Change-Id: I1bb1ad04adec864b594d96711f85b8fcdc1d1ef2
2015-01-05java: remove dead codeNoel Grandin3-131/+4
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara4-7/+7
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-19java: don't synch on an object and also assign to itNoel Grandin1-10/+3
Change-Id: Ie0a098e935e640f10b77d259c96bbd1c604d701e
2014-12-18forms: Use appropriate OUString functions on string constantsStephan Bergmann14-45/+45
Change-Id: I1bcd815663c29025da6b3ce50bdf767eef74fe94
2014-12-17fdo#39440 reduce scope of local variablesMichael Weghorn3-9/+5
This addresses some cppcheck warnings. Change-Id: I1d037e87c69b1a7de019f1abf1f729bf7e28d762 Reviewed-on: https://gerrit.libreoffice.org/13494 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-15java: remove more test skeleton codeNoel Grandin1-71/+0
Change-Id: I37a82554de4f77be7e0fb3e42245a70b53beb83c Reviewed-on: https://gerrit.libreoffice.org/13476 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-15forms: Use appropriate OUString functions on string constantsStephan Bergmann3-8/+8
Change-Id: I196e847e2f63d1bac6ed0f520cba67508aec1a5d
2014-12-11java: reduce visibility of fields and methodsNoel Grandin1-1/+1
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: simplify the getMSF() methodsNoel Grandin1-2/+1
Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3 Reviewed-on: https://gerrit.libreoffice.org/13406 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-09changed timers to idlesTobias Madl2-9/+9
Change-Id: Ic0d7730f7880dfe2e83c84e773b8cc420249b269