summaryrefslogtreecommitdiff
path: root/sw/qa/complex
AgeCommit message (Collapse)AuthorFilesLines
2015-03-25Maybe this helps TB56?Stephan Bergmann1-4/+19
Change-Id: I209fcc9277d8efe27608b7e858f16fa31a6973b2
2015-01-12java: no need to instantiate the AccessibilityTools objectNoel Grandin2-3/+0
since all of it's methods and fields are static. Change-Id: Ia2b652969489c5a21e01a35cda65c6e84346aac0
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-11java: remove unused parametersNoel Grandin2-2/+2
Change-Id: I47c618117e079bb2ef90d92c449c8166ea957fa5
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-08-04java: remove some unused variablesNoel Grandin2-2/+2
Change-Id: Ia9405d3e34e710059ff68bf850de91c36f4e1e1b
2014-03-31sw: still use SvxBrushItem for page style backgroundMiklos Vajna1-2/+1
Commit 6e61ecd09679a66060f932835622821d39e92f01 (Merge back branch alg_writerframes to trunk, 2014-03-19) changed the sw UNO API, so that in case SvxBrushItem / RES_BACKGROUND was to be get/set, it mapped that to svx's fill style. This has two problems: 1) it does not work (see the failing unit test) and also page style editing UI sets SvxBrushItem, so even if the UI is used to (actually successfully) set the page background, it won't be saved to ODF. So, do this background <-> fill style mapping only for frames for now. Change-Id: I734880a40c891ae9e341cbddf8f88b0462361aac
2014-03-28Merge back branch alg_writerframes to trunkArmin Le Grand1-1/+2
(cherry picked from commit b635b4fa4e42053d30ab639643d2236a20243f62) Conflicts: comphelper/inc/comphelper/TypeGeneration.hxx comphelper/source/property/TypeGeneration.cxx cui/source/factory/dlgfact.hxx cui/source/inc/cuitabarea.hxx cui/source/tabpages/tabarea.cxx cui/source/tabpages/tabarea.hrc cui/source/tabpages/tabarea.src cui/source/tabpages/tparea.cxx drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/texture/texture.cxx editeng/inc/editeng/unotext.hxx editeng/source/items/frmitems.cxx include/drawinglayer/texture/texture.hxx include/editeng/brushitem.hxx include/svx/sdr/primitive2d/sdrdecompositiontools.hxx include/svx/svxids.hrc include/xmloff/xmltypes.hxx reportdesign/source/ui/misc/UITools.cxx sc/source/ui/drawfunc/drawsh.cxx sfx2/source/dialog/tabdlg.cxx svl/source/undo/undo.cxx svx/inc/svx/unoshprp.hxx sw/Library_sw.mk sw/inc/doc.hxx sw/inc/format.hxx sw/inc/frmfmt.hxx sw/inc/swatrset.hxx sw/inc/unomap.hxx sw/inc/unoprnms.hxx sw/source/core/access/accpara.cxx sw/source/core/attr/format.cxx sw/source/core/attr/swatrset.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/text/inftxt.cxx sw/source/core/text/porfld.cxx sw/source/core/text/txtfly.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/uibase/app/docst.cxx sw/source/core/uibase/app/docstyle.cxx sw/source/core/uibase/shells/drawdlg.cxx sw/source/core/uibase/shells/frmsh.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmpage.src sw/source/ui/inc/frmsh.hxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx Change-Id: Id3ffaa83bb5594d287f1ac8f2c1c9cf55c70946d
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-02-05Adapt JunitTest_sw_complex to 2bb87dd6596f8e961f5618d8e7686fa12c64e2cfStephan Bergmann1-1/+1
"fdo#39944: Add DOCUMENT_* accessibility UNO roles" Change-Id: I8b68ef756d054ee4e53941927108253d62e82672
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, access static methods using correct syntaxNoel Grandin2-6/+6
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26Java cleanup, remove unused importsNoel Grandin2-14/+0
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-23Java cleanup - reduce use of global fieldsNoel Grandin1-4/+4
This field does not need to be global, it is returned from the relevant methods Change-Id: Ic53eec4a699d6acc4410e71dde385e6a49ded745 Reviewed-on: https://gerrit.libreoffice.org/3567 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
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