Access by AnchoredObject of a deleted SwLayoutFrm

as demonstrated by abi10075-1.doc

just register the AnchoredObjects in the SwLayoutFrm and
inform them when the SwLayoutFrm goes away.

This crash was triggered by "1e113cb7604e1509e7d598a9be329f1f7b6e9322" import
different first page header/footer from doc. But that commit is blameless.

Change-Id: Ia079cc635a81dff1ccbf740641f441aa784328a4
(cherry picked from commit b376eacdfae11f5d39eb7011efe67390d9f495e7)
Reviewed-on: https://gerrit.libreoffice.org/6622
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
m_uInt8 not m_nInt8

Change-Id: I54524b6c7c19202bee049b61edc3f8e0a1e4fde0
Reviewed-on: https://gerrit.libreoffice.org/6705
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Related: rhbz#1014990 valgrind reports uninitialized variable

(cherry picked from commit f3660062ce8a2c65d483b83c2800d9b958d12f08)

Conflicts:
	sd/source/filter/eppt/epptbase.hxx

Change-Id: Ibaa2ed0ee2f1f3f00bceec91ccced968e4913e47

Related: rhbz#1014990 valgrind reports uninitialized another variable

Change-Id: I77f082ea145b0f20daa93c3ee04067ecb6c3b108
(cherry picked from commit b7069ad07dc651f5326cd3a671588d8c1ecf2534)

Related: rhbz#1014990 valgrind reports yet another uninitialized variable

Change-Id: Idf15ee825a34aa7788c422475aa6cea8ff802581
(cherry picked from commit e0840f70565062b712e544f952640ee35cfb6a27)

Related: rhbz#1014990 valgrind reports yet another unint variable

Change-Id: Idf6a0a1e12fffee6c090add41247723f1d9cf576
(cherry picked from commit b211b8b2e14bd961a7b32033468a94cbff52b5c4)
Reviewed-on: https://gerrit.libreoffice.org/6712
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Resolves: #i122820# Corrected graphics creation...

allow bigger limits if directly requested

(cherry picked from commit 50f1445bda91cb44a1a1e8636ab0bcb6a8c4f381)

Signed-off-by: Andras Timar <andras.timar@collabora.com>

Conflicts:
	svx/source/unodraw/UnoGraphicExporter.cxx

Change-Id: I33576ef9f95b9f8a9fa0ab6f6d83c93ecec8da9f
pywizards: fix the switch between elements in the listboxs

Change-Id: I4603232d158ad3adb60697dbf1425eb5dfe5d71f
Signed-off-by: Andras Timar <andras.timar@collabora.com>
pywizards: Fix date and time fields

Change-Id: I7be16558bab7c4dde2d326808b9fb115a6878894
Signed-off-by: Andras Timar <andras.timar@collabora.com>
fdo#69025 Remove unused text

Change-Id: I9fc60d52e1bc4b38b79e3e29ed1b04b3e8a777a1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
fdo#68788: Don't use systemPathToFileUrl here

it works on Linux but not on Windows.

Change-Id: Ia9af362c09d46c678fa4ebe8cf4922dae3dddccf
Signed-off-by: Andras Timar <andras.timar@collabora.com>
fdo#66232 fix opening files via COM server

Thanks to Noel Grandin & Stephan Bergmann for the hint on IRC.

Change-Id: I2b407a53b02a7ecdbff553ad47674c1e00455180
Reviewed-on: https://gerrit.libreoffice.org/6721
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Fix some wrong copy paste

Change-Id: I3ad6f62393cb22b350d6b50086963ebc7d2a8f5e
Reviewed-on: https://gerrit.libreoffice.org/6715
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
resolved fdo#70750 reverted inappropriate implementation of fdo#63546

This is a combination of 2 commits.

Revert "fdo#63546: set appropriate alignment when wrt direction of cells is changed."

This reverts commit 706e3b8e43df94310b2fe8458da67875073a046c.

Related previous commits that commit depends on will also be reverted.

Triggered by fdo#70750 inspecting the code it turned out that the
changes for fdo#63546 did several things wrong:
* looping over individual cells of a large selected range results in
  slicing and merging ScAttrArray for each row in each column which is
  utterly slow (the reason for fdo#70750)
* instead of executing the changes in ScFormatShell calls should had
  been forwarded through ScTabViewShell to be passed down to ScViewFunc,
  ScDocFunc, ScDocument, ...
* setting hard attributes on all cells (except if already centered or
  block justified) is not wanted
  * value cells for example should stay automatically right justified if
    no justification is given yet
  * overwriting already existing left or right justification may not be
    what the user expects
  * applied styles' justification is overridden this way

(cherry picked from commit 2f29e544932633a01162ecb80e50872eabdd2bc1)

Revert "fix fdo#63546 : set appropriate alignment when writing direction is changed."

This reverts commit 16f508686c29bfa244ca6f81b5ab3bbaf5fef2a7.
(cherry picked from commit 955281e50e2728932edc3b688ce3cf235bdfd0c9)

Conflicts:
	sc/source/ui/view/formatsh.cxx

Change-Id: I53fc56a09f2b396577fff3ec679b39837fc2f649
Reviewed-on: https://gerrit.libreoffice.org/6691
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
rhbz#1031989 Accept --pt in addition to deprecated -pt

Change-Id: I3593b3fc7e0ad405612216fb07e8632050b75cee
(cherry picked from commit 5cb10c4c99e46c97984e4e1c1bca5915f83f0a1d)
Reviewed-on: https://gerrit.libreoffice.org/6723
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
added date acceptance patterns to Canadian locales, fdo#71664

Complete set is now Y-M-D;M-D;M/D/Y;M/D

Change-Id: I42ed59fb325b391943608a10ded7ce74c80656e1
(cherry picked from commit 2d8cac51c6d5205a27d90bd9237c8ed1e4b8deea)
Reviewed-on: https://gerrit.libreoffice.org/6726
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
fdo#66854 keep shadow distance of non-supported MSO shadow type

this is a slight improvement of d7367b709dc4e97714fb2084b872a96389e768fb
the rendering of star from #i119634# bugdoc was kept
the rendering of the yellow circle shadows from fdo#66854 bugdoc
was improved

Change-Id: Ife53328ef665131fb954eb33c2e8269ad10da0fe
Reviewed-on: https://gerrit.libreoffice.org/6719
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
fdo#67060 do not package RPM-only install script to DEB packs

Change-Id: I90c74f0d00804b80daeca2c69d1f12e094243a81
Reviewed-on: https://gerrit.libreoffice.org/6734
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Writer : Fix fdo#71694 by clearing old anchor frame before setting new

Needed as otherwise AnchoredObjects can be in more than one SwLayoutFrm.
See also 7eae50f9ff5877ef880be9a85d3f7e52b1fec49f ( Access by AnchoredObject of a deleted SwLayoutFrm ).

Change-Id: I54582d6f9fb8b6f853352af27706faabe610874b
Reviewed-on: https://gerrit.libreoffice.org/6720
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 7726339a648ac94bb7c365950f23dabec5aa52e7)
Reviewed-on: https://gerrit.libreoffice.org/6732
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
fpicker: cleanup async requests, dung out comments.

Change-Id: I016145d315ae1c4b5376e43583e2546a2b7f7b07
(cherry picked from commit acc0fcd96c940e42da27bb58ba1c89ae5de5a5b8)
Reviewed-on: https://gerrit.libreoffice.org/6736
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
fdo#69500: Revert "fix bug #60700 - de-crutify ODF files"

This reverts commit da06166015689eca260c702602bef4cea58afbd3.

Change-Id: I8f88b68a9ab7bd8c95aad90984ddca20e3ca9d13
Reviewed-on: https://gerrit.libreoffice.org/6709
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>