Commit Graph

405852 Commits

Author SHA1 Message Date
Tor Lillqvist
e86d604dc4 The svError case is probably not worth a SAL_WARN
Also, sort the cases of that block in order of the enumerators.

Change-Id: If46a4ff73d6f7d22bd54b74610eb6eebecd5aff0
2017-03-30 12:23:47 +03:00
Caolán McNamara
1c2dd8dc14 Resolves: tdf#106838 icon set not visible in conditional formatting
Change-Id: Ibafaa487d39a69bc7c5c150361368614c0d9e004
2017-03-30 10:17:23 +01:00
Tor Lillqvist
c7442c0d49 Use StackVarEnumToString
Change-Id: I4c8f6f8153c9b7e4625f24f613771af19aa5d5e4
2017-03-30 11:47:58 +03:00
Noel Grandin
34edd437e3 convert ApiTransparencyMode to scoped enum
and drop unused API_TRANSPARENCY_PAINTTRANSPARENT enumerator

Change-Id: I7abd0f15d1c9a1dc4aeff47e5b3c782d5e8c08e1
Reviewed-on: https://gerrit.libreoffice.org/35843
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-30 08:43:27 +00:00
Noel Grandin
c88d5f0268 data.xcd dead after tdf#46723 - enable configmgr unit tests
Change-Id: I04fc155f344e15d5bff17cdc42815e7afb14bd38
Reviewed-on: https://gerrit.libreoffice.org/35891
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-30 08:38:14 +00:00
Stephan Bergmann
45aaf4d48f loplugin:loopvartoosmall
Change-Id: If714cafd9f2786610a03b1f5f6466a9ea06e46e6
2017-03-30 10:37:30 +02:00
Stephan Bergmann
b24644564a loplugin:redundantcast
(only triggers on macOS, as on Linux unistd.h declares lseek with a return type
of intermediary __off_t/__off64_t typedefs)

Change-Id: I967e472a050ad624a6411947b10c962ac8f66bed
2017-03-30 10:33:33 +02:00
Stephan Bergmann
817b026bcb loplugin:loopvartoosmall
Change-Id: Idd385c764778313bfb419a04ca7a3884b78e88f6
2017-03-30 10:26:24 +02:00
Vitaliy Anderson
2f2296d2c3 tdf#106606: Don't dispose NumPicBullet in sprm handler.
An image saved in cache once when NS_ooxml::LN_CT_NumPicBullet_pict
is processed, may then be used multiple times (for each NumRule that
requires it) when NS_ooxml::LN_CT_Lvl_lvlPicBulletId is processed
for each of them.

If the image was released here for first processing, subsequent rules
couldn't find the image in cache and failed to create NumberingType::BITMAP
style for the rule.

The image is ultimately released in ListsManager::~ListsManager()
after it is no more needed.

Change-Id: Ib4c351437ba94d5a9d3e2927ccf459ec01f1b15f
Reviewed-on: https://gerrit.libreoffice.org/35591
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-03-30 08:13:39 +00:00
Julien Nabet
e1ff3782cc tdf#106857: use SfxInt32Item for ATTR_SNAPLINE
and avoid crash with this bt:
3  0x00007ffff7449ef2 in __GI___assert_fail (assertion=assertion@entry=0x7ffff1f0cdd0 "dynamic_cast<const CntUInt32Item*>(&rItem) != nullptr",
    file=file@entry=0x7ffff1f0cce8 "/home/julien/lo/libreoffice/svl/source/items/cintitem.cxx", line=line@entry=232,
    function=function@entry=0x7ffff1f0d0a0 <CntUInt32Item::operator==(SfxPoolItem const&) const::__PRETTY_FUNCTION__> "virtual bool CntUInt32Item::operator==(const SfxPoolItem&) const") at assert.c:101
4  0x00007ffff1dd7ceb in CntUInt32Item::operator== (this=0x7fffffff2380, rItem=...) at /home/julien/lo/libreoffice/svl/source/items/cintitem.cxx:232
5  0x00007ffff1e0136e in SfxItemSet::Put (this=0x7fffffff2490, rItem=..., nWhich=<optimized out>) at /home/julien/lo/libreoffice/svl/source/items/itemset.cxx:510
6  0x00007fffc68c7ba1 in SfxItemSet::Put (this=this@entry=0x7fffffff2490, rItem=...) at /home/julien/lo/libreoffice/include/svl/itemset.hxx:131
7  0x00007fffc68d9052 in SdSnapLineDlg::GetAttr (this=0x55555bd802c0, rOutAttrs=SfxItemSet of pool 0x55555779b070 with parent 0x0 and Which ranges: [(28282, 28284)] = {...})
    at /home/julien/lo/libreoffice/sd/source/ui/dlg/dlgsnap.cxx:159

Change-Id: Iebaf8d773a532f64c224c0371382132aa4a8d2eb
Reviewed-on: https://gerrit.libreoffice.org/35885
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-30 08:04:18 +00:00
Caolán McNamara
84f7839224 Related: tdf#106080 support a 'none' color in search by format
so we can show the initial no-color selected state differently
than the automatic color default color

Change-Id: Ib3020e507b1555cb446c2b501f60b67222dc115c
Reviewed-on: https://gerrit.libreoffice.org/35863
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-30 07:53:47 +00:00
Miklos Vajna
92ddc0409c vcl PDF export, norefxobj: copy each object only once
Even if they are referenced multiple times. This is especially important
as objects can refer to each other, creating a cyclic graph. But it also
makes the output a tiny bit smaller.

Change-Id: I561ac319683a19a797282fe259cc68f3a4c50c3e
Reviewed-on: https://gerrit.libreoffice.org/35855
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-03-30 07:18:04 +00:00
Noel Grandin
90305526ee loplugin:unusedenumconstants
Change-Id: I628a0114e56ec25926bd08d159c61cfecb719a1c
Reviewed-on: https://gerrit.libreoffice.org/35854
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-30 06:26:26 +00:00
Noel Grandin
a34b33d2b9 convert SvxDateType to scoped enum
Change-Id: I5ce04f252642cb3a6c1b08ee22255f6c7b97f0f8
Reviewed-on: https://gerrit.libreoffice.org/35842
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-30 06:26:12 +00:00
Adolfo Jayme Barrientos
1cd7edadfe Wrong Unicode character reference
Isn’t it better to just use the desired characters directly,
given that “\uHEX”-style references are so error-prone?

Change-Id: I307b1fad7a9e0a23a38925e3c84829f823decf6e
2017-03-29 21:05:35 -06:00
Michael Stahl
726b34c9c7 sw: translate german comments
Change-Id: I65dd604fac39b8ea39affbc6f336d2618e6d605a
2017-03-29 23:39:25 +02:00
Zdeněk Crhonek
a2c746ecd8 VBA tests - add DATEDIFF and DATEPART test case
Change-Id: I3d0026e707369e435013be1d11e1366a77ff2d0b
Reviewed-on: https://gerrit.libreoffice.org/35881
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-03-29 21:01:48 +00:00
Christian Lohmaier
261d999022 update credits
Change-Id: I9175fb568d06688344e5a2ad8759f57563f9b229
2017-03-29 22:26:05 +02:00
Christian Lohmaier
a36328ade5 Updated core
Project: translations  7816e0f862d1637570d319f1783ac29ad678b6cc

update translations for 5.3.2 rc2

and force-fix errors using pocheck

Change-Id: I11ff97ae9d122c20eea783525b1b8e7af7bd5dad
2017-03-29 19:43:11 +00:00
Jens Carl
902ed60438 tdf#39468 Translate German comments
Translate German comments and terms in cui/

Change-Id: I119ec4e5d87a4db300c5cf53ebdb13f297824940
Reviewed-on: https://gerrit.libreoffice.org/35821
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-29 19:40:14 +00:00
Jens Carl
17cc6627f9 tdf#39468 Translate German comments
Translate German comments and terms in connectivity/

Change-Id: Id32217529e02d3efd070bc226b0078dcab73a602
Reviewed-on: https://gerrit.libreoffice.org/35820
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-03-29 19:38:52 +00:00
Samuel Mehrbrodt
87fe264212 gpg4libre: Show all keys no matter which trust level they have
Also remove the check for canEncrypt() since we also use this list for signing.

Change-Id: Ife95960f7303bebf2f61f5d3f3a37b9bb3018a5a
Reviewed-on: https://gerrit.libreoffice.org/35799
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-03-29 19:36:00 +00:00
Jens Carl
6a101635b2 tdf#39468 Translate German comments
Translate German comments and terms

Change-Id: Ic80dd218bfae5a3523e12cda77b911a4413b8dc6
Reviewed-on: https://gerrit.libreoffice.org/35819
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-29 19:20:32 +00:00
Andrea Gelmini
9c95a2062e Fix typo in method
Change-Id: Ib2b05abaeacd3b8787f938a49a0d9673096b5f42
Reviewed-on: https://gerrit.libreoffice.org/35857
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-29 18:59:31 +00:00
Marco Cecchetti
fc97021142 LOK: Calc: limiting undo and add support for repair mode
During collaborative editing changes can be undone regardless of who
made them. This patch avoids this possibility and introduce support
for repair mode, for cases where undo/redo of others' changes is
intentional.

Change-Id: I69fd435e96c4c675ffd1df81e936b5eae109daa0
Reviewed-on: https://gerrit.libreoffice.org/33223
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-03-29 18:39:23 +00:00
Christian Lohmaier
9ec6519650 changelog creation: "command | > file" doesn't fly
Change-Id: If270d509fbbad6a390ab61345bd1b14ead6ccc21
2017-03-29 19:25:04 +02:00
Css16
1b6677f16a Updated core
Project: help  cf790c30c572ccf4ab5d0378733d673d437e42e1

tdf#106574 JavaScript navigation history with links added, CSS improvements

Change-Id: I991e4a9c48f91997dc44fb7b9b9c2f57a3c49099
Reviewed-on: https://gerrit.libreoffice.org/35728
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-03-29 17:18:47 +00:00
Caolán McNamara
d7f1a1689d Resolves: tdf#106080 fix explicitly setting automatic in search by format
this is still somewhat broken in that what you see is not what you get
if you don't explicitly set automatic, but clears the regression part
of things in that the old broken behavior is restored instead of the
new broken behavior

Change-Id: I8f53a276ee60f5c9f2f28d3b92a13990cc20314a
2017-03-29 17:04:56 +01:00
Michael Stahl
ab4f53eaad sw: plain-text ASCII export: filter out all CH_TXT_ATR_*
These control characters are Writer implementation details and should
not be available via public interfaces.

This filter is also used by SwXTextRange::getString().

Change-Id: If656ee3d451dbefe2f7a905e8b63a44cdb787809
2017-03-29 17:31:49 +02:00
Miklos Vajna
30102ded91 vcl PDF export, norefxobj: avoid replacement bitmap
The whole point of "no reference XObjects" is knowing this vector markup
is supported everywhere, so no need to provide a fallback bitmap.

It was already unreferenced, but now it's not even written to the file,
making the PDF export result smaller.

Change-Id: Idf766c8eeded4235ebea49d13698a13c6b60f014
Reviewed-on: https://gerrit.libreoffice.org/35841
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-03-29 15:24:50 +00:00
Caolán McNamara
71af22ce8c expand these unhelpful macros
Change-Id: I38b5948d4782f97f6de62057a42b414dd0db8512
2017-03-29 15:43:43 +01:00
Caolán McNamara
2f200f1e76 Resolves: tdf#106079 automatic color described as 'white'
move RID_SVXSTR_AUTOMATIC from svx to editeng for this

Change-Id: Icc3fbb15e627ed54770d11bce7aadf30a0d12aa7
2017-03-29 15:24:14 +01:00
Marco Cecchetti
4b1e2d09ff LOK: Calc - images are not painted below row 1000
The problem was not due to some missing tile invalidation: it was at
the painting stage. There was no overlap btw the view range and the
object range.

Now images and shape are painted correctly.
There is still problems with control forms and charts.

Change-Id: Ib74e3bb79b444df21844086ae666fc206aa48906
Reviewed-on: https://gerrit.libreoffice.org/35215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-03-29 13:17:12 +00:00
Takeshi Abe
435011a6a7 starmath: Refrain from skipping an extra token at missing "}"
which requires closing "matrix {".

Change-Id: I40cad5a29862d29cd2eda7f5641e732620bac217
Reviewed-on: https://gerrit.libreoffice.org/35785
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-03-29 13:11:35 +00:00
Stephan Bergmann
19ae5ff9be -Werror,-Wunused-private-field
Change-Id: Ib111244cdf12b045b6e8f6bed2c34db34571ef50
2017-03-29 14:58:57 +02:00
Patrick Jaap
80b9b6761e tdf#101627 disable shrinking for footer textboxes
the shrinking patch a4dee94afe
causes problems, if the textboxes are anchored in the
footer. Therefore, disable it in this case.
For details, see comments in bug tracker.

Change-Id: I117a99041ff67c19a9de17803ff7864c62afdb50
Reviewed-on: https://gerrit.libreoffice.org/34517
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-03-29 12:40:26 +00:00
Noel Grandin
b6853991fc split ImportState enum into RtfImportState and HtmlImportState
and convert to scoped enum

Change-Id: I23e44e78ce96ed5fc19374e3e069e1cdc2166a35
Reviewed-on: https://gerrit.libreoffice.org/35840
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29 12:30:31 +00:00
Johnny_M
5ddef16480 Translate German comments in sc/source/ui/docshell/
Change-Id: Ic1a312677fac1b729538dd4463febac63e7204e5
Reviewed-on: https://gerrit.libreoffice.org/35343
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-03-29 12:28:01 +00:00
Stephan Bergmann
225ca94608 Propagate proper integer type out of AnimationEntryList::impGetIndexAtTime
...after 49f8917cd4 "fix loplugin:loopvartoosmall"

Change-Id: I8ec284711afa2f8323462a87d30fdf4c27941b6c
Reviewed-on: https://gerrit.libreoffice.org/35830
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-29 11:52:55 +00:00
Stephan Bergmann
1672b25eb4 Fix integer type of EditCharAttrib nStart/nEnd members
Looks reasonable to replace assignment to nEndField from USHRT_MAX with -1 in
ImpEditEngine::AddPortionIterated (editeng/source/editeng/impedit4.cxx).  This
apparently needs to just be an arbitrary value that EditPaM::GetIndex() will
never have.  Looks like 3cbfcee36d "xub_StrLen and
tools/string.hxx final straw" missed that (as that commit's message
acknowledges).

Change-Id: I5840d52d12a71937a5ed2779bfd5de071f702300
2017-03-29 13:48:33 +02:00
Caolán McNamara
63da00becc Resolves: tdf#106841 RID_SVXSW_FRAMEPOSITIONS is in wrong order
since...

commit 1c48275a28
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Mon Feb 6 11:51:27 2017 +0000

    convert resources containing strings to stringarray resources

cause the original defines weren't in numerical order and I missed
that

Change-Id: Ic81c9bad2432c3ffa49c56812924965017a05220
2017-03-29 12:45:45 +01:00
Noel Grandin
9bfd742d8c loplugin:unusedmethods
Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0
Reviewed-on: https://gerrit.libreoffice.org/35834
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29 11:43:40 +00:00
Michael Stahl
cfaba15c58 cli_ure: fix another bad _WIN64 check (related tdf#94265)
Same problem as commit 2aa20cfb7a

Change-Id: I02160c53870a021c742babf358e0d6172557ef21
2017-03-29 12:56:59 +02:00
Noel Grandin
42eb843bda convert SearchBehavior to scoped enum
Change-Id: I57f03fc43aff838c7066556319a3a5a187e46ad3
Reviewed-on: https://gerrit.libreoffice.org/35831
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29 10:47:00 +00:00
Noel Grandin
5f2d57fb32 convert EViewType to scoped enum
Change-Id: I5b10aada64408897a56a5932aa28486d7562d617
Reviewed-on: https://gerrit.libreoffice.org/35822
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29 10:21:35 +00:00
Caolán McNamara
fd68b73042 overline state missing from find/replace by properties dialog
Change-Id: I3178fed3ef4ada61cd9ba0becce4732c8043050f
2017-03-29 10:44:25 +01:00
Krunoslav Šebetić
bbeb2eac1d Update Croatian autocorr to 2017-3-27
Change-Id: Id140aab63b69e3696b27395faea8bcd7ca5142d0
Reviewed-on: https://gerrit.libreoffice.org/35813
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-03-29 09:33:41 +00:00
Katarina Behrens
25cd9e3316 Translate some German comments in sc
Change-Id: Ic7e007992f473e532d3c0b70506a29249f11676e
2017-03-29 11:30:46 +02:00
Adolfo Jayme Barrientos
bd911c0259 tdf#105281 Rearrange a few things for l10n-friendliness
With the Notebookbar addition, no care was taken to update this UI
bearing in mind that there *might* be a few languages suffering in
consequence.

Change-Id: I78c4a1846e192c4c7a64328b730517d42aff979f
2017-03-29 03:25:43 -06:00
Noel Grandin
8c1bac8d8e loplugin:unnecessaryvirtual
Change-Id: I5076f8700ee29cfec3875dfbc4b149229d776712
Reviewed-on: https://gerrit.libreoffice.org/35823
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-29 09:24:41 +00:00