Commit Graph

333614 Commits

Author SHA1 Message Date
Minh Ngo
9335f5f1c5 Fixing a crash when loading symbols from LibVLC.
Change-Id: Ifb39dea6f0d2328d5658f34ca35d6d65445c38ef
2013-09-04 20:10:22 +03:00
Stephan Bergmann
456539a6fa Remove effectively dead raises specification
Looks like idlc ignores the lone (due to the preceeding ";") raises
specification, for whatever buggy reason.  XAxis.idl had been like this since
the inception, and the C++ implementation of getAxisGroup in
sc/source/ui/vba/vbaaxis.{cxx,hxx} had also failed to list BasicErrorException
since its inception (likely because the function signatures were copied directly
from the generated .hdl file, which of course also lacks BasicErrorException;
and also does not really need it given the function definition just returns a
member variable), so keep the status quo and clean up the .idl file.

Change-Id: Ib4ffddb6ec867ca302cc595915cae17099734ddf
2013-09-04 17:44:02 +02:00
Thomas Arnhold
4bd28f7931 XubString to OUString
Change-Id: Ia7514abaa494a367d51db9d9990cd94cff6ed503
Reviewed-on: https://gerrit.libreoffice.org/5802
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-09-04 15:40:05 +00:00
Miklos Vajna
3f2774c771 fdo#68787 DOCX export: handle zero width footnote separator
Change-Id: Ieb1d8d1f8609558b4af06630b603a51da3e665f4
2013-09-04 17:34:45 +02:00
Bjoern Michaelsen
3a021c00d9 fdo#68210 related: make other filters work again too
- see dc86610d16 for details

Change-Id: I6041ca10f58335187928995368db673c1ce22e7b
2013-09-04 16:55:22 +02:00
Stephan Bergmann
e76b2053b4 Fix UNOIDL interface method parameter identifiers
UNOIDL identifiers starting with a lowercase letter and containing underscores
are reserved for the implementation.  It would be good to be able to enforce
that in code parsing UNOIDL files, but some existing identifiers violate that.
So at least change any violating method parameter identifiers here.  While that
is theoretically an incompatible change for published interfaces, it practically
does not matter at all.

Change-Id: I5eff17b5dd5e2e92984184127c4fe1712d62c9dd
2013-09-04 16:54:23 +02:00
Miklos Vajna
330b860205 fdo#68787 DOCX import: handle when w:separator is missing for footnotes
There were two problems here:

1) OOXML has no way to explicitly disable the footnote separator, what
is does is that it omits the <w:separator/> element in that case. We
didn't parse that previously -- now we do, and if it's missing, the
separator is disabled.

2) The footnote stream isn't read by the importer, only when the main
stream references the footnote one, the relevant part of it is parsed.
At the moment we always parse the first (special, "separator") entry in
the footnote stream, that may be optimized later if it becomes a
bottleneck.

Change-Id: Ie588270a212fc90fc41095029a362cfd832b24f8
2013-09-04 16:44:51 +02:00
Bjoern Michaelsen
dc86610d16 fdo#68210: Make tiff import work again with merged-libs
- there was a symbol mismatch for dynamic loading
- while this fixes fdo#68210, similar fixes are likely needed for the other
  dynamically loaded functionality

Change-Id: I7e4d6baf256dbe7b145dcbc118b4cac2075e07f5
2013-09-04 16:37:25 +02:00
Bjoern Michaelsen
2349713c72 remove macro breaking 'make vcl debug=T'
Change-Id: I694480dc876f5990f5904cf39b15ea0c60ea816d
2013-09-04 16:37:24 +02:00
Caolán McNamara
41d229b23c XubString->OUString
Change-Id: I72b2678c79401320c355c7b6635a6180b01202f1
2013-09-04 15:36:05 +01:00
Bjoern Michaelsen
a97e46f002 dont duplicate res-files in solver/ anymore, if using gb_RUNNABLE_INSTDIR
Change-Id: Ibdf452253e5d4a5882594277bdf86eb96e68b1e3
2013-09-04 16:23:17 +02:00
Zolnai Tamás
97515d3aa2 Updated core
Project: help  32c171278a4aa94023069fb264c9192fbe056e6e
2013-09-04 13:52:49 +00:00
Andres Gomez
d52e46c418 oox: Enhancing the debugging output
Change-Id: Ifc055befd5d7436d44e95ce105c52f3c4f061796
Reviewed-on: https://gerrit.libreoffice.org/5768
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-09-04 13:36:01 +00:00
Stephan Bergmann
ced8703387 [API CHANGE] Remove long-deprecated css.sheet._NamedRange constants group
...it had been deprecated at least since late OOo times, with the
css.sheet.NamedRangeFlag constant group as replacement.  (UNOIDL identifiers
starting with an underscore are illegal.  It would be good to be able to enforce
that in code parsing UNOIDL files, but some existing identifiers like this one
violate that.)

Change-Id: Ib8067dee47cec46356065b7b70cc6b47b97e5bc0
2013-09-04 15:14:37 +02:00
Andrzej J.R. Hunt
0d1047ff82 Force removal of UNZIP_DIR when unpacking zip (gbuild).
mv only moves non-hidden files out of UNZIP_DIR, hence removal of
UNZIP_DIR can fail if there are hidden files remaining. This assumes
that hidden files aren't actually needed for our purposes.

This is a problem e.g. for libatomic_ops which contains a .gitignore
in it's top directory, causing the removal of UNZIP_DIR to fail.

Change-Id: Ia4a621b90bc4cc5fc15dd2a3ecc209734abc6269
Reviewed-on: https://gerrit.libreoffice.org/5808
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-09-04 13:13:49 +00:00
Stephan Bergmann
45b2346dcf No need to list documentation-only module.idl files in UnoApi_*.mk
...doxygen still picks them up, as it traverses the complete udkapi/ and offapi/
soruce trees.  (And rename udk-modules.idl to modules.idl for consistency.)

Change-Id: Ic52c333756810c285059f03edc207a0913ead160
2013-09-04 14:37:54 +02:00
Stephan Bergmann
e03211460a [API CHANGE] Fix deprecated struct css.uno.Uik member identifiers
UNOIDL identifiers starting with a lowercase letter and containing hyphens are
reserved for the implementation.  It would be good to be able to enforce that in
code parsing UNOIDL files, but some existing identifiers violate that.

In the case of the published, deprecated css.uno.Uik, the change is incompatible
in theory but arguably irrelevant in practice.

Change-Id: I61f66e2d73c6aca5498ae566758893b546eb81d5
2013-09-04 14:37:54 +02:00
Stephan Bergmann
2618ff4734 UNO interface UIKs are unused for a very long time
...so mark them as @deprecated more thoroughly and always force them to zero.

Change-Id: I5db2dab924fc5a4145a0e5dd055b654985ce2ef9
2013-09-04 14:37:54 +02:00
Stephan Bergmann
71ac97f709 Minor clean up
Remove an odd {1} repeat count, and remove the "."{DIGIT}+ pattern that is
already covered by the following {DIGIT}*"."{DIGIT}+ pattern.

Change-Id: If99dfe10a5e37225355472bf4deceb34c0a92eb9
2013-09-04 14:37:54 +02:00
Tor Lillqvist
d868e2d2e3 WaE: Unreachable code: Use SAL_WNOUNREACHABLE_CODE_PUSH/POP
Cleaner than my first attempt.

This reverts commit 9c0ba0ba41.

Change-Id: Iec9da427ab2a92cb0765f73af14d83a37f765290
2013-09-04 15:00:07 +03:00
Tor Lillqvist
5326020f85 WaE: Unreachable code: Use SAL_WNOUNREACHABLE_CODE_PUSH/POP
Cleaner than my first attempt.

This reverts commit aa4868de78.

Change-Id: I9c92be72e69292731983a53fc2de29ba333071c9
2013-09-04 15:00:06 +03:00
Tor Lillqvist
543937297a WaE: Unreachable code: Use SAL_WNOUNREACHABLE_CODE_PUSH/POP
Cleaner than my first attempt.

This reverts commit 8531679316.

Change-Id: Ib25b72a1f18d8adef5fa8d2960f233e0a7c29844
2013-09-04 15:00:05 +03:00
Tor Lillqvist
849f7d1484 WaE: unreachable code
Change-Id: I65158d7f8f632fb153adc1a4560de25ed1be0810
2013-09-04 15:00:04 +03:00
Tor Lillqvist
78d09575da Add SAL_WNOUNREACHABLE_CODE_PUSH and _POP macros
To be used around code where some compiler, in some circumstances,
generates bogus warnings about unreachable code, that it would be much
uglier to work around otherwise.

Specifically, I will at first now use this to get rid of MSVC warnings
about unreachable code when calling a function defined in another
source file (but going into the same library) that always throws. The
compiler notices this when one uses link-time code generation and it
thus can do global inlining of code from all compilation units that go
into a library (or executable).

For MSVC, the __pragma that the SAL_WNOUNREACHABLE_CODE_PUSH macro
expands to needs to be in force at the start curly brace of a
function, so place the PUSH macro before the function definition. For
clarity, I guess it is best that the corresponding POP macro comes
after the end of the function.

Change-Id: Icef5259c5360b9facdc136fec1f207665ce79d90
2013-09-04 15:00:03 +03:00
Andrzej J.R. Hunt
290bfcd2fd Remove unneeded configure.ac firebird parts.
Change-Id: I2a6997d62d4e12d67261fbfe07e71fbd816cde04
Reviewed-on: https://gerrit.libreoffice.org/5807
Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-09-04 11:46:49 +00:00
Krisztian Pinter
03fe1dc6ff startcenter: Fix template buttons breaking when used with k.board
Change-Id: I14a6b5610b4cb337101403bbbf5c5d70af012c54
Reviewed-on: https://gerrit.libreoffice.org/5806
Reviewed-by: Krisztian Pinter <pin.terminator@gmail.com>
Tested-by: Krisztian Pinter <pin.terminator@gmail.com>
2013-09-04 11:16:12 +00:00
Krisztian Pinter
055d21a1e3 startcenter: Rename variables
Change-Id: I3137502e6ee3c4c4dce6ac1b99325f5e8c771e02
Reviewed-on: https://gerrit.libreoffice.org/5805
Reviewed-by: Krisztian Pinter <pin.terminator@gmail.com>
Tested-by: Krisztian Pinter <pin.terminator@gmail.com>
2013-09-04 11:15:22 +00:00
Khaled Hosny
190506425c Require FreeType >= 2.2.0
That should be older than what RHEL-5 have, so closer to our real
baseline. Cleanup checks for older FreeType as a side effect.

Change-Id: I10dc6a3064b6be88cd7bdc72c501d50df4a2613b
Reviewed-on: https://gerrit.libreoffice.org/5804
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 11:01:28 +00:00
Khaled Hosny
655a62ad56 FT_Size API is available since FreeType 2.0.5
We require at least 2.0.9 right now anyway, so no drop the dlsym hacks.

This is essentially a revert of a36dab4a59
from 2003.

Change-Id: Id9bca2962f25d92f1707bc3d1efc054ffd22c714
Reviewed-on: https://gerrit.libreoffice.org/5803
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 10:57:17 +00:00
Eike Rathke
8d4cd07515 renamed ca-XV to ca-valencia and activated ca-ES-valencia, fdo#59867 related
Build Catalan-Valencian as ca-valencia instead of ca-XV private-use.

Introduced LANGUAGE_CATALAN_VALENCIAN 0x0803 mapping to ca-ES-valencia,
preserving old ca-XV and qcv-ES mappings to now
LANGUAGE_CATALAN_VALENCIAN and LANGUAGE_OBSOLETE_USER_CATALAN_VALENCIAN
0x8003 to ca-ES-valencia.

Removed special !bUserInterfaceSelection treatment from
MsLangId::getReplacementForObsoleteLanguage() and added the usual
obsolete replacement instead.

Change-Id: I2fdd8b0bac55d4b4ae2cbf3c3645f09fefec9b6e
2013-09-04 12:27:10 +02:00
Eike Rathke
e68074d62b use Bcp47CountryEntry
Change-Id: I604e4be0ff126153e163322aa7dc14acabd29138
2013-09-04 12:27:09 +02:00
Eike Rathke
c5381977e4 Updated core
Project: translations  54fd99cf0cda479641a91bb9e7f2ebe8a8384b1c
2013-09-04 10:14:39 +00:00
Caolán McNamara
77eeece2e7 c++11 and c++03 have different enum namespacing behaviour
Change-Id: I899d1ad9e26feb7fcf83c137e4e68628cfdceec8
2013-09-04 11:06:11 +01:00
Caolán McNamara
e4b2e9fa78 remove intermediate Strings on res loading
Change-Id: I5ae2f445bb2c0e3fa3dd42f972dae54dfee42cc8
2013-09-04 11:06:10 +01:00
Thomas Arnhold
9a0d753b84 String to OUString
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166
Reviewed-on: https://gerrit.libreoffice.org/5790
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 09:57:11 +00:00
Stephan Bergmann
ed87e4c4b0 Replace XROW_GETXXX macro with template
Change-Id: Ibd476f9a60dcc15be3b330d738faf56781998dfc
2013-09-04 11:27:35 +02:00
Stephan Bergmann
e561a04792 Remove unnecessary SystemChildData -> SystemEnvData define
Change-Id: Ifd6763617b9aef45c7301085033b6bbaf9d52e02
2013-09-04 11:27:34 +02:00
Brian Fraser
bcbb20b0ef Print images in grayscale when printing using the "Black & White".
Black and white color option found in Impress at
File-->Print-->Libreoffice Impress tab

Before change, images are printed in pure white, and hence
missing from the printouts.

Should resolve bug 62838, and is contributed under the LGPLv3+ / MPL.

Change-Id: I29e291c2f2baf95b5725b862625f6a206e4cb8ba
Reviewed-on: https://gerrit.libreoffice.org/5798
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 09:22:08 +00:00
Laurent Godard
673881b8fb calc export test on cell values, strings & formulas
Change-Id: I5e55da683423a461638b2235e25d5556fd77221a
Reviewed-on: https://gerrit.libreoffice.org/5698
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 09:12:49 +00:00
Caolán McNamara
9beb480833 Updated core
Project: help  0c4fc80ae026bce6476e321cc023575c318c7650
2013-09-04 09:07:32 +00:00
Caolán McNamara
3e2c8d7c7b discard unused HIDs now
Change-Id: Ia2009331a2df849ed5ace0c6c5f7f2b8e53e1555
2013-09-04 09:58:01 +01:00
Caolán McNamara
dd18372f7e XubString->OUString
Change-Id: I9ce007261555008a438b90b36a888a8d4cb4f140
2013-09-04 09:58:01 +01:00
Manal Alhassoun
07aade88b0 tp_axisLabel.ui widgets
Change-Id: I279d2989e6a3a8f0aa279c5aa8eb13251a6052da
Reviewed-on: https://gerrit.libreoffice.org/5801
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 08:56:47 +00:00
Philipp Riemer
e1c732c1b4 adjust code to layout
Change-Id: Ia2eeb93fa1eb08c31b9b016c4cb15263633ab518
Reviewed-on: https://gerrit.libreoffice.org/5794
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 08:42:08 +00:00
Philipp Riemer
387666fbd7 remove filerec.hxx inclusion where not needed
Change-Id: Ia5a65cb53580ed1ed7535a787f4f762da5a43d43
Reviewed-on: https://gerrit.libreoffice.org/5792
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-09-04 08:11:56 +00:00
Philipp Riemer
5fe4829b5d delete code that was commented out
Change-Id: I1d6e96a3cd26ada7911ee4a538e9441050ca75bc
Reviewed-on: https://gerrit.libreoffice.org/5795
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-09-04 08:09:30 +00:00
Pierre-Eric Pelloux-Prayer
02988a7a97 sw/paint: replace bools by enum in DrawGraphic method
This change has 2 purposes:
  * fix gradient background when writing pdf. Before a gradient filled
frame would be displayed as white (or transparent), because the transp.
rendering mode was taking precedence over the gradient one.
  * making the code more readable by grouping multiple conditions in
an enum.

Change-Id: I5a30756b72be5eabf364c67e175c7b9d22bfa1c0
Reviewed-on: https://gerrit.libreoffice.org/5759
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-04 08:09:12 +00:00
Tor Lillqvist
8531679316 WaE: unreachable code
Noticed during inlining at link-time code generation phase: The called
function always throws. So let's hardcode the throw for now then at
the callsite instead. Not ideal, I know. Add comments describing what
is going on.

Change-Id: I60d14b25aa62846fc0314aad7e00b2990f4cff26
2013-09-04 08:55:20 +03:00
Tor Lillqvist
37f1a6d35a WaE: use number() instead of valueOf()
Change-Id: Ic45dc030f76531d202a12e227130d11d3d1de805
2013-09-04 08:55:19 +03:00
Minh Ngo
b21781864d Possibly fixes compiling success regression on the UNIX platform.
Change-Id: Ie46bba2bbe8e351c25ae2c207fad9cc73761dd46
2013-09-04 07:20:58 +03:00