Commit Graph

345996 Commits

Author SHA1 Message Date
Jacobo Aragunde Pérez
ad7fdc4e0f filter: Code reduction, prevents crash.
Not all shape types have the full com.sun.star. prefix, for example
FrameShape. The existing code would crash in that case, but the new
code doesn't.

Change-Id: I9aa3d0f20f48ab91a6770e8409a8da2028816504
2014-02-24 13:24:53 +01:00
Jacobo Aragunde Pérez
c69ae9f8f8 comphelper: EmbeddedObjectContainer::GetObjectStream methods
These methods were added to provide access to the stream to the
embedded object itself.

Change-Id: I0a47a54852cddbd5ddd0a6599bba21999afd96ba
2014-02-24 13:24:52 +01:00
Jacobo Aragunde Pérez
20a174ac12 comphelper: code refactor
Change-Id: Ica71d0691cf02aeaa03b6570015d9828cd7daeed
2014-02-24 13:24:51 +01:00
Douglas Mencken
d2a4872861 nss: continue delivering libsqlite on Mac OS X 10.5
Change-Id: Ibfd47071c73fc5f6c48d268a1f00d7f52762d0f2
Reviewed-on: https://gerrit.libreoffice.org/8204
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-24 11:40:21 +00:00
Douglas Mencken
407db3d915 Restore abandoned lines in bridges/Library_cpp_uno.mk
Fixes build error:
    bridges/Module_bridges.mk:29: *** no bridge selected for build: bailing out. Stop.

Change-Id: I1d173e75ade45878e53ed07758783bdb5a7370c8
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-02-24 12:33:41 +01:00
Douglas Mencken
8bf34faa1e Yet another one undefined comparison of 'const' and a 'non-const' iterators
Fixes:
    no match for ‘operator!=’ in ‘i != std::vector<_Tp, _Alloc>::rend() [with _Tp = rtl::OUString, _Alloc = std::allocator<rtl::OUString>]()’

Change-Id: I7b4ba07ebe51c73893a3d6b77dcf5681b7638efb
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-02-24 12:32:43 +01:00
Stephan Bergmann
130a2baa83 error: enumeral and non-enumeral type in conditional expression
Change-Id: I30293ac22fb26e0f7c9bfd335ccaa9a2d263d02f
2014-02-24 12:28:18 +01:00
Stephan Bergmann
33740b7d5a Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
Miklos Vajna
43d7f4e364 offapi: document the 4 new properties which are no longer read-only
Change-Id: Ia2844af91159bf4a512fcb70883fc6a1eddfce35
2014-02-24 12:16:14 +01:00
Miklos Vajna
7b9aa420d3 SwXShape: implement reading the Relative*Relation properties
Change-Id: I1e99a2ff08c83ac361ab001e90047d9b8d5524fc
2014-02-24 12:16:14 +01:00
Miklos Vajna
9fadea73d3 SwXShape: implement reading the RelativeWidth property
Change-Id: I40d451c170699ed7616c1159a354bd93444743c0
2014-02-24 12:16:14 +01:00
Miklos Vajna
4e0f9a35fa SwXShape: implement reading of the RelativeHeight property
Change-Id: I479eabcd45b741a633d7d00b2bdcbd3d0dcbf0ff
2014-02-24 12:16:14 +01:00
Stephan Bergmann
146c7c5c89 toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
2014-02-24 11:13:42 +01:00
Tor Lillqvist
569756aaf4 Re-introduce code to try to get GDI metafile replacement image
The code was commented out in 2009 in CWS metropatch01_DEV300, with
any reasoning behind it lost in history, and then cleaned away in
2010. Re-introduce the bit that tries FORMAT_GDIMETAFILE. Seems to
work for data that produces a reasonably sized metafile. (For data
from an Excel "Select All" followed by "Copy", that puts a million
rows on the clipboard, good luck... Unfortunately when doing that in
Excel, sometimes you get a million rows, sometimes just the non-empty
relevant part of the worksheet.)

Change-Id: Ib5f1a989b65ad0a30194a1ed23f8b94dd3822cac
2014-02-24 12:11:48 +02:00
Jan Holesovsky
a13622923a Here the line made sense, bring it back.
Change-Id: Iba1c798edfe1b0eb5edcba904ceacec9174cacc6
2014-02-24 10:56:56 +01:00
Jan Holesovsky
d39f135837 OUString -> const OUString&, Sequence<> -> const Sequence<>&
Change-Id: I5d17a04fe0a3051374d75d9c989d95377f18c79d
2014-02-24 10:56:55 +01:00
Norbert Thiebaud
08d1f22ebb make the implementation use the same type than the declaration
Change-Id: I860e6db6ea4a7a7194283ba4fc23ae30cb1de4f8
Reviewed-on: https://gerrit.libreoffice.org/8201
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-24 09:54:09 +00:00
Miklos Vajna
0cf6f241e4 abi#11739 DOCX export: fix validation error, wrong order of some elements
Change-Id: Ic1c0174718ba6853fcc8795324a99b2a332b865e
2014-02-24 09:14:46 +01:00
Matteo Casalin
83aa6d8180 Remove some temporaries around calls to SvNumberFormatter methods
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-24 09:08:35 +01:00
Matteo Casalin
c1e06b7a91 Fix -Werror=shadow
Change-Id: I30312e039c98007d6f379c3ee9b1500ddfbfc39d
2014-02-24 09:08:34 +01:00
Stephan Bergmann
c19cb642db Adapt to osl_atomic_inc-/decrement
Change-Id: I848873b07ab05cefdc755a8bf1301907fdfbc299
2014-02-24 08:08:00 +01:00
Stephan Bergmann
b7259532d8 Remove unnecessary bool2any
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24 08:08:00 +01:00
Stephan Bergmann
ad73967e99 Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-24 08:08:00 +01:00
Takeshi Abe
a53577e6ff Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I55292f5f0049e7c77d5bb0e5ef5fa187b815d159
2014-02-24 10:20:51 +09:00
Tomaž Vajngerl
a086a19714 ooxml export: w14:reflection element
Change-Id: I84cd2cd13b56a2fa369fc4c1e98c5be519a50e78
2014-02-24 00:11:23 +01:00
Tomaž Vajngerl
155720819b writerfilter: put w14:reflection attributes into a GrabBag
Change-Id: I0738b3a69df9acc6e636849fbb78231621e1cad9
2014-02-24 00:11:23 +01:00
Tomaž Vajngerl
7ad9184506 writerfilter: TextEffectsHandler - simplyfy switch
Change-Id: I9fe8967892f2298729940af3b3781fde760de69d
2014-02-24 00:11:23 +01:00
Tomaž Vajngerl
add5fc3730 writerfilter: add property ids for all w14 main elements
Change-Id: Ieb622364c1fbb2e5177392ff576a457a57b5cbb0
2014-02-24 00:11:22 +01:00
Tomaž Vajngerl
52ff05f31c writerfilter: add w14:reflection to model.xml
Change-Id: I5d94ebf602d06f334661936136213cb4eddb6a36
2014-02-24 00:11:22 +01:00
Zhe Wang
3b45f92ba6 Resolves: #i119985# date/time is displayed as different language
(cherry picked from commit 977a050343fc836fc3e7bd876afaee931c47252c)

Change-Id: I1f31f6731353b2d8b8fd684fc6ea29becfd4a814
2014-02-23 21:01:19 +00:00
Zhe Wang
8a5ad76b4e Related: #i119985# date/time is displayed as different language
(cherry picked from commit 2a3c87a5ea5e3308a138e461dffae19483c0184c)

Change-Id: I3ef171481b206f7a9d356110d1b4a1559cd5e837
2014-02-23 21:01:19 +00:00
Miklos Vajna
6e38e82b7c writerfilter: convert sprm:CF{Outline,Shadow,Emboss,Imprint}
Change-Id: I03a2d24d5ff6b868cd67c7b3e1d19c6a2243b92f
2014-02-23 21:57:38 +01:00
Douglas Mencken
ae4a8c6152 CoreText SDK 10.5 compatibility
Change-Id: Ic876ec473b1c03a70c160af4251c68b299b27eca
Reviewed-on: https://gerrit.libreoffice.org/7143
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-23 19:05:16 +00:00
Zolnai Tamás
b0073ef79e drawingML import: reduce code duplication
Change-Id: I7730fb047a10f270498bbf6f1a89dde034514121
2014-02-23 19:19:47 +01:00
Zolnai Tamás
a35a29829d drawingML import: remove some unneeded member
Change-Id: Iea975665b9225e535dcc4fbdcd666d7c7bff8ef3
2014-02-23 19:19:46 +01:00
Tomaž Vajngerl
fb217f27eb writerfilter: comment out incomplete w14 elements from model.xml
Change-Id: Ifdc0c0802e8d13d57023cb24096f8364e6ee9e91
2014-02-23 17:40:09 +01:00
Tomaž Vajngerl
ea7dd1a055 writerfilter: restructure call to TextEffectsHandler
Change-Id: Iba02edccfb09c2b42be164c62c57315b58884c98
2014-02-23 17:40:09 +01:00
Tomaž Vajngerl
ab2b20b663 ooxml: handle w14:shadow in import/export
Refactor the code to support an additional main element at processing
of w14 elements for rPr.

Change-Id: Iaf18a11bbda245b0b5b629e5f2e9f1f9682e6d41
2014-02-23 17:40:09 +01:00
Tomaž Vajngerl
7f93b4001f writerfilter: add all main w14 elements for a rPr
Change-Id: I8fa71bdf837eac6ea277d2e2507622a783625a11
2014-02-23 17:40:08 +01:00
Tomaž Vajngerl
c7f6b81646 oox: add some more missing w14 tokens
Change-Id: Ied80a30419ac809c0cb20f8c29427ff0945f5904
2014-02-23 17:40:08 +01:00
Markus Mohrhard
89679beecf make the debug message more readable
Change-Id: I79c3261bb3672c360073f91e320d8aafce09cd2e
2014-02-23 17:14:10 +01:00
Caolán McNamara
38940e29e3 coverity#735534 Dead default in switch
Change-Id: I686cfdf2c876123aa72b2dcfc1c6abcabcad5ab7
2014-02-23 15:54:27 +00:00
Caolán McNamara
bbaad0e03d coverity#736165
Change-Id: I04c1474b2042deb3027369fe1102aef2eb5320a4
2014-02-23 15:51:00 +00:00
Caolán McNamara
8444cd7802 coverity#704661 Unchecked dynamic_cast
Change-Id: I50bdab52c8758a71656f47e3bf053181c7831c46
2014-02-23 15:40:35 +00:00
Caolán McNamara
f5224665b8 coverity#738077 Uncaught exception
Change-Id: I85a482945c3851bf13aa6d2c65b6b297ea885bca
2014-02-23 15:38:31 +00:00
Caolán McNamara
3a06d4837e coverity#738075 Uncaught exception
Change-Id: I426c57dce1eb97a36800399e78b176ae0474cc6d
2014-02-23 15:37:35 +00:00
Caolán McNamara
7f94ebaf00 coverity#738074 Uncaught exception
Change-Id: If51117d24e64413b6c340967c039d02c483ed0da
2014-02-23 15:36:38 +00:00
Caolán McNamara
8d5def6dc4 coverity#707114 Uncaught exception
Change-Id: I556c326e537faeb3d125a0a8f1cb0c749df29f24
2014-02-23 15:33:48 +00:00
Caolán McNamara
379b98741a coverity#707113 Uncaught exception
Change-Id: I612503ef40682820821dbf61dd12afbc62e4eb39
2014-02-23 15:32:57 +00:00
Caolán McNamara
7db1dbaa70 coverity#706831 Uncaught exception
also

coverity#706839 Uncaught exception
coverity#706840 Uncaught exception

and probably a gadzillion more

Change-Id: I3c3ceebb259cccc9c41f5a49bd0c95b151dd7c58
2014-02-23 15:29:32 +00:00