Commit graph

312324 commits

Author SHA1 Message Date
Caolán McNamara
b45834bf64 WaE: with DEBUG defined
Change-Id: I2bf950b8ac644c911050ce01282ac988167d28f9
2012-09-12 23:12:46 +01:00
Christian Lohmaier
db5e8c0650 allow to build with XCode 2.x
* XCode 2.x only comes with automake 1.6.3, and that doesn't know
  per-object CPPFLAGS, thus use per-object CFLAGS instead
* also it is picky about redefining the SOURCES in a conditional
  statement, so use a variable in a condition instead and add that
* Its linker also needs help locating libs that are using the
  relocation-placeholders, thus add -dylib_file linkerflag
* aclocal insists on a space between -I and argument

Change-Id: I35714a1a76a7b7823ee6b64a3296aeae96e7296a
Reviewed-on: https://gerrit.libreoffice.org/605
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-12 21:59:06 +00:00
Caolán McNamara
843c83f640 WaE: fix some "empty body" warnings on Mac
Change-Id: Ib65d9dac988851fa90a44cad246ac24e8bfd3370
2012-09-12 22:53:29 +01:00
Christian Lohmaier
60a6daf78c cosmetics
Change-Id: I5b4202628f9df4ed087eee69058ced13bc2c1b1b
Reviewed-on: https://gerrit.libreoffice.org/603
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2012-09-12 20:37:07 +00:00
Michael Stahl
2940a697dc fdo#42450: also end undo on error condition
Change-Id: I59a33631d73a02cf8c84ccc002401bdc2da10267
2012-09-12 22:19:19 +02:00
Alexander Wilms
1e7666e825 Tango icons
Change-Id: I381d67d5267d50eb548a7d5dd2201ba97ab8db59
2012-09-12 22:18:05 +02:00
Michael Stahl
f648822782 SwDoc::InsertSwSection translate assertion
Change-Id: I225610dd844b081eb0c0e4e5b1e0f31188cb8062
2012-09-12 21:51:57 +02:00
Michael Stahl
5bc6c7b2e1 fdo#42450: fix crash in SwXTextSection::attach:
Inserting the section can fail if the given text range is not valid.

Change-Id: Ib6ba3b02dd581dce08b646b841354073caf894b2
2012-09-12 21:51:48 +02:00
Michael Stahl
1488e24a34 connectivity: fix some "empty body" warnings on Mac
Change-Id: I832b369d87da9b622759bf7ddd14f95475256c38
2012-09-12 20:22:36 +02:00
Takeshi Abe
55223696a2 Bin pointer to non-existent class
Change-Id: I215c84967a53dbadba86913d24bc4aadc6543467
2012-09-13 01:52:32 +09:00
Tor Lillqvist
bb4d6a0d89 Make it compile for iOS device, no idea whether it works
Change-Id: I56fdc4894347d9cce4d3b932d3b8740fcb4ef8b7
2012-09-12 19:26:52 +03:00
Tor Lillqvist
21774213d4 WaE: -Wuninitialized
Change-Id: Iba1849abfc9c12c38466fc4294d319a06f413b55
2012-09-12 19:26:51 +03:00
Tor Lillqvist
fa57e53c2d Put -DUCONFIG_NO_FILE_IO also in CXXFLAGS for iOS
Change-Id: I345a86a3d17bd85c8dd4e9d9f5f855c46bdba0e2
2012-09-12 19:26:51 +03:00
Ricardo Montania
29c3a013b5 Finished ::rtl::OUString to OUString in UnoControls
Change-Id: I48409908bd1639d6a69217c7f94ebce04464487f
Reviewed-on: https://gerrit.libreoffice.org/601
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-12 16:23:16 +00:00
Andras Timar
11b85ee299 fdo#44565 do not delete empty Desktop folder on uninstall
Change-Id: I74f0f3a5bcfb381ea941a853c3d5e5e27f7f57e7
2012-09-12 18:09:51 +02:00
Stephan Bergmann
8c8492892b Better error reporting
(The MESSAGE_CORRUPTED_FILTERCONFIG in the exception's Message would not be seen
by end-users anyway, so better put something more useful in there.)

Change-Id: I5c677a894a8b6fcfb61d24c59d45b2cbc53e7a60
2012-09-12 17:51:27 +02:00
Stephan Bergmann
3357115adf Unused #includes
Change-Id: If5c8ee05ef84c03a9cec6ef428256e17b33f073e
2012-09-12 17:51:27 +02:00
Caolán McNamara
85b0beae59 Resolves: fdo#40025 add text correction undo id
instead of a single overwrite foo so now the undo message is
"Text Correction" for a spell or grammar change

Change-Id: I0227780ba9024ff903632923dd94238719b65764
2012-09-12 16:33:54 +01:00
Tor Lillqvist
5a27cae588 WaE: unused parameter 'uFlags'
Change-Id: Ifb3569201ea5d96c2ff293bf0f8ba74e6205dc15
2012-09-12 18:29:59 +03:00
Stephan Bergmann
9422195fd3 -Werror=unused-parameter
Change-Id: I2a83ecd010c2d85b5596172102d24b5063ace159
2012-09-12 17:18:40 +02:00
Michael Meeks
7c805af4d0 build fix. 2012-09-12 15:16:37 +01:00
Noel Power
ce9cb99d0b fix build issue 2012-09-12 14:36:24 +01:00
Andras Timar
e2b1a7e4e4 fdo#39791 do not steal .doc association from MS Word
I don't think it made sense to check OpenWithList at all. When we
found WordPad there, we registered the file type, even when it was
registered by MS Office.

Change-Id: I15a151051cadd329e8614388ceb84470ea28805a
2012-09-12 16:11:12 +02:00
Andras Timar
da22f583f9 unused MSI properties: REGISTER_PPAM/PPSM/XLAM, related: fdo#52093
Change-Id: Ia07a0351c68ffec2297b4316977b8ccff0fd5543
2012-09-12 16:11:12 +02:00
Miklos Vajna
781f214c72 configure.in: typo
Change-Id: I209594460e2b2dd5e8621375f555e38ec0009e7c
2012-09-12 15:35:08 +02:00
Radek Doulik
c37575d3cd small optimization
Change-Id: I236d6580f92ad7c0269c42471f187f5ce7b8094d
2012-09-12 15:20:24 +02:00
Caolán McNamara
b0759366fc Resolves: rhbz#855541 XIOError handler multithread woes
We have two threads using X, on an XIOError both
threads call their XIOError handlers and two
calls to exit trample all over eachother.

Change-Id: I20defc6f84cc6ea2372a0d6c979e8078fe920a88
2012-09-12 14:01:24 +01:00
Noel Power
4597483e00 targetted VBA re-work. 2012-09-12 12:49:49 +01:00
Stephan Bergmann
c414499bbd Remove race conditions from test
Change-Id: I97e10fa3b9058211313a7faa5269d71e233f8bf8
2012-09-12 14:36:18 +02:00
Stephan Bergmann
d19c40f45d Work around some potential problems with thread-unsafe getenv
I have seen at least one failure of one of our unoapi tests where soffice.bin
crashed in getenv(3).  This patch is just a drop in the ocean, though.

Change-Id: Iac8a2283b0a62e4fa95a0d063c1676af6c2390be
2012-09-12 14:18:10 +02:00
Stephan Bergmann
2738355f9f diagnose.c -> diagnose.cxx (to ease further modification)
Change-Id: I6c050c0cedab6aeed556dc770c3700e6fbbb4731
2012-09-12 14:18:10 +02:00
Stephan Bergmann
bb5ea68ed5 Simplify osl_searchPath_impl
Change-Id: I78a97b5a1abbcb7921eba60b8014a21373c0b596
2012-09-12 14:18:10 +02:00
Caolán McNamara
dbb77c1448 remove unused hMainThread_
Change-Id: Iea56d7f1b4d3133067e321a033df81378be2817a
2012-09-12 12:50:08 +01:00
Caolán McNamara
a9b7ceea2b Resolves: rhbz#831755 crash with 0 dyaLinePitch in .docx
This is similar to fdo#40686 (dyaLinePitch only valid between [1-31680]) for
the .doc format

Change-Id: I7d2745d695320b4b6b22ec2b519f092932587c2e
2012-09-12 10:23:51 +01:00
Stephan Bergmann
fe1fd7c40c Improvement on previous commit
Change-Id: I51226f78ca60c32ebb908bcf4f74d38d0750eb00
2012-09-12 10:24:55 +02:00
Noel Grandin
372f980168 fdo#46808, Adapt xml::dom::SAXDocumentBuilderr UNO service to new style
Create a merged XSAXDocumentBuilder2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: Iaa96031a0b7c27e957d2edb0394e5eeaaa84cdca
2012-09-12 10:24:55 +02:00
Stephan Bergmann
a5036f396a Patch line end clean up
Change-Id: I8f20800584d864b8fa9789b0ffab6b62db232632
2012-09-12 10:16:33 +02:00
Miklos Vajna
18b3feb8be n#778133 sw: add BackgroundParaOverDrawings compat flag
In Word, the layer that contains a background image is behind the layer
that contains the paragraph background. In Writer, the paragraph
background is painted before the hell layer. Add a compat flag to change
the order, so the DOCX importer can trigger that.

To reproduce, create an XShape, send it to the background, set some
color for a paragraph background, and notice that the background color
is missing where the shape is behind the text.

Change-Id: I9b1fffd9ac9a6e5a1c3d1f65371440047d125b38
2012-09-12 10:03:18 +02:00
Tor Lillqvist
40f1a95eff Deliver libexslt.a (for iOS)
Change-Id: I79dc8e0d7b60b22c0ffe9eb5a76f889b8739265f
2012-09-12 10:45:23 +03:00
Norbert Thiebaud
5aaef82232 coretext: use only the FontFace ref from the Style
Change-Id: I696065f6f60fb55eaa24e4a8b4cbff1e93856f04
Reviewed-on: https://gerrit.libreoffice.org/306
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-12 05:14:34 +00:00
Issa Alkurtass
f49db879b7 fdo#43210 Corrected page preview direction for RTL interface
Change-Id: I412510bc17a29873310689e3141c75d32b261e37
Reviewed-on: https://gerrit.libreoffice.org/557
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-09-11 19:02:51 +00:00
David Tardon
6d0906c7fd fix ./configure --without-system-liblangtag
Change-Id: I4640e4c626a209035697e69587852ec86af16136
2012-09-11 20:34:58 +02:00
Ricardo Montania
aa4a6bd8c1 ::rtl::OUString to OUString in UnoControls
Change-Id: I12a95e61e7bf59c64fec7df98617926b774074ee
Reviewed-on: https://gerrit.libreoffice.org/597
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-11 18:21:00 +00:00
Abdulmajeed Al-Abaulrazzaq
4ed62ddb01 Modifying comments to meet doxygen standards
Change-Id: I363ce532c7d11e798c2a5cc67b1b7893dcd0a389
Reviewed-on: https://gerrit.libreoffice.org/596
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-09-11 17:54:21 +00:00
Takeshi Abe
a8a15bd95c Remove unnecessary #ifndef guards
Change-Id: I0b393c97f8781d99bf5d3be4065864379eab004c
Reviewed-on: https://gerrit.libreoffice.org/594
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-09-11 17:25:10 +00:00
Stephan Bergmann
8963c35098 Improvement on previous commit
Change-Id: I10984b6ac4128ad46f512dade0f4e0084d0b9348
2012-09-11 19:09:24 +02:00
Noel Grandin
77897f5994 fdo#46808, Adapt task::PasswordContainer UNO service to new style
Create a merged XPasswordContainer2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: I245b566b43e4646f10914b0aee13b2a0b0e296ae
2012-09-11 18:51:54 +02:00
Noel Power
a9b9ffacac blind fix for toolkit_unoapi
Change-Id: I545b712c5fb72d8de415752b7fb4ec20ab3fcee0
2012-09-11 17:48:21 +01:00
Stephan Bergmann
9639d84bbc Stray circular dependency of tk on svt
Change-Id: I766178a729030fbe13dd42f82fc88d58e21439d7
2012-09-11 18:39:50 +02:00
Matúš Kukan
f4889fa21f use _use_static_libraries here again to ensure proper dependency
Change-Id: I04fb35b6eac1c1777e67de9877417cfe7cc5aac8
2012-09-11 18:23:50 +02:00