Commit graph

362431 commits

Author SHA1 Message Date
Noel Grandin
182fc4f184 fdo#84938: replace WINDOW_BORDER constants with enum
Change-Id: I91ca8e09971aee26f16257a4fd01125cfb2ebcdb
2014-10-21 09:06:40 +02:00
Miklos Vajna
4332787892 nShearWink -> nShearAngle
Change-Id: I122f16783db4025b9335ed82a12f051516d98d4c
2014-10-21 08:56:29 +02:00
Stephan Bergmann
42a05b4b2a Remove unnecessary jfw_plugin::getVendorNames
Change-Id: I3c134c27db4c1496fcacc519da68af10ab3ce574
2014-10-21 08:52:58 +02:00
Tor Lillqvist
a8c24b25fd Cross-compilation fix
Change-Id: I205afbd9c1cbe3a286359036cbdcf6aa9d986f71
2014-10-21 01:49:38 +03:00
Tor Lillqvist
bf8fb8cfc3 Make the patch apply again after NSS update
Change-Id: I935188ee90b4c56c5a4d7cc374a26e4b182beb5f
2014-10-21 01:48:36 +03:00
Tor Lillqvist
7caf64cd7d Current iOS SDK is now 8.1
Change-Id: Ie2860cf1a279d08cf8a08b72c20539ddaa00be15
2014-10-21 01:02:01 +03:00
Tor Lillqvist
1ddc9fd636 Correct comment
Change-Id: I29633cfe7b378796bec5fe822941193ded8a9aa9
2014-10-21 00:44:22 +03:00
Matthew J. Francis
36b25a83fe fdo#85185 Copy OUString argument to avoid a use after free
The original OUString is destroyed along with its containing
object part way through the call to PaletteManager::PopupColorPicker(),
so a copy must be taken

Change-Id: I8417ff23a17003e80a4f65e0cf1ad2a8dda5386c
Reviewed-on: https://gerrit.libreoffice.org/12031
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-20 18:56:59 +00:00
David Tardon
bd4e81bab2 put back variable deleted by mistake
Change-Id: Ic705fe6bb7c3b9bae4b09d0b487f48056675b4b8
2014-10-20 18:38:44 +02:00
Caolán McNamara
9bdca0019b crash in tools->options->advanced
regression from...

commit 06562c6784
Date:   Sat Oct 18 10:36:36 2014 +0200

    convert SV_BMP_ constants to enum

    Change-Id: I46cb7f649fa44d8967e0e7da03583157d2706f05
    Reviewed-on: https://gerrit.libreoffice.org/12018
    Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
    Tested-by: Noel Grandin <noelgrandin@gmail.com>

Change-Id: I29486e8fe17d9e06e01c33f93d99ffc6ae3d017c
2014-10-20 17:19:09 +01:00
Stephan Bergmann
af748c7fff Clean up VendorBase (virtual) member functions further
Change-Id: If6b9355c6992eb6651f71c0944a93af0856ef1c7
2014-10-20 18:07:27 +02:00
Stephan Bergmann
5dcfbe57c8 Clean up VendorBase (virtual) member functions
Change-Id: I1377dfded1246c8e96db3addc28489886c7f2d99
2014-10-20 17:58:44 +02:00
Caolán McNamara
454f5c3018 Revert "Fix fdo#84795 Menu, DropDown-List not disappears with right mouse click"
This reverts commit 53c836701e.

because it means that all disabled buttons get their "click" delivered
so disabled buttons are only visually disabled.

e.g. writer: insert->table->autoformat, click on the disabled "rename" or "add"
or "remove" and the sub dialog appears. Or in calc insert->object->chart and
click on the disabled "back" -> crash
2014-10-20 16:43:15 +01:00
Michael Stahl
908d1b6e63 chart2: fix memory leak due to cyclic reference in VAxisBase
The VAxisBase::m_xNumberFormatsSupplier refers to the ChartModel itself,
and apparently that is a cyclic reference.  Naively using the
ChartModel's m_xNumberFormatsSupplier in
ChartView::impl_createDiagramAndContent() because it will later be passed
to AxisHelper::getExplicitNumberFormatKeyForAxis(), which expects to be
able to convert it to a ChartModel.

Since passing around the ChartModel as an XNumberFormattingSupplier is
sort of un-intuitive anyway, refactor some methods to use XChartDocument
instead, and only create the VPolarAxis / VCartesianAxis with the
ChartModel's m_xNumberFormatsSupplier.

The drawback is that if ChartModel::attachNumberFormatsSupplier()
is called after ChartView::update() has created the axes, it may not
have an effect on them; not sure if that is a real or hypothetical
problem.

Change-Id: Ib5f0d5882b85adaf44f80e086f19178b3e64882f
2014-10-20 17:14:26 +02:00
Caolán McNamara
ae218f4895 tweak CaughtException
Change-Id: If5aac87876b139bfb394ec124136de131c3518ae
2014-10-20 16:17:58 +01:00
Michael Stahl
a4e219eee6 add bin/refcount_leak.py script to help detect leaks of UNO objects
Initially this didn't help at all, but with some tweaks it now finds
the leaked ChartModel as the #3 and #4 printed stacks, with a very bad
score of 40.

Change-Id: I918bcb64bad0b9432bf2b670b03915836fb34a11
2014-10-20 17:14:37 +02:00
Caolán McNamara
7ce03365e8 Related: fdo#84676 set floating undo bits to the same as the color pickers
Change-Id: I153d92e94319bd1e7f0d425288f184bd8d13542d
2014-10-20 15:53:26 +01:00
Caolán McNamara
d89a2aaaeb fix font tests
Change-Id: I2738ea2a5c6714d8e43c06aa2eb4c53500a5afe9
2014-10-20 15:32:53 +01:00
Stephan Bergmann
70ae4721b9 -Werror,-Wunused-private-field
Change-Id: I2e7c2206872dfe22c77555f3a14ea2a10c2453c2
2014-10-20 16:03:43 +02:00
Andras Timar
0c1ad017f7 fdo#85042 Windows XP SP2 is required
Change-Id: Ie36cc7444fe5d685393e06d3d3a3a8d827b2f775
2014-10-20 15:59:34 +02:00
Stephan Bergmann
66da64c748 Missing include
...and only use getCaughtException as first statement in catch block.

Change-Id: Idcac073896b84fd2671b52b2315f454651dbf910
2014-10-20 15:42:36 +02:00
Adolfo Jayme Barrientos
b38c71e365 fdo#78826 HIG: missing colons and capitalization in sc
Also:
* Something I missed from the HIG: standardize Help button position

Change-Id: Iaac65bd277d87ff58883f287808a5c5b804cc04e
Reviewed-on: https://gerrit.libreoffice.org/12015
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-20 13:37:05 +00:00
Stephan Bergmann
f6101f6d3e Work around workaround for old MSVC 2012
...not allowing certain o3tl::is_typed_flags::Wrap conversion operators to be
explicit, thus causing ambiguities here.

Change-Id: I5108885229eb185ceac57042e67405b393cdcf3b
2014-10-20 15:36:39 +02:00
Caolán McNamara
f9c2426740 Resolves: fdo#84885 chart wizard dialog cut off
Change-Id: Ie24687cd1c54b1fed04745c83f507c17a5574175
2014-10-20 14:28:20 +01:00
Michael Stahl
f5e135bb25 chart2: fix temp file leaks in Chart2ExportTest
Change-Id: Id128f19dee056189a34a02156fd0bf3ac14c2454
2014-10-20 15:27:04 +02:00
Michael Stahl
9a1889f0cb chart2: fix temp file leak caused by missing tearDown() between tests
Change-Id: Ia4ee76743c640c0c5b92ec169e619f6c8788480e
2014-10-20 15:27:03 +02:00
Michael Stahl
6e355d9561 Revert "at least fix the crash when calling SdXImpressDocument::dispose
... for now"

This reverts commit 599473a13e3c5ba669d995c913ad415bd674a16c.

moggi says the unspecified crash happened with the tests following the
comment in chart2import.cxx:75, but the tests run fine in valgrind now.

The commit creates a memory leak in the CppunitTests as
SfxBaseModel::dispose() returns early, because mbDisposed is set.

Change-Id: I987dce6a4090784d166a4a3b2e7f9e2c0cddd289
2014-10-20 15:26:57 +02:00
Miklos Vajna
382bab9412 DOCX import: fix <w:pageBreakBefore> wrt. inherited styles
We used to ignore this element with a "false" logical attribute, but
that causes a problem when an inherited style wants to explicitly
disable this element from a parent style.

Change-Id: I2fc4c5b2002987d44679d863ea3f19114b9ab7a4
2014-10-20 15:23:50 +02:00
David Tardon
f24c608705 allow to build with system opencollada
Change-Id: I6101099c57d429987e06bca0652c843f4a94f8cc
2014-10-20 14:47:58 +02:00
David Tardon
689851d9bb add test file for MWAW presentation import
Change-Id: I676de4ca59524e858bf24133d7c54f424922ef26
2014-10-20 14:47:57 +02:00
osnola
3a6e9fb873 Add a filter for AppleWork's presentation file...
Change-Id: I9f03ecc6d67ad77ccb0d5240fe0b5968c8063bd3
2014-10-20 14:47:57 +02:00
Stephan Bergmann
9df18fd92c Revert "fdo#75757: remove inheritance to std::map"
This reverts commit a2deca9d75: config_map had
been introduced on purpose with bfb978334c
"configmgr: faster / simpler compare for keys."

Change-Id: I3ae0edc4d23977c6537bd2f462f90a702266de6d
2014-10-20 13:42:30 +02:00
Noel Grandin
3bb30a68e0 loplugin: cstylecast
Change-Id: If50022b55a558c4124d71acbbe0ef5eb48801d0b
2014-10-20 13:33:58 +02:00
Noel Grandin
efa7f1a549 loplugin: cstylecast
Change-Id: Idb6337bed1c32444f9644d54eba5240f09c13ef6
2014-10-20 13:33:57 +02:00
Noel Grandin
b0509439d9 loplugin: cstylecast
Change-Id: I2cb764db97469654f977de63e273874d43745bf8
2014-10-20 13:33:57 +02:00
Noel Grandin
8c8d6f0849 loplugin: cstylecast
Change-Id: Ia3055b00c20a885dfa0584f864f0e91ccad1e9c9
2014-10-20 13:33:11 +02:00
Caolán McNamara
e12ba2eddc Resolves: fdo#85006 limit script stripping to known suffixes
Change-Id: I276535b007bbb55555148d5937076b86da5de825
2014-10-20 11:53:18 +01:00
Adam Co
eb7aa9f1fa fix problem with gcc compiler complaining on variable type
Change-Id: I9a16e24e79d22b0af1710d6ac25eaa5fb19c71ff
Reviewed-on: https://gerrit.libreoffice.org/12047
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-20 10:43:11 +00:00
Caolán McNamara
87118d5adf coverity#735638 Division or modulo by float zero
Change-Id: I2f183bc0bb9c67e3873e13a4bdbc57be9471b8a3
2014-10-20 10:57:23 +01:00
Caolán McNamara
90fbb7086c coverity#735639 Division or modulo by float zero
Change-Id: I2ba45c49fb00fdd53b8e388e25df503e82c2332e
2014-10-20 10:57:22 +01:00
Caolán McNamara
366c658c77 add CVE-2013-4979 test
Change-Id: I54025f46394ec1b16443ba75ff9edf9d8e1f6738
2014-10-20 10:57:21 +01:00
Caolán McNamara
0694856737 add eps import regression test
Change-Id: Iba88c7e54ba83132a859124d51f88be72cb3e3e1
2014-10-20 10:57:20 +01:00
Caolán McNamara
9e8a88b6da coverity#706540 Uncaught exception
Change-Id: I175050b5ab66f4eeaa658f0aab1739b175d38d51
2014-10-20 10:57:19 +01:00
Caolán McNamara
4fd65ac329 coverity#706538 Uncaught exception
Change-Id: If23396c545e7add653fa9e5ac6e544aaa794120d
2014-10-20 10:57:18 +01:00
Caolán McNamara
9f65dff35e coverity#704010 Unchecked return value
Change-Id: I90750c51ce3b38defdba7ecdb7734172983efa8c
2014-10-20 10:57:18 +01:00
Caolán McNamara
0048a11521 coverity#982248 Unchecked return value
Change-Id: Ice8c1b3eab28fc8ef27d802f64b7dd90a0614e42
2014-10-20 10:57:17 +01:00
Caolán McNamara
3661bcded8 coverity#703957 Unchecked return value
Change-Id: If9e3e7297b1539c93902895c50af3fb8f6c83a76
2014-10-20 10:57:16 +01:00
Caolán McNamara
d615d83381 coverity#1242704 Untrusted loop bound
Change-Id: Ib2e00c0cd269dc7ae55b206713fe07e5326072f2
2014-10-20 10:57:15 +01:00
Caolán McNamara
1361dfc0aa coverity#1242606 Untrusted loop bound
Change-Id: Iafa03d4dd65eb343a80996880bc1ed846d1b7491
2014-10-20 10:57:14 +01:00
Stephan Bergmann
e3dc8cb177 Missing "
Change-Id: I5d596f85fe11bc9336e1669d571795f3dfc70c6c
2014-10-20 11:02:44 +02:00