LibreOffice.git
8 years agoVersion 4.0.5.1, tag libreoffice-4.0.5.1libreoffice-4.0.5.1
Christian Lohmaier [Tue, 30 Jul 2013 15:55:22 +0000 (30 17:55 +0200)]
Version 4.0.5.1, tag libreoffice-4.0.5.1

Change-Id: Ia204efbd45ee0140ee87b811a42dae69f5612f14

8 years agobump product version to 4.0.5.1, release number to 1
Christian Lohmaier [Tue, 30 Jul 2013 15:54:26 +0000 (30 17:54 +0200)]
bump product version to 4.0.5.1, release number to 1

Change-Id: Ibe6595be4414aefa18c62a8b77be65b4a5ffb3dd

8 years agoBranch libreoffice-4-0-5
Christian Lohmaier [Tue, 30 Jul 2013 15:45:38 +0000 (30 17:45 +0200)]
Branch libreoffice-4-0-5

This is 'libreoffice-4-0-5' - the stable branch for the 4.0.5 release.
Only very safe changes, reviewed by three people are allowed.

If you want to commit more complicated fix for the next 4.0.x release,
please use the 'libreoffice-4-0' branch.

If you want to build something cool, unstable, and risky, use master.

Change-Id: I8b8c4a8a26906f5ad2eff4777eec9e5a3ba88e91

8 years agofix for fdo#62729 reference pos can point to non existing table
Noel Power [Mon, 29 Jul 2013 09:00:15 +0000 (29 10:00 +0100)]
fix for fdo#62729 reference pos can point to non existing table

there is an existing function ( called at least from uno names api also )
that updates the tab pos, calling that seems to fix this problem

(cherry picked from commit b5fffdb8d0438a2fe933a5742d41fe50a14b71f3)

with squash of

unit test for fdo#62729 ( with tweak for 4.0 )

(cherry picked from commit 7b3d8e0a7dcf6ae05e1de5c33ed382822cf52cce)

b9be75459aa49b8bab968dedae9e0760ccef9a26
Reviewed-on: https://gerrit.libreoffice.org/5124
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit cb626d01772985bd0eed0f5963475d0e801379c8)

Conflicts:

sc/source/filter/xml/xmlexprt.cxx

Change-Id: I6f6f31895eda9c338eeabd3f3285bf2c9eb23b7e
Reviewed-on: https://gerrit.libreoffice.org/5164
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
8 years agorhbz#989246: Honor user's JavaDriverClass override in mysql driver
Stephan Bergmann [Tue, 30 Jul 2013 07:01:01 +0000 (30 09:01 +0200)]
rhbz#989246: Honor user's JavaDriverClass override in mysql driver

(cherry picked from commit 63897351fc4fd31305bef43b649be74e2b6006c4)
Conflicts:
connectivity/source/drivers/mysql/YDriver.cxx

Change-Id: Ic7dbddb5b17af0bd23864fd19ab2bd815969d008
Reviewed-on: https://gerrit.libreoffice.org/5197
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
8 years agofdo#55955 select first column if possible
Lionel Elie Mamane [Tue, 30 Jul 2013 07:23:52 +0000 (30 09:23 +0200)]
fdo#55955 select first column if possible

Change-Id: I131cb0395c481d9cc1de210abc207221dab14bf4
Reviewed-on: https://gerrit.libreoffice.org/5179
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
8 years agofdo#67467: fix crash when renaming table in AutoFormat dialog
Ivan Timofeev [Mon, 29 Jul 2013 17:43:59 +0000 (29 21:43 +0400)]
fdo#67467: fix crash when renaming table in AutoFormat dialog

this reverts 5031e17d4b11181be94448702b1026bd38e0b3c4 and uses
ptr_vector::release instead of ptr_vector::erase to prevent object deletion.
The use of "transfer" leads to "Assertion `(void*)&from != (void*)this' failed".

Change-Id: I77467ce9e1d9dd4b833032ebbe920cbb34d36675
Reviewed-on: https://gerrit.libreoffice.org/5172
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit 2f527be5513159c0aebd93f356cbd2b1dc04b253)

Signed-off-by: Michael Stahl <mstahl@redhat.com>
8 years agofdo#66025: Improve accuracy of ImportError traceback and message
David Bolen [Mon, 29 Jul 2013 10:44:26 +0000 (29 12:44 +0200)]
fdo#66025: Improve accuracy of ImportError traceback and message

The ImportError raised on an import failure with the uno module loaded
now includes a complete traceback and the original Python exception
message text, combined with the most relevant (nearest to failure if
imports are nested) uno lookup that also failed.

Cherry-picked from 948b6ea02ea9de7fb4e1e2baf95ecae3ba1cd54e plus previous
patches leading up to that, 7fd81244c21ad54a8b9766902fd7c34e8055b165 "fdo#66025:
Improve ImportError raised from _uno_import,"
329125abb63061214897e4f215d41cfa4b13b4b0 "fdo#66025: Minor clean-up of previous
patch," and fbe28de6fbfdce41544e4e93168d32661add8285 "fdo#66025: Simplify new
ImportError logic."

Change-Id: I8c22f22c2d96bdd7fb99a87273ba574e22a86923
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit 52a533cc31f630ad482fe0fde8d925b459c787bf)

8 years agofdo#54320: VoiceOver does not follow keyboard focus
Boris Dušek [Sun, 21 Jul 2013 20:05:59 +0000 (21 22:05 +0200)]
fdo#54320: VoiceOver does not follow keyboard focus

The AXFocusedUIElementChanged notification must have the application object
as its parameter, as it is the application object whose AXFocusedUIElement
attribute value is changing (and because the docs say so).

Change-Id: Ife63a1e59d8a24256ace38fb98b69fd1544f9c96
Reviewed-on: https://gerrit.libreoffice.org/5158
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
8 years agofdo#67303: sw: speed up setting IsHidden property on styles
Michael Stahl [Fri, 26 Jul 2013 15:05:24 +0000 (26 17:05 +0200)]
fdo#67303: sw: speed up setting IsHidden property on styles

Importing an ODF document with 4089 styles is ridiculously slow,
spending most of the time in SwStyleSheetIterator::First() to reset
an existing iterator.

Since the SwStyleSheetIterator can handle the case when First() has not
been called anyway, just add a new method that resets the bFirstCalled
flag, which takes next to no time.

(regression from a0dcf961879ab644a52f801f65466756cb144b72)

(cherry picked from commit 8fb210a2ddc0b09288316cf459bebfe196ea94fb)

Conflicts:
svl/inc/svl/style.hxx

Change-Id: I8741b4c0cd51f8c244462ce28a754abc427d0df3
Reviewed-on: https://gerrit.libreoffice.org/5138
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
8 years agofdo#61201: Don't forget to calculate row offset for external single ref.
Kohei Yoshida [Sat, 27 Jul 2013 20:33:00 +0000 (27 16:33 -0400)]
fdo#61201: Don't forget to calculate row offset for external single ref.

Change-Id: Ie3dbf2eeba98a60aa2426b1db35ac885102d3821
(cherry picked from commit 8b96cfd6caedbad7b3b79e57421a834f18c5c511)
Reviewed-on: https://gerrit.libreoffice.org/5143
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
8 years agofdo#60282 fdo#66745 i#122509 Corrected typo in basegfx
Armin Le Grand [Mon, 10 Jun 2013 12:45:36 +0000 (10 12:45 +0000)]
fdo#60282 fdo#66745 i#122509 Corrected typo in basegfx

(cherry picked from commit cdf48cfdbdb5348b259f4632790ffd178fcad1f7)

(cherry picked from commit 744244997da79ca95278249eeadf716730fffd82)

Signed-off-by: Michael Stahl <mstahl@redhat.com>
Change-Id: Iaa62acc4901c3edd31d0af7c642327dddf07f562
Reviewed-on: https://gerrit.libreoffice.org/5144
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
8 years agofdo#33605: Handle http etc. URLs with no path but fragment
Stephan Bergmann [Fri, 26 Jul 2013 15:41:08 +0000 (26 17:41 +0200)]
fdo#33605: Handle http etc. URLs with no path but fragment

Change-Id: I8c47cc55e7ad53e514c0bd46130cbbe6a1bb0357
(cherry picked from commit 44ddacb232c4fd5cbb28867aa28d7d855788a511)
Reviewed-on: https://gerrit.libreoffice.org/5130
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
8 years agofdo#67258 catch error when calling mdfind
Christian Lohmaier [Wed, 24 Jul 2013 14:28:04 +0000 (24 16:28 +0200)]
fdo#67258 catch error when calling mdfind

This can be the case when spotlight is disabled. So just ignore any
error when trying to locate installed versions and let the user continue
with the manual selection instead of aborting.

Change-Id: I2c4e12652b8cb3b43af3ca6d8d553f0558f91858
Reviewed-on: https://gerrit.libreoffice.org/5069
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-on: https://gerrit.libreoffice.org/5117

8 years agofdo#67269 adapt checkTable to getTableName change
Lionel Elie Mamane [Thu, 25 Jul 2013 13:32:09 +0000 (25 15:32 +0200)]
fdo#67269 adapt checkTable to getTableName change

getTableName used to return schema.table;
now it returns just table
But tables are indexed by schema.table in getTables(), so reconstruct that for the lookup.

Change-Id: I53da1e43762b3a470e34b5dfdb0e1bb3dc914780
Reviewed-on: https://gerrit.libreoffice.org/5101
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
8 years agoUse the WPX_SEEK_SET inconditionally
Fridrich Štrba [Thu, 25 Jul 2013 14:25:00 +0000 (25 16:25 +0200)]
Use the WPX_SEEK_SET inconditionally

(cherry picked from commit e4906561219fe88345ace8aa4d6f48cbb01262d8)

Conflicts:
libcdr/UnpackedTarball_libcdr.mk
libvisio/UnpackedTarball_libvisio.mk

Change-Id: I8d202d843b8ecf5a32131058ae1a5cd465e6069c
Reviewed-on: https://gerrit.libreoffice.org/5105
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
8 years agoUse inconditionally the libwpd >= 0.9.5 path
Fridrich Štrba [Thu, 25 Jul 2013 13:43:58 +0000 (25 15:43 +0200)]
Use inconditionally the libwpd >= 0.9.5 path

Since libwpd does not output the version number anymore

(cherry picked from commit 93d0e38ccc06060f20073a9461c53f471a1b9c03)

Conflicts:
writerperfect/source/common/WPXSvStream.cxx

Change-Id: I1bc3f7081552795fc2ed33f033a093fa5b40fda8
Reviewed-on: https://gerrit.libreoffice.org/5103
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
8 years agofdo#33617 adapt report engine to incompatible BorderLine2 change
Lionel Elie Mamane [Wed, 24 Jul 2013 21:32:54 +0000 (24 23:32 +0200)]
fdo#33617 adapt report engine to incompatible BorderLine2 change

Conflicts:
reportdesign/source/core/api/ReportDefinition.cxx
reportdesign/source/filter/xml/xmlHelper.cxx

Change-Id: I482e4b7b9f056247de3dae247d9328eb672eeba8
Reviewed-on: https://gerrit.libreoffice.org/5087
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
8 years agofixup cherry-pick of fdo#67186 fix
Lionel Elie Mamane [Wed, 24 Jul 2013 08:59:04 +0000 (24 10:59 +0200)]
fixup cherry-pick of fdo#67186 fix

Fixed commit:

 commit ac2d93cca0791a728583a40dc379c89c22582855
 Author:     Lionel Elie Mamane <lionel@mamane.lu> 2
 AuthorDate: 2013-07-23 19:14:04 +0200
 Reviewed-on: https://gerrit.libreoffice.org/5055
 Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee
 Summary: fdo#67186 switch reporbuilder to null date == 1899-12-30

Change-Id: I1edf6402c9f25094b171ef65c4e1b5037731d17c
Reviewed-on: https://gerrit.libreoffice.org/5062
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
8 years agofdo#67186 switch reporbuilder to null date == 1899-12-30
Lionel Elie Mamane [Tue, 23 Jul 2013 17:14:04 +0000 (23 19:14 +0200)]
fdo#67186 switch reporbuilder to null date == 1899-12-30

This brings it in line with the default for other LibreOffice
components (e.g. Calc), or with the only supported value (e.g. Writer
tables), respectively.

Configure Pentaho jfreereport to also take null date == 1899-12-30

This combined allows reportbuilder to make absolutely no fiddly
conversion itself, leaving them to jfreereport and Writer table
cell format.

Also:

 - Make absolutely no conversion itself, also e.g. for booleans.

 - ODF compliance: make the value-type match the set foo-value attribute.

 - Use value-type="void" instead of empty value-type="string"

Conflicts:
reportdesign/source/core/sdr/RptObject.cxx

Conflicts:
reportdesign/source/core/sdr/RptObject.cxx
reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx

Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee
Reviewed-on: https://gerrit.libreoffice.org/5055
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#66274: Saving document as RTF result in text 'Use Rich Text Format Format'
Julien Nabet [Sat, 20 Jul 2013 22:40:54 +0000 (21 00:40 +0200)]
fdo#66274: Saving document as RTF result in text 'Use Rich Text Format Format'

Change-Id: Id617816c8530b7536238b5aa4a471c57a2a0b82e
Reviewed-on: https://gerrit.libreoffice.org/4999
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-on: https://gerrit.libreoffice.org/5037

9 years agoUpdated core
Andras Timar [Sun, 21 Jul 2013 20:20:32 +0000 (21 22:20 +0200)]
Updated core
Project: translations  abfb59b2b1a2f2c9c7360e7aafb957de9390aae7

9 years agofdo#60075 open drawings with connector attached to SVG
David Tardon [Fri, 3 May 2013 04:15:30 +0000 (3 06:15 +0200)]
fdo#60075 open drawings with connector attached to SVG

This problem arises when there is a connector attached to draw:frame
element with multiple draw:image elements in it. The import code expects
that they are different representations of the same image (I have not
found if this is specified in ODF), so it only selects the most
"suitable" for import. To do that, it imports them all and then removes
all but the selected one. The image import context,
SdXMLGraphicObjectShapeContext, shares the parent frame's attributes,
which means that all the images in a frame have got the same ID. in
SdXMLGraphicObjectShapeContext::AddShape, the created css::draw::XShape
is registered with its ID... That means that anything that refers to the
frame's ID, like a draw:connector, will always get the _first_ image in
the frame.

Solution is to extend comphelper::UnoInterfaceToUniqueIdentifierMapper
to allow reserving an identifier and setting an interface for it later.
That way, SdXMLFrameShapeContext can reserve its own ID before it starts
importing the first draw:image, and then set the selected XShape at the
end.

(cherry picked from commit 30b248dfe5bfb8a0649e36f22c943b3feb2f1385)
Signed-off-by: David Tardon <dtardon@redhat.com>
Conflicts:
include/xmloff/unointerfacetouniqueidentifiermapper.hxx
include/xmloff/xmlmultiimagehelper.hxx
xmloff/source/draw/ximpshap.cxx

Change-Id: I2e11cfd38e1e3534df2b3c01d85da0d755a266c3
Reviewed-on: https://gerrit.libreoffice.org/4982
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoUpdated core
Andras Timar [Fri, 19 Jul 2013 13:41:25 +0000 (19 15:41 +0200)]
Updated core
Project: dictionaries  007194308d9e758c196226b0d9af7f4c1e127ea4

updated Spanish dictionary pack to 0.7

Versión 0.7:
- Más modificaciones en los ficheros de afijos (prefijo contra-).
- Agregado de lemas faltantes, gracias a Alejandro Moreno y KNTRO.
- Revisión de la lista de abreviaturas.
- Corrección de archivos de sinónimos y creación de script asociado.

Change-Id: Iae6fef300292f1df2753f7bdb45040d66c168bb6
Reviewed-on: https://gerrit.libreoffice.org/4986
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoWaE: assuming signed overflow does not occur when assuming...
Caolán McNamara [Thu, 18 Jul 2013 08:43:39 +0000 (18 09:43 +0100)]
WaE: assuming signed overflow does not occur when assuming...

that (X + c) < X is always false [-Wstrict-overflow]

(cherry picked from commit 37a3f9638315483114380a461f60abeab7809a3d)

Change-Id: I63880bf27ab7e34eb9e0be682b39b80b71d65103
Reviewed-on: https://gerrit.libreoffice.org/4963
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
(cherry picked from commit 3d67253be08fba7b717332a23ffbe6f2cb6c2a53)
Reviewed-on: https://gerrit.libreoffice.org/4967
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoUpdated core
Andras Timar [Wed, 17 Jul 2013 11:15:05 +0000 (17 13:15 +0200)]
Updated core
Project: dictionaries  2bb71210af4e70f02d53fff8fca753f7225e1eb2

update Swedish dictionary

Change-Id: Ie67cea97508d45c69d4c2721396e50ffc924e2c9
Reviewed-on: https://gerrit.libreoffice.org/4951
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agoUpdated core
Andras Timar [Wed, 17 Jul 2013 10:39:59 +0000 (17 12:39 +0200)]
Updated core
Project: dictionaries  bb0b0a17c6c147ab0f2c2145d5f7d1bcb0ae7124

update pt-PT dictionary

Change-Id: Ie4dbe9a0a5da536a8d2e3ce1b679c28376706b0c
Reviewed-on: https://gerrit.libreoffice.org/4949
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agofix build with system poppler-0.23.0
Petr Mladek [Tue, 16 Jul 2013 14:45:31 +0000 (16 16:45 +0200)]
fix build with system poppler-0.23.0

XRef *xref parameter has been added to the OutputDev::startPage method, see
http://cgit.freedesktop.org/poppler/poppler/commit/?id=8eb489c355d734a72e140ce7e32470d048362499

Change-Id: I7ad875bf58f6998e639c740f0dac3795738cd1db
Reviewed-on: https://gerrit.libreoffice.org/4940
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
9 years agobnc#829017 fix issue with negative seeks in win32 shell extension
Fridrich Štrba [Tue, 16 Jul 2013 15:13:14 +0000 (16 17:13 +0200)]
bnc#829017 fix issue with negative seeks in win32 shell extension

Change-Id: Ia8072f78ad43281e406377922f50f8de53194f1b
(cherry picked from commit 2a4c55f6d46aec5164ec2ec189ee39cf71c9308c)
Reviewed-on: https://gerrit.libreoffice.org/4942
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
9 years agofdo#63998: Filtering by page fields to work again.
Kohei Yoshida [Sat, 13 Jul 2013 20:59:16 +0000 (13 16:59 -0400)]
fdo#63998: Filtering by page fields to work again.

Conflicts:
sc/source/core/data/dpgroup.cxx

Change-Id: I267ccb30cfa6347313fa1de96e18731f0e22d57d
Reviewed-on: https://gerrit.libreoffice.org/4897
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
9 years agofdo#57631 fix collection of property states
David Tardon [Mon, 15 Jul 2013 10:23:40 +0000 (15 12:23 +0200)]
fdo#57631 fix collection of property states

Change-Id: I607518da26c9430916d922b8e36143cc6dd76f25
(cherry picked from commit d3d95afe5856ef06659d61c3572c7682e5a03766)
Signed-off-by: David Tardon <dtardon@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/4912
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
9 years agoRelated: fdo#66761 the double-encoding bug appears gone in python 3.3.2
Caolán McNamara [Sat, 13 Jul 2013 20:45:29 +0000 (13 21:45 +0100)]
Related: fdo#66761 the double-encoding bug appears gone in python 3.3.2

i.e. I see the bug in our built-in python3 3.3.0 but not in my system python
3.3.2 and there's a raft of email related bug fixes in the 3.3.2/3.3.1
python Changelog

Change-Id: I257770cd0ec41fc3b2f2a638009b075b9a2f325f
(cherry picked from commit 24078e3501042e8693ef1f9d3edebbc47e37ce12)

Related: fdo#66761 we want the bytes, not a str representation of them

Change-Id: I3c268b0c51f7e1ddd2fa6588f40412a33f316b52
(cherry picked from commit f460556bfa6bd55df3cd4b2288524d63db284d7e)
Reviewed-on: https://gerrit.libreoffice.org/4909
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit c71f67198cd6fc98f77289c4f0276a45d19700d8)
Reviewed-on: https://gerrit.libreoffice.org/4914

9 years agoFix some runtime exceptions with msvc-built libvisio
Fridrich Štrba [Sat, 13 Jul 2013 06:13:39 +0000 (13 08:13 +0200)]
Fix some runtime exceptions with msvc-built libvisio

The previous code was causing silent exceptions in some particular
cases. Passing through a temporary works well.

(cherry picked from commit ae9003af4c3942aa184b67c3cb7687f9dfc7dd5e)

Conflicts:
libvisio/UnpackedTarball_libvisio.mk

Change-Id: I71a9a58b98b5f392da4d8a4c8d08ddc1487ec79f
Reviewed-on: https://gerrit.libreoffice.org/4879
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
9 years agoResolves: fdo#66761 Macro controlled Python Mailmerge broken
Caolán McNamara [Sat, 13 Jul 2013 14:56:41 +0000 (13 15:56 +0100)]
Resolves: fdo#66761 Macro controlled Python Mailmerge broken

Change-Id: Id8bbf06a5571534aa5eef8624e89565fe3715938
(cherry picked from commit c4aa13c931da11164835a7aafbfd7e44bd5714ca)
Reviewed-on: https://gerrit.libreoffice.org/4884
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agobnc#828598 fdo#59643 SwFormatClipboard: fix undo of paragraph attributes
Miklos Vajna [Fri, 12 Jul 2013 14:02:43 +0000 (12 16:02 +0200)]
bnc#828598 fdo#59643 SwFormatClipboard: fix undo of paragraph attributes

Paragraph attributes were set directly on the SwTxtNodes, instead of
going through SwWrtShell::SetAttr(), which handles undo/redo.

Regression from 357fac9713875302d30185feabaf5c165e040ca4.

(cherry picked from commit b1cd73d3e62c5192bc3d77f5ecd1036ff42bde61)

Change-Id: I5dc86e20e3c006dab60a075355ce9ad1f1b67bb6
Reviewed-on: https://gerrit.libreoffice.org/4870
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
9 years agoORDER BY columns are prioritarily *SELECT* columns
Lionel Elie Mamane [Thu, 11 Jul 2013 14:53:23 +0000 (11 16:53 +0200)]
ORDER BY columns are prioritarily *SELECT* columns

as opposed to *table* columns,
and notwithstanding HSQLDB 1.8 (our embedded database) bugs.
Actually, supporting ORDER BY on non-select (but table) columns is OPTIONAL for DBMSs
(but quite common)

Conflicts:
connectivity/source/parse/sqliterator.cxx

Change-Id: I6725dfda36b09429a78262bff6f3d3e3dd9032b6
Reviewed-on: https://gerrit.libreoffice.org/4846
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agosort is ascending by default
Lionel Elie Mamane [Thu, 11 Jul 2013 15:42:31 +0000 (11 17:42 +0200)]
sort is ascending by default

Change-Id: I38354405acbbdb27b9e7ce1d19e862b7b352c850
Reviewed-on: https://gerrit.libreoffice.org/4844
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agodelete in destructor checkbox created in constructor
Lionel Elie Mamane [Thu, 11 Jul 2013 09:44:03 +0000 (11 11:44 +0200)]
delete in destructor checkbox created in constructor

Change-Id: Ifceae4c7ffe15bfc62ce34f4463fd4e071403359
fixes: debug build aborts when closing that window
Reviewed-on: https://gerrit.libreoffice.org/4845
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
9 years agorhbz#980387 fix filter selection from file ext.
David Tardon [Thu, 11 Jul 2013 07:25:16 +0000 (11 09:25 +0200)]
rhbz#980387 fix filter selection from file ext.

... for filters that have more than one extension associated with them
(e.g., JPEG).

(cherry picked from commit 70376f610a7eb876739829e1f362bc94b21cb82f)
Signed-off-by: David Tardon <dtardon@redhat.com>
Conflicts:
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx

Change-Id: Ic6b16d3b4aa17580404d02a9fb7b087b9aa52fc2
Reviewed-on: https://gerrit.libreoffice.org/4824
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#66682 RTF export: fix level text of SVX_NUM_ARABIC
Miklos Vajna [Wed, 10 Jul 2013 10:12:55 +0000 (10 12:12 +0200)]
fdo#66682 RTF export: fix level text of SVX_NUM_ARABIC

Even if level text is not ASCII, we should just write the placeholder
values (0x00, 0x01, etc.) in a hex encoded form, without Unicode.
Regression from 07d01742c69f1c0335bc7e1b57abd8341ce255e7.

Also, fix the import side, so the previous bad output now looks bad in
Writer as well.

(cherry picked from commit 8422d1f5042de08e8b090a907889b41e133bda40)

Conflicts:
sw/qa/extras/rtfexport/rtfexport.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx

Change-Id: I2f93892006c07eec243ec7dfcb23372d243a2db4
Reviewed-on: https://gerrit.libreoffice.org/4815
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
9 years agoUploading new libvisio 0.0.30
Fridrich Štrba [Wed, 10 Jul 2013 13:41:17 +0000 (10 15:41 +0200)]
Uploading new libvisio 0.0.30

with huge performance/memory consumption improvements
with NURBS and B-Splines

(cherry picked from commit 0f978a88c618af59e77aeba920093c5e67559c88)

Conflicts:
download.lst
libvisio/UnpackedTarball_libvisio.mk

Change-Id: I5f338d6c70f948dd2192ec7147efdc1bdeef1e05
Reviewed-on: https://gerrit.libreoffice.org/4812
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
9 years agorhbz#960019 : RTF import: handle extra groups in listoverride entry
Michael Stahl [Wed, 10 Jul 2013 10:41:57 +0000 (10 12:41 +0200)]
rhbz#960019 : RTF import: handle extra groups in listoverride entry

This crashed because for a single listoverride entry 2 SPRMs were sent
to the domain-mapper, and the second one was empty.

Conflicts:
sw/qa/extras/rtfimport/rtfimport.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx

Change-Id: Ic41ffd8bd4edcff065f49ecef3464efedd909d63
(cherry picked from commit b3944f124ab3dc87332796a46387f837ad29e8d5)
Reviewed-on: https://gerrit.libreoffice.org/4801
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
9 years agowriterfilter: not every field has a Content property
Michael Stahl [Wed, 10 Jul 2013 10:38:16 +0000 (10 12:38 +0200)]
writerfilter: not every field has a Content property

... so don't try to get it unconditionally  (but SetExpression does
have it).

(regression from c7e4264bed4e77daccf2f72063e5e00f1008c3cf)

Change-Id: I14d24bd70f569ba0bc4f1e48d56ebf43c1441783
(cherry picked from commit 1c90902cbccd4e4f5946dfc454da351c33c24f71)
Reviewed-on: https://gerrit.libreoffice.org/4808
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
9 years agodon't use empty table name
Lionel Elie Mamane [Wed, 10 Jul 2013 00:58:32 +0000 (10 02:58 +0200)]
don't use empty table name

Conflicts:
dbaccess/source/core/api/SingleSelectQueryComposer.cxx

Change-Id: I9c8c3882f659747d53a047481ccabf1785835c99
Reviewed-on: https://gerrit.libreoffice.org/4794
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agofdo#58644 fix handling of subqueries
Lionel Elie Mamane [Tue, 9 Jul 2013 22:50:11 +0000 (10 00:50 +0200)]
fdo#58644 fix handling of subqueries

don't remove parentheses around subqueries
(without the parentheses, it is not valid SQL)

Change-Id: I4e9c55cea0276f10b0f97e31bc329949aba5b989
Reviewed-on: https://gerrit.libreoffice.org/4795
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agofdo#66582 avoid crash because of missing model
David Tardon [Tue, 9 Jul 2013 08:40:21 +0000 (9 10:40 +0200)]
fdo#66582 avoid crash because of missing model

The SdrObject is still under construction at this point, so it does not
make sense to broadcast changes, because there are not any listeners
anyway.

Change-Id: Ib05e30843b4b0e125d5cae18a481e16fb7e21ba1
(cherry picked from commit 6e2815a0ffdb5811f220978734354b1033801927)
Signed-off-by: David Tardon <dtardon@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/4781
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#65055: sfx: fix automatic version on close
Michael Stahl [Mon, 8 Jul 2013 16:26:47 +0000 (8 18:26 +0200)]
fdo#65055: sfx: fix automatic version on close

The parameter "FailOnWarning" is passed around better now, so it arrives
in SfxBaseModel::storeSelf() which considers it illegal.

(regression from e2799d253b1dc62967693aa5bccd7360a9520967)

Change-Id: I2a51a2ecc24e6de506e1840bd28cbe157a8ad6a5
(cherry picked from commit 969bc572441ef8fd43cd7d350a533ffd715b74d3)
Reviewed-on: https://gerrit.libreoffice.org/4774
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#66335: fix fdo#44582 and fdo#63254 differently
Ivan Timofeev [Mon, 24 Jun 2013 18:55:55 +0000 (24 22:55 +0400)]
fdo#66335: fix fdo#44582 and fdo#63254 differently

This combines the following cherry picked commits:

1) fdo#66335: gtk: Revert hacks for RTL scrollbars

returning false here in getNativeControlRegion results in a fallback to
square buttons in vcl scrollbar code. But there is no problem in gtk+ backend
in this case, let's fix the problem differently.

This reverts commits 898a3e84807bccbb876e3f5583728f6d24e05e9a and
e8e82bd2109b82ddd535cdac30303249c6b62942.

(cherry picked from commit 48e1d9c7afe5c2a39d9a08d7a38f7c8ff39d8c84)

2) fdo#44582: fix scrollbars in RTL UI

(cherry picked from commit e3a801e2454eed2e61202bbacca01fe3fcc20c1d)

3) fdo#63254: correct re-mirroring formula

This patch fixes horizontal scrollbar in Calc when a sheet is RTL and UI is LTR.

When a particular window (horizontal scrollbar in this case) is RTL and a whole
UI is LTR this code used for mirroring and re-mirroring back coordinates. AFAICS
mirroring is correct, but re-mirroring is not.

The used formula comes from commit 69b684b12e42bf1396bdffca88ca880ac3c2e00b, and
the same formula appears in the other variant of overloaded function "mirror":
 mirror(sal_uInt32, const SalPoint*, SalPoint*, const OutputDevice*, bool),
but it does not affect the bug.

(cherry picked from commit a08f579e3704fbd97590f9b050d250ae445725a7)

Conflicts:
vcl/source/control/scrbar.cxx

Change-Id: I0ccaa8998fe87403b3606828eaf3f5bd1dbe6bb4
Reviewed-on: https://gerrit.libreoffice.org/4622
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Reviewed-by: Abdulaziz A Alayed <aalayed@kacst.edu.sa>
Tested-by: Abdulaziz A Alayed <aalayed@kacst.edu.sa>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#65932: sw: remove SwDoc::ShareLayout
Michael Stahl [Wed, 3 Jul 2013 13:58:31 +0000 (3 15:58 +0200)]
fdo#65932: sw: remove SwDoc::ShareLayout

It is a crude hack that is no longer necessary because the underlying
problems that caused crashes when deleting the layout have been fixed.

Also it appears to cause crahes now.

Conflicts:
sw/inc/doc.hxx
sw/source/core/doc/doclay.cxx
sw/source/core/doc/docnew.cxx
sw/source/core/view/vnew.cxx

Change-Id: I601bdb0dc0aff5f4ddb8b8f4ba4c8d1f72c76666
(cherry picked from commit f8dfa3a81a5382b2f18a705bd512625754167573)
Reviewed-on: https://gerrit.libreoffice.org/4741
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agon#825976: Fixed the import of Table of Figures
Cédric Bosdonnat [Thu, 4 Jul 2013 13:45:01 +0000 (4 15:45 +0200)]
n#825976: Fixed the import of Table of Figures

Support the TOC \c switch and fixed the SetExpression current
presentation property to have updated fields and TOC.

(cherry picked from commit 22a22a0983ec9c95e5b471395fc1c5bb813bd0d2)

Conflicts:
writerfilter/source/dmapper/PropertyIds.cxx

Change-Id: I6fbd7cc38cf8ea7f08a0d15d1f39ffe4805dd62b
Reviewed-on: https://gerrit.libreoffice.org/4722
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agon#825976: Added common flags support for SEQ field import
Cédric Bosdonnat [Thu, 4 Jul 2013 08:13:07 +0000 (4 10:13 +0200)]
n#825976: Added common flags support for SEQ field import

Change-Id: I9a4505cf060880811abfe355b2ebf810cde9a4d6
(cherry picked from commit 031ced0d1ade5350ef0b17a245a2cb5c76e6173d)
Reviewed-on: https://gerrit.libreoffice.org/4721
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agon#825976: writerfilter initial support of SEQ fields
Cédric Bosdonnat [Wed, 3 Jul 2013 15:43:33 +0000 (3 17:43 +0200)]
n#825976: writerfilter initial support of SEQ fields

No switch and no numeric formatting is taken into account ATM, just the
defaults, but at least we have the fields properly created.

Change-Id: Ib17c5e93199044a05005e4648c7e4cc81baf51dd
(cherry picked from commit 94a9bce4fb61aeeece8809eec1cbdc37101bdd22)
Reviewed-on: https://gerrit.libreoffice.org/4720
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoProper fix for remove_whitespace iterator and older boost
Fridrich Štrba [Sat, 6 Jul 2013 13:09:57 +0000 (6 15:09 +0200)]
Proper fix for remove_whitespace iterator and older boost

The previous "fix" was resulting in exceptions in some vdx files.

Change-Id: I961560b66bc29660daca54e39f14f612bbb50e34
(cherry picked from commit c4475946b3171353d0eaefe72ba24e13744458a3)
Reviewed-on: https://gerrit.libreoffice.org/4758
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agoUploading new libvisio 0.0.29, fixing fdo#66421
Fridrich Štrba [Tue, 2 Jul 2013 12:46:55 +0000 (2 14:46 +0200)]
Uploading new libvisio 0.0.29, fixing fdo#66421

(cherry picked from commit 50b0bf15bf0e173ba449efed93ef3909253b9988)
Reviewed-on: https://gerrit.libreoffice.org/4678
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 3820420edfb828e49735becf796803f0558ef844)

Conflicts:
download.lst

Change-Id: I7b9bc581c81caf74cb6f922abc2cfaee87b20572

Allow build with older boost

(cherry picked from commit d37723a2496907bf60829306c6509fe24a9c4dbe)
Reviewed-on: https://gerrit.libreoffice.org/4681
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
(cherry picked from commit 48259302d6cdf069fccc00461e7ad44b414f93e5)

Conflicts:
libvisio/UnpackedTarball_libvisio.mk

Change-Id: I49902109eb2a1b9561a9ccfa70d89c160a4965a9
Reviewed-on: https://gerrit.libreoffice.org/4711
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
9 years agon#820503: initial MCE support in writerfilter ooxml tokenizer
Cédric Bosdonnat [Wed, 3 Jul 2013 12:47:02 +0000 (3 14:47 +0200)]
n#820503: initial MCE support in writerfilter ooxml tokenizer

writerfilter OOXML tokenizer was just ignoring the mce elements and thus
getting the Choice content and the Fallback one. This initial support
drops all mc:Choice contents to read mc:Fallback. At least for drawingML
vs VML support, we have a much better support of the fallback.

Change-Id: Ic0bf69d0436994e9cfcf38accdd57d17e9f391fe
(cherry picked from commit f4112ce9e7840efbcd567c4d18ed4519a1e91294)
Reviewed-on: https://gerrit.libreoffice.org/4705
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofastsax: provide the element name instead of prefix for unknown elements
Cédric Bosdonnat [Tue, 2 Jul 2013 13:46:59 +0000 (2 15:46 +0200)]
fastsax: provide the element name instead of prefix for unknown elements

Change-Id: I3effd8a0cfe57875446536bbd0a93a73e630a44f
(cherry picked from commit 4946cc813704703f7d988a6acf75c4d9e9c068a9)
Reviewed-on: https://gerrit.libreoffice.org/4704
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoFix Windows signing and timestamping
Fridrich Štrba [Wed, 3 Jul 2013 09:18:41 +0000 (3 11:18 +0200)]
Fix Windows signing and timestamping

(cherry picked from commit 523258e675e881d6f8efc031e3885d0197c8aad0)
Reviewed-on: https://gerrit.libreoffice.org/4692
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 92b5d7f7c9ae3af23833df9fe7a503e844b913e4)

Conflicts:
postprocess/CustomTarget_signing.mk

Change-Id: Ife8774c9a6157e8bb943d1ba8ec32f560c8281c4
Reviewed-on: https://gerrit.libreoffice.org/4694
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
9 years agofdo#61429: Stylist: try a little harder to restore "hierarchical"
Michael Stahl [Tue, 2 Jul 2013 18:46:33 +0000 (2 20:46 +0200)]
fdo#61429: Stylist: try a little harder to restore "hierarchical"

Change-Id: I30972224c5a9aa12c4ef4c2b5ca80e7aece0baad
(cherry picked from commit 8f04b172c5c78fa80c3692a729f0191425195869)
Reviewed-on: https://gerrit.libreoffice.org/4687
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
9 years agoResolves: fdo#66502 set AutoMnemonics before calculating layout
Caolán McNamara [Tue, 2 Jul 2013 14:19:20 +0000 (2 15:19 +0100)]
Resolves: fdo#66502 set AutoMnemonics before calculating layout

Change-Id: I3274ec9e8e4e1f61f0108a3e6ba64107128736c2
(cherry picked from commit 00601259144f5b49b516581ca6ae28fc6e524030)
Reviewed-on: https://gerrit.libreoffice.org/4680
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#58995 Fix focus gained/lost event dropping for Window and Frame
David Ostrovsky [Sun, 30 Jun 2013 06:53:17 +0000 (30 08:53 +0200)]
fdo#58995 Fix focus gained/lost event dropping for Window and Frame

See 9fd9b14cffbf2604022c099b6202bb0a1da6f06e for more details.

Change-Id: Iea92076be8cbcc110deff3c617ee13bbd66aab79
Reviewed-on: https://gerrit.libreoffice.org/4646
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
9 years agoResolves: fdo#66263 calc's protect records doesn't do anything, sid collision
Caolán McNamara [Mon, 1 Jul 2013 10:46:05 +0000 (1 11:46 +0100)]
Resolves: fdo#66263 calc's protect records doesn't do anything, sid collision

(cherry picked from commit 257ba103fb9ffae87189eb5d435969961fe4e98c)

Conflicts:
include/sfx2/sfxsids.hrc

Change-Id: I50c9f0bd28f17e5d56c6d6948871042ba64650ef
Reviewed-on: https://gerrit.libreoffice.org/4652
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#65650: fix Writer ODF import of list style with bullets and color
Michael Stahl [Mon, 1 Jul 2013 21:48:59 +0000 (1 23:48 +0200)]
fdo#65650: fix Writer ODF import of list style with bullets and color

For such lists xmloff tries to set a BulletColor property but
SwXNumberingRules::SetNumberingRuleByIndex() throws a RuntimeException
and does not set any of the list properties on the NumRule.

(regression from abf18610998aa8330f8330f1d769508e47ef5b20)

Change-Id: Id3e80ee1ed67497786258a1096bc5c8dec90ce21
(cherry picked from commit 0520eaf9e661abddadf9a21cfbeab37b0b85dd68)
Reviewed-on: https://gerrit.libreoffice.org/4665
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#66165: WW8 export: fix duplicated paragraph breaks
Michael Stahl [Mon, 1 Jul 2013 17:04:38 +0000 (1 19:04 +0200)]
fdo#66165: WW8 export: fix duplicated paragraph breaks

MSWordExportBase::OutputTextNode(): in commit
8f2a21eac4a904db3cc4c448179e2d2cf5878ef4
(which is not merged) a "WriteCR( pTextNodeInfoInner );" was moved up
a few lines, so it shows up as context in the other commit, and
the bug is that the cherry-pick 83ba821c10392c08334f7d8d3775fe3e8d08f8fd
erroneously adds this context line so now there are 2 WriteCR().

Change-Id: I08434b284f3d8d8426fa997623be352c37d6c7c2
(cherry picked from commit a201ae63ce798438057a1328dc644dc8b64fe4e8)
Reviewed-on: https://gerrit.libreoffice.org/4663
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoresolved fdo#35411 redefined MAXCODE 512 to FORMULA_MAXTOKENS 8192
Eike Rathke [Mon, 1 Jul 2013 21:54:28 +0000 (1 23:54 +0200)]
resolved fdo#35411 redefined MAXCODE 512 to FORMULA_MAXTOKENS 8192

Also renamed MAXJUMPCOUNT to FORMULA_MAXJUMPCOUNT but without changing
the value as the runtime array size of ocChose depends on it, should be
changed before.

Eliminated the duplicated and error causing redefinition of both in
sc/inc/compiler.hxx

Change-Id: I0e87d1439c9564a4f475fcb2870ab51c3b586942
(cherry picked from commit 9c1ca6dca3b553c302a635357e33591605343b99)
Reviewed-on: https://gerrit.libreoffice.org/4668
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
9 years agofdo#64447 when changing setup mode, trigger changed DatasourceType event
Lionel Elie Mamane [Wed, 5 Jun 2013 08:24:25 +0000 (5 10:24 +0200)]
fdo#64447 when changing setup mode, trigger changed DatasourceType event

Change-Id: I961118331f534de103b83766a2c21a6bec479241
Reviewed-on: https://gerrit.libreoffice.org/4430
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
9 years agoallow to create new database using the wizard again (fdo#62937)
Petr Mladek [Tue, 21 May 2013 08:46:45 +0000 (21 10:46 +0200)]
allow to create new database using the wizard again (fdo#62937)

To be honest, I do not userstand the code much. Julien pointed out that
the setParentTitle and onTypeSelected were newer called. The condition
looked like an optimisation and it helped to remove it.

It would be great to put it back. It might be enough to hand the
intial values.

Change-Id: Id06cc9c63a9e578cb3c698c8526851fec71ef9da
Reviewed-on: https://gerrit.libreoffice.org/4429
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
9 years agoResolves: fdo#66403 infinite loop, typo i should be it
Caolán McNamara [Mon, 1 Jul 2013 09:38:51 +0000 (1 10:38 +0100)]
Resolves: fdo#66403 infinite loop, typo i should be it

Conflicts:
cui/source/tabpages/autocdlg.cxx

Change-Id: Ia3ec1302649809b7a63befc0a48fb142f1169936
Reviewed-on: https://gerrit.libreoffice.org/4649
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
9 years agofdo#66101: lowriter crashed when trying to open .docx file
Julien Nabet [Wed, 26 Jun 2013 20:31:11 +0000 (26 22:31 +0200)]
fdo#66101: lowriter crashed when trying to open .docx file

Change-Id: I516bcb4bc18806d5a83f94c0776bd0f918a1e927
Reviewed-on: https://gerrit.libreoffice.org/4550
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-on: https://gerrit.libreoffice.org/4611

9 years agodetect -isystem
Luboš Luňák [Fri, 28 Jun 2013 14:03:05 +0000 (28 16:03 +0200)]
detect -isystem

The base part of 151abb8b2b9d3a22229b98cec12e29484d12109b (and follow-up)
fixes, for other commits using ISYSTEM.

Change-Id: I9ab1ef95ec02ad30f943084161f76da1b2985b88
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
9 years agofdo#66171 ListBox correctly save empty or zero BoundColumn
Lionel Elie Mamane [Thu, 27 Jun 2013 15:14:16 +0000 (27 17:14 +0200)]
fdo#66171 ListBox correctly save empty or zero BoundColumn

Change-Id: I05fa923f962191081ea3318837d3e181c183b466
Reviewed-on: https://gerrit.libreoffice.org/4590
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoconfigure: use -isystem for GSTREAMER_CFLAGS
Michael Stahl [Fri, 31 May 2013 13:24:34 +0000 (31 15:24 +0200)]
configure: use -isystem for GSTREAMER_CFLAGS

... to work around GCC 4.8.0 -Werror=literal-suffix in gst/video/video.h
definition of GST_VIDEO_CAPS_RGB8_PALETTED.

Change-Id: I514b29d58f348bad0b13c7ef66db4b3ee34516cd
(cherry picked from commit 18b0bda1be62da1b0f9c1fc40864ccc486d5b43c)

Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
9 years agoprevent cairo from using -flto with clang, cairo uses it incorrectly
Luboš Luňák [Wed, 26 Jun 2013 13:13:54 +0000 (26 15:13 +0200)]
prevent cairo from using -flto with clang, cairo uses it incorrectly

The option should be used also at link time (as e.g. the gcc man page says),
but cairo doesn't do so, and since -flto makes clang generate .o with LLVM
bytecode, plain ld chokes on it.

Change-Id: Ia5ce9a98afa4f88b8d0943a5971450d7009af913
Signed-off-by: Michael Stahl <mstahl@redhat.com>
9 years agoresolved fdo#35756 import more than 64k HTML table cells
Eike Rathke [Wed, 8 May 2013 16:12:32 +0000 (8 18:12 +0200)]
resolved fdo#35756 import more than 64k HTML table cells

Enhanced EditEngine to be able to hold more than 64k paragraphs. Used
also in RTF import Calc and Writer, so that could benefit as well.

* changed all EditEngine,Outliner,... related paragraph index/count
  variables from sal_uInt16 to sal_Int32
  * sal_Int32 instead of sal_uInt32 to match accessibility API
  * matched some Outliner methods' paragraph parameters from sal_uLong
    to sal_Int32
  * containers capable to hold size_t nevertheless are limited to a
    maximum of sal_Int32
* changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to
  SAL_MAX_INT32
+ added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize
  ESelection with what previously were hard coded 0xFFFF all over the
  place
+ for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL
  to initialize an ESelection spanning all available text like
  aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL)

Reviewed-on: https://gerrit.libreoffice.org/3838
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 2af1f5691e8d64afd5246d245d7876b5a2cd5cd8)

Conflicts:
editeng/inc/editeng/editeng.hxx
editeng/inc/editeng/outliner.hxx
editeng/inc/editeng/unoedprx.hxx
editeng/inc/editeng/unoedsrc.hxx
editeng/inc/editeng/unofored.hxx
editeng/inc/editeng/unoforou.hxx
editeng/inc/editeng/unotext.hxx
editeng/source/accessibility/AccessibleHyperlink.cxx
editeng/source/accessibility/AccessibleHyperlink.hxx
editeng/source/editeng/editeng.cxx
editeng/source/editeng/editobj.cxx
editeng/source/editeng/editobj2.hxx
editeng/source/editeng/impedit.hxx
editeng/source/editeng/impedit3.cxx
editeng/source/editeng/impedit4.cxx
editeng/source/outliner/outleeng.cxx
editeng/source/outliner/outleeng.hxx
editeng/source/outliner/outliner.cxx
editeng/source/outliner/outlvw.cxx
editeng/source/uno/unoedprx.cxx
editeng/source/uno/unofored.cxx
editeng/source/uno/unoforou.cxx
editeng/source/uno/unotext.cxx
include/editeng/editobj.hxx
sc/inc/editutil.hxx
sc/qa/unit/subsequent_filters-test.cxx
sc/source/core/data/cellvalue.cxx
sc/source/core/tool/editutil.cxx
sc/source/filter/xml/xmlcelli.hxx
sc/source/ui/unoobj/fielduno.cxx
sd/source/ui/inc/OutlineView.hxx
sd/source/ui/view/drtxtob1.cxx
starmath/source/accessibility.cxx
starmath/source/accessibility.hxx
svx/inc/svx/svdoutl.hxx
svx/source/accessibility/AccessibleEmptyEditSource.cxx
svx/source/sdr/properties/textproperties.cxx
svx/source/svdraw/svdoutl.cxx

Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00
Reviewed-on: https://gerrit.libreoffice.org/4368
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoimprove performance switching modules in large Libraries fdo#66148
Noel Power [Thu, 27 Jun 2013 12:58:48 +0000 (27 13:58 +0100)]
improve performance switching modules in large Libraries fdo#66148

object catalog when updated, updates ( all ) entries and was parsing
the source for every method in every module

Change-Id: Id68e3c24d597d29a86d3507a7dc20745c96dd2a2
(cherry picked from commit 61027ca6eb450fb20bfe9209ba180fe0606baeab)
Reviewed-on: https://gerrit.libreoffice.org/4599
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofix text position for custom shapes with zoom != 100% fdo#59862
Noel Power [Tue, 25 Jun 2013 13:40:45 +0000 (25 14:40 +0100)]
fix text position for custom shapes with zoom != 100% fdo#59862

custom shapes that had text suffered from strange display at zoom
levels != 100%, this was because there was a bug in the code to
correct the textposition

Change-Id: I8d1817cc6be91b3e6379200eb21eb2966d3c2aa9
(cherry picked from commit 443c13e92c6f900a41e6e383684623ead3e088f5)
Reviewed-on: https://gerrit.libreoffice.org/4515
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoAdd Romanian auto correct words.
Nagy Akos [Thu, 27 Jun 2013 09:11:59 +0000 (27 12:11 +0300)]
Add Romanian auto correct words.

Follow-up commit to fix wrong namepace

Change-Id: I035e176f81770e9cc628a4e36d8ce1c93a9c0242

9 years agoAdd Romanian auto correct words.
Nagy Akos [Thu, 27 Jun 2013 09:11:59 +0000 (27 12:11 +0300)]
Add Romanian auto correct words.

Change-Id: Iaa95e20aa069db6945f8ae22c5cea2de84047e61
Reviewed-on: https://gerrit.libreoffice.org/4570
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agon#820504: start a new subpath with m and t in VML path decoding
Cédric Bosdonnat [Wed, 26 Jun 2013 09:26:56 +0000 (26 11:26 +0200)]
n#820504: start a new subpath with m and t in VML path decoding

Change-Id: I7bac4b111ede5e815d2ed121c18f4cfe1ad0950e
(cherry picked from commit 8d6eb11d6965ee93e72513f5e01b67f598edf6c3)
Reviewed-on: https://gerrit.libreoffice.org/4537
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoForgot to remove one case where nParamCount is set to twice the value
Cédric Bosdonnat [Mon, 24 Jun 2013 09:39:30 +0000 (24 11:39 +0200)]
Forgot to remove one case where nParamCount is set to twice the value

Change-Id: I3649364a889b7ef6ce7ac4316a1621b6328170eb
(cherry picked from commit 7f7a1294e2d0da30a58d897558a18a13dbc5e690)
Reviewed-on: https://gerrit.libreoffice.org/4536
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agon#820504: VML path import fixes: get back missing points
Cédric Bosdonnat [Mon, 24 Jun 2013 08:37:05 +0000 (24 10:37 +0200)]
n#820504: VML path import fixes: get back missing points

nParamsCount was set to the double of the expected value, but the code
handling the command only took the first set of parameters. Removing
this 2* in nParamsCount.

Change-Id: I2a4bb07fc9167e056a52c7adfbee9e1ef8e2636c
(cherry picked from commit 442ad6eef9d6e1588e4985e97ec3eafd6289f9ae)
Reviewed-on: https://gerrit.libreoffice.org/4535
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agon#820504: default color hidden by Default style in writerfilter
Cédric Bosdonnat [Mon, 17 Jun 2013 11:42:34 +0000 (17 13:42 +0200)]
n#820504: default color hidden by Default style in writerfilter

Setting the font color of the default paragraph style to Auto makes the
color set in the Writer defaults (from rPrDefault) ignored.

Change-Id: I1dcd92bcd0774f5229785373242899a492ab7b7c
(cherry picked from commit d7acb5ba0924f848f1ae96eceab50a0169d18445)
Reviewed-on: https://gerrit.libreoffice.org/4534
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#58029: replace quadratic child window loop with linear
Michael Stahl [Mon, 24 Jun 2013 17:50:30 +0000 (24 19:50 +0200)]
fdo#58029: replace quadratic child window loop with linear

... which should speed things up without introducing problems.

(Window::GetChild(n) is inefficient because the children are a linked
list)

Change-Id: I343d51a6866c5014cbca4c256b0c15f938958c39
(cherry picked from commit 38dcfadda85058a0ee87292c8943aec82e34b81e)
Reviewed-on: https://gerrit.libreoffice.org/4491
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
9 years agofdo#60444: Revert "fdo#58029 - substantially accelerate re-rendering..."
Michael Stahl [Mon, 24 Jun 2013 17:05:45 +0000 (24 19:05 +0200)]
fdo#60444: Revert "fdo#58029 - substantially accelerate re-rendering..."

This reverts commit 6c98ad71478cb72b51634b32d6e553ccaec30190.

This breaks selection of transparent form controls (fdo#60444), because
the Update method is not called on the children.

Change-Id: Id0b6a34a15aa1ed7bd5aa0d7b5626e60bee57e30
(cherry picked from commit f022f39638fbe970f1b839c757dcccd3baa69445)
Reviewed-on: https://gerrit.libreoffice.org/4490
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
9 years agofdo#43765, fdo#57884, fdo#58052, fdo#63949: disappearing form controls
Michael Stahl [Mon, 24 Jun 2013 16:09:35 +0000 (24 18:09 +0200)]
fdo#43765, fdo#57884, fdo#58052, fdo#63949: disappearing form controls

Transparent form controls in Writer may not be painted properly, if
painted from ViewShell::ImplUnlockPaint(true), called from
SwLayIdle::SwLayIdle.

The problem is that SdrPaintWindow::OutputPreRenderDevice will paint
the background of the transparent form controls (thus over-painting the
controls), so it has to be followed by painting the controls themselves.

(cherry picked from commit cfa994ccbd6ee681f5ab3648ce068c4881b495f5)

Conflicts:
sw/source/core/view/viewsh.cxx

Change-Id: Icda4ad835a398bbd50139be32ff5014a34f23bd5
Reviewed-on: https://gerrit.libreoffice.org/4489
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
9 years agoUpdated core
pje335_NL [Sun, 23 Jun 2013 05:49:27 +0000 (23 07:49 +0200)]
Updated core
Project: dictionaries  819d3e52131cfca7a3bb72e1e91fece30ceef41a

9 years agon#820504: Some imported VML paths are closed, try to detect the
Cédric Bosdonnat [Fri, 21 Jun 2013 08:47:42 +0000 (21 10:47 +0200)]
n#820504: Some imported VML paths are closed, try to detect the

Change-Id: Idefd0277a85bd7b2b727f59cc4e568869b4932a1
(cherry picked from commit 08db0b22bdce0f779e4af01a209aef1be29e9907)
Reviewed-on: https://gerrit.libreoffice.org/4533
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
9 years agofdo#64672: untested attempt to get unordf to link in raptor with MSVC
Michael Stahl [Thu, 27 Jun 2013 12:35:36 +0000 (27 14:35 +0200)]
fdo#64672: untested attempt to get unordf to link in raptor with MSVC

This is all very different on master.

Change-Id: If2a5bf5d13e1ea2b600c707b53339a38627ca86e
Reviewed-on: https://gerrit.libreoffice.org/4583
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agowe now need librdf_world_set_raptor_init_handler from librdf
Lionel Elie Mamane [Thu, 27 Jun 2013 08:07:32 +0000 (27 10:07 +0200)]
we now need librdf_world_set_raptor_init_handler from librdf

Change-Id: I4e3b56fd8c088983a8a01eb6ccf88691d6fd93ef
(cherry picked from commit 2728808553e5a248d1e4dc1361e4784400a75e7b)

Signed-off-by: Michael Stahl <mstahl@redhat.com>
Conflicts:
configure.ac

9 years agounoxml needs to link with raptor2 now
David Tardon [Thu, 27 Jun 2013 05:29:43 +0000 (27 07:29 +0200)]
unoxml needs to link with raptor2 now

Change-Id: Icbe5ac8e20b5a05fdba4ed7b8a287c3d9e94d2da
(cherry picked from commit 2b5203c9ac4b6a95fa77f1a31fdb7b13e736d37e)

Signed-off-by: Michael Stahl <mstahl@redhat.com>
Conflicts:
configure.ac

9 years agofdo#58995 fix focus gain/lost events dropping on JDK 1.7
David Ostrovsky [Wed, 26 Jun 2013 22:03:50 +0000 (27 00:03 +0200)]
fdo#58995 fix focus gain/lost events dropping on JDK 1.7

With JDK upgrade to 1.7.x focus gain/lost events were dropped and thus not
discoverable by AT tools.

The problem has nothing to do with different packaging of JAB (2.0.3 is
included with JDK 1.7u6 and higher).

The reason for the event droping was a new check in
DefaultKeyboardFocusManager.java that was introduced in JDK 1.7.x:

@@ -294,18 +271,10 @@ public class DefaultKeyboardFocusManager
        extends KeyboardFocusManager {

-      if (!(newFocusedWindow.isFocusableWindow()
-               && newFocusedWindow.isVisible()
-               && newFocusedWindow.isDisplayable()))
-         {
-             // we can not accept focus on such window, so reject it.
-             restoreFocus(we);
-             break;
-         }

With this check in place it is assumed that Component.isDisplayable() must
return true, for event to be dispatched. But particularly
`Dialog.isDisplayable()` didn't and thus all tab key events (focus traversal)
were dropped.

Many thanks to Jamie and Stuart for helping out with reproducing and tracking that down!

Change-Id: I4876773199ca06a6e73213401692e8275a1f3b22
Reviewed-on: https://gerrit.libreoffice.org/4559
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
9 years agofdo#65856 allow shift cells in paste special for copy-mode
Winfried Donkers [Wed, 26 Jun 2013 06:00:17 +0000 (26 08:00 +0200)]
fdo#65856 allow shift cells in paste special for copy-mode

Change-Id: I7a7e13104e7256da9a82e16e14ddfa04e35e7f8a
Reviewed-on: https://gerrit.libreoffice.org/4525
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit e513fffeac1f4a814f644f156d88fc8810af4e46)

Signed-off-by: Eike Rathke <erack@redhat.com>
9 years agofdo#64672 prevent raptor from setting global libxml2 error handlers
Michael Stahl [Wed, 26 Jun 2013 19:57:03 +0000 (26 21:57 +0200)]
fdo#64672 prevent raptor from setting global libxml2 error handlers

Raptor already sets up all 4 error handlers in xmlSAXHandler so why it
would need the global ones in addition to that is a mystery anyway.
Messing with libxml2's globals can only cause trouble.

Change-Id: I2935efe5c4cd75d48cc4ecdeaa8437e91b48349e
(cherry picked from commit 246a78b1d2a88ff1937b09b22325d160739ef47e)
Reviewed-on: https://gerrit.libreoffice.org/4554
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#64672 prevent raptor from setting global libxml2 error handlers
Michael Stahl [Wed, 26 Jun 2013 20:37:41 +0000 (26 22:37 +0200)]
fdo#64672 prevent raptor from setting global libxml2 error handlers

Fix the bundled ancient raptor which has no interface to disable this.

Change-Id: Id2037fd94307b60a35d18a78a467a64b7686d318
Reviewed-on: https://gerrit.libreoffice.org/4553
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agoAvoid .memdump files left behind by xsltproc in the build
Stephan Bergmann [Fri, 18 Jan 2013 13:23:27 +0000 (18 14:23 +0100)]
Avoid .memdump files left behind by xsltproc in the build

Change-Id: If79896a2f73cacd9880e8beb9cc42993b49cc3b5
(cherry picked from commit 6f6ed9c7e2212e5e7acb2c5b827e4e4f1e156ecd)

Signed-off-by: Michael Stahl <mstahl@redhat.com>
9 years agofdo#66180 librelogo: clockwise HEADING
László Németh [Wed, 26 Jun 2013 00:00:51 +0000 (26 02:00 +0200)]
fdo#66180 librelogo: clockwise HEADING

Change-Id: I1154b29119fd3fbb30d50246e94b3906bea24220

9 years agofdo#62119 fix copypasta
David Tardon [Tue, 25 Jun 2013 14:18:58 +0000 (25 16:18 +0200)]
fdo#62119 fix copypasta

(cherry picked from commit 7a62a5c34a46715cb9d13c60f8423526c0625d1e)

Signed-off-by: David Tardon <dtardon@redhat.com>
Conflicts:
cui/source/tabpages/tplnedef.cxx

Change-Id: I236b14822ae1852298ccd28aca9b54bc79a97312
Reviewed-on: https://gerrit.libreoffice.org/4517
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
9 years agofdo#63547: Fix wheel/trackpad scrolling on OS X: Single char copy/paste error
Tor Lillqvist [Tue, 18 Jun 2013 15:12:09 +0000 (18 18:12 +0300)]
fdo#63547: Fix wheel/trackpad scrolling on OS X: Single char copy/paste error

Change-Id: I06faa28c25e976d0c9e072858cbe37093a61d38d
(cherry picked from commit 72703332ff42a70d19050d78a63286b9a9b6f930)
Reviewed-on: https://gerrit.libreoffice.org/4499
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
9 years agofdo#49708 when there is no Primary Key, there is no Primay Key
Lionel Elie Mamane [Fri, 21 Jun 2013 13:24:15 +0000 (21 15:24 +0200)]
fdo#49708 when there is no Primary Key, there is no Primay Key

As opposed to a primary key with empty name and no columns (!)

Change-Id: I78ca185947a0e8d37bac64bd50add155afaeed47
Reviewed-on: https://gerrit.libreoffice.org/4432
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
9 years agoVCLXAccessibleTabPageWindow: unhandled IndexOutOfBoundsException
Michael Stahl [Thu, 20 Jun 2013 14:29:14 +0000 (20 16:29 +0200)]
VCLXAccessibleTabPageWindow: unhandled IndexOutOfBoundsException

... due to GetPagePos returning -1, work around that (can be easily
triggered in template manager).

Change-Id: Ic1334b224730d79e533539a24f115dc9aa2e9570
(cherry picked from commit 35b45e6915eecfea0e21525249eabe3afd39d09e)
Reviewed-on: https://gerrit.libreoffice.org/4400
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
9 years agoFmGridControl: handle non-existing properties
Michael Stahl [Thu, 20 Jun 2013 13:02:37 +0000 (20 15:02 +0200)]
FmGridControl:  handle non-existing properties

Fix crash with unhandled exception requesting "Description".

Change-Id: I6b6cb61273fb042532ab63620729f4129239fe81
(cherry picked from commit 32e2c6456fb3bf3bf75f9b11c90193c537b4ef26)
Reviewed-on: https://gerrit.libreoffice.org/4399
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>