summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign/TableUndo.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-04-24 13:32:28 +0000
committerOcke Janssen <oj@openoffice.org>2001-04-24 13:32:28 +0000
commita940d5306a8ead308eeb4a7452a27ed3a6af1cb6 (patch)
treed05c54cdf8fc90e93a6314f8f684575caddb200f /dbaccess/source/ui/tabledesign/TableUndo.cxx
parente55c84b315c7b81eb9bfd3bf5c439435098e58b7 (diff)
impl menu
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableUndo.cxx')
-rw-r--r--dbaccess/source/ui/tabledesign/TableUndo.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableUndo.cxx b/dbaccess/source/ui/tabledesign/TableUndo.cxx
index 887ab3919259..44674198383f 100644
--- a/dbaccess/source/ui/tabledesign/TableUndo.cxx
+++ b/dbaccess/source/ui/tabledesign/TableUndo.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TableUndo.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2001-03-22 07:54:07 $
+ * last change: $Author: oj $ $Date: 2001-04-24 14:32:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -219,6 +219,8 @@ void OTableEditorTypeSelUndoAct::Undo()
OFieldDescription* pFieldDesc = pTabEdCtrl->GetActRow()->GetActFieldDescr();
if(pFieldDesc)
m_pNewType = pFieldDesc->getTypeInfo();
+ else
+ m_pNewType = NULL;
pTabEdCtrl->SetData(m_nRow,m_nCol,m_pOldType);
pTabEdCtrl->SwitchType( m_pOldType );