build fix

Change-Id: I9d4dc8a165bc042a674eb472162292a486f3761c
fdo#84582 : fixed label in the 'Insert Version Comment' dialog

When user's data are empty, dialog shows "(no name set)".

Dialog:
Writer->File->Versions...->Save New Version

Change-Id: I6780cbe452fbc206b3e153975dbb1c1d9570718b
Reviewed-on: https://gerrit.libreoffice.org/12307
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
fdo#85912 Delete surrounding text failing for input method calls regression.

When Apache OpenOffice code was merged in, a few lines were removed for
no apparent reason.  This just adds the code back in, and resolves the bug.

See the comments in fdo#85912 for details about this bug.  It is hard for
majority language users to reproduce since they don't use ibus/kmfl to
type their language's letters.

Change-Id: I3963ea0f0eeeab8c8006408a7e229beab1ccf9f6
Reviewed-on: https://gerrit.libreoffice.org/12311
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
fdo#85907 Tweak size requests

... and remove an unneeded grid that I added.

Change-Id: Ibc3b98a1f87d61464d652168546235e5c183c80f
Reviewed-on: https://gerrit.libreoffice.org/12334
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Revert "Fix apparently broken commit"

Re-introduce the initialization back.

This reverts commit e5ffff4ea0185db0e3139e86910240f3b074a2a6.
configure: --enable-headless is dead long live --without-x

To avoid confusion with the --headless runtime option
leverage --without-x for the headless build. Please note that
build and code ifdefery naming is not changed.

Change-Id: Iefdbc7ca5b4bb5627ebd2c78b4cedf44dce4ae5b
Reviewed-on: https://gerrit.libreoffice.org/12303
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Add a function to compare version number strings

Change-Id: I88d3d9040f70e84752ade19001a699f60e9e7636
WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t'

Change-Id: I6d989baabe4ff59b91c3fdb725f75a7d9e01f5e0
coverity#1242754 Unused value

Change-Id: I5e3d39b8f87e1496550c616928eab9166f624387
Reviewed-on: https://gerrit.libreoffice.org/12364
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
There are three positive return codes from inflate

 #define Z_OK            0
 #define Z_STREAM_END    1
 #define Z_NEED_DICT     2

and we don't support dictionaries, so a Z_NEED_DICT return
creates an infinite loop

Change-Id: Iafb1da594962b3cb456a3223cc6d4122791718c5
Some SvxFontHeightItem clean-up

...and operator= shall probably copy rSize.ePropUnit...

Change-Id: I112c02b3a3b2ce23f3d03f03881136e05be29017
Remove unused #include

Change-Id: Ia79cdfbe8b1e065f84a30aa74500de3f1115c595
for unknown locales check is needed even for ll[l][-CC] tag, fdo#86011 related

Found when investigating fdo#86011 where 'du-nl' was accepted and
assigned an on-the-fly-ID even if the 'du' language code is not defined
in ISO 639. If a tag is not internally known we need to check it using
liblangtag and take no short cut assuming it would be alright even not
for the simplest case.

Change-Id: Ib8c1eb77b6b4a59019c4c8248b596bf53c0f4986
READELF needs to be defined for unix such as SOLARIS

Change-Id: I749fa8a19e00957a3f83f41e029687b435a3a903
Signed-off-by: Michael Stahl <mstahl@redhat.com>
cleanup improper SOLARIS linker libs and options

and, most importantly, forget MOTIF!

Change-Id: I0230932618b396ec4d5bf7638a13e5a80a4fada0
Signed-off-by: Michael Stahl <mstahl@redhat.com>
SOLARIS can use/should use posix_madvise under certain conditions.

Change-Id: Idc40752b4beee932b5912e6df9fe6acb15571201
Signed-off-by: Michael Stahl <mstahl@redhat.com>
improve SOLARIS guard

Change-Id: Ic5edb7c0977b6c589329cd80616aa320d6cc929b
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Do as for Linux, borrowed from Gabriele Bulfon <gabriele.bulfon at sonicle.com>

Change-Id: Id15c4b355591678023ae97b1183f8f3a01823084
Signed-off-by: Michael Stahl <mstahl@redhat.com>
update solaris directories being referenced
also borrowed from  Gabriele Bulfon <gabriele.bulfon at sonicle.com>

Change-Id: I17787fbbf12f1bc8b3e78b8dd2e8b33679bab5b1
Signed-off-by: Michael Stahl <mstahl@redhat.com>
O_RDWR and O_CREAT are defined in fcntl.h

Change-Id: I568ee2c3f103777720f6c39340a5915b10aeebb4
Signed-off-by: Michael Stahl <mstahl@redhat.com>