summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/document
AgeCommit message (Collapse)AuthorFilesLines
2023-11-02'new Double' is deprecated in JavaNoel Grandin2-10/+10
replace with Double.valueOf Change-Id: If5be8e500e31ebf9d5fb20ea7dd474677d7c74ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158785 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-08pyflakes3: fix some reports on wizardsJulien Nabet1-2/+3
Change-Id: I0fef17ccc8f110d1d8bf629737807f1bcc618b76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93685 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-06pyflakes3: replace IllegalArgumentException by Exception (wizards)Julien Nabet1-1/+1
IllegalArgumentException doesn't exist Change-Id: Ifea6f56d19fb58136ac5d992107ab7179ac943b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93524 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2019-07-03tdf#125953: take CLOB into account in form wizardJulien Nabet1-2/+3
Change-Id: Ie08b47c2892b7da8e516447b868067a6231279c2 Reviewed-on: https://gerrit.libreoffice.org/74927 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-03-12Remove unused python codeXisco Fauli1-14/+0
This code was automatically converted from Java to Python. It might be used at some point if the remaining java wizards are converted to python, however that's not the case as per today, thus this code is unused. Let's get rid of it as it might create confusion Change-Id: Ic58ade24b10f7a0654b3e8ae39f6afa712589c3d Reviewed-on: https://gerrit.libreoffice.org/67868 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-07-19Related: rhbz#1602589 null_check: 'xComponent'Caolán McNamara1-1/+0
Change-Id: I591f9fa611c0ad0d1631d179b7263f83613badfb Reviewed-on: https://gerrit.libreoffice.org/57640 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-05Removed unused code in python wizardsXisco Fauli1-61/+2
This code got unused after 5b3022860abfe7eefd2e25b60b5b2a563b42b3c0 Change-Id: I6c198ab359f8468a9f4d9041b9bc4feb88eedd74 Reviewed-on: https://gerrit.libreoffice.org/49109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-01-14Fix typosAndrea Gelmini2-2/+2
Change-Id: I2b4988e1d81fe60f7699362480cd739d2620c053 Reviewed-on: https://gerrit.libreoffice.org/47856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-05-24convert java wizards to .properties for translationsCaolán McNamara2-3/+3
like LibreOffice java extensions, and nlpsolver and librelogo, do, removes the magic number problem Change-Id: I561249ccebe41c787cd8cdaa80e1d035f27052cc Reviewed-on: https://gerrit.libreoffice.org/37986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-06remove unused imports in java codeNoel Grandin1-1/+0
Change-Id: I95041f49dd22ba9a15da3598b04a010eecf761a8
2016-03-14remove some unused Java codeNoel Grandin1-1/+0
found by UCDetector Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df
2016-03-04coverity#1326304 Explicit null dereferencedCaolán McNamara1-0/+5
Change-Id: I9eb58884e41d9669d2413f7b5b63bddf6a4b4320
2016-03-01coverity#1326304 Explicit null dereferencedCaolán McNamara1-0/+6
Change-Id: I1fba88431ec7e5154f39bb0c76e622c6129011d2
2016-02-04coverity#1326401 Dereference null return valueCaolán McNamara1-1/+1
Change-Id: I7d19233bb0f63f55c87d83e50b7f865f5c7a8ea4
2016-02-04coverity#1351756 Dereference before null checkCaolán McNamara1-8/+8
Change-Id: Iae465c91693967983623087214e79e0f264c551c
2016-01-23cid#1326113, 1326410, 1326411jan iversen1-3/+14
Removed reference to elements in a null pointer. Change-Id: Ife6fc68128284e291130a9a81bb7557ce03197ed Reviewed-on: https://gerrit.libreoffice.org/21690 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2015-11-24coverity#1326265 Explicit null dereferencedCaolán McNamara1-45/+27
Change-Id: I802e0f854cb5c560e7a860f2fcec0330e481da6c
2015-11-09java: add some @Override annotationsNoel Grandin1-0/+3
Change-Id: I291db1dff5ab3ce40fda6f822a0e3ff1e6ef36c1 Reviewed-on: https://gerrit.libreoffice.org/19855 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin1-2/+2
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-10-15coverity#1326409 Dereference null return valueCaolán McNamara1-2/+1
Change-Id: I960c4ad4ffe4f0e86f3d1f0fb364296f31bf9d92
2015-06-15java: 'final static' to 'static final'Noel Grandin1-9/+9
this is the canonical order, and it makes the code easier to read Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470 Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-04-20java: some random small cleanupsNoel Grandin1-6/+0
Change-Id: I22a5b9fa29d465a21e682279e6e88d37bd8adf93
2015-01-05java: remove dead codeNoel Grandin2-39/+0
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2014-12-19fix buildLionel Elie Mamane1-0/+1
Change-Id: I149d36a103df51ca78324df3121f51440797e226
2014-12-19Keep as xShapes the newly created GroupShapeLionel Elie Mamane1-0/+1
That's what we should refer to later, not the temporary collection we made! Change-Id: Ie288222c6aefa0f50a0b0878ad83b78909ee56d1
2014-12-19GroupShape takes care of scaling the subshapesLionel Elie Mamane1-21/+0
Change-Id: I1e913287229119276fa97f73cb249ed0a0b2c473
2014-12-19detect groupShapes (TimestampFields) in forms, tooLionel Elie Mamane1-0/+13
as a consequence, successfully delete them Change-Id: I5dd7b329708dd13f8bfe4a38974c5f6f1202b392
2014-12-19xShapeGroup *is* the control's global xShape, so use it as suchLionel Elie Mamane1-16/+1
this allows the rest of the code to automagically do the right stuff: - get&set position - group this control with its label - set the label property to the label control - ... Conflicts: wizards/com/sun/star/wizards/document/TimeStampControl.java Change-Id: Ibf3cb0ae82ba5c8a23fde05f6466f8eec8308186
2014-12-19Revert "fdo#87301 don't rely on the shape to get the control"Lionel Elie Mamane1-8/+13
This reverts commit 89b3af722cc13a0af06822afe248cdec3b63cfeb.
2014-12-19fdo#87301 don't rely on the shape to get the controlLionel Elie Mamane1-13/+8
as it forgets its associated control Change-Id: Ia5bd2212725376ab629f2c271102cea2cff9e823
2014-12-19remove unnecessary and confusing lineLionel Elie Mamane1-1/+0
XShapeGrouper.group returns a XShapeGroup which is guaranteed to also be a XShape. If it were not a XShape, this code would not even work since the first assignment would not work, since xShapeGroup is of type XShapeGroup. Change-Id: Ic0d873229a1421c3dc94292d7449614a4b6140a3
2014-12-19java: reduce visibility of some methods and fieldsNoel Grandin2-2/+2
found by UCDetector Change-Id: I0a0a00d1fae1fed2e6aef198b7a1482d7e7e29f0
2014-12-19java: these fields can be converted to local variablesNoel Grandin4-14/+7
Change-Id: Ifefb5de196a3e5cbaa8945759da42886c69daacf
2014-12-11java: reduce visibility of fields and methodsNoel Grandin7-45/+45
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-05java: remove some unused fieldsNoel Grandin1-1/+0
Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
2014-12-05java: static fields should be accessed in a static wayNoel Grandin1-2/+2
Change-Id: I727e7f2a7527c60bb45f0ba5d0e88a66c5ccdd6f
2014-11-27java,wizards: remove unused parametersNoel Grandin2-27/+27
Change-Id: I13f0c7afca233cc0ff6692f8fb442a80c4208d20
2014-11-27java,wizards: remove unread fieldsNoel Grandin3-9/+1
found by UCDetector Change-Id: Ia98606a98b998a224f821f2e673e788fb0ecf7d1
2014-11-27java,wizards: remove unused constantsNoel Grandin1-1/+0
found by UCDetector Change-Id: Ic62ec16bceb9ab7b6898f8a469af65ba3884bb51
2014-11-27java,wizards: remove unused classesNoel Grandin2-23/+0
found by UCDetector Change-Id: I7993f781a9e195d7d591e8a9e94a72ee86d77826
2014-11-27java,wizards: remove unused methodsNoel Grandin5-257/+1
found by UCDetector Change-Id: If7d7f7b271f48f82d823a3d7b175adcae91180e3
2014-11-27java,wizards: remove completely unreferenced fieldsNoel Grandin2-4/+0
found by UCDetector Change-Id: I00a35337478111991dec7fa6310e57d3b5a146fa
2014-11-18java, wizards: remove unused local variables and fieldsNoel Grandin2-4/+2
Change-Id: I77dfcaae8950397e0f22c9a3e744e744055b6cf3
2014-11-12java: convert fields to local variables where possibleNoel Grandin2-8/+3
found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-17java: final fields that can be staticNoel Grandin2-3/+3
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
2014-10-16java: use 'Short.valueOf' instead of 'new Short'Noel Grandin2-2/+2
Change-Id: I2f0156899b75dd8a3a5600be887b6ac9b6fbdec0
2014-10-14java: remove useless javadoc tagsNoel Grandin3-33/+0
Change-Id: I83c59418c9eb32984dd5a2105e3d729e400520a4
2014-09-2284059 - form wizard : files required could not be foundNoel Grandin7-74/+333
I've essentially unwound most the Java changes I made te wizards module in the last few months. I will revisit my changes at a later date and make them more carefully :-) Change-Id: I9221a825dc8de6edc96d6db07072aefcd1a37107
2014-08-21wizards: EffectiveMax & EffectiveMin of TINYINTrbuj1-2/+2
http://docs.oracle.com/javase/1.5.0/docs/api/constant-values.html#java.lang.Byte.MIN_VALUE Change-Id: I702f1354eaddc37e6321c3cdc0126a78945d0754 Reviewed-on: https://gerrit.libreoffice.org/11044 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin1-7/+0
in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909