diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-09-24 08:19:07 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-09-24 08:19:07 +0000 |
commit | 3000faccaf963e614ee49e63a206a1c229d456e5 (patch) | |
tree | f39a52bcdd564dd0a6cf6cc7def409ab66c1a144 /dbaccess/source/ui/tabledesign/TableFieldControl.cxx | |
parent | #103049# allow any as controldefault (diff) | |
download | core-3000faccaf963e614ee49e63a206a1c229d456e5.tar.gz core-3000faccaf963e614ee49e63a206a1c229d456e5.zip |
#103049# change handling of controlDefault, allow string and doubles
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableFieldControl.cxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableFieldControl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx index 7d8639f881ce..898cdf452531 100644 --- a/dbaccess/source/ui/tabledesign/TableFieldControl.cxx +++ b/dbaccess/source/ui/tabledesign/TableFieldControl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: TableFieldControl.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: oj $ $Date: 2002-07-26 09:35:15 $ + * last change: $Author: oj $ $Date: 2002-09-24 09:19:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -99,7 +99,7 @@ void OTableFieldControl::CellModified(long nRow, sal_uInt16 nColId ) GetCtrl()->CellModified(nRow,nColId); } //------------------------------------------------------------------ -OTableEditorCtrl* OTableFieldControl::GetCtrl() +OTableEditorCtrl* OTableFieldControl::GetCtrl() const { OTableDesignView* pDesignWin = static_cast<OTableDesignView*>(GetParent()->GetParent()->GetParent()->GetParent()); OSL_ENSURE(pDesignWin,"no view!"); @@ -167,7 +167,7 @@ void OTableFieldControl::SetModified(BOOL bModified) return xCon->getMetaData(); } // ----------------------------------------------------------------------------- -Reference< XNumberFormatter > OTableFieldControl::GetFormatter() +Reference< XNumberFormatter > OTableFieldControl::GetFormatter() const { return GetCtrl()->GetView()->getController()->getNumberFormatter(); } |