this modifies codemaker so that, for an UNO enum, we generate code
that effectively looks like:
#ifdef LIBO_INTERNAL_ONLY && HAVE_CX11_CONSTEXPR
enum class XXX {
ONE = 1
};
constexpr auto ONE = XXX_ONE;
#else
...the old normal way..
#endif
which means that for LO internal code, the enums are scoped.
The "constexpr auto" trick acts like an alias so we don't have to
use scoped naming everywhere.
Change-Id: I3054ecb230e8666ce98b4a9cb87b384df5f64fb4
Reviewed-on: https://gerrit.libreoffice.org/34546
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This also comes with its unit test.
Change-Id: I1478bf48c5522691978e3534c9c8a9c0ddfc1e59
Reviewed-on: https://gerrit.libreoffice.org/35985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Translate German comments and terms in sc/source
Change-Id: I8d1fa7c2d07512376ad186c55a13322b6219237f
Reviewed-on: https://gerrit.libreoffice.org/36015
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
...after dbaab58c1442e7f62ef0732376fe5a49840e9fd6 "loplugin:loopvartoosmall".
Looks like SwLayHelper::nIndex only needs to be initialized to a very large
value (so that 'nIndex < pImpl->size()' will be false), not USHRT_MAX exactly.
Change-Id: I209faa00894783c468db1440f5663ea9e8ad3e19
My stub graphic import filter created a graphic with 0 data size, don't
crash on that.
Change-Id: Ie9b93fce1bcae04d555a0610f674603c6945a54a
Reviewed-on: https://gerrit.libreoffice.org/36048
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
The bugdoc, with claimed generator AOO4.1.1 on Windows, contains
a bogus layout-cache:
debug:26706:1: nType P nIndex 29 2147483647
debug:26706:1: nType P nIndex 66 2147483647
debug:26706:1: nType P nIndex 105 2147483647
debug:26706:1: nType P nIndex 142 2147483647
debug:26706:1: nType P nIndex 178 2147483647
debug:26706:1: nType P nIndex 205 2147483647
debug:26706:1: nType P nIndex 229 2147483647
debug:26706:1: nType T nIndex 314 65535
Due to a loop-control this causes incorrect pagination if CalcLayout()
is called only once.
It should look like this:
debug:26765:1: nType T nIndex 382 65535
debug:26765:1: nType T nIndex 790 65535
In this case we can easily detect that the indexes and types in
the layout-cache are bogus by checking against the node types, so
do that in SwLayHelper::SwLayHelper().
Change-Id: I7091af49a8c29bf0a11ceff0be9ba84b1f710fdb
always use a 8bit enum for StackVar
correct StackVar types for opcode opSep and opClose in unit test
and test them.
Change-Id: I89fac97d791eb12667ce5218ff31e798c8711e10
Reviewed-on: https://gerrit.libreoffice.org/36000
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
so can just use SvFileStream here and not go through ucb
Change-Id: I1d70a4e39977a178afaf7eeadb552f1bd7d9fd1a
Reviewed-on: https://gerrit.libreoffice.org/36024
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Project: help 5469ccc6ecc354020edf0b7e7b8c1e4c0f074517
Fix one ahelp to work with multiple bookmarks
Change-Id: Ibfe212d879ad7ebc4d275e2818c8779064235634
Reviewed-on: https://gerrit.libreoffice.org/35952
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Project: help cf89d14c283d391bc3441f9a5e4f0c915af76706
tdf#102930 Mail Merge Wizard: Drop obsolete Wizard help pages
The 6th, 7th, 8th pages of the wizard are now gone.
Usable content was moved to the new save/print/email dialogs
and to the toolbars help pages.
Change-Id: I911c86f0ab0e159ed3666e32c8d45582c23b1627
Reviewed-on: https://gerrit.libreoffice.org/35951
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Project: help 20abdd0a447ec3a330326ccd84257a0af6ce6f95
tdf#102930 Mail Merge Wizard: Drop duplicated page
This is the same as the mm_newaddblo.xhp file
Change-Id: Iafa9297c54042ba10a7bfff41a5ac4de13ada25d
Reviewed-on: https://gerrit.libreoffice.org/35950
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Project: help 5bffaa7cecbcb102764ce195be2cb5fd03de4d6b
tdf#102930 Mail Merge Wizard: Standard Filter dialog ahelps
Appears from the Select Address List dialog, Filter button.
ahelps need to be the literal dot to work with multiple bookmarks
Change-Id: Id906881098601f49643e0298949d7bcbbd618d57
Reviewed-on: https://gerrit.libreoffice.org/35949
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>