diff options
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TEditControl.hxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TEditControl.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx index d017e2526d29..fe916961ca1a 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.hxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx @@ -144,7 +144,7 @@ namespace dbaui std::vector< std::shared_ptr<OTableRow> >* GetRowList(){ return m_pRowList; } - const std::shared_ptr<OTableRow>& GetActRow(){ return pActRow; } + const std::shared_ptr<OTableRow>& GetActRow() const { return pActRow; } void CellModified( long nRow, sal_uInt16 nColId ); void SetReadOnly( bool bRead ); @@ -153,8 +153,8 @@ namespace dbaui bool IsCutAllowed(); bool IsCopyAllowed(); - bool IsPasteAllowed(); - bool IsReadOnly() { return bReadOnly;} + bool IsPasteAllowed() const; + bool IsReadOnly() const { return bReadOnly;} OFieldDescription* GetFieldDescr( long nRow ); // Window overrides |