Commit Graph

407748 Commits

Author SHA1 Message Date
Katarina Behrens
2d590370f0 Look for help-specific images in the new images_helpimg archive
This requires distinguishing between 2 kinds of images: internal to
help (in helpcontent2/media/ and helpcontent2/res subfolder) and external
images from core repo (mostly icons) referenced in help

Change-Id: If1d639c255fb802c3ee7d7eab10fc0a84324f335
Reviewed-on: https://gerrit.libreoffice.org/31417
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-05-12 13:49:25 +02:00
Katarina Behrens
73f04a42a2 Extra provisions for images in helpcontent are no longer needed
Change-Id: I327e1e2ac9c54e0cb7009e206018d82b71134747
Reviewed-on: https://gerrit.libreoffice.org/31952
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-05-12 13:48:50 +02:00
Katarina Behrens
84418b34b1 Move processing of help-specific images away from core
Change-Id: I7fc3ad4509a538a4ebf31a304237f942a3671837
Reviewed-on: https://gerrit.libreoffice.org/30959
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins <ci@libreoffice.org>
2017-05-12 13:47:25 +02:00
Katarina Behrens
39b1468485 Updated core
Project: help  2c451122a2e0fe5326b5ef18ad0e3f02daff10af

adjust image paths after moving helpimg into more appropriate folder

Change-Id: Idcfa3700bfd53d38ddeda484828f00bf36cf3b57
Reviewed-on: https://gerrit.libreoffice.org/32104
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-05-12 13:46:37 +02:00
Katarina Behrens
414687957e Updated core
Project: help  078c81fec3d28c1762f77c143e4598127f0349b0

Move help-specific images (the actual files) to helpcontent2

Change-Id: Ia0ecdc6d7b1277111ffd3467972a1a92af558f09
Reviewed-on: https://gerrit.libreoffice.org/31906
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-05-12 13:46:24 +02:00
Katarina Behrens
2a7619d3b9 Updated core
Project: help  1d77c8a706d248fd757d0558cb101b068c87e820

Move processing of help-specific images to helpcontent

Change-Id: I4370c7ab41184a59bb92e8df49f2fe3ca84c9c8c
Reviewed-on: https://gerrit.libreoffice.org/30958
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-05-12 13:46:08 +02:00
Stephan Bergmann
3e78796433 Clean up uses of SAL_U/SAL_W: pyuno
...and clean up MACOSX specific code

Change-Id: I1796b4b8f2695359557a5374b5d7592ccf8f86a6
2017-05-12 13:26:15 +02:00
Stephan Bergmann
6d3a43fa80 Clean up uses of SAL_U/SAL_W: fpicker
Change-Id: I9fe1a639bee624eea3ab91d5f29a86ef8ac3d97c
2017-05-12 13:25:26 +02:00
Stephan Bergmann
db05d1adfd Clean up uses of SAL_U/SAL_W: extensions
Change-Id: I08716e6976e205247064622cd9db46f5364a8c8c
2017-05-12 13:25:06 +02:00
Noel Grandin
abd619b108 fix bug in ColorNameMap constructor
introduce by commit 9ffb86c7e9
    Author: Noel Grandin <noel@peralex.com>
    Date:   Wed Mar 27 10:41:40 2013 +0200
    fdo#46808, convert drawing::ColorTable to new style

Change-Id: I5e91b41caa6e7e43ff0f261a22b027c8574b669a
Reviewed-on: https://gerrit.libreoffice.org/37532
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-12 12:42:26 +02:00
Noel Grandin
dd6d7992d6 loplugin:constantparam
Change-Id: I67d74072c776c32a1f91df94c621efe180baf5dc
Reviewed-on: https://gerrit.libreoffice.org/37481
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-12 12:30:53 +02:00
Szymon Kłos
8891472e1f tdf#107238 VBA autofilter: list of strings
* support of string arrays in the VBA AutoFilter
* tests:
  - reading string arrays
  - skip Criteria2 when Criteria1 is an array
  - use only last element of Criteria2 array

Change-Id: I8faf6af8c4fbf9b654885b31210ef77bae3a39af
Reviewed-on: https://gerrit.libreoffice.org/37515
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-05-12 11:21:46 +02:00
Caolán McNamara
510b667023 coverity#1406101 Dereference null return value
and

coverity#1406100 Dereference null return value
coverity#1406099 Dereference null return value
coverity#1406098 Dereference null return value
coverity#1406097 Dereference null return value

Change-Id: I26d5c0f2e69dc049a87a607ca28586dc575a8ca3
2017-05-12 09:28:13 +01:00
Caolán McNamara
a31874f38a Revert "coverity#1399034 Unrecoverable parse warning"
that didn't work

This reverts commit 9905eb90b3.
2017-05-12 09:28:12 +01:00
Caolán McNamara
fd24dd469d coverity#1403731 Explicit null dereferenced
Change-Id: Ia8d183fbf1c80964eabc10f1e363333133a4181c
2017-05-12 09:28:12 +01:00
Caolán McNamara
61bfd5eb66 coverity#1351757 Uninitialized pointer field
Change-Id: I99211e2dc016fb97b6744799b35e05acd7470464
2017-05-12 09:28:12 +01:00
Miklos Vajna
b7a6665154 sw laycache: clean up debug code that doesn't even build anymore
Change-Id: I52ad9ac6d43881a02c4817ea7527761105a12786
Reviewed-on: https://gerrit.libreoffice.org/37529
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-05-12 10:10:50 +02:00
Noel Grandin
389da66dfc remove unused uno::Reference vars
found by temporarily marking Reference as SAL_WARN_UNUSED.

Change-Id: I18809b62654467f890016adcc92576980ced393b
Reviewed-on: https://gerrit.libreoffice.org/37511
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-12 09:56:01 +02:00
Noel Grandin
a651dbcfca convert SdrLayerId to strong_int
Also
- rename SetOfByte to SdrLayerIDSet
- add asserts in SdrLayerAdmin::GetUniqueLayerID so that we don't
  allocate overlapping SdrLayerID values
- add a new constant SDRLAYERPOS_NOTFOUND to be returned from
  SdrLayerAdmin::GetLayerPos

Change-Id: I3bb3489f9338e3d02c4040bcbd811744699941c8
Reviewed-on: https://gerrit.libreoffice.org/37467
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-12 09:54:23 +02:00
Chris Sherlock
9b5ce4023d osl: document oslFileError enumeration
Change-Id: I870ea69135ae293b00b9ae52f254d3f7f205a109
Reviewed-on: https://gerrit.libreoffice.org/37524
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-05-12 09:46:35 +02:00
Chris Sherlock
81f92bc061 osl: file header comment clarification
Change-Id: I07aa1d2452dcdd891782707ae6928027e03f00e8
Reviewed-on: https://gerrit.libreoffice.org/37523
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-05-12 06:55:19 +02:00
Kohei Yoshida
b5f5085c0b Document how to add new XML tokens.
Change-Id: I0d586b34323ad6e320974d8467520fcee116bd00
2017-05-11 23:32:33 -04:00
Takeshi Abe
9425245a87 basic: Remove strange ifdef-guard for SHARED
Was there any platform predefining it?

Change-Id: I4c155c00272b426c0d2b1b1ec0184cc223f9e38c
Reviewed-on: https://gerrit.libreoffice.org/37461
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-05-12 03:57:08 +02:00
Arul Michael
970b431f1a tdf#93171 Subtotal function with function indexes don't update
Calling InerpretTail during Hide rows by SfxHintId::ScDataChanged
broadcast

Change-Id: Ie78170bb6d49933a49d828a18637cb410796dc06
Reviewed-on: https://gerrit.libreoffice.org/37509
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2017-05-12 01:01:03 +02:00
Tomaž Vajngerl
9e92527f50 tdf#107103 fixes for the legend in a pivot chart
- Solves issue described in the bug where the legend calculation
  was not correct if using custom legend placing and the buttons
  were added to the legend (like in a pivot chart).
- Place the legend buttons horizontally if the legend is placed
  at the top or bottom (wide legend expansion), so the space is
  used more efficiently.
- Fix automatic placing of the legend when we have buttons at the
  bottom of the chart so that we don't cover them with the legend.
- It can happen that the button click is triggered when we resize
  the legend, so make sure we trigger only when mouse-down and
  mouse-up are on button.

Change-Id: I6a60e7885f7a2ddd6424b1cdfc22e8b046c89dd4
Reviewed-on: https://gerrit.libreoffice.org/37518
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-05-11 22:56:04 +02:00
Markus Mohrhard
8bb6dab0b4 remove avahi option from random config tb
Change-Id: I2762de031dc1b926e85630fe03bf7c1dbe936569
Reviewed-on: https://gerrit.libreoffice.org/37517
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-05-11 21:58:42 +02:00
Miklos Vajna
6aba29576d tdf#107773 DOC import: consider page breaks for multi-page floattables
See commit 8fe8bd6c3b (Related: fdo#61594
SwWW8ImplReader::StartApo: don't always start a frame, 2013-05-13) for
the context, this is one more case where having a multi-page floattable
as a multi-page one is a better option.

The additional condition is that in case there is a break right after
the table, then always import the table as a non-floating one, as there
won't be any wrapping anyway (due to the break).

Change-Id: I3dd4174226cfc1e825c00607221feeed51b7133f
Reviewed-on: https://gerrit.libreoffice.org/37513
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-05-11 21:20:19 +02:00
Caolán McNamara
9905eb90b3 coverity#1399034 Unrecoverable parse warning
have another guess as fixing

    emit.cpp:1472: assertion failure: emit-ast.cpp:1123: assertion failed: Ran out of fields in aggregate initializer

Change-Id: I814c12c350cd1dbd58c25ada3a376477b5809c06
2017-05-11 17:26:37 +01:00
Stephan Bergmann
cded1cfce3 Comment on suspicious use of U+00B5 MICRO SIGN
...which had been like that at least since
7b0b5cdfee "initial import".

Change-Id: I16e3cc14ed459c5833f2bfa6ead3bec4e819db31
Reviewed-on: https://gerrit.libreoffice.org/37184
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-05-11 18:04:24 +02:00
Marco Cecchetti
9cc9300bc2 lok: sc: notify cell cursor position to address control in client
A new callback has been introduced for notifying the client:
LOK_CALLBACK_CELL_ADDRESS

Change-Id: I40b38a3cb8fb658c3f00332d56cfcbaf98e13771
Reviewed-on: https://gerrit.libreoffice.org/37357
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-05-11 17:56:09 +02:00
Marco Cecchetti
b973b184a0 lok: sw: change tracking: deleted characters aren't deleted right away
Problem:
Start/open a document in CS Writer, and enable track changes.

- Type a few characters.
- Delete a couple of them with backspace or delete.

=> The deleted characters are still shown in the document (but not in
the tracking comment).

Findings:
In SwViewShell::ImplEndAction pRegion is 0, so no call to
SwRootFrame::Paint->vcl::Window::Invalidate occurs.
That is due to the fact that the call to SwLayAction::Action() does
not lead to populating *pRegion with rectangles
(SwViewShellImp::AddPaintRect).
In fact we stop at SwLayAction::TurboAction_ since pCnt->IsValid()
returns true and so SwLayAction::PaintContent() is never invoked.
SwFrame::IsValid() returns: mbValidPos && mbValidSize &&
mbValidPrtArea.
Here SwFrame::mbValidSize is the one that makes the difference: it is
true in Online and false in Desktop. (In our case the other 2 data
members are always true).
The reason is that the computation of the text range
(SwShellCursor::FillRects) in SwRedlineTable::LOKRedlineNotification,
which occurs just before collecting paint rectangles, leads to invoke
SwContentFrame::MakeAll which in turns set SwFrame::mbValidSize to
true.

Solution:
Call SwFrame::InvalidateSize() on any frame on which MakeAll is
invoked soon after we finish to compute the text range in
SwRedlineTable::LOKRedlineNotification.

Change-Id: Id5e29b06c044f14207722e67d6f5facbf786ffa6
Reviewed-on: https://gerrit.libreoffice.org/37508
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-05-11 17:55:01 +02:00
Stephan Bergmann
99c99e3c75 cid#1403658: Try harder to make Coverity Scan happy
Change-Id: I109f95a55875b7795fc366825b3a6bb2e897d676
2017-05-11 17:07:32 +02:00
Gabor Kelemen
06fb2eb7a0 Delete code commented out since 2006
See commit 8b77e2790c

Change-Id: I5f9d4a566377f8e7a59f12b138cc612e710efbdf
Reviewed-on: https://gerrit.libreoffice.org/37356
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-11 16:33:36 +02:00
Yeliz Taneroğlu
e6b7caa702 tdf#105204: ShellCheck nitpicks for watch-generated-code.sh
Change-Id: Ic1e953b5bcae6124ee6ce7d141ddac11a94b2a8b
Reviewed-on: https://gerrit.libreoffice.org/37464
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-11 16:26:09 +02:00
Andrea Gelmini
28dfcd5da4 Fix typos
Change-Id: I204178ed4cf0fd3f43043cf1dfde85bb27002fee
Reviewed-on: https://gerrit.libreoffice.org/37498
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-11 16:19:58 +02:00
Gulsah Kose
198f5a16fd tdf#107258 Create show/hide all comments toggle button.
Created new show/hide all comments button for calc by
ShowAnnotations command. Unifyied writer, calc and impress's
ShowAnnotations slot.

Change-Id: I27149d09ee1763b84258c5e0c890a9628c8874c0
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/36697
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-05-11 16:12:11 +02:00
Caolán McNamara
0496587f1b ofz there may be no m_pSmartTagData
Change-Id: Ibd529c5db35f2ca64372629ab1fe0ecd08e2ea01
2017-05-11 15:05:39 +01:00
Katarina Behrens
2dd2f3328a Get string also for external reference to double for operands of '&'
In a formula like ='ExtRef1' & 'ExtRef2', or ='LocalValue' & 'ExtRef1'
empty string became an operand in concat operation if the referenced
external cell was a non-string one.

Change-Id: I7b0ac5de68349eae85afe48f377e30cab76e3fbf
Reviewed-on: https://gerrit.libreoffice.org/37469
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2017-05-11 16:02:20 +02:00
Tomáš Chvátal
9b623a71fa Updated core
Project: dictionaries  e46b2a46dd51843bc388a6355bb54eafbbf864b9

Remove executable flag on txt files

Change-Id: Ie2874c2178a61b02de378a574bd8a963b9c54163
Reviewed-on: https://gerrit.libreoffice.org/37510
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-11 15:35:05 +02:00
Caolán McNamara
fb1ecfa572 ofz clear the *other* cache too to avoid lsan leak whining
Change-Id: Ib8ce5b83d711e4425bb9f441b8d495a05af820bf
Reviewed-on: https://gerrit.libreoffice.org/37501
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-11 14:59:42 +02:00
Eike Rathke
9b3585e313 Casting from Int32 to uLong to Int32 doesn't make sense.
Change-Id: I573c8c82998935e4853a3ee3f635845d450e32fe
2017-05-11 14:25:50 +02:00
Caolán McNamara
7ae4680c1f ensure cow_wrapper contents are queried through a const pointer
otherwise the query will call make_unique to make this a unique
copy of the underlying shared font which is a waste if the
contents are going to be the same and the if branch contents
are skipped.

I was tempted to call the Font accessors like GetLanguage, etc.
but a bunch of the accessors have two versions, a const and non-const
one which behave differently so that looks like another rats nest

This relates to the changes of

commit 188439aac2
Date:   Fri Apr 22 23:43:52 2016 +0200

    tdf#62525 vcl: use cow_wrapper for font

Change-Id: Ic0661fccb414b3636308975e265fe5751476e1b8
Reviewed-on: https://gerrit.libreoffice.org/37502
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-11 13:45:02 +02:00
Thorsten Behrens
d4b0451a1a gpg4libre: we really only want private keys listed
Since this canSign/canEncrypt is fundamentally busted in gpgme,
outright limit all keys we're looking at to those with secrets.

Change-Id: Ib3dfbc8ef661430efc3a8c17f2f3166af8225a56
Reviewed-on: https://gerrit.libreoffice.org/37471
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-05-11 13:37:21 +02:00
Jens Carl
85a162ba60 tdf#39468: Translate German comment/term in sw/source/filter/ww8/wrtww8gr.cxx
Change-Id: I5760af990e62cff357cdd2b80db0b129a96a857e
Reviewed-on: https://gerrit.libreoffice.org/37491
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-05-11 12:29:05 +02:00
Jens Carl
6778f40333 tdf#39468: Translate German comments/terms
Change-Id: I85fc05d53c2d53a4922d8322331247ed3ca21361
Reviewed-on: https://gerrit.libreoffice.org/37493
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-05-11 12:14:24 +02:00
Jens Carl
e3e335220a tdf#39468: Translate German comments sw/source/filter/html/htmlfly.hxx
Change-Id: Ifa287b96f47b5e61eb43289a20a1102ed37c6722
Reviewed-on: https://gerrit.libreoffice.org/37492
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-11 12:12:35 +02:00
Jens Carl
af0be282bb tdf#39468: Translate German comments in sw/source/filter/ww8/wrtw8esh.cxx
Change-Id: I0fe20381756dcc891c60fbf03f3cfd91719cdc61
Reviewed-on: https://gerrit.libreoffice.org/37490
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-05-11 12:09:43 +02:00
Yeliz Taneroğlu
e6f2952fc3 tdf#105204 fix shellcheck warnings in sysui/desktop/solaris
double quote to prevent word splitting

Change-Id: Ice4380cc390487277a359b8db3f2fae3603b7747
Reviewed-on: https://gerrit.libreoffice.org/37466
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-05-11 11:46:18 +02:00
Stephan Bergmann
4345cdb85a Clean up uses of SAL_U/SAL_W: xmlsecurity
Change-Id: I96043623a5b0e26ddc44de5c71743f3b0d8e1e50
2017-05-11 11:17:11 +02:00
Stephan Bergmann
311a9126dc Clean up uses of SAL_U/SAL_W: winaccessibility
Change-Id: I8f2abf0d338d01453f273b279e34c882de461b00
2017-05-11 11:15:49 +02:00