356287 Commits

Author SHA1 Message Date
Michael Meeks
556981f078 filter: remove redundant macro wasting time.
Allocating and freeing strings thousands of times just to compare
them is not a great idea - 0.5% of startup.

Change-Id: I076bc961d3612143b7f81ef024e261ec3ed4ff76
2014-06-27 16:05:01 +01:00
Caolán McNamara
df630b8f8c Related: fdo#65634 make sidebar react to resizes when floating
the parent isn't a SfxSplitWindow in this case, but it should
still react to the resize

Change-Id: Ia298d45b33fc272d6169df12cf2c58a881255163
2014-06-27 15:53:30 +01:00
Michael Stahl
b8907bf3d3 fdo#78758: sw: RTF export: don't export multiple \fldrst for one hyperlink
Ensure that we export only one \fldresult per hyperlink by doing that in
StartURL() and EndURL(); the TextINetFormat() is called once per text
portion.  This shouldn't cause problems as there can't be anything
between the end of the \field group and the start of \fldresult anyway.

Replace the annoying call to EndURL() from EndRun() with a special case
in EndURL() to store things in the right buffer (hopefully).

(somehow this is regression from c4498251cb7181a9f272b0720f398597c0daef09)

Change-Id: I209ea7a384fb1cb5d1505a70ecc4a4536bbf26a2
2014-06-27 16:15:19 +02:00
Michael Stahl
b51d9c633c sw: avoid calling convertToString() with unsupported encodings
Change-Id: If0b589c884cd306ca7c94d3366af66276a120176
2014-06-27 16:15:18 +02:00
Miklos Vajna
c00d81612e SwFlyFrm::Format: inform our custom shape about size changes if needed
This adds support for the following scenario:

- Shape has no editeng text, but a textbox
- Shape has automatic size
- User edits the fly frame (serving as the textbox of the draw shape)
  and expects that both the shape and the textbox gets resized
  accordingly

Note that this way we can signal our size request for the textbox, and
the custom shape takes care of resizing the shape in a way, so that
after the resize, the text area counted from the custom shape geometry
will be exactly what we requested. (I.e. just asking the shape to have
the same size as the fly would work for rectangle, but not e.g. for
triangles.)

Change-Id: I1e7efd00db52cf28481f6821ea6949f748b855e7
2014-06-27 15:56:05 +02:00
Miklos Vajna
4f33a0961d SdrObjCustomShape::AdjustTextFrameWidthAndHeight: allow external text
So that in Writer, in case we're using Writer TextFrames to handle the
content of a shape, it's still possible to inform the custom shape about
the automatic size of the text, just like when native editeng text is
used.

Change-Id: I2534b942a9b2d62d7aa009ffbfa8d76feb011f92
2014-06-27 15:56:05 +02:00
Miklos Vajna
f2ad42f97b CppunitTest_sw_ooxmlimport: use exact value from bugdoc in testMceNested()
Bugdoc has 2514600 EMU's as the vertical position, use that, and allow
larger values, as originally this was 0, and we have additional 2 mm100,
probably due to rounding errors.

Change-Id: I7495a0f9e913332a24d0a830b0252ecb6a39d806
2014-06-27 15:56:04 +02:00
Caolán McNamara
641154c259 Resolves: fdo#65634 improve wheel-scrolling sidebar panels
Change-Id: I213d85a1e2bbd2377f6f0326433ddd57dc346721
2014-06-27 14:42:19 +01:00
Stephan Bergmann
e48a233960 loplugin:unreffun: also warn about redundant redeclarations
Change-Id: I9a812220b58cf6da00d854e65794f7c673ab239d
2014-06-27 15:27:39 +02:00
Zolnai Tamás
b05b970daa libgltf: use WHITESPACE
Change-Id: I47ca82d5f08431c8af8b8a85cfbfd083ebd6fda0
2014-06-27 15:09:10 +02:00
Stephan Bergmann
af70a45633 Missing include dir
Change-Id: Id1d1ed3639548b335dff2d9fa5689b90f1ae5f61
2014-06-27 15:08:54 +02:00
Caolán McNamara
2b9ad2ef6b do what I mean, not what I say
Change-Id: I1c86ff5713401771d6002de0a26bad4430d271fd
2014-06-27 13:31:58 +01:00
Zolnai Tamás
ab028bf00e libgltf: fix wrong include path to config_$(gb_Side)
Change-Id: I63d1822fd08c997a9432ed09ada6d5299bc658b1
2014-06-27 14:24:42 +02:00
Caolán McNamara
d1a185f3af send wheel scroll events of disabled widgets to its enabled parent first
on scrolling with the wheel scroll if the pointer ends up over a disabled
widget then the event doesn't go to its parent and so the scrolling
halts unless the window happens to be the focus window

Change-Id: I57566b5c6e395e0f62d6b928f28e47a0c3486d65
2014-06-27 13:24:38 +01:00
Stephan Bergmann
d75049f978 rsc: fix how -isystem args are filtered out for the preproc
Change-Id: I7688f3d68be99362e79304bbac041424eee6347a
2014-06-27 14:04:39 +02:00
Zolnai Tamás
c7d6541f5d libgltf: it seems gb_SPACE is not that we need here
Change-Id: I099f2bb007cdd29db25a99ca84e53115a12379bd
2014-06-27 13:41:36 +02:00
Caolán McNamara
be13df63e0 Updated core
Project: dictionaries  b310c7910565cb1a4beea309ce404bb533ac6f44
2014-06-27 10:55:01 +00:00
Stephan Bergmann
ae19cfde67 Assume $FRAMEWORKSHOME/JavaVM/Headers is junk
(What I have on OS X 10.9 $FRAMEWORKSHOME/JavaVM.framework/Headers, but that
should already be covered by the preceding
$FRAMEWORKSHOME/JavaVM.framework/Versions/Current/Headers.)

Also, fix up 359ba1dfdf8de1f2cff185f16ec21b6dc88feac9 "OS X: JDK include path
for JDK 1.8" to not set JAVAINC twice.

Change-Id: I83c0cdc33ada897fcf8b79fb8df737af26687aa6
Reviewed-on: https://gerrit.libreoffice.org/9931
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-27 10:54:15 +00:00
Caolán McNamara
e8b753910b update to latest libexttextcat
Change-Id: I18cb4d6939c5fcf765ff3033c67583048b55e4a1
2014-06-27 11:34:29 +01:00
David Tardon
1e735d9394 fix build of libpagemaker on windows
Change-Id: Iac9920b9886fda514e6db35dc89facefeebe4d68
2014-06-27 11:36:04 +02:00
David Tardon
e2c0e024d6 download libpagemaker tarball
Change-Id: Ib0ad5408078308bf790cbffe10ff1399c6c95dbe
2014-06-27 11:07:14 +02:00
Caolán McNamara
77af6cd18c update hyphen 2.8.7
Change-Id: Icbe95429903dd3605acfd659c46f001d838b52c3
2014-06-27 09:59:40 +01:00
David Tardon
657d4d5430 add PageMaker to the list of supported formats
Change-Id: I8e13b3516786c817165654190b08cf904c9a4454
2014-06-27 10:42:39 +02:00
David Tardon
bba28baf8b download PageMaker files
Change-Id: I739f5f9b6f0e6a97832136812b289ae27cfaae37
2014-06-27 10:39:29 +02:00
David Tardon
516fb340b1 integrate libpagemaker
Change-Id: I077d7c9a41793abdf5f001386f44ac407f94a6d3
2014-06-27 10:39:29 +02:00
Caolán McNamara
0751477a37 upgrade mythes to 1.2.4
Change-Id: I79b658fc737ef3dd65039c3b43705505a45fb1fd
2014-06-27 09:36:18 +01:00
Markus Mohrhard
ce05c5e4b0 fix incorrect ScAnnotationsObj UNO API, fdo#80551
The used index was a sheet local index but the returned position was
from a global container.

Change-Id: I0b9e9e7e9618c72daf8e6417bca9d3a1cb23abb1
2014-06-27 10:05:45 +02:00
Markus Mohrhard
355c3cbb16 fix invalid memory access in chart tests
Change-Id: I056101d146c939ff958c83efc57fd110e8d52509
2014-06-27 10:05:45 +02:00
Caolán McNamara
d781e874e0 bah, const issue
Change-Id: If7fd95287ba1a28e7b5f5440776859b912d6ad6e
2014-06-27 09:05:53 +01:00
Caolán McNamara
986c0451d0 Resolves: fdo#80160 PNG with 1-bit colormap only show black and white
Change-Id: If0c9950c18e6091fafea47954a4654db436a3a44
2014-06-27 08:55:57 +01:00
Caolán McNamara
7af733d9ef tweak assert so comment appears in abort message
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
2014-06-27 08:55:56 +01:00
Caolán McNamara
05f5c4d4d6 DBG_ASSERT->assert
Change-Id: Ic2933fc686d3bb030291756bd94127ee7583c833
2014-06-27 08:55:56 +01:00
Michael Meeks
ab0b8a95ef fix comment and tiny optimisation for shutdown.
Change-Id: I94e0f55f7fc38529a9ab165786efaf7ac649a9d3
2014-06-27 08:56:46 +01:00
Michael Meeks
3c440aad56 LOK DocView: handle document load failure without crashing.
Change-Id: Icd668b3a7ec3ac58322a6af3f1da6008837d0b6b
2014-06-27 08:56:42 +01:00
Olivier Hallot
c6bd06cb6d Updated core
Project: help  f4ae6be5fabc4f86cffacb5b6d4fd5eb6568a02f

Fix fdo#80432. Help entries for NORM functions

Write help pages for LOGNORM.DIST, LOGNORM.INV, NORM.DIST, NORM.INV, NORM.S.DIST and NORM.S.INV spreadsheet functions

Change-Id: I00f92dd339c6485f2f7b809f2e441241cde5a9d7
Reviewed-on: https://gerrit.libreoffice.org/9925
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-27 07:52:57 +00:00
Takeshi Abe
c60f6227f8 Avoid possible memory leaks in case of exceptions
Change-Id: I1d703da6c0f9fd1a7e2423cc609fb504bb553382
2014-06-27 16:36:29 +09:00
Andrzej Hunt
822cf7cb24 Kill saveAsWithOptions again. (merge error/oversight)
The declaration sneaked in again when merging the libreofficekit
tiled rendering changes, there's no actual implementation or use
of this anywhere though.
2014-06-27 09:29:15 +02:00
Andrzej Hunt
2709ff61d3 libreofficekitgtk requires ENABLE_GTK.
Change-Id: I2ba47edc457e310548c8a62747a6a152ee5e1314
2014-06-27 09:16:38 +02:00
Stephan Bergmann
03d4d4b3f2 loplugin:unreffun
Change-Id: I2afc1cd5ed813f768f06ad0db651fb9e8e81d844
2014-06-27 09:13:00 +02:00
Ravindra Vidhate
6bd609d845 fdo#80097 : tblBorders and tcBorders are not preserved for the table.
When we have multiple tables inside a table, the tblBorders and
tcBorders of the inside tables are not getting preserved.

The issue is m_aTableStyleConf is not clear when the LO starts
writing the properties of the inside table.

Change-Id: I30081b8a5a59614430a2279550ae7eb589cb71ec
Reviewed-on: https://gerrit.libreoffice.org/9893
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-06-27 07:07:25 +00:00
Miklos Vajna
ffd9c70da1 error: 'xFieldProperites' was not declared in this scope
Change-Id: Id50cc01ca9726a24da38d4952a30cf7343e8bdfc
2014-06-27 09:05:49 +02:00
Stephan Bergmann
e4b7da8da8 Dead declarations
Change-Id: I43e388df118b9e08ab8c05cad31871ef0af35164
2014-06-27 08:59:59 +02:00
Charu Tyagi
9b04093e9a fdo#74745: (DOCX) Number formatting for custom document properties.
Change-Id: Ifb9ef14180cac84fd111d81b9535266476d5f04f
Reviewed-on: https://gerrit.libreoffice.org/9896
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com>
Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2014-06-27 06:21:20 +00:00
Stephan Bergmann
9a741fcad4 loplugin:unreffun: also warn about unused function templates
Change-Id: I4a6280f47ca3c4a77b4e42fe05d79ded7fc30ef1
2014-06-27 07:51:51 +02:00
Kohei Yoshida
3c6e378fd8 Make these non inline.
Don't do this please...

Change-Id: Id90490622bca10beabf7a1c92e51e55bc72a1db8
2014-06-26 23:26:42 -04:00
Kohei Yoshida
ecde8155fe fdo#79151: No need to offset column index by category labels.
In fact, doing so would lead to a corrupt internal data table.  The
internal data stores category labels separately from the column data, so
there is no reason why we need to offset for category labels here.

Change-Id: I29dd99e53837cba7a1e28d2a1ef39a5384378805
2014-06-26 22:49:35 -04:00
Kohei Yoshida
822d0e9db6 Use new GridPrinter instance for each table.
resize() sometimes leads to a crash.  Need to debug later.

Change-Id: Ia3809eb4f171369a58b84d5b44001692be1453a1
2014-06-26 22:33:55 -04:00
Kohei Yoshida
c6da184295 Track all uses of ErrorBarX and ErrorBarY UNO property names.
Change-Id: I994424c98d977c3a8f9138cccc17348de813a9d7
2014-06-26 19:36:46 -04:00
Kohei Yoshida
95272e7e5b Prevent a crash while dumping internal data content.
Change-Id: I0938b955b460d8c91607e6df0b9d9e1a4a971013
2014-06-26 18:58:41 -04:00
Stephan Bergmann
4cda79cec3 loplugin:staticcall
Change-Id: Idea97df52106af64f6c5605460756d48296551e2
2014-06-26 22:57:11 +02:00