fdo#70674 adapt wizard code to incompatible Date/Time API change

Change-Id: I0338777bf46c10f6082c7eb3886883e92952eb99
Reviewed-on: https://gerrit.libreoffice.org/6482
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
fdo#69762 Scientific number AutoCorrect as ordinal

In French, ordinal number autocorrection transforms
2e-3 in 2^e-3 which is annoying in Calc.
This patch avoids autocorrection with [digit][e|E]-

Reviewed-on: https://gerrit.libreoffice.org/6204
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 938881340e9203d3b265596b8c7359bb27560912)

Backported.

Change-Id: Iaaff4f8d6e667fc84a68d7c11e1a96da13594a18
Signed-off-by: Eike Rathke <erack@redhat.com>
Related: fdo#71147 lwp-files open not or without charts/tables

It seems pContent may be NULL (see https://bugs.freedesktop.org/attachment.cgi?id=88539)

Change-Id: I80249dd1d0afc3feaef5f1b1d134210beee3d029
Reviewed-on: https://gerrit.libreoffice.org/6536
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit a210df8e50d94f557ceaa21e5f4943db97777812)
fdo#69971 formula dialog crash when Paint restores EditEngine listener

We need the EditEngine Modification handler of the inputbar that we are feeding
to be disabled while this dialog is open. Otherwise we end up in a situation
where...
a) this ScFormulaDlg changes the editengine
b) the modify callback gets called
c) which also modifies the editengine
d) on return from that modify handler the editengine attempts to use
   old node pointers which were replaced and removed by c

We turn it off in the ctor and back on in the dtor, but if calc has to repaint,
e.g. when switching to another window and back, then in ScMultiTextWnd::Paint a
new editengine will have been created via GetEditView with its default
Modification handler enabled. So ensure its off everytime we will access it via
InputReplaceSelection pScMod->InputEnterHandler();

I wonder if we should really be calling ScMultiTextWnd::GetEditView
(which creates an EditView if one does not already exist) in
ScMultiTextWnd::Paint or just check for pEditView directly, but that
then leading to the need for it to be explicitly created somewhere else.
As it stands in ScMultiTextWnd::Paint(...) the "if ( pView )" can never
be false.

Change-Id: I2f6df9ce0cc7ec59e8be33f4e67d91422796d251
(cherry picked from commit a9d85d62a889288b17899c8defc020da487d8b36)
Reviewed-on: https://gerrit.libreoffice.org/6566
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
don't warn for empty VBA structure, fdo#61059

Change-Id: I0d0f7fa216fcea7ca893120ad183dc3758ca51d4
(cherry picked from commit 2e803712c4c2b844dab1fefdfbda12058a5f1ab7)
Reviewed-on: https://gerrit.libreoffice.org/6573
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Resolves: fdo#70588 MultiLineEdits don't need WB_WORDBREAK set

and inherits from Edit which reuses that same bit for password

Change-Id: I8add146fdbc1b3402b5409f01f75c620da25a313
Reviewed-on: https://gerrit.libreoffice.org/6579
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit af93243d06d81e996c1fae92190bc9622503e25b)
Reviewed-on: https://gerrit.libreoffice.org/6589
Reviewed-by: Niklas Johansson <sleeping.pillow@gmail.com>
Resolves: fdo#58094 don't crash on attempting mml import

Change-Id: I812f2b3e333ea59e9ebfc75a854faca050af8711
(cherry picked from commit 603e9338568c29c01f812c4fd47b7e8138e015bb)
Reviewed-on: https://gerrit.libreoffice.org/6590
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Resolves: fdo#69645 Parent Node disposed and mpParent pointing to junk

mpParent points the contents of mxParent which is a WeakReference, so
we can check if the WeakReference is still valid before using mpParent

Change-Id: I40424714865e506b8cf27017539795eb834e10d2
(cherry picked from commit 1563162131ae00cd2a33c59349567a7b820dc5db)
Reviewed-on: https://gerrit.libreoffice.org/6584
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
"%1 is replaced to column letter" ... so do it

In StandardFilter dialog when not using column headers the field names
were displayed as "Column %1 A" instead of "Column A".

Change-Id: I29216eaa6b98e4a786f77d47ef20135e15d7d45a
(cherry picked from commit 2d793b1a7f08e2f42a8e9bd96b7470e15784f7cf)
Reviewed-on: https://gerrit.libreoffice.org/6591
Reviewed-by: Ivan Timofeev <timofeev.i.s@gmail.com>
Tested-by: Ivan Timofeev <timofeev.i.s@gmail.com>
vcl: WORDS_BIGENDIAN is never defined, use OSL_BIGENDIAN

Change-Id: I5186904b9703d6c9c49ca4c3b4a62f83423b1ae1
(cherry picked from commit 94d31d9ad1513504bb1415f0cfe70be380e18b9a)
Reviewed-on: https://gerrit.libreoffice.org/6612
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
fdo#71306: fix [Page: N] info in headers of pages printed from basic ide

Change-Id: I115503f0fca653343cfb1e0eb9dc81937ef82648
Reviewed-on: https://gerrit.libreoffice.org/6616
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
fdo#71306: fix printing from basic ide

regression from e13a3d566ecc34a46e037aca1b2d70e58501e422

Change-Id: I0d734e112038746aa48df669d4b82b644a95c220
(cherry picked from commit 560b27613679d2a3b3ddb89c2afe481bcf2996e3)
Reviewed-on: https://gerrit.libreoffice.org/6615
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
"%1 is replaced to ..." ... maybe, or maybe not

Translations may have omitted the %1 placeholder in SCSTR_COLUMN and
SCSTR_ROW, or not have it translated newly yet because it was introduced
later. In these cases append the column indicator / row number as it was
done before.

(cherry picked from commit 9b10373edae490d2b9b7f8d733c59b4f63927bec)

Conflicts:
	sc/source/ui/dbgui/filtdlg.cxx
	sc/source/ui/dbgui/pfiltdlg.cxx
	sc/source/ui/dbgui/tpsort.cxx
	sc/source/ui/dbgui/tpsubt.cxx

Change-Id: I331cf0c529bebea02277784ea145c202eb6f6fda
Reviewed-on: https://gerrit.libreoffice.org/6618
Reviewed-by: Ivan Timofeev <timofeev.i.s@gmail.com>
Tested-by: Ivan Timofeev <timofeev.i.s@gmail.com>