Commit Graph
46 Commits
Author SHA1 Message Date
Caolán McNamara 4df294a2ea ofz#7109 infinite regress
Change-Id: Iac0bd81c9b0e3ac6b005bb0065895ca1b4ca4233
Reviewed-on: https://gerrit.libreoffice.org/51826
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-25 16:30:41 +02:00
Caolán McNamara bee825957a ofz#7043 already registered
Change-Id: Ic94891c82944d04fe3391c0bd0731a6e3e4373e0
Reviewed-on: https://gerrit.libreoffice.org/51691
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-21 13:21:11 +01:00
Caolán McNamara 22fc8c634c ofz#6208 Indirect-leak
Change-Id: I8d6761bd951cc1ddd4a45eabb26428bc40c2271a
Reviewed-on: https://gerrit.libreoffice.org/49600
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-12 21:36:39 +01:00
Caolán McNamara e68faf7d42 ofz#866 crash in LwpFormulaInfo::ReadArguments
Change-Id: Id301c21c8a4a0556b6326b621171aa62bd939d8d
2017-03-14 20:41:32 +00:00
Caolán McNamara 175458c4cd avoid recursive register style
Change-Id: I090cec1f311be5e5a34e208d066925b294310e43
2017-03-02 13:36:38 +00:00
Caolán McNamara b18d49e09a fftester: subtable is a subtable of itself
Change-Id: I9de983e3c9436ab3a37d3482b0f18f04c7cdaaca
2016-05-09 11:00:43 +01:00
Caolán McNamara 4e509d80ee fftester: fail on double parse of the same table
Change-Id: I3e462cdc8812d0ac55d9896d2b04ace34a6c4670
2016-05-08 17:30:47 +01:00
Caolán McNamara 19dde56de6 fftester: double use of XFTable, ref this up
Change-Id: I8e0c2319b2f43b66686fbce372c5df63c75b343a
2016-05-05 20:31:17 +01:00
Caolán McNamara 617bbc9da9 pCont can be null
Change-Id: I7af6c5f4a14e330924a1ea12ebb6328884b8a565
2016-04-09 15:40:26 +01:00
Caolán McNamara b7bf06d5d6 foundry may be null
Change-Id: I39359389a42e35e0131db1d0451fbd5531843f75
2016-04-08 09:29:54 +01:00
Caolán McNamara a4bc9a4319 currentlayout may be null
Change-Id: I1e53482e722b82f052434f45e37a2fbdb2ea6ffc
2016-04-04 10:40:01 +01:00
Caolán McNamara c9a04aed44 hold bullet para by reference
Change-Id: I58025ea906426a7db4079042fa38954f1a3d076b
2016-04-04 09:39:37 +01:00
Caolán McNamara 9814cf713c subtable corruption is possible
Change-Id: Ifbf4312df583724a22328491bea3b6e05b82418f
2016-04-03 21:39:47 +01:00
Caolán McNamara 9e0004f2cc recurse protection for XFConvert
Change-Id: Ib6008d4b07159acad26c7baeb775702119c12e3b
2016-03-15 09:23:15 +00:00
Caolán McNamara bcecf9b13b tweat ExtMargins with same recurse protection as Margins
Change-Id: I24640971ea6ca89878043966293492a991f01008
2016-03-11 10:39:24 +00:00
Stephan Bergmann 60b1c95cc4 Extract Directories from BootstrapFixtureBase
(as some tests derive from the latter only for the Directories part, not for the
setUp/tearDown overrides: those tests will be cleaned up next)

Change-Id: Ib6b78eea868b8bc21d4cc6e8fd9e1d025deca05f
Reviewed-on: https://gerrit.libreoffice.org/23078
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-10 08:04:40 +00:00
Caolán McNamara f16ceae46d avoid infinite regress in busted documents
Change-Id: I639617e41cd9a9a51a3dd3efa32ac1cf2991b9d2
2016-03-08 12:10:18 +00:00
Caolán McNamara 0c9c5911b6 lwp: fix infinite recurse
Change-Id: Ibd17c0f68a9bac92e591fd2c998de45a84b372aa
2016-03-07 09:26:40 +00:00
Noel Grandin 70f87284c6 improve defaultparams loplugin
to catch calling params with defaults like "= OUSString()"

Change-Id: Iad060e318ed492c22f8be44e326174fe6d28fff9
Reviewed-on: https://gerrit.libreoffice.org/22932
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 05:57:17 +00:00
Noel Grandin fcb8df3bcf use uno::Reference::set method instead of assignment
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
2015-11-04 14:20:51 +02:00
Stephan Bergmann b36963c0a6 Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
Noel Grandin 48bb2913a7 convert SFX_FILTER_ constants to enum class
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-19 08:25:03 +02:00
Noel Grandin fb14be5f8f create new 'enum class' SotClipboardFormatId to unify types
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-18 14:23:50 +02:00
Stephan Bergmann 70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Luboš Luňák 1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Marcos Paulo de Souza e6ba54ceb8 Remove (RTL_CONSTASCII_USTRINGPARAM from lotuswordpro
Change-Id: I4912ffc42edbfa1456835e61163812c371eb14c6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com
Reviewed-on: https://gerrit.libreoffice.org/1293
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-11 12:19:16 +00:00
Caolán McNamara c2913591d8 rework filters test to squeeze through extra flags
that are needed to load .odt, .sxw etc files, and
add a regression test for CVE-2012-4233

Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-11-01 13:14:09 +00:00
Caolán McNamara 69bb7c732d regression test for CVE-2012-1770
Change-Id: I2c51a128437913c3bb0bc7a59774ff117603dc82
2012-07-26 16:38:05 +01:00
Caolán McNamara 6220ed4e6e callcatcher: update list 2012-03-07 11:06:48 +00:00
Caolán McNamara c452088325 add a more extensive lotuswordpro sample 2012-03-02 12:40:49 +00:00
Caolán McNamara c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Caolán McNamara db5a5ffa82 split bootstrapfixture and move test-filters class for sot test
sot is below vcl, but is a filters test, we can split bootstrapfixture
into a vcl needing bit and and non-vcl bit and filters test api
can be standalone and combined with whichever bit in order to form
pre and post vcl filters test
2011-10-15 12:18:44 +01:00
Michael Meeks 8a0d0457a7 test fix: use setUp and tearDown not constructors to init LibreOffice
It turns out the constructors are all run back-to-back one per filter,
and we need to init and de-init in a sensible order to make multiple
tests that otherwise share the ContentBroker work properly.
2011-10-05 16:02:28 +01:00
Caolán McNamara 4a5745503c merge filters-test code 2011-09-30 12:39:35 +01:00
Stephan Bergmann d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Norbert Thiebaud 7789e25073 remove /clone/calc reference in lotuswordpro qa 2011-08-06 13:07:55 -05:00
Caolán McNamara 13635f0afd overlong lines 2011-07-17 21:49:51 +01:00
Tor Lillqvist a727681c02 Fix lotuswordpro unit test on Windows
file: URLs on Windows are of the form file:///c:/path/to/file , and
the SRC_ROOT environment variable is of the form C:/lo/git/master, so
we can't just concatenate "file://" and SRC_ROOT, but have to insert a
"/".

Windows programs don't understand Cygwin symlinks, so we have to
specify the path from SRC_ROOT to lotuswordpro through an explicit
clone/filters path.
2011-05-15 12:51:53 +03:00
Jan Holesovsky daff075ae6 Fix lotuswordpro unit test to be able to access the files.
[When building from tail_build.]
2011-04-28 16:31:57 +02:00
David Tardon ee375279ee clean up 2011-04-27 10:31:31 +02:00
David Tardon 7cfad1dad1 use the new UNO-related defs from CppunitTarget 2011-04-24 09:46:04 +02:00
Joseph Powers 8f8f5c4f31 Fix compile issue. 2011-04-19 21:08:21 -07:00
Caolán McNamara 7d4f1eafcf remove old stuff now 2011-04-15 15:56:21 +01:00
Caolán McNamara 93813f421f port unit test to gbuild after fixing filter 2011-04-15 15:54:38 +01:00
Caolán McNamara 6a52e0ced4 add a test harness and samples 2011-04-11 21:41:58 +01:00