Christian Lohmaier [Tue, 16 Jul 2013 14:16:15 +0000 (16 16:16 +0200)]
Version 4.1.0.3, tag libreoffice-4.1.0.3
Change-Id: Ib17c00f969aaadf7323fd1da5253ee86a5168b73
Christian Lohmaier [Tue, 16 Jul 2013 14:13:53 +0000 (16 16:13 +0200)]
bump product version to 4.1.0.3
Change-Id: I7a4705a97b76a9a935d572351be7515a79c86371
Kohei Yoshida [Sat, 13 Jul 2013 20:59:16 +0000 (13 16:59 -0400)]
fdo#63998: Filtering by page fields to work again.
Change-Id: I267ccb30cfa6347313fa1de96e18731f0e22d57d
(cherry picked from commit
76488b00ed75bf7915d6d57af9875c6434e740d6)
Reviewed-on: https://gerrit.libreoffice.org/4894
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit
eb426753811befc69b3929146ac68cb97f92f7b0)
Reviewed-on: https://gerrit.libreoffice.org/4925
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Michael Stahl [Fri, 12 Jul 2013 21:13:10 +0000 (12 23:13 +0200)]
fdo#66811: vcl: fix broken OUString with length STRING_LEN
ImplSalGetUniString was wrongly converted and constructs OUString with
invalid length in WinSalGraphics::CreateFontSubset; this is then
implicitly converted to an empty UniString so the font names are
missing in the PDF files generated on Windows.
(regression from
9e310cc32923ceb4b18d97ce68d54a339b935f01)
Change-Id: I1603e62cf18f353f3d7de322b9111a173dc6b225
(cherry picked from commit
82f742f65d35896c69be38fa3b1c78a22226f71c)
Reviewed-on: https://gerrit.libreoffice.org/4875
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit
6089121ebd075bb6422d33d6bff69dff2e88efb2)
Reviewed-on: https://gerrit.libreoffice.org/4932
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
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/4911
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Jan Holesovsky [Mon, 15 Jul 2013 15:32:40 +0000 (15 17:32 +0200)]
Enable sidebar by default when the Experimental Sidebar is put to 'on'.
Change-Id: I525f15bc3f6b40522bf0dce754dd8e99386cd775
Reviewed-on: https://gerrit.libreoffice.org/4927
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Andras Timar <atimar@suse.com>
Ivan Timofeev [Mon, 1 Jul 2013 18:10:45 +0000 (1 22:10 +0400)]
WaE: pOldRanges may be used uninitialized
Change-Id: I22ff60e30b8c5697f648fcd6b7b22a302c6a2135
(cherry picked from commit
7c7ca0d0028cacad15a4fdc3dc02bc5f038c9f3c)
Signed-off-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit
a33edacf6b477e661f96c00c9fc03450be31123c)
Signed-off-by: Eike Rathke <erack@redhat.com>
Andras Timar [Mon, 15 Jul 2013 19:17:10 +0000 (15 21:17 +0200)]
Michael Stahl [Mon, 15 Jul 2013 18:22:01 +0000 (15 20:22 +0200)]
sc: fix Date/DateTime ambiguity
(cherry picked from commit
585d4c165f25a6acb19b5f0d05cbb1623283717f)
Change-Id: I99908a73d38b0d4b9919ac9c627b849b1d7de0d8
Signed-off-by: Eike Rathke <erack@redhat.com>
Signed-off-by: Norbert Thiebaud <nthiebaud@gmail.com>
(cherry picked from commit
bb19a11fa9a52512bf16cc6cace4c5c10fdb8eb6)
Andras Timar [Mon, 15 Jul 2013 16:42:18 +0000 (15 18:42 +0200)]
Michael Stahl [Mon, 15 Jul 2013 16:09:07 +0000 (15 18:09 +0200)]
ucb: fix DateTime in gvfs
(cherry picked from commit
5ff4ccc6c49b0d69a3a9f80f9abdc65fe60f8aec)
Change-Id: I5733e1490f3f162045fa5040efaabb6550d235a7
Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
(cherry picked from commit
b9228ac1e94b24a44828e4cecf26ee5faf178cd6)
Lionel Elie Mamane [Fri, 5 Jul 2013 10:13:36 +0000 (5 12:13 +0200)]
API change: osl/time.h take const pointers where appropriate
Should be backwards-compatible...
Change-Id: I6b04bec2c032ff8c57a1b5192b2d3962dcc96c84
Reviewed-on: https://gerrit.libreoffice.org/4736
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Lionel Elie Mamane [Fri, 5 Jul 2013 10:11:42 +0000 (5 12:11 +0200)]
API change: oslDateTime signed year
to match the rest of our date-related data structures,
which were recently switched to signed year.
Change-Id: Ic4f1e424b130fd2ccca379adbe0a66836b6cac41
Reviewed-on: https://gerrit.libreoffice.org/4735
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
(cherry picked from commit
51745327e55ad5ffb5df620142c27c0ad956ef1d)
Michael Stahl [Thu, 27 Jun 2013 22:43:19 +0000 (28 00:43 +0200)]
i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.
Add IsUTC member to:
com.sun.star.util.DateTime
com.sun.star.util.DateTimeRange
com.sun.star.util.Time
Add new stucts with explicit time zones:
com.sun.star.util.DateTimeWithTimezone
com.sun.star.util.DateWithTimezone
com.sun.star.util.TimeWithTimezone
Adapt the sax::Converter to read/write timezones, and fix the unit test.
Everything else just uses default (no time zone), this commit is just
to fix the API.
STRUCT: /UCR/com/sun/star/util/DateTime
nFields1 = 7 != nFields2 = 8
Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/DateTimeRange
nFields1 = 14 != nFields2 = 15
Registry2 contains 1 more fields
STRUCT: /UCR/com/sun/star/util/Time
nFields1 = 4 != nFields2 = 5
Registry2 contains 1 more fields
Conflicts:
sc/source/filter/oox/unitconverter.cxx
Reviewed-on: https://gerrit.libreoffice.org/4833
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit
652ccbdf3111766fadc379a8cf4650b744e1e19c)
i#108348: fix TimeZone -> Timezone in struct names
(cherry picked from commit
604aae1fd240254fe851d93dc35b5408bd13296c)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
Conflicts:
forms/source/xforms/convert.cxx
offapi/type_reference/offapi.rdb
reportdesign/source/core/sdr/RptObject.cxx
sc/source/filter/oox/unitconverter.cxx
(cherry picked from commit
dd780228cca25dc818ca7fdb628ff607c109618e)
Michael Stahl [Sat, 29 Jun 2013 15:16:07 +0000 (29 17:16 +0200)]
i#108348 sax::Converter: support negative date and dateTime
Change-Id: Ie2726c7ec941a5690e053d39212d7f516e2c27ba
(cherry picked from commit
56dc79822d5c464b33b1d0199558ca684e94c069)
Reviewed-on: https://gerrit.libreoffice.org/4920
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit
f6dab88453fc2cec29f0fe95663452d98a74fd17)
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)
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/4915
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Kohei Yoshida [Fri, 12 Jul 2013 02:00:54 +0000 (11 22:00 -0400)]
fdo#66655: Get GETPIVOTDATA to work again.
1) Compare data field name as it is displayed in the table output.
2) In the result tree, store field member names as strings as displayed
in the table output, instead of as ScDPItemData.
GETPIVOTDATA operates on displayed cell values and do textural comparison.
There is no use storing ScDPItemData which screws up value lookup in
the result tree.
Change-Id: I31bc03a6800f4fadf2ba1180d1958354d43e8a07
Reviewed-on: https://gerrit.libreoffice.org/4853
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-on: https://gerrit.libreoffice.org/4869
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Michael Stahl [Fri, 12 Jul 2013 17:04:21 +0000 (12 19:04 +0200)]
fdo#66745: drawinglayer: properly restore anti-aliasing mode
VclPixelProcessor2D: the constructor changes the anti-aliasing mode of
the given output device, and the destructor restores a hard-coded mode
instead of what was there before.
Due to this commit
5913506b2193e93ca2767ab7365ab2e76ed7848f turned off
anti-aliasing for FontWork objects simply by creating a
temporary VclPixelProcessor2D.
Change-Id: I7f7fcbf86b0dd425f599cd8e62fce3c69a2744bb
(cherry picked from commit
420aa16af0bbab4bdef80ceeb8d44cabe65840e0)
Reviewed-on: https://gerrit.libreoffice.org/4872
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
(cherry picked from commit
56ed1221d4d578260d9e20715d073b70a099efa4)
Reviewed-on: https://gerrit.libreoffice.org/4903
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Kohei Yoshida [Fri, 12 Jul 2013 22:02:23 +0000 (12 18:02 -0400)]
fdo#64448: Don't get type name from incorrect filter.
This causes wrong format type to get "detected" when testing for a
completely different file format type.
Change-Id: I230759e2be432beeae2db24c12369ccb4585f334
Reviewed-on: https://gerrit.libreoffice.org/4877
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: David Tardon <dtardon@redhat.com>
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/4868
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit
5156749cde88c5274b36a22dab7b561d59b93cf1)
Reviewed-on: https://gerrit.libreoffice.org/4871
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
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.
Change-Id: I71a9a58b98b5f392da4d8a4c8d08ddc1487ec79f
(cherry picked from commit
ae9003af4c3942aa184b67c3cb7687f9dfc7dd5e)
Reviewed-on: https://gerrit.libreoffice.org/4880
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
David Tardon [Thu, 11 Jul 2013 10:23:39 +0000 (11 12:23 +0200)]
fdo#66072 do not end auto_*_ALL by a comma
Reviewed-on: https://gerrit.libreoffice.org/4829
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
(cherry picked from commit
bd3aa6983796f9dedf85c446a0ce5e5505583809)
Signed-off-by: David Tardon <dtardon@redhat.com>
Conflicts:
scp2/source/base/module_base.scp
scp2/source/calc/module_calc.scp
scp2/source/gnome/module_gnome.scp
scp2/source/graphicfilter/module_graphicfilter.scp
scp2/source/impress/module_impress.scp
scp2/source/kde/module_kde.scp
scp2/source/math/module_math.scp
scp2/source/onlineupdate/module_onlineupdate.scp
scp2/source/ooo/module_hidden_ooo.scp
scp2/source/ooo/ure.scp
scp2/source/tde/module_tde.scp
scp2/source/writer/module_writer.scp
solenv/gbuild/AutoInstall.mk
Change-Id: I7d0fbe865cd10d0a3ef690e521d4752d6d7f3939
(cherry picked from commit
2f40865f544edd18ca6832ad94f22aa3be373245)
Signed-off-by: David Tardon <dtardon@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/4832
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Andras Timar <atimar@suse.com>
Caolán McNamara [Fri, 12 Jul 2013 11:09:26 +0000 (12 12:09 +0100)]
tab traversal order wrong
Change-Id: If3b46a1f41cfdde7e6ae04c2aba48fc49d6f2230
(cherry picked from commit
76789dd61c750b5655fc4dcd7629b12e1ff5d17b)
Reviewed-on: https://gerrit.libreoffice.org/4860
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
(cherry picked from commit
a109cf6ab5d208ff6bfc6de180ed0aaa776815c7)
Reviewed-on: https://gerrit.libreoffice.org/4864
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
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/4842
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Andras Timar <atimar@suse.com>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
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/4840
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Andras Timar <atimar@suse.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
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/4841
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Andras Timar <atimar@suse.com>
Caolán McNamara [Thu, 11 Jul 2013 18:32:57 +0000 (11 19:32 +0100)]
Resolves: fdo#66524 string conversion gone wrong
Change-Id: Ie885514cdfaecc14ac57bb53a2da7c51274d54b0
(cherry picked from commit
019a8f3f74ec778d5fead4d2b4d47e75cf750bf7)
Reviewed-on: https://gerrit.libreoffice.org/4849
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Andras Timar <atimar@suse.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Stephan Bergmann [Wed, 10 Jul 2013 14:40:30 +0000 (10 16:40 +0200)]
fdo#66718: Revert "fdo#46808, Adapt SystemClipboard UNO service to new style"
This reverts commit
2fe852386c9450014f84910b0a282d684f40b56a, see
<https://bugs.freedesktop.org/show_bug.cgi?id=66718#c8> for details. (On master
towards LO 4.2, this will be addressed differently, by modifying
2fe852386c9450014f84910b0a282d684f40b56a instead of reverting it, so this
libreoffice-4-1 commit is not a cherry-pick of any master commit.)
Conflicts:
dtrans/source/win32/clipb/WinClipboard.cxx
offapi/com/sun/star/datatransfer/clipboard/XSystemClipboard.idl
offapi/type_reference/types.rdb
vcl/ios/source/dtrans/ios_clipboard.cxx
vcl/ios/source/dtrans/ios_clipboard.hxx
vcl/source/window/window.cxx
(cherry picked from commit
60455c972b09ca02b18660c6fb3dafc03b30b2b5, plus
bd115a62bb3d1b741a035ace9d9c2608acd95c47 "fdo#66718: Remove XSystemClipboard
from reference rdb again")
Change-Id: Idb804196bc5693e4e8674d805edefd9d1ae7c178
Reviewed-on: https://gerrit.libreoffice.org/4817
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
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
Change-Id: I5f338d6c70f948dd2192ec7147efdc1bdeef1e05
(cherry picked from commit
0f978a88c618af59e77aeba920093c5e67559c88)
Reviewed-on: https://gerrit.libreoffice.org/4811
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
(cherry picked from commit
55be2ef39353de434600fac0611747177ab9da30)
Reviewed-on: https://gerrit.libreoffice.org/4819
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Luboš Luňák [Wed, 10 Jul 2013 15:33:15 +0000 (10 17:33 +0200)]
fix reading fonts from .odp using style::font-name (fdo#65338)
b40bcde076f9fabf24810d2520e878d604d99637 made writing .odp use style:font-name
and office:font-face-decls, instead of using fo:font-family . But the reading
back was broken, as xFontDecls is not set
in XMLTextImportPropertyMapper::handleSpecialItem(), so the font data was
ignored. And xFontDecls was not set because it's set while reading
office:font-face-decls, which is at the top of the xml document, but even
before the xml is parsed, the call to SdXMLImport::setTargetDocument() calls
GetShapeImport(), which creates XMLShapeImportHelper instance, which calls
XMLTextImportHelper::CreateParaExtPropMapper(), and XMLTextImportPropertyMapper
is created with rImport.GetFontDecls() still being NULL at that point.
And it actually doesn't seem to make any sense to just pass around all
the pointers to XMLFontStylesContext, as eventually it's always just the one
from SvXMLImport. So simply dump all that and make the one single place
that actually uses it (i.e. XMLTextImportPropertyMapper::handleSpecialItem())
refer directly to SvXMLImport::GetFontDecls().
Change-Id: Ib1b3e4b1bcaf87ca3e4703d1cc1563ad6b3f9ce7
Reviewed-on: https://gerrit.libreoffice.org/4816
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit
cc3293b94ab58b196bc2786eb4012d64351e8fa4)
Reviewed-on: https://gerrit.libreoffice.org/4820
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
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/4791
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Lionel Elie Mamane [Wed, 10 Jul 2013 00:58:32 +0000 (10 02:58 +0200)]
don't use empty table name
Change-Id: I9c8c3882f659747d53a047481ccabf1785835c99
Reviewed-on: https://gerrit.libreoffice.org/4793
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Stephan Bergmann [Tue, 9 Jul 2013 17:48:21 +0000 (9 19:48 +0200)]
fdo#65589: Treat legacy types.rdb w/o /UCR key as empty
...as they are encountered in the wild.
Change-Id: Iae46d3b4b4aca18a09680caabc0e343f8a534989
(cherry picked from commit
87bad231d6f81c611ba145aea483a568623ca42e)
Reviewed-on: https://gerrit.libreoffice.org/4789
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
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 crashes now.
(cherry picked from commit
f8dfa3a81a5382b2f18a705bd512625754167573)
Reviewed-on: https://gerrit.libreoffice.org/4706
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
(cherry picked from commit
076bc3ce70b9254e00547de34a86dafd76ed1e51)
Change-Id: I601bdb0dc0aff5f4ddb8b8f4ba4c8d1f72c76666
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/4768
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
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>
Reviewed-on: https://gerrit.libreoffice.org/4786
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
Stephan Bergmann [Tue, 9 Jul 2013 13:39:56 +0000 (9 15:39 +0200)]
fdo#66703: Missing libjava_uno.jnilib symlink
Regression introduced with
c9c963d3e6991d0dd73a95fc9734e38683d5be9c "autoinstall
ure private libraries."
Change-Id: I8ea597e8d5108e925e982d7b37fa9e1d3af8d1aa
(cherry picked from commit
e83ce4d1495db41cb68142da771c10e61cda0fd9)
Reviewed-on: https://gerrit.libreoffice.org/4787
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
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/4773
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
(cherry picked from commit
6eb2fdb168c6e6da6c30b71eb80c759c553f1770)
Reviewed-on: https://gerrit.libreoffice.org/4775
Reviewed-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Michael Stahl [Sun, 7 Jul 2013 09:58:42 +0000 (7 11:58 +0200)]
fdo#66478: sw: un-break hyphenation
The main problem is calling SetHyphPos with a stack pointer.
Converting STRING_LEN <-> -1 can't hurt though.
(regression from
a2f6402b1fe769a430019042e14e63c9414715dc)
Change-Id: I59a4e3b16b418082de468c7d7f7f38a9b0bccd01
(cherry picked from commit
6fa07d2d608646004bc45261275c4ebabb578a09)
Reviewed-on: https://gerrit.libreoffice.org/4757
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
(cherry picked from commit
4d268e8302d13b81494305eab68e60ab6d0ef264)
Reviewed-on: https://gerrit.libreoffice.org/4767
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
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/4750
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Michael Stahl [Thu, 4 Jul 2013 22:07:43 +0000 (5 00:07 +0200)]
fdo#66420: fix user dictionaries on Windows
28300209604ee1bb8e5050322b29e95a07f679d8 added yet another silly temp
file wrapper class, and introduced 2 bugs: the file descriptor is not
closed before renaming it which fails with ERROR_SHARING_VIOLATION
on Win32, and (as a consequence of that) another attempt to save the
dictionary during shutdown fails because SimpleFileAccess cannot be
created and this is not checked.
Change-Id: I7bd3f5d349ed550440a93fe71e3791c9919de3af
(cherry picked from commit
d68de5195605bd9236851e0714dd9b03b0f5f3be)
Reviewed-on: https://gerrit.libreoffice.org/4729
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
(cherry picked from commit
4d1774b3631e4ac93b544c42bd33cb4058a16392)
Reviewed-on: https://gerrit.libreoffice.org/4738
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
Lionel Elie Mamane [Fri, 5 Jul 2013 07:53:57 +0000 (5 09:53 +0200)]
fixup nanosecond precision
oox/source/docprop/docprophandler.cxx:
DateTime used to take centiseconds, now it is nanoseconds.
basic/source/runtime/methods.cxx:
This was broken before...
Time used to take centiseconds, so the nanoseconds should have been
*divided* by 10^7 for conversion.
Now Time takes straight nanoseconds, so no conversion necessary.
Change-Id: Ia33b811d56fe5ad5e7e844b3e1c1c25ece0b5396
Reviewed-on: https://gerrit.libreoffice.org/4734
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
(cherry picked from commit
f8734b5fe4ca94ba0928b82b21faa0b54f363772)
Reviewed-on: https://gerrit.libreoffice.org/4739
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Fridrich Štrba [Fri, 5 Jul 2013 04:59:52 +0000 (5 06:59 +0200)]
Missing slash that prevents windows signing
Change-Id: I7c84e861f45643a0e66504d10b5d76b2dbb6f629
(cherry picked from commit
35917a5a5332df758fb60ea8978bdf5cf5460d03)
Reviewed-on: https://gerrit.libreoffice.org/4731
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
(cherry picked from commit
03c0f9976dc1c77973658aa02db2823bfc9a09a1)
Reviewed-on: https://gerrit.libreoffice.org/4732
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Norbert Thiebaud [Thu, 4 Jul 2013 09:42:05 +0000 (4 04:42 -0500)]
fdo#66100 : fix icons associations on MacOSX
Change-Id: Idbce5516f1cc59b8d1cc39ee0a0db2aad90e8074
Reviewed-on: https://gerrit.libreoffice.org/4714
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-on: https://gerrit.libreoffice.org/4725
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be>
Petr Mladek [Thu, 4 Jul 2013 08:30:25 +0000 (4 10:30 +0200)]
Revert "fixed product version to 4.1.0.2+"
It was actually on purpose because the "+" in the 4th version number
caused a build crash.
This reverts commit
6dde9fa9f56272d4a67f5e0e30ddddc4cb8ca172.
Petr Mladek [Thu, 4 Jul 2013 08:04:58 +0000 (4 10:04 +0200)]
fixed product version to 4.1.0.2+
the extra 5th version number was there by mistake
Change-Id: I556fc302bdec80ba51da598eb6101dd04c2987a1
Christian Lohmaier [Wed, 3 Jul 2013 17:07:33 +0000 (3 19:07 +0200)]
bump product version to 4.1.0.2.0+
Change-Id: I1d12f6772ec3e4fe076784680ebd4a47bb3628f3
Christian Lohmaier [Wed, 3 Jul 2013 14:52:47 +0000 (3 16:52 +0200)]
Branch libreoffice-4-1-0
This is 'libreoffice-4-1-0' - the stable branch for the 4.1.0 release.
Only very safe changes, reviewed by three people are allowed.
If you want to commit more complicated fix for the next 4.1.x release,
please use the 'libreoffice-4-1' branch.
If you want to build something cool, unstable, and risky, use master.
Change-Id: I8f8984ec1987cf53933f6cac86e821f746864923
Laurent Godard [Mon, 1 Jul 2013 09:32:47 +0000 (1 11:32 +0200)]
the calculation of the progressbar leads to very slow saving
Change-Id: Ibba31126161b77b499561c5a74c057a56c07a4a8
Reviewed-on: https://gerrit.libreoffice.org/4647
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Reviewed-on: https://gerrit.libreoffice.org/4698
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Christian Lohmaier [Wed, 3 Jul 2013 11:58:41 +0000 (3 13:58 +0200)]
temporarily disable tests known to fail
Change-Id: I95c3c1af64b7d8b499c085c345b26d2df7e31965
Reviewed-on: https://gerrit.libreoffice.org/4700
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Laurent Godard [Mon, 1 Jul 2013 13:43:46 +0000 (1 15:43 +0200)]
simplify AddPrintRanges calls at import time
- at import time, use directly core functions
- honor IsUndoEnabled in uno calls
Change-Id: If1e762df0ca9cfa22fa2c0e75518fe892be602b6
Reviewed-on: https://gerrit.libreoffice.org/4656
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-on: https://gerrit.libreoffice.org/4696
Lionel Elie Mamane [Tue, 2 Jul 2013 13:21:13 +0000 (2 15:21 +0200)]
i#112615 table names are allowed slashes
Change-Id: I1b69c4575d79ba1b6a6e9cd83abaf18bad54fd79
Reviewed-on: https://gerrit.libreoffice.org/4677
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Fridrich Štrba [Wed, 3 Jul 2013 09:18:41 +0000 (3 11:18 +0200)]
Fix Windows signing and timestamping
Change-Id: Ife8774c9a6157e8bb943d1ba8ec32f560c8281c4
(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>
Christian Lohmaier [Wed, 3 Jul 2013 08:29:46 +0000 (3 10:29 +0200)]
Updated core
Project: translations
576c36310413f55a282838588f60bc639de8dd59
fdo#66007 - spurious & causing entity warning errors
was already fixed for mn in
ad5ed8525c1f41a9ee8dd9183ac7f6ae045625f7
Change-Id: I122816833b315cc62b856a461cb3f3671dd68042
Reviewed-on: https://gerrit.libreoffice.org/4691
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Markus Mohrhard [Wed, 3 Jul 2013 06:11:32 +0000 (3 08:11 +0200)]
xls cells have all hard number format, fdo#66506
Change-Id: Ia2dd206bd1e9a91bef0021a9317f0d6486b2f276
(cherry picked from commit
f45c47af72369859d1937cb8b46cba370031509a)
Reviewed-on: https://gerrit.libreoffice.org/4689
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
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/4686
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Michael Stahl [Sun, 30 Jun 2013 19:18:45 +0000 (30 21:18 +0200)]
SvStream: remove the error prone operator<</>>(sal_Int64)
As the recent regression after merging AOO patch adding code serializing
"long" variables has shown, this overload (which was added in
7b2a0e541567be9750dfc7d98374555967da3470) is a bad idea.
In a unxlngx build, nm finds uses of the symbols _ZN8SvStreamrsERl
and _ZN8SvStreamlsEl in these files:
- sbxvalue.cxx: this appears to be a legitimate use with sal_Int64
- dateitem.cxx: this was accidentally changed by commit
9830fd36dbdb72c79703b0c61efc027fba793c5a
- atrfrm.cxx: this was added for Table Autoformat enhancement in
7e8c0bd73ee59ff3041e55268c77203373962e51, which is after the
sal_Int64 operators were added, so the file format is now
platform dependent
Change-Id: I78352b5429b53612c4831cdb81b587b5de5180a9
(cherry picked from commit
3835dee3c777bf10693903cb0866d22fab3794ea)
Reviewed-on: https://gerrit.libreoffice.org/4685
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Markus Mohrhard [Sun, 9 Jun 2013 21:33:38 +0000 (9 23:33 +0200)]
don't crash during chart copying, fdo#66508
(cherry picked from commit
92207231c3742873ad3b3a6fed2963d1bf924ad3)
Change-Id: I3a4806fcae7b830e71cda0ab7e6d5ac6f180d4d3
Reviewed-on: https://gerrit.libreoffice.org/4688
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
Caolán McNamara [Tue, 2 Jul 2013 16:11:40 +0000 (2 17:11 +0100)]
Resolves: fdo#66252 format->number for controls is busted
Change-Id: I7c88f3acd9a6c5faa40a8fedc7c9f6e7817cefb7
(cherry picked from commit
092281f1e7022ee26e3659cc1c54ac0dd73a4382)
Reviewed-on: https://gerrit.libreoffice.org/4682
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Caolán McNamara [Tue, 2 Jul 2013 16:24:49 +0000 (2 17:24 +0100)]
Related: fdo#66252 RID_SVXPAGE_NUMBERFORMAT needs a layout parent
Change-Id: I25f87916e5b8480e50cafb30b78da4d575a7df24
(cherry picked from commit
eb39f90f071c03f8f9e61a0f129a060ffcfb96eb)
Reviewed-on: https://gerrit.libreoffice.org/4683
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Fridrich Štrba [Tue, 2 Jul 2013 15:00:57 +0000 (2 17:00 +0200)]
Allow build with older boost
Change-Id: I49902109eb2a1b9561a9ccfa70d89c160a4965a9
(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>
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/4679
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Miklos Vajna [Mon, 1 Jul 2013 10:05:23 +0000 (1 12:05 +0200)]
fdo#46361 oox: fixes for the VML import of groupshape textboxes
(cherry picked from commits
b1f78c44c1acc246f06a963383232c9bf649a06b,
f24e4c74d7d6a7d95090c6fa6a584fed7787706c,
6bf79576aeca243db553ed3b5eade492dc35337b,
5a737fca37cd5a5f90aa03a30688d447677d3b8a,
ef53d4aec2a3d690de2c7cdaf73ca95bbe29a433 and
2a2105b002c482e6536d5c3046c9e7783c0cdca3)
Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Change-Id: Ie7ce4fb5c32ff4b3c1f3d7ee92d8358ae67fc6c1
Reviewed-on: https://gerrit.libreoffice.org/4675
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Fridrich Štrba [Tue, 2 Jul 2013 12:46:55 +0000 (2 14:46 +0200)]
Uploading new libvisio 0.0.29, fixing fdo#66421
Change-Id: I7b9bc581c81caf74cb6f922abc2cfaee87b20572
(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>
Csikós Tamás [Mon, 1 Jul 2013 10:28:21 +0000 (1 12:28 +0200)]
fdo#64155 - fix unlocalized 'default' list entry
Change-Id: I3a8b706fe855e7fbff71f227b167a51d3a465be0
Reviewed-on: https://gerrit.libreoffice.org/4673
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Andras Timar [Tue, 2 Jul 2013 10:00:08 +0000 (2 03:00 -0700)]
default report template should be language-independent
Change-Id: Ia0b18b90ffd2cb4c6958749e45d8cfec92825d02
Reviewed-on: https://gerrit.libreoffice.org/4672
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Lionel Elie Mamane [Sun, 23 Jun 2013 18:52:48 +0000 (23 20:52 +0200)]
make "gcc -Werror" happy
Change-Id: I6dd1bf6b4535bb956cb7e85908312d52749a6f2b
(cherry picked from commit
e2d9138ce03d4f330e0737396b75871cab6ca5d2)
Signed-off-by: Eike Rathke <erack@redhat.com>
Khaled Hosny [Sun, 30 Jun 2013 12:40:37 +0000 (30 14:40 +0200)]
Handle synthetic bold italic with Core Text
Core Text does not fake missing italic and bold (unlike ATSUI), so we
have to do it on our own.
Change-Id: Ia5977d53739b7a6eaaccbf3aeb24adb820ca05c6
Reviewed-on: https://gerrit.libreoffice.org/4658
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Khaled Hosny [Sun, 30 Jun 2013 00:33:01 +0000 (30 02:33 +0200)]
fdo#66385: bad line spacing under Core Text
We should be setting mnExtLeading not mnIntLeading, at least this is
what ATSUI code was doing.
Change-Id: Ibe69da4ea60630a31593b538f55fd2cd95642bf9
Reviewed-on: https://gerrit.libreoffice.org/4638
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Markus Mohrhard [Sun, 30 Jun 2013 01:44:05 +0000 (30 03:44 +0200)]
transpose "data in rows" ranges for internal data provider, fdo#62057
This is an ugly hack but it at least works. This regression has been
introduced by the merge from the AOO code. The order of calls during
import is totally screwed and I have no idea how to properly fix all
these problems without introducing new regressions.
The best solution would be to move the import/export code into chart2
where we could manipulate tese properties directly and would not need to
transform the same information N times until it is written into the
chart code.
(cherry picked from commit
14fa5488a829936275f79a7693b13da55114220e)
Conflicts:
xmloff/source/chart/SchXMLTableContext.cxx
Change-Id: Id53c49441c683b19a973a48884135a3f4e89de03
Reviewed-on: https://gerrit.libreoffice.org/4628
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
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/4645
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Lionel Elie Mamane [Mon, 1 Jul 2013 22:56:57 +0000 (2 00:56 +0200)]
fdo#66464 initialise static join info at construct time
to ensure that isReadOnly returns something sensible as soon as construct() finishes
Change-Id: I5f9bef049297c5232df0ecdb9084add968a0052f
Reviewed-on: https://gerrit.libreoffice.org/4669
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Lionel Elie Mamane [Sun, 30 Jun 2013 14:54:55 +0000 (30 16:54 +0200)]
fdo#64985 try harder to populate m_sCommandName::m_sCommandName
Change-Id: Ibef643498903c82eee5533d387a33ca26a77d496
Reviewed-on: https://gerrit.libreoffice.org/4633
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Markus Mohrhard [Tue, 2 Jul 2013 00:37:58 +0000 (2 02:37 +0200)]
don't forget the formula cell style during xls/xlsx export, fdo#66242
This reverts parts of commit
64223bda068cc6d82d3c5e359d465014568398bb.
Change-Id: I6d5379aaedbf011b39a4cf076f0a43bc8a6cbc93
(cherry picked from commit
93a5b7ee36818d60963e4fbe21f9e6c43c7c5a80)
Reviewed-on: https://gerrit.libreoffice.org/4670
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Caolán McNamara [Sun, 30 Jun 2013 19:35:23 +0000 (30 20:35 +0100)]
using primary font for secondary max text width
Change-Id: If4d5d4be2a5552c52e7e98ff891e2166b7541800
(cherry picked from commit
fea12c47101d3d13d1e6a611f88c54f257b49b11)
Reviewed-on: https://gerrit.libreoffice.org/4640
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Caolán McNamara [Mon, 1 Jul 2013 11:56:17 +0000 (1 12:56 +0100)]
Resolves: rhbz#979758 crash on 'Diagrammen in LibreOffice' help page
Change-Id: I269846840b8e2f67838da525c020a305901cf903
(cherry picked from commit
3090cfc972287da3fbdc567387527b65b3bfd128)
Reviewed-on: https://gerrit.libreoffice.org/4655
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Michael Stahl [Mon, 1 Jul 2013 10:14:37 +0000 (1 12:14 +0200)]
fdo#66324 fix locking in webdav_ucp::Content::getResourceType()
Crash in there while accessing an evidently deleted DAVResourceAccess
instance with about 4 other threads also in various webdav_ucp::Content
methods.
The problem is apparently that the "outer" getResourceType() passes the
m_xResAccess to the "inner" getResourceType(), which accesses it
without locking the mutex, while another thread resets m_xResAccess
and thereby deletes the current instance.
(regression from
0c3500115c4fd86284a027fc32be704afcf77061)
Change-Id: I1c67021c536e303d766c7ff93fb71e40f991f3af
(cherry picked from commit
49a454225e35699d7351faaba3d296e1858c6107)
Reviewed-on: https://gerrit.libreoffice.org/4650
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
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/4664
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
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/4662
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
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/4667
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Khaled Hosny [Sat, 29 Jun 2013 12:43:23 +0000 (29 14:43 +0200)]
Fix jitter when editing RTL text
When drawing right aligned text, rounding errors in the position
returned by GetDrawPosition() cause the right margin of the text to
change whenever text width changes causing "jumping letters" effect. So
here we calculate the drawing position relative to the right margin on
our own to avoid the rounding errors. That is basically a hack, and it
should go away if one day we managed to get rid of those rounding
errors.
Continue using GetDrawPosition() for non-right aligned text, to minimize
any unforeseen side effects.
Change-Id: Ia095a17a41f723f5fb7afc99df4250262e9a0051
Reviewed-on: https://gerrit.libreoffice.org/4618
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Markus Mohrhard [Sat, 29 Jun 2013 03:38:37 +0000 (29 05:38 +0200)]
hide the style boxes to collapse the date entries fully
Change-Id: I58f06a57a05ef007afc203c737acfe29df6ea6a3
(cherry picked from commit
def32c7e14ad9743e2b55804442be5d596f6c21c)
Reviewed-on: https://gerrit.libreoffice.org/4617
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Markus Mohrhard [Sat, 29 Jun 2013 03:16:14 +0000 (29 05:16 +0200)]
update all style lists when a new style is added
Change-Id: Ib404958e2bc0e3bfe075d1c94f348e907ee004c8
(cherry picked from commit
aa028cab4a72660c773a9eac0cd8a19a0d655c01)
Reviewed-on: https://gerrit.libreoffice.org/4616
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Markus Mohrhard [Sat, 29 Jun 2013 00:50:48 +0000 (29 02:50 +0200)]
handle localized default style names, fdo#61339
We need to map localized style names during import and export from and
to ODF. The default styles are the only localized style names and are
not imported with the name written into the file.
Change-Id: Ibdc2f750b7a4b7ce6994b22248e237fe95ac638d
(cherry picked from commit
5b9bad7482a98f2d0d37c4b75a13292abe653ea3)
Reviewed-on: https://gerrit.libreoffice.org/4615
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Markus Mohrhard [Sat, 29 Jun 2013 00:06:25 +0000 (29 02:06 +0200)]
extract this functionality from the uno code
we need this code in our next step for some mappings in the filters code
Change-Id: I059d9d05877846215e1a967123dc253de605417e
(cherry picked from commit
b3aabf223ec7bc2678fd6dfbbbbb79ab7f079e5b)
Reviewed-on: https://gerrit.libreoffice.org/4614
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Markus Mohrhard [Fri, 28 Jun 2013 23:08:22 +0000 (29 01:08 +0200)]
only clean the cond format if we want to write attribs, fdo#62267
Change-Id: I2f4feecb3180b165f6b9b299ecb3dcdbb65f87e3
(cherry picked from commit
d4f631e8ceb7f02a18565cf0470c8170215e69f8)
Reviewed-on: https://gerrit.libreoffice.org/4613
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Markus Mohrhard [Thu, 27 Jun 2013 18:44:19 +0000 (27 20:44 +0200)]
use the local setting aware method for the UI, fdo#64754
Change-Id: Ie3117c26b347e1a8996ef9cbcb8b0d6ee561b5b3
(cherry picked from commit
a539cf2c09bdd62d1c4a0124ed536f88d4fd01d5)
Reviewed-on: https://gerrit.libreoffice.org/4612
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
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
Change-Id: I50c9f0bd28f17e5d56c6d6948871042ba64650ef
(cherry picked from commit
257ba103fb9ffae87189eb5d435969961fe4e98c)
Reviewed-on: https://gerrit.libreoffice.org/4651
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Sean Young [Sat, 25 May 2013 19:06:15 +0000 (25 20:06 +0100)]
fix OUString conversion
This used to be equalsAscii( "hg", 0, 2 ) before conversion.
Fixes
7d1f4cdec307bb1e761bb5dd3d8231bba5833e10
Change-Id: I2cf61d88c79b3ab33c0ee7d077ee65b16053c05c
Reviewed-on: https://gerrit.libreoffice.org/4035
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
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
Change-Id: Ia3ec1302649809b7a63befc0a48fb142f1169936
(cherry picked from commit
e21544132a6732334a14194e02232b28e559303b)
Reviewed-on: https://gerrit.libreoffice.org/4648
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Andras Timar [Sun, 30 Jun 2013 17:05:16 +0000 (30 19:05 +0200)]
Lionel Elie Mamane [Fri, 28 Jun 2013 14:12:26 +0000 (28 16:12 +0200)]
fdo#66130 correct "skip column name" condition for LIKE predicate
When converting a parse tree to SQL snippet for a predicate in the
context of a column, we skip the name of the same column in 'simple'
cases.
This is used mainly in the "Criterion" lines of query design,
and in the search/filter dialogs of forms, tables, etc.
In all other cases (such as when creating a full SQL command, or for
references to *other* columns than the context one), the column name
must be printed out.
In this respect, the condition "should we skip the column name?" in
impl_parseLikeNodeToString_throw was buggy, and different from the
one in the general case (in impl_parseNodeToString_throw), leading
to generating invalid SQL like:
SELECT foo, bar FROM baz LEFT JOIN qux ON LIKE qux.quu
instead of
SELECT foo, bar FROM baz LEFT JOIN qux ON baz.baa LIKE qux.quu
Change-Id: Ie14fce319554a66feb0fd0ce1a03d947a46a820a
Reviewed-on: https://gerrit.libreoffice.org/4606
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
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/4610
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/4589
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Lionel Elie Mamane [Thu, 27 Jun 2013 10:56:40 +0000 (27 12:56 +0200)]
Replace buggy pgsql-sdbc datetime functions with dbtools equivalents
In particular, the string2time function segfaults when called on an empty string
(unconditionally tries to access the n-th character without checking whether the string is that long)
this happens in particular when reading a column of type TIME with a NULL value
Change-Id: I302044f67a92fe20685ce677ba3affdb9b44cb53
Reviewed-on: https://gerrit.libreoffice.org/4582
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Lionel Elie Mamane [Thu, 27 Jun 2013 16:59:12 +0000 (27 18:59 +0200)]
fix nanosecond computation
when less/more than nine digits
Change-Id: I222ae7c51e37468a01abc9caab91657ea2593d13
Reviewed-on: https://gerrit.libreoffice.org/4592
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Lionel Elie Mamane [Thu, 27 Jun 2013 17:47:02 +0000 (27 19:47 +0200)]
fix crash when parsing empty string
the parsing of the hours would succeed, but the parsing of the minutes would access past-the-end of the string.
Probably same crash when parsing HH or HHMM formats.
Change-Id: I248810e5c4c425186f33e573634883263caff312
Reviewed-on: https://gerrit.libreoffice.org/4591
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Lionel Elie Mamane [Thu, 27 Jun 2013 06:51:59 +0000 (27 08:51 +0200)]
fdo#66216 JDBC no fractional second in time format
fractional second allowed in timestamp. But not in time. Don't ask why.
Change-Id: I5415889ab4cf4835b8b0db7363b7d9eb0a332393
Reviewed-on: https://gerrit.libreoffice.org/4566
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Lionel Elie Mamane [Thu, 27 Jun 2013 06:51:02 +0000 (27 08:51 +0200)]
fdo#66216 fix DBTypeConversion::toTime overflow
Change-Id: I0aba2344afde94226cfbac5b3221e827e6774b3a
Reviewed-on: https://gerrit.libreoffice.org/4565
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Lionel Elie Mamane [Thu, 27 Jun 2013 06:50:37 +0000 (27 08:50 +0200)]
fdo#66216 fix DBTypeConversion::toTimeString format
std::ostringstream::width is not sticky
Change-Id: I32d77bec68506b7691a4f86dadb24e62fdc13d42
Reviewed-on: https://gerrit.libreoffice.org/4564
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Markus Mohrhard [Sun, 23 Jun 2013 19:47:18 +0000 (23 21:47 +0200)]
we don't need this hack without inherited number formats, fdo#66076
Change-Id: If315ce28a4182019002141c7330475e0843f9a40
(cherry picked from commit
3f0b5770790dfcb408d169df1265546d6e8e3ece)
Reviewed-on: https://gerrit.libreoffice.org/4593
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>