summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-04-02 05:25:49 +0000
committerOcke Janssen <oj@openoffice.org>2002-04-02 05:25:49 +0000
commit744148427cb88e7a85691c345af40fcb84e0f94b (patch)
tree01fd516a86efcc653c76751fa55b5b8765fa2204 /dbaccess/source
parent261d076e5814deeb2ed2086439179942f66b16fe (diff)
#97156# insert inline before
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/inc/TableRow.hxx21
1 files changed, 11 insertions, 10 deletions
diff --git a/dbaccess/source/ui/inc/TableRow.hxx b/dbaccess/source/ui/inc/TableRow.hxx
index 15ad1eff40e5..21b801648d34 100644
--- a/dbaccess/source/ui/inc/TableRow.hxx
+++ b/dbaccess/source/ui/inc/TableRow.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TableRow.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: fs $ $Date: 2001-06-12 09:58:54 $
+ * last change: $Author: oj $ $Date: 2002-04-02 06:25:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -99,23 +99,24 @@ namespace dbaui
OTableRow( const OTableRow& rRow, long nPosition = -1 );
virtual ~OTableRow();
- OFieldDescription* GetActFieldDescr() const { return m_pActFieldDescr; }
+ inline OFieldDescription* GetActFieldDescr() const { return m_pActFieldDescr; }
+ inline bool isValid() const { return GetActFieldDescr() != NULL; }
void SetFieldType( const OTypeInfo* _pType, sal_Bool _bForce = sal_False );
void SetPrimaryKey( BOOL bSet );
BOOL IsPrimaryKey() const;
- long GetPos() const { return m_nPos; }
+ inline long GetPos() const { return m_nPos; }
- void SetReadOnly( BOOL bRead=TRUE ){ m_bReadOnly = bRead; }
- BOOL IsReadOnly() const { return m_bReadOnly; }
+ inline void SetReadOnly( BOOL bRead=TRUE ){ m_bReadOnly = bRead; }
+ inline BOOL IsReadOnly() const { return m_bReadOnly; }
- void SetFirstNameModify( BOOL bMod ){ m_bFirstNameModify = bMod; }
- void SetFirstDescrModify( BOOL bMod ){ m_bFirstDescrModify = bMod; }
+ inline void SetFirstNameModify( BOOL bMod ){ m_bFirstNameModify = bMod; }
+ inline void SetFirstDescrModify( BOOL bMod ){ m_bFirstDescrModify = bMod; }
- BOOL IsFirstNameModify() const { return m_bFirstNameModify; }
- BOOL IsFirstDescrModify() const { return m_bFirstDescrModify; }
+ inline BOOL IsFirstNameModify() const { return m_bFirstNameModify; }
+ inline BOOL IsFirstDescrModify() const { return m_bFirstDescrModify; }
friend SvStream& operator<<( SvStream& rStr,const OTableRow& _rRow );
friend SvStream& operator>>( SvStream& rStr, OTableRow& _rRow );