fdo#59256 hide this option when experimental features are disabled

GTK print dialog is experimental, the checkbox has no effect, if
experimental features are disabled.

Change-Id: I664a5520ed8fd0740c381af3d38fc5252c020548
This commit is contained in:
Andras Timar
2013-11-13 10:23:59 +01:00
parent 85d584416f
commit 97747499b2

View File

@@ -190,6 +190,11 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet)
get<VclContainer>("filedlgframe")->Hide();
#if !defined(MACOSX) && ! ENABLE_GTK
get<VclContainer>("printdlgframe")->Hide();
#else
if (!SvtMiscOptions().IsExperimentalMode())
{
get<VclContainer>("printdlgframe")->Hide();
}
#endif
get(m_pFileDlgCB, "filedlg");
get(m_pPrintDlgCB, "printdlg");