summaryrefslogtreecommitdiff
path: root/sw/qa/complex/writer
AgeCommit message (Collapse)AuthorFilesLines
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin1-1/+1
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier2-57/+57
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2014-12-15java: remove some unused fields and variablesNoel Grandin1-1/+1
Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11java: reduce visibility of fields and methodsNoel Grandin2-4/+4
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: improve use of WrappedTargetException to set cause properlyNoel Grandin1-21/+0
since we introduced the new constructors that pass the cause all the way up to java.lang.Throwable. Also simplify some exeception printing sites, because Throwable will correctly print out child exceptions for us. Change-Id: Ibbecce3c6f971fbc80d6de2052ab4f33a4503c0a
2014-12-05java: remove some unused local variablesNoel Grandin2-4/+2
Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
2014-11-25java: final fields that can be staticNoel Grandin1-3/+3
found by PMD Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f Reviewed-on: https://gerrit.libreoffice.org/13099 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-18java: make fields final where possibleNoel Grandin2-27/+27
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-12java: convert fields to local variables where possibleNoel Grandin2-14/+10
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-31sw: fix insertion of hyperlink inside hyperlink...Michael Stahl1-0/+23
... when either the start or the end position of the new hint is equal to an existing hint. There is not just 1 case here but 3 different ones; don't attempt to insert hints with start > end. Change-Id: I39cf8a352f67d77b56b0d01de5872f4d341f6bdd
2014-10-17java: no need to call String.valueOf to append to a StringNoel Grandin1-1/+1
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
2014-10-16java: confusing literalNoel Grandin1-1/+1
Change-Id: Ia08b25e1a02c2e86f176e84790bb9f3dc81e11e6
2014-08-20double-checked locking is not thread-safe in JavaNoel Grandin1-2/+2
found by PMD Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin1-3/+3
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin2-2/+2
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-14java: remove commented out codeNoel Grandin1-12/+0
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13java: remove dead methodsNoel Grandin1-1/+0
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
2014-08-13java: reduce scope, make some methods privateNoel Grandin1-11/+11
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make fields privateNoel Grandin2-2/+2
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin1-0/+74
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin3-8/+2
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
2014-08-08java: remove redundant null checksNoel Grandin1-3/+1
Change-Id: Ia42e5ed715fbd3f5b84029a9844da55f307c6260
2014-08-08java: remove dead methodsNoel Grandin1-2/+0
Change-Id: I9f2e705fd603a7c8832c0f0772bee9f395380a0d
2014-08-05java: remove commented out codeNoel Grandin2-4/+0
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-02-27Remove visual noise from swAlexander Wilms2-15/+0
Conflicts: sw/inc/unodraw.hxx sw/inc/unoframe.hxx sw/sdi/swriter.sdi sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/ui/inc/unotxvw.hxx sw/source/ui/lingu/hyp.cxx sw/source/ui/lingu/sdrhhcwrap.cxx sw/source/ui/uno/swdetect.hxx Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908 Reviewed-on: https://gerrit.libreoffice.org/8322 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-29sw: CheckBookmarks: can't store OOo XML any moreMichael Stahl1-1/+1
Change-Id: Ib9e92043d8483feb47f024ee067f2103625dd031
2014-01-16Introduce com.sun.star.frame.theGlobalEventBroadcaster singletonStephan Bergmann1-6/+4
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2013-11-17bugs.freedesktop.org -> bugs.libreoffice.orgAndras Timar1-1/+1
Change-Id: I56c1190c93333636981acf2dd271515170a8a904
2013-10-15Remove Java unit tests migrated to PythonDavid Ostrovsky3-526/+0
Change-Id: I6f4792a1fdbd40d016fabf8649c7058adaedd00c Reviewed-on: https://gerrit.libreoffice.org/6017 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-08-26fdo#33960: sw: fix cross reference fields some moreTroy Rollo2-20/+54
Change-Id: Ia0a34c8fa475f9dea609962997bce9169d9b8878
2013-04-26Java cleanup, remove unused importsNoel Grandin2-14/+0
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-23/+4
2013-04-19Java cleanup, remove the rest of the unnecessary castsNoel Grandin1-2/+1
Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-21sw: VarFields test: fix "\" in URL (test fails on windows)Michael Stahl1-1/+1
Change-Id: Ib1bc81e907cfd3e7a770fccf032c10fec91147e8
2013-03-21fdo#55814 improve unit testDavid Ostrovsky1-30/+67
Change-Id: I1508cc13bc6f025e671fb0f942a700a37965e242
2013-03-20fdo#55814 create unit test for it firstDavid Ostrovsky1-0/+183
1. create a variable field, name it "foo" and assign value 0 2. create a section, and put content a in it and assign condition "foo EQ 1" to it 3. change th value of VAR foo from 0 to 1 4. expected behaviour: section is hidden current behaviour: section get corrupted: condition is overwritten with "0" Change-Id: I52fb50e26f5330c2b4745093ac954cecf45924f5
2013-01-09fdo#58242: sw: fix more crashes when not on SwTxtNodeMichael Stahl1-0/+32
In getCrsrPropertyValue etc.; also add a unit test for the problem. Change-Id: Ibd459a43393c39b4fed9fb89aae4a5f7bacff007
2012-12-03SwXDocumentIndex: implement css.util.XRefreshableMichael Stahl1-0/+167
... as has been promised since the OOo initial import in deprecation notices in XDocumentIndex :-/ Change-Id: I5dd7e482e0e6d60dcad3de883d5815f729e6b80f
2012-11-20fdo#51304: Remove @author annotationJosé Guilherme Vanz1-4/+0
This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin5-27/+0
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-08-20Remove dead java code, fields and local variablesNoel Grandin1-1/+0
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
2012-08-20SwXTextTable: add "TableBorder2" propertyMichael Stahl1-0/+273
This new property is necessary because the old TableBorder cannot be extended to contain the BorderLine2 structs without breaking compatibility. Change-Id: I5e22782256b29224225a9d74c818b2c47fee8526
2012-07-17Resolves: fdo49629 GotoEndOfWord fails with footnote at word endCaolán McNamara1-5/+27
a) remove special handling of 0x0002 in our custom icu rules. Which brings us a step closer to getting rid of at least some of them in favour of the defaults b) expand the 0x02 in SwTxtNode::BuildConversionMap like we do for fields so Good side effect is our word count and character count now take into account the actual footnote indicator text, as does our cursor travelling. Both of which are more word-alike. Change-Id: I3b0024ac4b10934bee7a9e83b0fce08a18556c7b
2012-07-13java: printStackTrace always to stderrThomas Arnhold1-1/+1
like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5 Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
2012-07-06fdo#33960: fix cross reference number test failureMichael Stahl1-30/+20
Change-Id: If50a09a14ad30fa3dcb587d6e59a5a0d161394b1
2012-06-29Java5 update - convert to use genericsNoel Grandin6-260/+175
Change-Id: Ie9d9b278341132d08477d015245fedf2b66f62fd
2012-06-29re-base on ALv2 code.Michael Meeks3-72/+45
2012-06-21re-base on ALv2 code.Michael Meeks5-118/+73
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-03-05sw: CheckFields: oops, forgot to close the documentMichael Stahl1-0/+6
2012-03-05fdo#39694, fdo#42073: add junit test for theseMichael Stahl1-0/+173