Commit graph

354804 commits

Author SHA1 Message Date
Stephan Bergmann
457933f1aa Do not both _use_library_objects and _use_libraries sb
Change-Id: I11f667104a0ca7279542fab53ad754d4de8c807d
2014-06-04 16:53:54 +02:00
Armin Le Grand
5ad71fb44e Corrected GetDrawBackgrdColor to return a value, not a reference
(cherry picked from commit a8a2653568d31a2fb76aeb3183e128e3304452bd)

Conflicts:
	sw/source/core/layout/paintfrm.cxx

Change-Id: I1e0a5a255d67d130f85a8c5c739c4e5cd4ce03c5
2014-06-04 15:41:23 +01:00
Isamu Mogi
e4abc1cb06 Fix comments
Change-Id: I7957db170ec7020c9aba915e43779e01c7b98a8c
2014-06-04 15:18:22 +01:00
Caolán McNamara
322da54d74 coverity#705337 Missing break in switch, probably not intentional
Change-Id: I9bfb694c4034f01d93f35f0f7e72263909245811
2014-06-04 15:13:32 +01:00
Caolán McNamara
38ad9104ef coverity#1209650 Missing break in switch, probably intentional
Change-Id: Iaa48a39cc86548dd2805703a97a90406663099ba
2014-06-04 15:13:32 +01:00
Caolán McNamara
57d6b95ce6 coverity#705168 Missing break in switch
Change-Id: I2fd40972e59fa55df48e48851315350fb012cdec
2014-06-04 15:13:32 +01:00
Caolán McNamara
6e581cc251 coverity#705172 Missing break in switch
Change-Id: I23663877212be93bffe16edfa4b0bb70c8ef5e2e
2014-06-04 15:13:31 +01:00
Caolán McNamara
b2c987f1a7 coverity#705190 Missing break in switch
Change-Id: Icf74b016a05999814ae234caf850c808da23ce96
2014-06-04 15:13:31 +01:00
Caolán McNamara
29afc48322 drop now unused RID_SVX_TABDLG_DOCRECOVERY
Change-Id: Ie9fd186523d78436d5a0e8f33899aa1f462d495a
2014-06-04 15:12:05 +01:00
Caolán McNamara
5f66b424f2 Updated core
Project: help  2a0b4747b5a83386f1b9c3935d5eb484429c6050
2014-06-04 14:11:51 +00:00
Caolán McNamara
35c31f5f40 convert document recovery dialog to .ui
and move sidebar global resource defines up to the toplevel so its harder to
collide with them and adjust the define to indicate the next free resource
id.

and simplify the dialog down a good bit and remove intermediate classes
etc.

Change-Id: I8d6db17fcdfc86457368d7f432bd96f6f3aa182d
2014-06-04 15:07:36 +01:00
David Tardon
8fd0320e8a add more test drawings/paintings for libmwaw
Change-Id: I7a85c7b7eae2abf29ff1a5742e1218346b1f9e00
2014-06-04 15:48:40 +02:00
David Tardon
e98fbca581 add unit test for writerperfect::DirectoryStream
Change-Id: I53aaf2355d9f3071544ebcaaee01bd44a30f88fc
2014-06-04 15:48:39 +02:00
David Tardon
72d7d1f33b ensure writerperfect::DirectoryStream only works for dirs
Change-Id: I588d295d72a600710324ee936d0c2291872c1d73
2014-06-04 15:48:39 +02:00
David Tardon
31ba2cb2fc add convenience functions to handle dirs
Change-Id: I81c94565e09e0d839d95bf4f09b029838bb37ad5
2014-06-04 15:48:39 +02:00
David Tardon
ccb51e13ed move CppUnit plugin def. to separate source file
Change-Id: Id946419274728f96e1de41cffe84280e37e87ab3
2014-06-04 15:48:39 +02:00
David Tardon
07123dc815 add some test documents for libwps
Change-Id: I20aa49212b6ecbb819c9671b5c144f294653ab47
2014-06-04 15:48:38 +02:00
David Tardon
4828407311 add some test drawings/paintings for libmwaw
Change-Id: Id0f5aa7fbb92d15bbe877e85dd60b51107f49168
2014-06-04 15:48:38 +02:00
David Tardon
e69f5861bb add more test spreadsheets for libmwaw
Change-Id: I8810b84d2675ba3695578b5ed87c32dd1a686ae9
2014-06-04 15:48:38 +02:00
Miklos Vajna
0dca68a55a CppunitTest_sw_ooxmlimport's testMceNested: port to textboxes
Change-Id: Ie1cc83963ccd2d9d6f7833302af6cdb3078d60de
2014-06-04 15:08:36 +02:00
Noel Grandin
6f2edd4514 new loplugin: inlinesimpleaccessmethods
Create a rewriting plugin for finding methods that simply return
object fields, and should therefore be declared in the header,
so that the compiler can reduce method calls into a simple
fixed-offset load instruction.

Change-Id: I7a620fc54250b79681918dc31ed9a8f21118c037
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-04 14:49:08 +02:00
Miklos Vajna
866a4436d3 oox: handle textboxes in ShapeContextHandler::endFastElement()
DOCX shape import normally works by oox creating the shape, then
writerfilter handling the shape text. For drawingML shapes, having shape
text, this a bit more complicated, as there are shape properties after
the shape text as well.

ShapeContextHandler::endFastElement() assumed that shape text is only
possible on css.text.TextFrame shapes: also handle shapes having a
TextBox as well.

sw/qa/extras/ooxmlimport/data/mce-nested.docx is a reproducer for this
problem (group shape missing), when TextBoxes are enabled by default in
oox.

Change-Id: I7a412b31965cf363da0b0c7fcc732741f2037542
2014-06-04 14:30:25 +02:00
Stephan Bergmann
10ec4a7cb2 Left over "SAL_CALL"
Change-Id: I02cf4b4a145e29dc1bc529f0c0fbfbc4a6cdc47e
2014-06-04 14:16:59 +02:00
Tor Lillqvist
67f60dd116 Include <stdio.h> for the sprintf in meta_action_name()
Change-Id: Ice2955533888e400561b3d18e0a59314e0a16d95
2014-06-04 15:14:34 +03:00
Caolán McNamara
c24aa2139f coverity#705247 Missing break in switch
Change-Id: Idc647ef41b3a01d89216c3fe74e3fa5af02f7525
2014-06-04 12:48:04 +01:00
Caolán McNamara
f526b6bd74 coverity#705316 Missing break in switch
Change-Id: I4f730b66e9a0ce2ce32857d5c19ed2dffeeeaf45
2014-06-04 12:45:57 +01:00
Caolán McNamara
7f694bed84 coverity#736033 Missing break in switch
Change-Id: Iabfc6fc76a80ad30bd412826f60edbf8b3facdd2
2014-06-04 12:41:37 +01:00
Caolán McNamara
079e57658b coverity#982645 bMissingDefaultsToNormal is always true
Change-Id: Ica58be0b5512eb8f386e51ec6e84d0ec09c3027f
2014-06-04 12:36:06 +01:00
Caolán McNamara
cc93bcf751 coverity#982646 Missing break in switch
Change-Id: I83cdafe9a27f026e2b6c8e9153de9e8270304686
2014-06-04 12:34:16 +01:00
Caolán McNamara
d18dc5dd22 coverity#1000657 Missing break in switch
Change-Id: I03acdc2769e893fc7ecb2885302951852804867b
2014-06-04 12:34:16 +01:00
Caolán McNamara
fcac0aef46 coverity#705376 Inferred misuse of enum
Change-Id: Ie0e44c872d5d99d15508f8abedb51450a0e36ad0
2014-06-04 12:34:15 +01:00
Caolán McNamara
8ca0f9854d coverity#705375 Mixing enum types
Change-Id: Ic7cb53d8fe427b4c28b890b64fa4437846b5b493
2014-06-04 12:34:15 +01:00
Caolán McNamara
ff998ca882 coverity#705374 Mixing enum types
Change-Id: Ie18131e7207d8f93a775c21abfc77d768352a5d3
2014-06-04 12:34:15 +01:00
Caolán McNamara
65edd16815 coverity#705389 Mixing enum types
Change-Id: I3e2d5e6eb6005fd4f820a742d1b0e9eb6dafca6f
2014-06-04 12:34:15 +01:00
Caolán McNamara
d5bafdddf8 coverity#705387 Mixing enum types
Change-Id: Iaba60d05b73ca3229aa8b35b338ee54381efd2d3
2014-06-04 12:34:14 +01:00
Caolán McNamara
3d8eee45c9 coverity#705388 Mixing enum types
Change-Id: If80361ac234c5079c9fcadb0a2f5fa05ea6b407b
2014-06-04 12:34:14 +01:00
Caolán McNamara
332a67afdc coverity#736759 Dereference before null check
Change-Id: Ia36e192d32c46a5c1129eca050b2863ec1213bb4
2014-06-04 12:34:14 +01:00
Caolán McNamara
9e2ca10d8a coverity#705863 Dereference before null check
Change-Id: I0e4d3add3adc2e387c5735b75eb5e3638f24c12b
2014-06-04 12:34:14 +01:00
Caolán McNamara
70c38b2066 coverity#705864 Dereference before null check
Change-Id: I69b3ec1c9eef117a55298781d15637b02281ff82
2014-06-04 12:34:13 +01:00
Caolán McNamara
f53169c74a coverity#705867 Dereference before null check
Change-Id: Ia541e6d8f0f0b30dcb67a8693b4dd5d53e929717
2014-06-04 12:34:13 +01:00
Caolán McNamara
051d45a59d coverity#1213293 Dereference before null check
Change-Id: If2dd3cb1c7e18bf0274551950bc33f7521e0f8e1
2014-06-04 12:34:13 +01:00
Caolán McNamara
c27a317108 coverity#1093230 Dereference before null check
Change-Id: Id273eaf3c4fe25df9af723fbc7f774c3c61ab3de
2014-06-04 12:34:13 +01:00
Caolán McNamara
f750ee1d70 coverity#705873 Dereference before null check
Change-Id: Ife67ce102df4dfadd3483a3c137bd767c13b3c26
2014-06-04 12:34:13 +01:00
Tomas Hlavaty
45ba4d79d9 fdo#36313: allow passing FilterOptions via cli
Examples:
  --infilter="Text (encoded):UTF8,LF,,,"
  --convert-to "html:XHTML Writer File:UTF8"
  --convert-to "txt:Text (encoded):UTF8"

Change-Id: I69a0524ef63f6d486637d68280331528d1001b56
2014-06-04 12:50:36 +02:00
Miklos Vajna
c12a78e42e writerfilter: reset properties of reused styles
When we have a style to import and the name is already taken, we reuse
the style (we can't use replaceByName(), it only works with user-defined
styles). If that happens, reset non-default properties of it, so the
result will be what was in the file, not a merge of Writer defaults and
what was in the file.

Change-Id: Ifb1098f78254a061b11fd6c6d2a2fa8d85a00d60
2014-06-04 12:34:18 +02:00
Abdulaziz A Alayed
c6019d8931 fdo#79243 UI:fix preview in imageCorp tap in writer
Change-Id: If13cabc21d804c9383b26f7ee5a40800cacc76a5
2014-06-04 13:04:57 +03:00
Noel Grandin
cc25f70ef1 compareTo -> equals
convert OUString::compareTo usage to equals to startsWith where it
is more appropriate

Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-06-04 11:52:34 +02:00
Noel Grandin
adc20c3937 compareToAscii -> equalsAscii
convert places using compareToAscii that should be using equalsAscii

Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-04 11:52:31 +02:00
Stephan Bergmann
06a09dd0ad Join FactoryLoader threads
Change-Id: I22b313a895057edebc8bee715813de908826763a
2014-06-04 11:25:27 +02:00
Stephan Bergmann
b2725b7d1b Keep TestFixture alive until outputter is done with it
Change-Id: Ifd921efa971f7a9a5c47f42c5d56a3deb1c3a0b3
2014-06-04 11:05:58 +02:00