diff options
author | Luke Deller <luke@deller.id.au> | 2018-05-31 23:16:26 +1000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-06 09:42:41 +0200 |
commit | 6c68e52532d45c97a83b2396bd40c98ade9b5bb4 (patch) | |
tree | 70caddf710e4b7a927483b538d0786c4aa33f194 /sc/inc/datastreamgettime.hxx | |
parent | 9739c37d8ad7c6fca269709674a6975fa7ebd191 (diff) |
Fix top margin in DOC import for tdf#117885
When calculating the height of the top/bottom margin, we take into
account whether the DOC section has a header/footer enabled.
If the DOC section contains only a first-page header/footer, and the
display of first-page header/footer in this section is not enabled,
then we must consider the section to have no header/footer.
(Also add a test case using the doc supplied by the reporter in
tdf#117885)
Change-Id: I8040298a2953b3f3fe8dd80bfd62db2304db938e
Reviewed-on: https://gerrit.libreoffice.org/55135
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sc/inc/datastreamgettime.hxx')
0 files changed, 0 insertions, 0 deletions