summaryrefslogtreecommitdiff
path: root/sw/qa/complex
AgeCommit message (Collapse)Author
2014-08-20double-checked locking is not thread-safe in JavaNoel Grandin
found by PMD Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13java: remove dead methodsNoel Grandin
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
2014-08-13java: reduce scope, make some methods privateNoel Grandin
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
2014-08-13java: reduce scope, make fields privateNoel Grandin
found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-11java: remove unused parametersNoel Grandin
Change-Id: I47c618117e079bb2ef90d92c449c8166ea957fa5
2014-08-08java: remove exceptions from throws clauses that are notNoel Grandin
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
2014-08-08java: remove redundant null checksNoel Grandin
Change-Id: Ia42e5ed715fbd3f5b84029a9844da55f307c6260
2014-08-08java: remove dead methodsNoel Grandin
Change-Id: I9f2e705fd603a7c8832c0f0772bee9f395380a0d
2014-08-05java: remove commented out codeNoel Grandin
Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
2014-08-04java: remove some unused variablesNoel Grandin
Change-Id: Ia9405d3e34e710059ff68bf850de91c36f4e1e1b
2014-03-31sw: still use SvxBrushItem for page style backgroundMiklos Vajna
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 Grand
(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 Wilms
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 Bergmann
"fdo#39944: Add DOCUMENT_* accessibility UNO roles" Change-Id: I8b68ef756d054ee4e53941927108253d62e82672
2014-01-29sw: CheckBookmarks: can't store OOo XML any moreMichael Stahl
Change-Id: Ib9e92043d8483feb47f024ee067f2103625dd031
2014-01-16Introduce com.sun.star.frame.theGlobalEventBroadcaster singletonStephan Bergmann
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2013-11-17bugs.freedesktop.org -> bugs.libreoffice.orgAndras Timar
Change-Id: I56c1190c93333636981acf2dd271515170a8a904
2013-10-15Remove Java unit tests migrated to PythonDavid Ostrovsky
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 Rollo
Change-Id: Ia0a34c8fa475f9dea609962997bce9169d9b8878
2013-04-26Java cleanup, access static methods using correct syntaxNoel Grandin
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
2013-04-26Java cleanup, remove unused importsNoel Grandin
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-23Java cleanup - reduce use of global fieldsNoel Grandin
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 Meeks
2013-04-19Java cleanup, remove the rest of the unnecessary castsNoel Grandin
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 Stahl
Change-Id: Ib1bc81e907cfd3e7a770fccf032c10fec91147e8
2013-03-21fdo#55814 improve unit testDavid Ostrovsky
Change-Id: I1508cc13bc6f025e671fb0f942a700a37965e242
2013-03-20fdo#55814 create unit test for it firstDavid Ostrovsky
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 Stahl
In getCrsrPropertyValue etc.; also add a unit test for the problem. Change-Id: Ibd459a43393c39b4fed9fb89aae4a5f7bacff007
2012-12-03SwXDocumentIndex: implement css.util.XRefreshableMichael Stahl
... 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 Vanz
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 Grandin
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-08-20Remove dead java code, fields and local variablesNoel Grandin
Change-Id: If777dcb0e0142229df737c2f1e3e6ecb61f64168
2012-08-20SwXTextTable: add "TableBorder2" propertyMichael Stahl
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 McNamara
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 Arnhold
like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5 Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
2012-07-06fdo#33960: fix cross reference number test failureMichael Stahl
Change-Id: If50a09a14ad30fa3dcb587d6e59a5a0d161394b1
2012-06-29Java5 update - convert to use genericsNoel Grandin
Change-Id: Ie9d9b278341132d08477d015245fedf2b66f62fd
2012-06-29re-base on ALv2 code.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-03-05sw: CheckFields: oops, forgot to close the documentMichael Stahl
2012-03-05fdo#39694, fdo#42073: add junit test for theseMichael Stahl
2012-03-05fdo#39694: add test documentJuergen Steinhilber
2012-02-13sw: make LoadSaveTest runnable againMichael Stahl
2011-11-14fdo#40819, i#116193: disable WW8 roundtrip as it breaks on big bookmark countsBjoern Michaelsen
2011-11-10fdo#40819 lp#868229: reenable CheckBookmarks subsequenttestBjoern Michaelsen
* MsWord Hash changed from DEV300m41 => behaviour change, possible regression?
2011-09-13fdo#33960#, fdo#35690#: Disabled failing checkCrossReferences tests for now.Stephan Bergmann