[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source

Caolán McNamara caolanm at redhat.com
Thu Jun 5 15:06:20 PDT 2014


 sw/source/ui/fmtui/tmpdlg.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 90ea159e62bc6c884906220d9a0a97f70ae9c7ad
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jun 5 13:49:14 2014 +0100

    Resolves: rhbz#1096747 crash/hang on format-page on html document
    
    Change-Id: I9a989620375eb210e553b84b7a642a0360c8f03f
    (cherry picked from commit 655377e90c57bb68e5000f06f76531baf9eeaa37)
    (cherry picked from commit 829aa9e03ae570e15af1f754b292709f38f643ea)
    Reviewed-on: https://gerrit.libreoffice.org/9650
    Tested-by: Michael Stahl <mstahl at redhat.com>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index bc224b7..7645249 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -290,6 +290,13 @@ SwTemplateDlg::SwTemplateDlg(Window* pParent,
                 if(!aCJKOptions.IsAsianTypographyEnabled())
                     RemoveTabPage("textgrid");
             }
+            else
+            {
+                RemoveTabPage("borders");
+                RemoveTabPage("columns");
+                RemoveTabPage("footnotes");
+                RemoveTabPage("textgrid");
+            }
         }
         break;
         // numbering styles


More information about the Libreoffice-commits mailing list