summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-rw-r--r--dbaccess/source/ui/tabledesign/FieldDescriptions.cxx8
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.cxx4
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.hxx2
3 files changed, 1 insertions, 13 deletions
diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
index f7ea19a66701..8922c959fb86 100644
--- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
+++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
@@ -600,15 +600,7 @@ bool OFieldDescription::IsAutoIncrement() const
return m_bIsAutoIncrement;
}
-bool OFieldDescription::IsPrimaryKey() const
-{
- return m_bIsPrimaryKey;
-}
-bool OFieldDescription::IsCurrency() const
-{
- return m_bIsCurrency;
-}
bool OFieldDescription::IsNullable() const
{
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index 0954b2098a2b..4d71f7a039ea 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -169,10 +169,6 @@ SfxUndoManager& OTableEditorCtrl::GetUndoManager() const
return GetView()->getController().GetUndoManager();
}
-bool OTableEditorCtrl::IsReadOnly()
-{
- return bReadOnly;
-}
void OTableEditorCtrl::SetReadOnly( bool bRead )
{
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx
index af84754d2080..d09060a24458 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.hxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx
@@ -160,7 +160,7 @@ namespace dbaui
bool IsCutAllowed( long nRow = -1 );
bool IsCopyAllowed( long nRow = -1 );
bool IsPasteAllowed( long nRow = -1 );
- bool IsReadOnly();
+ bool IsReadOnly() { return bReadOnly;}
OFieldDescription* GetFieldDescr( long nRow );
// window overloads