[Libreoffice-commits] core.git: cui/source

Andras Timar andras.timar at collabora.com
Wed Nov 13 01:19:48 PST 2013


 cui/source/options/optgdlg.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 97747499b26314bb308b12cd331bf0d99f21c96c
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Nov 13 10:23:59 2013 +0100

    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

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 08873a5..f33d7b8 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");


More information about the Libreoffice-commits mailing list