Noel Grandin
06cb2df4db
Convert VclAlign to scoped enum
...
Change-Id: I03718cc63ec5c1260ebd599bddb1a787ca8f5788
Reviewed-on: https://gerrit.libreoffice.org/25603
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-30 06:36:21 +00:00
Noel Grandin
a6dacbe1d7
Convert TimeFormat to scoped enum
...
Change-Id: Ia40c70493a61886c76e515c3b2953243025c2438
Reviewed-on: https://gerrit.libreoffice.org/25602
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-30 06:36:08 +00:00
Noel Grandin
98d0983935
Convert MTF R2 constants to scoped enum
...
Change-Id: I9c18e5bbbd176cf5276000e43f4c3a993e4e0d87
Reviewed-on: https://gerrit.libreoffice.org/25545
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-30 06:35:32 +00:00
Noel Grandin
b0950b1578
Remove CycleMode enum
...
to never takes any value other than NORMAL
Change-Id: I9558ee8864537c695ce1172a0cfad421d5f591ee
Reviewed-on: https://gerrit.libreoffice.org/25587
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-30 06:35:15 +00:00
Noel Grandin
77d5491e15
loplugin:unusedmethods
...
Change-Id: I08e9bb65b2530148b80c67f01d51e594fc698acb
Reviewed-on: https://gerrit.libreoffice.org/25543
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-30 06:34:42 +00:00
Noel Grandin
3e9e667af2
loplugin:unusedmethods SfxLinkUndoAction
...
Change-Id: I1ad7c2452dd9bc80e7404f41484b9667adbcfa7b
Reviewed-on: https://gerrit.libreoffice.org/25542
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-30 06:34:32 +00:00
Justin Luth
12868914a3
tdf#99870 writer: don't delete selection with delete-comment
...
When using the keyboard to select text and then deleting a comment,
all the text between the cursor and the comment would also be deleted.
(Not necessarily the selected text, but everything
from the point or the mark would be included in the delete.)
Change-Id: Id15a00d112d118227bc4a34b5102bb09d8d167b0
Reviewed-on: https://gerrit.libreoffice.org/25216
Reviewed-by: Justin Luth <justin_luth@sil.org >
Tested-by: Jenkins <ci@libreoffice.org >
2016-05-30 05:32:54 +00:00
Takeshi Abe
e71ab23aa3
starmath: Drop redundant IsFormulaArranged() check
...
as ArrangeFormula() itself checks bIsFormulaArranged,
and does nothing if it's on.
Change-Id: Icc76208f6881d4de99e88feae5f19d7e8890e4e9
Reviewed-on: https://gerrit.libreoffice.org/25570
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp >
2016-05-30 01:44:47 +00:00
Julien Nabet
7a2bca302f
cid#1362174, 1362177: USE_AFTER_FREE+resource leak due to copypasta
...
Change-Id: Icd903335fdef3921781e2f16e98a0e10bda31e3f
Reviewed-on: https://gerrit.libreoffice.org/25641
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2016-05-30 00:32:03 +00:00
Caolán McNamara
2ad5055145
coverity#1362173 Dereference after null check
...
Change-Id: I75c6f6fba947ac56c198afdef9b5ad078a76cdc5
2016-05-29 22:44:27 +01:00
Caolán McNamara
b5ff87efd8
coverity#1362175 Uninitialized scalar field
...
Change-Id: Ia2da9cc6a2e2f6c5f3f85c2ad3d95fb1adad6225
2016-05-29 22:44:27 +01:00
Caolán McNamara
6f5a6d1668
coverity#1362019 Uninitialized scalar variable
...
Change-Id: I18d913fc6e0131f0c31c9d0cfe0f39e1161035eb
2016-05-29 22:44:27 +01:00
Stephan Bergmann
fe4e6a9b10
loplugin:unreffun
...
Change-Id: I31e62926ddfddc8bbdab681a55cdc381d3275794
2016-05-29 23:06:22 +02:00
Caolán McNamara
847cdd8efd
Resolves: tdf#97839 a single character may be more than 1 utf-16 code points
...
Change-Id: Iba2460bfb9335615796db3f5e233b870a8d63339
2016-05-29 20:27:00 +01:00
Stephan Bergmann
cc65991377
loplugin:simplifybool
...
Change-Id: I4a07ec3eb9ab3d01c6104346a9bd9654bdcb1efe
2016-05-29 20:56:20 +02:00
Julien Nabet
634fd0016e
tdf#100115: _nColId is sal_uInt16
...
like the other methods, so fix it in canCopyCellText + copyCellText
Change-Id: I3395f8823602f0a1791908945e3dec5034d3d612
Reviewed-on: https://gerrit.libreoffice.org/25605
Tested-by: Lionel Elie Mamane <lionel@mamane.lu >
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu >
2016-05-29 15:58:44 +00:00
Zdeněk Crhonek
1c5e150ec8
add DAYS360 test case
...
Change-Id: If670fcbf870d96e2328c02bc0f42beb5cd8e60ff
Reviewed-on: https://gerrit.libreoffice.org/25583
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2016-05-29 11:40:56 +00:00
Tomaž Vajngerl
fdcd13c1c2
tdf#100080 set unused shader attribs with values, fixes GL on AMD
...
AMD drivers don't work well if a shader has a defined but not
enabled shader attributes. For this reason we need to make sure
that all attributes are set to some value even if the shader
doesn't use that attribute. Intel drivers, on the other hand,
crash if you enable an attribute and don't set it (set it
to null) - so we can't use this workaround.
Change-Id: Ic076cf8a5fac8ef048d0054e6e4340b47b4d5188
Reviewed-on: https://gerrit.libreoffice.org/25591
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com >
2016-05-29 06:20:36 +00:00
Ashod Nakashian
8915919b57
bccu#1851 - CTRL+A in Writer comments shows selection at top-left corner
...
Change-Id: Ia87b86a45a38449d59eb7bcea7f8cb4068655a17
Reviewed-on: https://gerrit.libreoffice.org/25571
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
Tested-by: Ashod Nakashian <ashnakash@gmail.com >
(cherry picked from commit b736ea1b02346ba190f280f254714bb6e1983858)
Reviewed-on: https://gerrit.libreoffice.org/25572
Tested-by: Jenkins <ci@libreoffice.org >
2016-05-29 01:58:52 +00:00
Ashod Nakashian
33d4f7e562
bccu#1843 - Calc copy/paste chart tile invalidation problem
...
Reviewed-on: https://gerrit.libreoffice.org/25489
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
Tested-by: Ashod Nakashian <ashnakash@gmail.com >
(cherry picked from commit 28795d0faabd1e1be124fa90bef06d7f47a63311)
Change-Id: I2f0bf28e87f4188abd81eb6c42bae915b2a046a8
Reviewed-on: https://gerrit.libreoffice.org/25490
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
2016-05-29 01:57:16 +00:00
Ashod Nakashian
c8a09eb373
bccu#1781: Impress/Comments - selection not updated on delete
...
Change-Id: I694d76785fcf6ec9c158c34cbe07f4d1f2c7a41d
Reviewed-on: https://gerrit.libreoffice.org/25219
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
Tested-by: Ashod Nakashian <ashnakash@gmail.com >
(cherry picked from commit b95e4e8681c9cefb4e1d4177192164e041baf9d9)
Reviewed-on: https://gerrit.libreoffice.org/25428
Tested-by: Jenkins <ci@libreoffice.org >
2016-05-29 01:56:38 +00:00
Ashod Nakashian
05b7ebaf98
LOK: don't filter cursor visibility during painting
...
Change-Id: Ia44ffe08dc8f46e0d10a73db374a283eb032f771
Reviewed-on: https://gerrit.libreoffice.org/25120
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
Tested-by: Ashod Nakashian <ashnakash@gmail.com >
(cherry picked from commit f805637353e4463d5b64f1b010bb580e191bd3aa)
Reviewed-on: https://gerrit.libreoffice.org/25427
Tested-by: Jenkins <ci@libreoffice.org >
2016-05-28 20:48:29 +00:00
Ashod Nakashian
06c54eabd6
LOK: ensure KeyInput is handled with the correct MapMode
...
The MapMode is set explicitly to make sure the coordinates
of the comment widget is in absolute terms. However
PostItMgr::MakeVisible invalidates it. This is to
ensure that the MapMode is restored after MakeVisible
is called when LOK is active.
Change-Id: I2adf749488e6eb46d29a0b29c4dfd644606c92ab
Reviewed-on: https://gerrit.libreoffice.org/25015
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
Tested-by: Ashod Nakashian <ashnakash@gmail.com >
(cherry picked from commit 0b223bac012fae1af2d2bf1fe9c038cbe88846ed)
Reviewed-on: https://gerrit.libreoffice.org/25426
Tested-by: Jenkins <ci@libreoffice.org >
2016-05-28 20:46:08 +00:00
Ashod Nakashian
a5302d565f
LOK: invalidate annotation window upon showing
...
Change-Id: Ib2624c55759c8ac81986bf3b516fd17cbde19ec9
Reviewed-on: https://gerrit.libreoffice.org/25014
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
Tested-by: Ashod Nakashian <ashnakash@gmail.com >
(cherry picked from commit 4523f78312bd07449fa205301d99a81ef0f69420)
Reviewed-on: https://gerrit.libreoffice.org/25425
Tested-by: Jenkins <ci@libreoffice.org >
2016-05-28 20:45:36 +00:00
Ashod Nakashian
692863ac38
LOK: improved event handling and fixes
...
During painting, when notifications are disabled, we could still
receive notifications that are imporatant and cannot be suppressed.
So certain events are let through during painting.
A comment describes this better in the code.
Some widgets (notably postit/comment control) emits events in
relative (local) coordinates instead of absolute. This is patched
in many cases but some cases still exist that are rather hard
to patch due to the complex interaction with other parts of the code.
These supurious local coordinate updates (notably cursor invalidation)
are supressed to avoid the bad side-effects they cause in LOOL.
Change-Id: Ie22a316d54ea163c6976ed04314d6ced8247824c
Reviewed-on: https://gerrit.libreoffice.org/25013
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
Tested-by: Ashod Nakashian <ashnakash@gmail.com >
(cherry picked from commit b5c2a3fdbbf4161b0699ba515f63f98d7607ddf2)
Reviewed-on: https://gerrit.libreoffice.org/25424
Tested-by: Jenkins <ci@libreoffice.org >
2016-05-28 20:38:37 +00:00
Mihkel Tõnnov
91244b95b7
Estonian localization of aboveWord and belowWord
...
Change-Id: Ie872c593c531b99360efe7fcf807e76cb88acb79
2016-05-28 20:34:28 +02:00
Szymon Kłos
1485262497
notebookbar: sw ui adjustment
...
Change-Id: I89d1a1fe20a617155a11dc59c49454bcd24e3e3d
2016-05-28 14:40:54 +02:00
Adolfo Jayme Barrientos
60dd1527d2
Improve alignment and use of space in Document Properties dialog
...
Change-Id: Id4da1138931ef1601541b7108a4e90b3656a5ccb
2016-05-28 04:51:48 -05:00
Mohammed Abdul Azeem
8128d59722
sax2/ unit tests.
...
Test xml files are added, string is built for each file
and namespaces are handled.
Change-Id: I0ab799ca5c9de7311ccca2a6033a96e02598064f
Reviewed-on: https://gerrit.libreoffice.org/25468
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Meeks <michael.meeks@collabora.com >
2016-05-28 09:46:52 +00:00
Adolfo Jayme Barrientos
ab0189433c
Updated core
...
Project: help a9a0e8625655eabdf702cfc754412488a79c0513
Misused word: “strait” → “straight”
Change-Id: I9129c1d493ef47087fc3d39a58cc5142b4df8e38
2016-05-28 08:01:58 +00:00
Markus Mohrhard
caa315b477
Revert "add DAYS test case"
...
This reverts commit 75e4c58282
.
Change-Id: I52a4bc79790ce479ad3b9762942d6bbc49d4b294
Reviewed-on: https://gerrit.libreoffice.org/25573
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Jenkins <ci@libreoffice.org >
2016-05-28 05:38:19 +00:00
Henry Castro
05ba8e567b
lok: add uno command AssignLayout
...
Change-Id: I959d1a57945a3b5aa3f2c273c4b885ed5f628f6e
Reviewed-on: https://gerrit.libreoffice.org/25569
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Henry Castro <hcastro@collabora.com >
2016-05-28 03:20:23 +00:00
Zdeněk Crhonek
75e4c58282
add DAYS test case
...
Change-Id: I6720a1cfaf5f7463b839ba5ef59e4479ed3781c1
Reviewed-on: https://gerrit.libreoffice.org/25564
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2016-05-28 02:31:15 +00:00
Zdeněk Crhonek
d4e7f4fb32
add DAY test case
...
Change-Id: I010be093e84107d2b0cd46a90f32ce6df081744e
Reviewed-on: https://gerrit.libreoffice.org/25560
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com >
2016-05-28 02:30:43 +00:00
Takeshi Abe
3afac0812b
starmath: Make some functions of SmDocShell public
...
so that SmModel is no longer required to be a friend of SmDocShell.
Change-Id: I7153a9ef13ae829710acf580ff0a9c30705aeb25
Reviewed-on: https://gerrit.libreoffice.org/25528
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp >
2016-05-28 00:06:52 +00:00
Norbert Thiebaud
9d2f7be4e6
shortcut the signal handler during batch test
...
Change-Id: I7848555743e8d54e755dc82cbf0148eeed54110f
Reviewed-on: https://gerrit.libreoffice.org/25178
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2016-05-27 22:55:22 +00:00
Szymon Kłos
7b9c4f56a0
notebookbar: working border style dropdown
...
Change-Id: I37d140d50d37b682617051bed56b850f4f2a00a5
2016-05-27 22:40:38 +02:00
Eike Rathke
3129b75fca
strip 0 argument only if not part of an expression, tdf#70806
...
Change-Id: Ia1f986a594194a1c564d815bbe2faa987eea971a
2016-05-27 21:58:48 +02:00
Tor Lillqvist
483b4d6bfd
tdf#98666: Don't cache progress bars either
...
Fixes the bug only partially, though.
Change-Id: I262f671659e8ad0a3ecd735f5b36362c4119b26c
Reviewed-on: https://gerrit.libreoffice.org/25557
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk >
2016-05-27 19:49:03 +00:00
Tor Lillqvist
e0849330bc
Get rid of unnecessary directory levels $D/inc/$D
...
Change-Id: Ibf313b8948a493043006ebf3a8281487c1f67b48
Reviewed-on: https://gerrit.libreoffice.org/25532
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Tor Lillqvist <tml@collabora.com >
Tested-by: Tor Lillqvist <tml@collabora.com >
2016-05-27 17:10:45 +00:00
Eike Rathke
a88ee01b86
omit DCOUNT or DCOUNTA 2nd argument if 0 when writing ODFF or OOXML, tdf#70806
...
Change-Id: I2833a1005c6941e66a09172b337e23b0bf7f2002
2016-05-27 18:09:21 +02:00
Lionel Elie Mamane
51c8d22ec5
tdf#93403 check for changed DataSource on all Controls on form reload
...
1) OBoundControlModel: when reload() asks us to connect to database column,
redo it even if it was previously done.
2) FmXGridPeer: when getting Reloaded event that we subscribed to
(and specifically from frm::ODatabaseFrom), pass along the event
to all columns before we treat it. The columns (controls) are
themselves subscribed to it, but they may get the event after us,
which means our treatment still uses stale data, which we continue
to display.
The column controls should continue to subscribe by themselves for
the case that they are not in a grid, but direct children of the
form.
Change-Id: I0cbcf2dc792e8650157a69ddc414d755de0e549a
2016-05-27 15:48:50 +02:00
Lionel Elie Mamane
0df3760bc2
tdf#96516 do not increment position counter when an entry is removed
...
Change-Id: I81a4455df1fd5962d0362f4e5fa3396764a0ae5a
2016-05-27 15:48:49 +02:00
Akshay Deep
37b4163ce1
Template Manager: Option to rename category
...
Change-Id: I7a9a0a42afbf5f8a293a130a0b84e72a54540579
Reviewed-on: https://gerrit.libreoffice.org/25539
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2016-05-27 13:21:49 +00:00
Noel Grandin
850a8d27ca
Convert GRAPHIC to scoped enum
...
Change-Id: I1fd09a729cbda00f99841532e0dd3fa66bce7bea
Reviewed-on: https://gerrit.libreoffice.org/25534
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2016-05-27 12:59:23 +00:00
Michael Stahl
6c97427242
Revert "Remove more RSC_DOCKWINDOW related stuff"
...
This reverts commit 538a217263
.
Depends on the previous reverted commit
Change-Id: Ie3cdef43e746712beab31af2abaaede4e53d5506
2016-05-27 14:11:12 +02:00
Michael Stahl
ff5ce47439
Revert "remove unused RSC_DOCKWINDOW flags"
...
This reverts commit c8754b38ce
.
This causes toolkit.AccessibleDropDownListBox to fail with:
LOG> ImplementationName Unknown, does not implement XServiceInfo
Exception while getting Environment Couldn't create a test object
2016-05-27 14:10:31 +02:00
Tor Lillqvist
5e91e48a15
Typo fix
...
Change-Id: Ibf279e723c11a4a5f62ce082938e723a46e40f6d
2016-05-27 15:01:47 +03:00
Eike Rathke
bcd7d8633d
Updated core
...
Project: help 5b1cb4f0bfbae734818ae791165cd1ea7ac5fdcb
tdf#70806 DCOUNT and DCOUNTA DatabaseField argument can be omitted
Change-Id: I340142fedd2239ff318c8f70fe228e696540cfdd
2016-05-27 10:26:18 +00:00
Noel Grandin
538a217263
Remove more RSC_DOCKWINDOW related stuff
...
Change-Id: I89f929c32a71be4fb2f7a867940de4c008079518
2016-05-27 11:27:38 +02:00