summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-11-13 10:23:59 +0100
committerAndras Timar <andras.timar@collabora.com>2013-11-13 10:28:22 +0100
commit97747499b26314bb308b12cd331bf0d99f21c96c (patch)
tree8f36e3f61c80c66b683f5cbe25af7750ce036595 /cui
parent85d584416fd7d51a397807597b5f36e39820a317 (diff)
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
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 08873a5c760c..f33d7b83e18a 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -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");