diff options
-rw-r--r-- | writerperfect/source/writer/EPUBExportDialog.cxx | 5 | ||||
-rw-r--r-- | writerperfect/source/writer/EPUBExportDialog.hxx | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/writerperfect/source/writer/EPUBExportDialog.cxx b/writerperfect/source/writer/EPUBExportDialog.cxx index 0bba77a1898b..ecea590ac831 100644 --- a/writerperfect/source/writer/EPUBExportDialog.cxx +++ b/writerperfect/source/writer/EPUBExportDialog.cxx @@ -14,6 +14,7 @@ #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> #include <com/sun/star/ui/dialogs/XFolderPicker2.hpp> +#include <comphelper/lok.hxx> #include <comphelper/sequenceashashmap.hxx> #include <sfx2/filedlghelper.hxx> #include <sfx2/opengrf.hxx> @@ -92,6 +93,7 @@ EPUBExportDialog::EPUBExportDialog(weld::Window* pParent, , m_xInitialCreator(m_xBuilder->weld_entry("author")) , m_xLanguage(m_xBuilder->weld_entry("language")) , m_xDate(m_xBuilder->weld_entry("date")) + , m_xCustomizeFrame(m_xBuilder->weld_frame("customize")) { assert(PositionToVersion(m_xVersion->get_active()) == EPUBExportFilter::GetDefaultVersion()); @@ -154,6 +156,9 @@ EPUBExportDialog::EPUBExportDialog(weld::Window* pParent, } m_xOKButton->connect_clicked(LINK(this, EPUBExportDialog, OKClickHdl)); + + if (comphelper::LibreOfficeKit::isActive()) + m_xCustomizeFrame->hide(); } IMPL_LINK_NOARG(EPUBExportDialog, VersionSelectHdl, weld::ComboBox&, void) diff --git a/writerperfect/source/writer/EPUBExportDialog.hxx b/writerperfect/source/writer/EPUBExportDialog.hxx index 9e11d5351559..440c74d1176e 100644 --- a/writerperfect/source/writer/EPUBExportDialog.hxx +++ b/writerperfect/source/writer/EPUBExportDialog.hxx @@ -54,6 +54,7 @@ private: std::unique_ptr<weld::Entry> m_xInitialCreator; std::unique_ptr<weld::Entry> m_xLanguage; std::unique_ptr<weld::Entry> m_xDate; + std::unique_ptr<weld::Frame> m_xCustomizeFrame; }; } // namespace writerperfect |