Convert RID_SANE_DIALOG to .ui

Change-Id: I1f08493cdc18f4c0691a8436368432fe4e94dec3
Reviewed-on: https://gerrit.libreoffice.org/9696
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
extract Scan Preview code into a preview widget

instead of scribbling over the parent dialog directly. Doing is this way allows
the .ui-ification to work right.

Change-Id: Ia0c33eae4cd5a4c94896436fe5a5afad8d60a577
Updated core
Project: help  c1d60a56eb3b6e117cfdfb43b2d9248c7ea56f96
Remove useless IXFContent

Change-Id: I727ae1c4a2c1a0c321580a9a8948c48ee9bbfcab
Do not hard code /usr

Not all operation system install packages into /usr, make sure
create-tree.sh do respect the PREFIX variable

Change-Id: Iff358c9e22fb8969afaef2bb96e1f91eb7e91123
Reviewed-on: https://gerrit.libreoffice.org/9730
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Dead code

Change-Id: I08bd15316e7952d05b769326c0a8a1d3493b0eb8
Changing scanners has no effect

I guess no-one ever tested with multiple scanners but it just happens that my
laptops webcam is presented as a (non-functional) scanner alongside the real
one

Change-Id: Ie36651cfc867027ef19e272dbabe46de6c4261ee
Reset preview boundaries on a new scanner

Change-Id: Id2830727216fa25ca5935406a74f4237276d56db
Revert "Change sw::mark::IMark::GetOtherMarkPos return type from ref

... to pointer"

CrossRefBookmark::GetOtherMarkPos() is apparently not supposed to be
called, so just replace the undefined null-reference with a call to
abort().

This reverts commit dcf0ac048ce745774f401ada72b051757298c559.

Change-Id: I55b4accb4f42031df5671e8a30897e3aff9b56f9
avoid undefined null-reference in CrossRefBookmark::GetOtherMarkPos()

CrossRefBookmark::GetOtherMarkPos() is apparently not supposed to be
called, so just replace the undefined null-reference with a call to
abort().

Change-Id: Ie8e141d661b870573092d20bd85fa1ae04506421
refactor bookmark moves

Change-Id: I13924d40ca1c31f56440b98d9a1829963cdd3e1a
code conventions, while we are at it

Change-Id: I118aa2cb8747775d8c778cf49248c7f3ef68d6a2
add second Restore function for CntntIdxStore

Change-Id: I2d4c92d0927bce13b03a6f235e14812ed1d0bd54
remove now redundant old implementation

Change-Id: Ieab4fc54be0b2e5ad547f81a7a70d84284161c47
simplify cascading conditionals

Change-Id: I957d7c368f6b7158c74268f7274d59e8a25b83e8
simplify MarkPos conditional

Change-Id: If109980429f2f87e06065837eaec7129b2ece336
BOOST_FOREACH and constness

Change-Id: I832bc8fcdfb4997c2eaae3f0cb5d7014df20f2fd
BOOST_FOREACH and constness

Change-Id: I86c86cfa245c78ce8e21d85831de5ae82f67f81e
New loplugin:derefnullptr (all violations already fixed)

Change-Id: I32cd8e740855699036c420a091c282029f8d4a08
Fix to be able to edit seconds in Japanese date/datetime cells

Currently seconds in Japanese date/datetime cells can't be edited.
But i18npool/source/localedata/data/locale.dtd and
offapi/com/sun/star/i18n/NumberFormatIndex.idl say that seconds in
time/datetime cells should be editable. And Japanese users
reported that current behavior is inconvenient.

Also to retain relativity against @formatindex='40', each
[@usage='TIME']/@type are shorten.

For better backward compatibility, @formatindex='55' should be
default format. But since there is implementation limit of
SvNumberFormatter::ImpGenerateFormats, @formatindex>=50 can't
be default one.

These changes are discussed in Japanese ML:
http://listarchives.libreoffice.org/ja/discuss/msg03044.html

Change-Id: I074b8d6d5c9d69b8ba1eb14c29b661d753c003ad
Reviewed-on: https://gerrit.libreoffice.org/9703
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>