diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-11-30 08:49:10 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-11-30 15:36:10 +0100 |
commit | 98770243f7f5387aae06e83ed4de0d68e02abb02 (patch) | |
tree | 7df0c5a943bbfb34251625b0270813ab8e4e1b8a /writerperfect/source/writer/EPUBExportDialog.cxx | |
parent | 1a48cdaf91633b354fb1110c566c766a4398fba0 (diff) |
EPUB export: allow setting custom metadata explicitly
If not set, fall back to the existing auto-find. The testcase now
asserts that the priority is:
- api
- if that is not set, then xmp
- if that is not set, then doc
(And at the end libepubgen itself has some defaults as well.)
Change-Id: Ie8fc646b81c4a287690fd2eeed43f4786b7938bf
Reviewed-on: https://gerrit.libreoffice.org/45552
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerperfect/source/writer/EPUBExportDialog.cxx')
-rw-r--r-- | writerperfect/source/writer/EPUBExportDialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/writer/EPUBExportDialog.cxx b/writerperfect/source/writer/EPUBExportDialog.cxx index 5c0eb9d1e930..da42954a5d02 100644 --- a/writerperfect/source/writer/EPUBExportDialog.cxx +++ b/writerperfect/source/writer/EPUBExportDialog.cxx @@ -125,7 +125,7 @@ IMPL_LINK_NOARG(EPUBExportDialog, CoverClickHdl, Button *, void) IMPL_LINK_NOARG(EPUBExportDialog, OKClickHdl, Button *, void) { if (!m_pCoverPath->GetText().isEmpty()) - mrFilterData["EPUBCoverImage"] <<= m_pCoverPath->GetText(); + mrFilterData["RVNGCoverImage"] <<= m_pCoverPath->GetText(); EndDialog(RET_OK); } |