[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - dbaccess/source

Caolán McNamara caolanm at redhat.com
Tue Aug 12 01:29:04 PDT 2014


 dbaccess/source/ui/dlg/dlgattr.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2c57f8b716a5e8e378ac4fe85ef1d62a4fc65dce
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Aug 12 09:01:28 2014 +0100

    Resolves: fdo#82413 crash in format->column
    
    Change-Id: I3af776c14ec0f224884488fdc99ee26ebbba7cb8
    (cherry picked from commit e2d2fa4f0663cf990c0595f8827ff9123c88d41a)
    Reviewed-on: https://gerrit.libreoffice.org/10876
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/dbaccess/source/ui/dlg/dlgattr.cxx b/dbaccess/source/ui/dlg/dlgattr.cxx
index 0a83ba3..8af7569 100644
--- a/dbaccess/source/ui/dlg/dlgattr.cxx
+++ b/dbaccess/source/ui/dlg/dlgattr.cxx
@@ -39,13 +39,14 @@ SbaSbAttrDlg::SbaSbAttrDlg(Window* pParent, const SfxItemSet* pCellAttrs,
     : SfxTabDialog(pParent, "FieldDialog", "dbaccess/ui/fielddialog.ui", pCellAttrs)
     , m_nNumberFormatId(0)
 {
-
     pNumberInfoItem = new SvxNumberInfoItem( pFormatter, 0 );
 
     if (bRow)
         SetText(get<FixedText>("alttitle")->GetText());
     if (bHasFormat)
         m_nNumberFormatId = AddTabPage("format", RID_SVXPAGE_NUMBERFORMAT);
+    else
+        RemoveTabPage("format");
     AddTabPage("alignment", RID_SVXPAGE_ALIGNMENT);
 }
 


More information about the Libreoffice-commits mailing list