446656 Commits

Author SHA1 Message Date
Michael Stahl
d978f5d401 related: tdf#106742 sw: DOCX import/export: fix default of table indent
There's a compatibilityMode in word/settings.xml in DOCX files:
https://docs.microsoft.com/en-us/openspecs/office_standards/ms-docx/90138c4d-eb18-4edc-aa6c-dfb799cb1d0d

If a document doesn't contain compatibilityMode, then the default
is 12, but the code for table indent import/export assumed that the
default is 15, so loading an ODF document and exporting as DOCX results
in wrong table indent when loaded in Word.

(regression from 9a31d1c83e08600507689dc18f6f0973bc7e4389)

Change-Id: I3ce32286473640e5b7e12b487aef5f123bfb8d12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88408
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-02-11 11:57:35 +01:00
Gabor Kelemen
87d078a5a8 tdf#42949 Fix IWYU warnings in writerperfect/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Ia1ac2b3d254487f6b4e85b52eead13635d30a5af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88416
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-11 11:17:23 +01:00
Jan Holesovsky
d9676143dc android hunspell: All languages we pack are the supported ones.
Without this, we disable all the languages, because the env. variable is
not set.

Change-Id: If8f6a9ec6270391d1f8c2bf225c8ea4bb1aae688
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88220
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88367
Tested-by: Jenkins
2020-02-11 10:22:46 +01:00
Caolán McNamara
35947e357c on main window getting focus gtk is destroying the popup windows itself
so copy the data we need before it can do that

Change-Id: If35d7ba0f272475e82f969bd80c6ff44131a3d2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88376
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-11 09:59:42 +01:00
Caolán McNamara
559b41687f surface attribute disappeared
Change-Id: I195fc92ff6fea962ceca06df5e5e562d729bcc5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88374
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-11 09:59:24 +01:00
Noel Grandin
ac361231fe SplitWindow::ImplDrawBack is effectively unused
ever since
    commit facc94bb0aef58353d54e14f948790643ccbec32
    Date:   Thu Jan 30 14:36:57 2020 +0200
    loplugin:unusedfields

Change-Id: Idb09424a09074abe77d6d5b63ea4a526a3bb7ed2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88423
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-11 09:57:15 +01:00
Seth Chaiklin
d121553b65 Update git submodules
* Update helpcontent2 from branch 'master'
  to e6e4a01c2ae198bde731045f4451ba345877cadb
  - update Online Update help page
    
       - add headings
       - correct outline level
       - add control
       - align help page with dialog box
       - added "online update" icon
       - updated "note" about installation of Update module,
            a common intro, with sys-specific details.
    
    Change-Id: Id237acbb93ec90a6d7622135e5bdc212f28ca1a4
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/87810
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-11 09:32:56 +01:00
Stephan Bergmann
ff49c04a47 Avoid needless ListenerList temporary
Change-Id: I0670a013136c8d8d7e7fb5caca54812f4fa490e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88422
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-11 09:16:11 +01:00
Miklos Vajna
63d3ac3786 tdf#129221 DOCX import: fix missing restart of numbering
Regression from e49d2b31fb2020d065b4ad940d1031d07b10f32b (fdo#78939
[DOCX] Hang while opening due to incorrect modification of Style,
2014-06-06), the problem was that the 2nd sub-list of the bugdoc was not
restarted in Writer, while it was in Word.

The PR2 paragraph style inherits from the PR1 one and only that sets the
numId; tweaking the bugdoc to state the numId directly in PR2 would work
around the problem.

Fix the issue by improving DomainMapper_Impl::finishParagraph(), so that
it uses lcl_getListId() rather than calling
pStyleSheetProperties->GetListId() directly; since the previous knows
how to walk up the parent chain if needed.

Change-Id: I1c460919b0389d5b053b4ca1c9210279d6cd183c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88413
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-11 09:07:34 +01:00
Olivier Hallot
5d00a1c9c6 Update git submodules
* Update helpcontent2 from branch 'master'
  to 66d9968bba9fe381183387089509ed928ee8a6d9
  - tdf#129554 keyboard shortcuts for Pivot dialog
    
    Change-Id: I95abc0b5f2ba6447c8d034f12a9babebbc5a2db1
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88419
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-11 00:53:26 +01:00
Seth Chaiklin
46014dc2eb Update git submodules
* Update helpcontent2 from branch 'master'
  to 68ea04c5012484b5ca30a87a5b8f326e5f9708f2
  - tdf#130064 adjustments in legacy positioning help page
    
      - remove unnoticed empty paragraph and add bookmark branch
      - double appearance in "apply" label, and change to "List" style
      - add missing word
      - improve "Load/Save" explanation (appears also for "Position"
          and "Chapter Numbering"
      - added related topic link to "Indenting Paragraphs" for both
          "Position" pages
    
    
    Change-Id: I8da3e6b5e70c37606eaa79850cde0d9c4b3d5db1
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88390
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2020-02-11 00:21:58 +01:00
Maxim Monastirsky
0ad3558a0c cui: Compare by full module id
Otherwise Master Document is detected as Writer,
causing crash when opening the customization
dialog, as the notebookbar tab isn't prepared to
handle the Master Document variant.

Change-Id: I872255c42517b4223fb31e2074e4d5d083c76e93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88344
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-11 00:09:40 +01:00
Marco Cecchetti
2b7f4d8a2c lok: calc: zoomed text entry not rendered
Change-Id: I829966d81bd68571a0651feb458a817587e4d88e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84992
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-10 23:26:35 +01:00
Caolán McNamara
6a1afa0813 operate on the text renderer cell, not the first cell
Change-Id: Id208150e45a4a5724f1e001522ee8fd94a64a91a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88375
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 21:50:08 +01:00
Maxim Monastirsky
81397e1d0c reportdesign: Hide some internal commands from customization
In addition:

- .uno:BackColor was unused, and internally mapped to the same
id as .uno:DBBackgroundColor which is used and has a label. So
remove the former, and make the latter visible in the
customization dialog instead.

- .uno:DSBEditDoc is mapped to SID_EDITDOC, and handled by the
code, but has no label. On the other hand, the toolbar has an
.uno:EditDoc item, which has no mapping in reportdesign, but
happens to be mapped to SID_EDITDOC elsewhere. So assume this
was a mistake, and .uno:DSBEditDoc should be used instead of
.uno:EditDoc.

Change-Id: I9da2ed36167571627b32a4055b734847c3ea1e64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88342
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-10 21:05:34 +01:00
Maxim Monastirsky
d2dfda8aba Always checking for Master document command labels makes no sense
Change-Id: I33d04da63c5e30d166bd22f9fc7ffb5aa4da5c6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88343
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-10 21:03:57 +01:00
Alex Henrie
37187ecf8c Add case table for Warang Citi
Change-Id: Idc42ffe7d68f612da759146079fa900b559b1def
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87317
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2020-02-10 20:56:26 +01:00
Eike Rathke
86a4261921 Resolves: tdf#130550 Add Ligurian [lij-IT] to language list
Change-Id: I6a83bd754ebebf877d6638d5672194aefcf179bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88372
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2020-02-10 20:50:27 +01:00
Caolán McNamara
50d9dbedc4 tdf#129346 only select first page fallback if seting to current page failed
Change-Id: Iee4f9cef9659837e9ce131e3bfc8da3e8d87bf84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88406
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 20:44:59 +01:00
Seth Chaiklin
9f303928da Update git submodules
* Update helpcontent2 from branch 'master'
  to 6f892e6e9b43209dad3ee82ddd7bd4ea0d3b129f
  - updating help for  "Page number" on "Status Bar" help page
    
    - changed section id from "seitennummer" to "pagenumber"
    - single click opens "Go to Page"
    - removed "link" in "pagenumber" section - because it simply goes
      from the Status bar page to the page where the embed is coming from.
    
    Change-Id: I23387937aea57811f85a9a9cf4a4f3a80932b4ac
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88150
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-10 20:32:08 +01:00
LibreOfficiant
4eaaf63196 Update git submodules
* Update helpcontent2 from branch 'master'
  to 377542bfda4f697cc0f50ac90e8ed40e98db0bd2
  - Index entry addition
    
    Change-Id: I291bff961d6772bf72ca5fc1d23b6584a32b0a4d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/88186
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-10 20:17:32 +01:00
Caolán McNamara
1191a45699 Resolves: tdf#130541 null-deref on detaching already-detached page
Change-Id: Ib48ab91232b8ff624a1387ab82701938eef58ded
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88380
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 20:16:35 +01:00
Caolán McNamara
8ed176b2cc Resolves: tdf#130548 click is sent to the other member of the group
when toggling one the other gets a click signal, but its too
early and the page size isn't set yet, making the dialog thing
the margins won't fit in the page

Change-Id: I5b51f2d91c69558d47f43b3f05eca3fd87a24125
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88383
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 20:16:18 +01:00
Stephan Bergmann
751592f927 Remove redundant ScTabView::GetSdrView
See the comments at <https://gerrit.libreoffice.org/c/core/+/87872> "Removed old
comment" how it was presumably used in the distant past to address
<https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/
fatal-error-c1055?view=vs-2019> "compiler limit : out of keys".

Change-Id: I168532403fe04111ce1af08d43924a426c09c42d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88379
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-10 20:03:19 +01:00
Bjoern Michaelsen
7477b3ca59 refactor PostIt access to SwFormatFields in ...
- SwTextShell::ExecField()
- PostItManager

Change-Id: I7eabf0a7d8170d0dacf3069925abfe1a91a4a9f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88334
Tested-by: Jenkins
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2020-02-10 19:51:23 +01:00
Jan Holesovsky
cc0759f1e2 android hunspell: Hardcode the ReferenceOOoMajorMinor for version check.
From some reason it fails to be read from the versionrc; and I'm not
really eager to debug why...

Without this, only the dictionaries that do not mention the
OpenOffice.org-minimal-version are registered; which would be just 2 of
them.

Change-Id: I9fe0bc138eadbdcbe5e0d8231e7e90ef268163bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88219
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88366
Tested-by: Jenkins
2020-02-10 18:16:34 +01:00
Jan Holesovsky
99e143cb77 android hunspell: Don't explicitly disable extensions on Android.
We need the bundled extensions for hunspell.

Change-Id: I423d71376652b7d54dfdcc81462a19db9dc785bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88218
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88365
2020-02-10 18:16:17 +01:00
Jan Holesovsky
4f9531c81d android hunspell: Turn on the hunspell build on Android...
...and try to register it for use - it's a bundled extension.

The attempt to use the Android's native spell checking failed because
the combination of gboard + google's spell checker makes every word in
the app appear as if spelled correctly.

I haven't found any easy way around that, so let's use hunspell instead;
but for that, we need to make the bundled extensions work on Android.

Change-Id: If6563e497f1d3085c26eda571567242b2c1f6181
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88217
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88364
Tested-by: Jenkins
2020-02-10 18:14:40 +01:00
Caolán McNamara
1d0fc7baaa set a narrow width so it takes the width of its fellow panel members
Change-Id: I846d1918fbd470439ea1efe591ff8eb392464bce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88377
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 17:47:50 +01:00
Marco A.G.Pinto
2e7283d328 [en_GB] 6 new autocorrect words
Change-Id: I15a3626a79cb4944a56a86c95cfcb1aa587999fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88292
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-10 17:21:19 +01:00
Marco A.G.Pinto
e55f89d271 [en_US] 6 new autocorrect words
Change-Id: Ibeb66ea402c0800d321ed7f03bed5741c04fec1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88294
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-10 17:20:47 +01:00
Muhammet Kara
85acb421cf Avoid additional search in case of insertion
Change-Id: If53add597daea0dc6ba77d92297d0dd0303c3500
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88354
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-10 16:09:01 +01:00
Caolán McNamara
48a307b697 weld SvxFmAbsRecWin item window
Change-Id: I6a11d8ba226b28447e2ab04925090491d6953132
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88348
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 15:20:40 +01:00
Caolán McNamara
abfdfe6ac1 weld SvxFmTbxCtlRecTotal label item window
and SvxFmTbxCtlRecText label item window
and SvxFmTbxCtlRecFromText label item window

Change-Id: I5c5bbdacfe7e69abd44b9a548deadbf6c4d2a7d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88283
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 15:20:26 +01:00
rizmut
56f79ad5d7 elementary: Fix for tdf#130533; list in Impress Sidebar
- Update also to icons in Bullets and Numbering toolbar

Change-Id: Ifbd28ae3e1842047c39a9349d670b6e954dd2d62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88356
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-02-10 15:17:51 +01:00
Luboš Luňák
4645ea2ba4 ignore -DGLM_FORCE_CTOR_INIT for shared PCH
It's not used by the PCH, so it's safe.

Change-Id: Ia86bf0ff31bc40b81b10517f8abd33e9170dba2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88362
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-10 14:38:17 +01:00
Luboš Luňák
a364218abe sort compilerplugin sources
We generally sort sources for each target in LO, so make this
consistent/nicer :).

Change-Id: I4c8bc0d9e3f0b2d8b966bd90215c960c30ea2f86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88361
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-10 14:38:05 +01:00
Caolán McNamara
de9ca54efb DROPDOWNONLY should have been DROPDOWN
Change-Id: Id69413752779ee076e2a81330990f1230264a8f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88346
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 14:22:39 +01:00
Luboš Luňák
da4bfe4729 log human-readable vulkan driver version too
Change-Id: If21f6720b77a55e23864140bb10e7ff7a24e3de2
2020-02-10 14:16:20 +01:00
Stephan Bergmann
f99c76c2e8 Mark external/coinmp/Wnon-c-typedef-for-linkage.patch as upstreamed
Change-Id: I8c2a7ce17d1c406563aca234aa6ea606414c9f71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88363
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-10 14:06:21 +01:00
Mark Hung
f40456f093 sw/qa: fix libxml2 parser error for testChinese
in htmlexport CUT on Windows with tradtional Chinese
as the system locale.

Libxml2 complaints about encoding:
Entity: line 2: parser error : Input is not proper UTF-8,
indicate encoding !
Bytes: 0xB4 0x49 0xA4 0xE5

- By default SvxHtmlOptions::GetTextEncoding() uses
SvtSysLocale::GetBestMimeEncoding() to decide the decoding,
where osl_getThreadTextEncoding() is used. That results in
big5 if you're using Windows with tradtional Chinese as the
system Locale.

- libxml2 expects the xml begins with "<?xm", and guesses the
encoding based on first 4 bytes of the content. So it always
falls back to utf8 in our test.

Change-Id: I48be9bf552ab6ea76f8baea7e48a8c02a7e8c2cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88260
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-10 12:25:03 +01:00
Caolán McNamara
89150f1bcb cid#1458168 silence bogus Dereference after null check
and

cid#1458166 Dereference after null check
cid#1458167 Dereference after null check

Change-Id: I68dc7dc1bc78ed64795d353d5d0ffc15cc46b0c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88347
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-10 11:30:16 +01:00
Miklos Vajna
efe3a81ca3 sw: prefix members of SwExtTextInput, SwLineNumberInfo, SwWriter and ...
... SwgReaderOption

See tdf#94879 for motivation.

Change-Id: Ib44eaa1adbc731499d22b0bf538380b8bc0cc4eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88357
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-02-10 11:25:40 +01:00
Andrea Gelmini
f9ab2fbe29 Removed old comment
Change-Id: I88a20c74ed0644c87b9f93bd918e4bde5a2cb40e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87872
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-10 11:24:57 +01:00
Stephan Bergmann
36dfe0d1ee -Werror,-Wnon-c-typedef-for-linkage
...with recent Clant trunk, see <https://github.com/llvm/llvm-project/commit/
7ae1b4a0ce9c7f269cf3069e41496a78e3f28d49> "Implement P1766R1: diagnose giving
non-C-compatible classes a typedef name for linkage purposes."

Change-Id: I4e9e03f63fe47ccad4461cbc5c9fef9abd5c02ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88358
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-10 11:22:49 +01:00
Pelin Kuran
c3bdf60484 tdf#90834: Turn in-line version control comments into good comments
Change-Id: I366badf234f00536cd208a516eff9667f99d2f86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87719
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-02-10 11:19:39 +01:00
Thorsten Behrens
f363ca0c0b Revert "tdf#129096 Don't autosave encrypted documents"
This reverts commit 15664830235fd3d34dc633affa87824e5c10cb79.

Reason for revert: this was fixed meanwhile via
https://gerrit.libreoffice.org/c/core/+/86201

Change-Id: Id264bc09445cc00e059a243b8ccc53d9364c3ca9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88287
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-02-10 11:09:19 +01:00
Michael Stahl
24ae47e808 sw: DOCX export: fix rotated text fields
The rotation works in RTF export and DOC export, but not DOCX.

If a text field is rotated via SvxCharRotateItem, the w:eastAsianLayout
element gets written on the run that contains the fldChar begin,
but not the subsequent 4 runs that are written via
DoWriteFieldRunProperties(), because it doesn't write
m_pEastAsianLayoutAttrList.

It's not clear why that function manually writes a subset of the run
properties instead of simply calling WriteCollectedRunProperties()
to get all of them.

Change-Id: I6d8cacda4b62a6f6fdc77885149e7de8666e7200
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88196
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-02-10 10:58:12 +01:00
Xisco Fauli
af14b2096e use color instead of int
Change-Id: I7a837b61af666b6e13519df43255ff309d54f170
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88123
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-02-10 10:16:44 +01:00
Luboš Luňák
396d101941 add BLOCK_PCH to gbuild, allowing partial non-PCH rebuilds
Both MSVC and Clang (with -building-pch-with-obj) generate one extra
object file for code from the PCH, saving repeated generating of this
code for every object using the PCH. This causes problems when
temporarily disabling PCH by doing 'make ENABLE_PCH=' (e.g. when
checking #include's are correct), as this object would no longer be
linked in, and objects not rebuilt with PCH disabled would still need
it.
This patch allows doing 'make BLOCK_PCH=1' instead, which will disable
PCH with the exception of this object file still getting linked in.

Change-Id: I8fcb150ef27ebb34118d62739a1a1558aa1a6f3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88341
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-10 10:10:46 +01:00