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

Caolán McNamara caolanm at redhat.com
Tue Oct 15 08:35:24 PDT 2013


 sfx2/source/doc/templatedlg.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 1b0f568853a04158d69e49edbc77a0f3464e5fa1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 15 16:34:46 2013 +0100

    silence Non-Layout Enabled Page is visible warning
    
    Change-Id: Ib5daaaae02d774e2d47ad0dbc36444a50e03b539

diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 1da6adb..22271ba 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -165,10 +165,15 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg (Window *parent)
       mbIsSynced(false),
       maRepositories()
 {
+    maTabPage.Hide();
     maTabControl.SetTabPage( FILTER_DOCS, &maTabPage );
+    maTabPage.Hide();
     maTabControl.SetTabPage( FILTER_SHEETS, &maTabPage );
+    maTabPage.Hide();
     maTabControl.SetTabPage( FILTER_PRESENTATIONS, &maTabPage );
+    maTabPage.Hide();
     maTabControl.SetTabPage( FILTER_DRAWS, &maTabPage );
+    maTabPage.Show();
 
     // Create popup menus
     mpActionMenu = new PopupMenu;


More information about the Libreoffice-commits mailing list