318694 Commits

Author SHA1 Message Date
Eike Rathke
3201c72db7 fdo#56124 IFERROR IFNA function names were swapped
Change-Id: I3d13ab04b126a3268352df93a7ed4a35d7a085f2
2013-01-11 21:49:07 +01:00
Caolán McNamara
e610e5f28e Resolves: fdo#58865 hard-coded LibreOffice strings
Change-Id: Ie03106c3089f6d1bc0172a2e2c702b5725e55acf
Reviewed-on: https://gerrit.libreoffice.org/1656
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2013-01-11 20:14:16 +00:00
Caolán McNamara
89cb169b49 use sizegroups instead of explicit code
Change-Id: I2376e69adf235d1e6f89296c50a9cea76041f9d7
2013-01-11 19:42:52 +00:00
Caolán McNamara
b6f8bc08cd split out format table page and adapt code
Change-Id: Iecc66a0a26c6944bd398f79eb760694405b17e70
2013-01-11 19:42:51 +00:00
Caolán McNamara
00dc46b583 Use a sizegroup in the numbering formatting page instead of using code
set the two additional frames we want to take the height of the category frame
set to preferred size of 0 in order for the set of three to all the take the
category height via the sizegroup

i.e. there are a gadzillion currency formats so show eight of them at a time

Change-Id: I4badd8852fc56553a94616ce8845aa40b22f2dc1
2013-01-11 19:42:51 +00:00
Caolán McNamara
a84663a612 create VclSizeGroup analog of GtkSizeGroup
Change-Id: I01015184223960a5bdfb895fedc79e982a408082
2013-01-11 19:42:51 +00:00
Caolán McNamara
d19eab221f split out the ComboBox code that determines the positioning of subwidgets
and re-use it to get a better calculation of the optimal size of a
widget, rather than taking the current position of the subedit

Change-Id: I85cb3ff98f23d21d7cfdcc28188e36616a19b5e8
2013-01-11 19:42:51 +00:00
Michael Stahl
823ab0f98c ScDBDocFunc::UpdatePivotTable: -Werror=deprecated-declarations
Change-Id: I0d1b8176c9796ae39bc692d48e4481bdedb6ff09
2013-01-11 19:55:45 +01:00
Michael Stahl
9dec0c7901 fdo#59249: mailmerge.py: some more bytes vs. str mangling
Obvious problems are in debug code only.

Change-Id: I45aafb4f194a5a020bb95bd96c2d92ca7ee578f8
2013-01-11 19:08:24 +01:00
Matteo Casalin
f902073e47 Update style of initializer list to preferred convention
Change-Id: Ia8874a881d2a625500bbf74997ab75457e6f6b7e
2013-01-11 19:07:49 +01:00
Matteo Casalin
b0cf4b3ef6 Update name of data members to preferred convention
Change-Id: I2ce959942f95a123d2ec75a7df2194dff11fac64
2013-01-11 19:07:49 +01:00
Kohei Yoshida
d99abd61a9 Let's not return here to prevent memory leak.
There are several heap objects that are deleted at the end of the
method.  Returning prematurely would leak those objects.

Change-Id: If70cb3c9c02e47229d10b30f1542f7b25534d593
2013-01-11 12:53:22 -05:00
Kohei Yoshida
feef29286f Create a self-update variant of DataPilotUpdate().
DataPilotUpdate() is getting more and more complicated, with so many
branches.  Since self-updating a pivot table object is common, let's
create a variant just for that.  This variant has much less branching.

Change-Id: I75b0512258a09961ef13516d8d9bc8a2939287e1
2013-01-11 12:53:22 -05:00
Stephan Bergmann
ac56d9373a Can't convert 'Enum' resp. 'bytes' object to str implicitly
...when you set dbg = True

Change-Id: Ifc170e9336a662dce2ae59227baf3bea692eedac
2013-01-11 18:32:04 +01:00
Stephan Bergmann
7a7e19c166 fdo#59249: String literal needs a "b" prefix in Pyhton 3
as the corresponding test is otherwise seen to fail, with user being b, but I have
no idea if this is the most Python-3-ish approach to fix that, or whether more code
needs to be fixed, too.

Change-Id: Ia7fbcbca3cf578ffe1bd5ce3c7c5b709cc77317e
2013-01-11 18:29:27 +01:00
Pierre-Eric Pelloux-Prayer
194ba3a2ca docx import: fix incorrect nested table margins
Change-Id: I07f0f47fcbd3d463d7831820cde338d8d59d9b68
2013-01-11 17:47:19 +01:00
Miklos Vajna
f132eaa5a6 fdo#53487 SwUndoInsert: take care of fieldmarks when deleting field chars
The problem was that while SwUndoInsert removed the field characters, it
didn't remove the fieldmark, so after unding a comment insert, it wasn't
possible to re-insert a comment.
2013-01-11 17:46:51 +01:00
Pierre-Eric Pelloux-Prayer
1874df3041 doc export: add unit test for bug i106749
Change-Id: I1df4cbb013d94cff7ae5195427044b1e1b2d8895
Reviewed-on: https://gerrit.libreoffice.org/1646
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-11 16:35:23 +00:00
Pierre-Eric Pelloux-Prayer
87c66e9e3d sw unit test: add call to CalcLayout before using the layout
Change-Id: Ibb3f8175729cb579a687275a11884c397152fe94
Reviewed-on: https://gerrit.libreoffice.org/1645
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-11 16:28:16 +00:00
Pierre-Eric Pelloux-Prayer
40e0a5d73a doc export: add unit test for fdo#56513
Change-Id: Ie87648368f877af56878bc83fe3d5ece66f77304
Reviewed-on: https://gerrit.libreoffice.org/1644
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-11 16:26:24 +00:00
Pierre-Eric Pelloux-Prayer
58aeb8e6aa sw unit test: layout dump must be resetted in 'reload' method
Otherwise tests relying on layout dumps will parse the wrong dump.

Change-Id: Ib7b4bc3a231eb3082567a1d1ed38c96835d43add
Reviewed-on: https://gerrit.libreoffice.org/1643
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-11 16:19:19 +00:00
Eike Rathke
3914d00c32 fdo#56124 changes to "add functions IFERROR and IFNA"
* reimplemented actual ScIfError() function for matrix cases and simpler
  pop/push of non-error values
* various smaller adaptions, see also inline comments of
  https://gerrit.libreoffice.org/1522

Change-Id: I80a8235a2cbb548c0ef993862e76741af46e30d2
2013-01-11 17:01:44 +01:00
Winfried Donkers
5fd9feafa5 fdo#56124 add functions IFERROR and IFNA to calc as in ODFF1.2
Change-Id: I6403b51ac8c710ad3b8d2625e1482971f50e6b1d
2013-01-11 17:01:23 +01:00
Alexander Wilms
0f4afa41ec Updated icons
Change-Id: Idff204b862fe7c5a974b7b51ba147b558bb02e67
2013-01-11 16:52:07 +01:00
Takeshi Abe
eccae3ee63 Drop deserted m_aTransparentText
Its usage was gone with adda1a25f248586b46682bb9e19cd7a6b2c9debc.

Change-Id: I055c15f5154c6f78d2314d4b502ca3db751ab891
2013-01-12 00:45:46 +09:00
Matteo Casalin
40cfbd62e9 Use member initializer list in constructor
Change-Id: I8d4f8b95909b91917b456f49d7a3ac270703cc96
Reviewed-on: https://gerrit.libreoffice.org/1640
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-11 15:21:29 +00:00
Matteo Casalin
6704bb8eb0 Prefix class data members
Change-Id: I6734df58b589088809c712c3906f0cee3fd6a103
Reviewed-on: https://gerrit.libreoffice.org/1639
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-01-11 15:20:08 +00:00
Stephan Bergmann
4fbf6df784 Fix workaround for thead-unsafe getenv again
...from d19c40f45dc8e8bcd9db4c6b83bdcf6367f6fbe7 "Work around some potential
problems with thread-unsafe getenv" that had been broken with
60628799633ffde502cb105b98d3f254f93115aa "Notice if SAL_LOG is changed while the
process is running."

Change-Id: Ibd6dbc9921ae1f8dee114380f01a076b0770788c
2013-01-11 15:48:12 +01:00
Luboš Luňák
03910bdfd9 point to our wiki page on clang rather than clang homepage
Change-Id: Ia54040c7ed02e6a2d62dd93890a7d1467dd83a40
2013-01-11 14:58:58 +01:00
Luboš Luňák
a18aa3016b remove block that is a complete nonsense
result of incorrect merges

Change-Id: I43f5ef2afbd5390f937f1220613ffa7d1f284634
2013-01-11 14:58:58 +01:00
Luboš Luňák
d9a5c6bdf0 fix detection whether to ignore a source file or not
When compiling using icecream, the whole input is one file fed from stdin,
so getBufferName() is "<stdin>", so get the filename from #line directives.

Change-Id: Ie87937b10b0c7e8ddfa57a405b80fd9bde68dd0a
2013-01-11 14:58:58 +01:00
Tor Lillqvist
3527efa7e0 Output version number as text, not binary
Change-Id: I1ada5bd38a55fa2815c03260a2465c1908b5019f
2013-01-11 15:44:11 +02:00
Tor Lillqvist
f5cde53719 Set version number in AC_INIT() in configure.ac only
Output a solenv/inc/minor.mk based on that. Get rid of RSCVERSION and
RSCREVISION. Automate the end of the copyright year range, although I
am actually not sure if that is OK.

Change-Id: Ibae2d139b1dd468ee80d18a2a41b786a532df809
2013-01-11 15:07:10 +02:00
Tor Lillqvist
3c91ac17ae WaE: unused parameters
Change-Id: I8457b72f0f844fe9fb4bf5b670248224e7d60911
2013-01-11 14:09:53 +02:00
Tor Lillqvist
fc4003e960 Make the LIBO_VERSION_* macros integers, not strings
Change-Id: I6083de4a3f88d50cf4e923aa7fb495fe1711b632
2013-01-11 14:02:46 +02:00
Noel Power
066bdb31f7 support saving/loading hyperlink cell attribute in extended odf
style:table-cell-properties has new child element style:hyperlink which
will store the hyperlink info in attributes xlink:href & xlink:type

Change-Id: I184310d124c4242cd62fdabb45f9773094cfc229
2013-01-11 10:31:56 +00:00
Michael Stahl
fd5a921a00 SwpHintsArray::Resort(): remove mostly unused return value
Change-Id: Ia330e545c2727efb6e1b12c4c317f86f9ebdf955
2013-01-11 11:28:36 +01:00
Michael Stahl
c59355e936 fdo#58793: re-implement SwpHintsArray::Resort():
The previous implementation uses sorted_vector::insert, which relies on
the array already being sorted.

Change-Id: I4a2e49e7d8fcfd934f8990be61f83d00d1a09ddd
2013-01-11 11:28:36 +01:00
Michael Stahl
689d9af3e3 sw: FN_FORMAT_RESET: do not reset Ruby text
It does not seem to be "formatting" to me, more like a content entity.

Change-Id: I89ceb9aec47a382a06abf0933830864a84000194
2013-01-11 11:28:35 +01:00
Stephan Bergmann
69f2f50c99 Further socket callback clean-up
Change-Id: Ifcbb87cff50584934f214634c1b6f1d0a43ae8f3
2013-01-11 10:35:00 +01:00
Arnaud Versini
48e236dabd Remove useless callback in unix socket implementation
Change-Id: Ibe46e2f1628f4d2e4840429703e0d5a69059a188
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-01-11 10:31:51 +01:00
Miklos Vajna
c031fde051 RtfExport::WriteInfo: use config_version.h 2013-01-11 10:30:48 +01:00
Matteo Casalin
8bb976bae4 Fix format
Change-Id: I2a7c8e88b689f913f8e37ecc3cfdda43ba60aea3
2013-01-11 10:30:07 +01:00
Matteo Casalin
9d3789af2b Remove unused class members
Change-Id: I44fe6ad3dacc65e28256aca98588b7dfe92d73ae
Reviewed-on: https://gerrit.libreoffice.org/1638
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-11 09:29:16 +00:00
Matteo Casalin
a0477d9916 Character conversion: do not destroy sequence while iterating on it
Change-Id: Ib77e15b776384cc75880a907a6425c6105bc3fab
Reviewed-on: https://gerrit.libreoffice.org/1636
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-11 09:27:26 +00:00
Matteo Casalin
bbab2d8659 Remove unused #define
Change-Id: Ic92663d13892d7e4978b5f3a10ed7f473e091835
Reviewed-on: https://gerrit.libreoffice.org/1641
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-11 09:21:55 +00:00
Matteo Casalin
1af49927f5 Use forward declaration instead of (doubled) #include
Change-Id: I1cfb65a809e5dd56fb395c2f801bce5e5d75acfe
Reviewed-on: https://gerrit.libreoffice.org/1642
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-11 09:21:28 +00:00
Miklos Vajna
2c1eca7bd7 sw: more unused includes in docedt 2013-01-11 10:21:07 +01:00
Tor Lillqvist
e103887c8c QUARTZ is equivalent to MACOSX
So just check MACOSX in the sources, and don't pass any -DQUARTZ to
compilations.

Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-11 11:16:59 +02:00
Tor Lillqvist
4d23222b15 Avoid crash
(But the OpenGL transitions aren't really usable on the Mac. At least
not when built against the 10.7 SDK.)

Change-Id: I6b65b417a40be182b7b4077b420b4bdb52fb67c4
2013-01-11 11:13:06 +02:00