Commit graph

404544 commits

Author SHA1 Message Date
Caolán McNamara
03899e1284 express that the checkbox labels the page number field
Change-Id: I54e0de99a7d97be2c85221ecab0ebbe07ed4ae4a
2017-03-01 12:01:01 +00:00
Caolán McNamara
a75439fe0f fix leak
Change-Id: I7f87bf07e50baffd463d4429186928642bdf73b3
2017-03-01 11:54:46 +00:00
Michael Stahl
d36fa0589a tdf#77111 cui,sw: fix page number offset on paragraph dialog "Text Flow"
Commit c2ccd20c0f introduced 0 as a valid
value for page number offset in sw core.

Unfortunately the paragraph dialog was not changed then; previously
page number 0 would do automatic numbering, but since then 0 was set as
the offset, and once you have a 0 offset there's no easy way to remove
it, you have to remove the whole page break.

* change the label before the text number edit widget to a checkbox
  that disables the edit widget

* keep the id "labelPageNum" so that translations still work

* adapt SfxToSwPageDescAttr so it can not just set but also clear the
  page number

* set initial value to 1; 0 is a really bad default since we can't
  export it to ODF (see tdf#91306)

Change-Id: Ic4ca9e2562bb65ac359b305a2202f782e8598307
2017-03-01 12:42:10 +01:00
Caolán McNamara
86463ec54d ofz#711: direct leak
Change-Id: I65ec47b4290d845f1803b20b93f149d35d9a60ea
2017-03-01 11:41:17 +00:00
Caolán McNamara
aacaacc169 ofz: Z_NEED_DICT is unsupported
Change-Id: Ib0945d5a4606915aff9ee3019203caaf2a3cc7c5
2017-03-01 11:28:03 +00:00
Tor Lillqvist
c70081972c Remove clearly outdated stuff
Change-Id: I23ca8cc512a0bd433474c12d06461597d0bd35ee
2017-03-01 13:22:41 +02:00
Rohan Kumar
a04abc59ae tdf#96681 Lack of UI to change the text background color of a style
Added Highlighting tab to Edit Style button in impress

Change-Id: I9426f583da4078cd380823bbaa30ce1941ffa3bd
Reviewed-on: https://gerrit.libreoffice.org/23684
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-03-01 10:58:43 +00:00
Zdeněk Crhonek
d40a90f6d1 add T.INV test case
Change-Id: I0cdd009a444c0c2363d74b9b09ddd8c09c906acb
Reviewed-on: https://gerrit.libreoffice.org/34734
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-03-01 10:46:12 +00:00
Bjoern Michaelsen
5021cb725d simplify setContextWritingMode a bit
Change-Id: Iab0462703634866a47b77c4862de52b69390b992
Reviewed-on: https://gerrit.libreoffice.org/34727
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-01 10:08:41 +00:00
Caolán McNamara
f01a975cb2 defer this for a while
This reverts commit 99c361be16.
2017-03-01 09:35:34 +00:00
Caolán McNamara
ea860ba986 fix leak
Change-Id: I6e3d1d3b43967f10a151a6b696a863383a7b1776
2017-03-01 09:27:37 +00:00
Caolán McNamara
637c71b032 coverity#1401593 Wrapper object use after free
Change-Id: I7fdaf527ffbe7d3d952c17c62707bb4a22b05f1d
2017-03-01 09:10:44 +00:00
Stephan Bergmann
79d3c02239 cid#1401592: bFlipX and bFlipY won't both be true
Change-Id: If5ab5d340166b5eedb97773a9907eee1b188027e
2017-03-01 09:50:34 +01:00
Noel Grandin
2ec7457eec Blind fix for 64-bit Windows builds
Change-Id: Ica9e99fc363d8c7bfbc40dceb66ad350e5a02ce5
2017-03-01 10:27:12 +02:00
Stephan Bergmann
2a176fddc5 Blind fix for 32-bit builds
Change-Id: I056fe8fb3e6b87ecae4e07f757c1a9588bbb1c06
2017-03-01 09:15:47 +01:00
Aron Budea
a3a0eac099 tdf#106001: Clamp CharScaleWidth outliers when exporting to DOCX
Atribute is of type ST_TextScale, which has to be
between 1 and 600.

Change-Id: I9b9cddc47d194f1364d91675c9b825752b2f5e06
Reviewed-on: https://gerrit.libreoffice.org/34713
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-03-01 07:43:36 +00:00
Noel Grandin
4c09fc48e9 typesafe wrappers for css::i18nutil::TransliterationModules
and related css::util::SearchOptions2

The TransliterationModules enum has it's constants spread over multiple
UNO enum/constant-collections - TransliterationModules and
TransliterationModulesExtra, which means that most code simply uses
sal_Int32.

Wrap them up into a better bundle so that only the lowest layer needs to
deal directly with the UNO constants.

Change-Id: I1edeab79fcc7817a4a97c933ef84ab7015bb849b
Reviewed-on: https://gerrit.libreoffice.org/34582
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-01 07:28:03 +00:00
Miklos Vajna
d97380c669 writerfilter: avoid repeating the return type from the declaration
Change-Id: I4fb7993482e71c936d820b559aa6b4a212c8175d
Reviewed-on: https://gerrit.libreoffice.org/34729
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-03-01 07:17:48 +00:00
Noel Grandin
121525db24 these arrays should be const
Change-Id: I808064abce15c4ec240d61e8168f0430ebf4c86c
Reviewed-on: https://gerrit.libreoffice.org/34722
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-01 06:31:40 +00:00
Noel Grandin
dd4ed25aae expose the SvXMLEnumMapEntry arrays in OEnumMapper
preparatory change to making SvXMLEnumMapEntry a template class for the
"UNO scoped enum" change.

But I think its an improvement by itself, there is no need to initialise
these arrays on-demand, the compiler will do that at link time.

Change-Id: I842c16b3ef44b9f5e1f0325b637d3f55f8bb5ebc
Reviewed-on: https://gerrit.libreoffice.org/34721
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-01 06:31:08 +00:00
Zdeněk Crhonek
38f13e4dca add VBA functions tests - ABS,ARRAY, ASC, ATN, CBOOL
Change-Id: I8a0b8b833ba32b9d27773748b3bbd8bbc07d1959
Reviewed-on: https://gerrit.libreoffice.org/34696
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-03-01 05:16:52 +00:00
Markus Mohrhard
e7655fbd2b let the top level uicheck depend on the build
Change-Id: I3dbbf84af75fd5ec3598302252ee1103bb9d5596
2017-03-01 02:41:37 +01:00
Markus Mohrhard
aa5241dfd6 uitest: enable additional chart tests that seem to be stable now
Change-Id: I9a41c29807cc47f570a9057435386e519a438289
2017-03-01 02:41:37 +01:00
Markus Mohrhard
fb090555c9 uitest: the new code allows to enable the chart test again
Change-Id: I51ff48441d07c12f8019d282ab92f1835cec69cb
2017-03-01 02:41:37 +01:00
Khaled Hosny
62592cf1eb Add a test for GetTextArray()
Might help showing the source of differences causing random Windows
failures.

Change-Id: I435d1d4f7a016b057af30661b1c7016231426149
Reviewed-on: https://gerrit.libreoffice.org/34731
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2017-03-01 00:19:09 +00:00
Kohei Yoshida
10077a06d8 Revert my fix for tdf#71409, to hopefully fix tdf#104381.
This reverts commit 87e040fd0f.
This reverts commit a0ef747452.

Conflicts:
	vcl/unx/gtk/a11y/atkutil.cxx

Change-Id: Ib3a799e27b2495ebd1e7723f1cb5babf0dfbc702
Reviewed-on: https://gerrit.libreoffice.org/34730
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-03-01 00:07:25 +00:00
Stephan Bergmann
4f762202f6 Adapt loplugin:sallogareas
...to b6a69585b0 "old sal_detail_log_backtrace
into sal_detail_log" and follow-up c697ae306c
"Some clean up"

Change-Id: Ie38899e70c5b326724f9442fbf92e453b05eec01
2017-02-28 23:12:48 +01:00
Stephan Bergmann
c0c3575f74 Fix gb_Extension_LICENSEFILE_DEFAULT
...post 3c946d6886 "Put also the LICENSE file in
Resources on macOS"

Change-Id: I0a3435cc973d09e029ce4133d62544e4e432f6b5
2017-02-28 22:46:50 +01:00
Eike Rathke
baca2ec8d5 FastSaxSerializer: SAL_WARN() when writing invalid XML characters
This catches things for OOXML, that could be escaped using _xHHHH_

Change-Id: I937f67dc5edd3c0e5727d74bebb736dc82bdc53d
2017-02-28 22:29:36 +01:00
Katarina Behrens
6bb6ca1fb3 Related: tdf#80731 missing ')' breaks Gimmicks.Autotext macro
Change-Id: Idbfcab663b5f4dbd97b49f2771c62564ca7d7972
Reviewed-on: https://gerrit.libreoffice.org/34725
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-28 21:28:29 +00:00
Caolán McNamara
7f0b3e90ad ofz: timeout, check availablity of point data before reading it
Change-Id: I86b3041bc5123ba10bbb9b64702dfb2060b3cc23
2017-02-28 21:08:00 +00:00
Caolán McNamara
162cd5d4fe tidy this a titch
Change-Id: I71153579a193abc209a08a0f076ee50cf8ec5d06
2017-02-28 21:01:54 +00:00
Caolán McNamara
26ea6d50b3 fix leak
Change-Id: Ia073517977648a21d7adb5ee4d7bda51b1b7db18
2017-02-28 20:53:34 +00:00
Caolán McNamara
b018021d5a ofz: timeout on clamping big double to 0..360
Change-Id: Ica2aedc5275e5f523302f5793e3f3816b3ff65b4
2017-02-28 20:47:57 +00:00
Stephan Bergmann
0b849247e1 loplugin:unoany
Change-Id: Id50b15bbb9f8c62ac5258358431ff6ce0e7584d1
2017-02-28 20:51:16 +01:00
Stephan Bergmann
bd7dd48189 loplugin:unoany
Change-Id: I525ba4d7706e6f6a385a0fbf5976d8e9883a40a5
2017-02-28 20:10:52 +01:00
Stephan Bergmann
386e38bd3f loplugin:sallogareas
Change-Id: Ida8a58bd95164cd651934dbf8be0923ac2c08a8e
2017-02-28 19:09:45 +01:00
Eike Rathke
d3676ceeec in decRefAndDestroy() the remaining element must be one and only one
So head can be destroyed already there and removeFromList() take a short cut.

Change-Id: I8f53d252c4e0ad867674ee410ecfaa300ac0c731
2017-02-28 18:31:02 +01:00
Stephan Bergmann
e6a90b3f28 loplugin:sallogareas
Change-Id: I9af09bc52775501c8dbf0e883f4ec3b53c397de4
2017-02-28 18:02:58 +01:00
Caolán McNamara
1bb1801097 convince ofz lsan this isn't leak
Change-Id: Ifac8b0ac03cedb59deec1733b0d38887038992de
2017-02-28 17:01:34 +00:00
Stephan Bergmann
9697b14b65 loplugin:unoany
Change-Id: I57f1d614b1dbb945e39b546fec2fdaac40de82b2
2017-02-28 17:57:12 +01:00
Caolán McNamara
d4ea5708a8 don't check for printers during fuzzing
Change-Id: Id52d5dc425b6e3319879c1802f6c1fc51c1dd4f3
2017-02-28 16:56:04 +00:00
Caolán McNamara
99c361be16 check nTargetBits size
Change-Id: I5cc7499cfdee58ffa480bb31dfc262d5b781180d
2017-02-28 16:44:05 +00:00
Stephan Bergmann
2c5db7360d loplugin:unoany
Change-Id: Id0823ce54c7adb03c824e4095c835356846c69ca
2017-02-28 17:27:08 +01:00
Caolán McNamara
c632aa3269 endless loop on corrupt lwp
Change-Id: Ie984d396a6c0055fc5175755fd42161749c572be
2017-02-28 16:25:59 +00:00
Eike Rathke
d407791075 dissolve() needs to delete head now that it's not a list element anymore
Change-Id: I9949a1006e6d1b4b50dd5350106ad69b643e833c
2017-02-28 17:17:37 +01:00
Caolán McNamara
67070d5838 don't have to create SfxApplication if none exists
Change-Id: I312f00e8b2956470eaa496abfa2687c296f256ae
Reviewed-on: https://gerrit.libreoffice.org/34717
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-02-28 16:17:03 +00:00
Caolán McNamara
3ae57096ae use memset instead of loop
Change-Id: I572f52658914a0814bc3d3990830e247275e110b
2017-02-28 16:15:46 +00:00
Caolán McNamara
9fadf818e9 fix leak
Change-Id: I57d1ae4d8f3fed72f024672a9eefb748df83bb93
2017-02-28 15:24:29 +00:00
Christian Lohmaier
b694f15c86 update credits
Change-Id: Iea0785f5ec1b55200d25d5cd55a63652ab5a38e1
2017-02-28 15:30:45 +01:00