summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/api/TableDeco.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-18 10:02:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-18 10:08:43 +0100
commit1807db242a09f11235c76499df14210b0880fa26 (patch)
tree67741daaafdf720dac9abb05ffc0c0978bf512fe /dbaccess/source/core/api/TableDeco.cxx
parent4ebc17755855df3a3c1f07a8f5a829d555040d34 (diff)
DBACORE_RESSTRING can go now
Change-Id: I0d1f5372dc6a29af62d3d85c5f771e1e8884626e
Diffstat (limited to 'dbaccess/source/core/api/TableDeco.cxx')
-rw-r--r--dbaccess/source/core/api/TableDeco.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx
index e3ecc4113cd0..02e83ef1b336 100644
--- a/dbaccess/source/core/api/TableDeco.cxx
+++ b/dbaccess/source/core/api/TableDeco.cxx
@@ -394,7 +394,7 @@ void SAL_CALL ODBTableDecorator::rename( const OUString& _rNewName )
xRename->rename(_rNewName);
}
else // not supported
- throw SQLException(DBACORE_RESSTRING(RID_STR_NO_TABLE_RENAME),*this,SQLSTATE_GENERAL,1000,Any() );
+ throw SQLException(DBA_RES(RID_STR_NO_TABLE_RENAME),*this,SQLSTATE_GENERAL,1000,Any() );
}
// XAlterTable,
@@ -408,7 +408,7 @@ void SAL_CALL ODBTableDecorator::alterColumnByName( const OUString& _rName, cons
xAlter->alterColumnByName(_rName,_rxDescriptor);
}
else
- throw SQLException(DBACORE_RESSTRING(RID_STR_COLUMN_ALTER_BY_NAME),*this,SQLSTATE_GENERAL,1000,Any() );
+ throw SQLException(DBA_RES(RID_STR_COLUMN_ALTER_BY_NAME),*this,SQLSTATE_GENERAL,1000,Any() );
if(m_pColumns)
m_pColumns->refresh();
}
@@ -425,7 +425,7 @@ void SAL_CALL ODBTableDecorator::alterColumnByIndex( sal_Int32 _nIndex, const Re
m_pColumns->refresh();
}
else // not supported
- throw SQLException(DBACORE_RESSTRING(RID_STR_COLUMN_ALTER_BY_INDEX),*this,SQLSTATE_GENERAL,1000,Any() );
+ throw SQLException(DBA_RES(RID_STR_COLUMN_ALTER_BY_INDEX),*this,SQLSTATE_GENERAL,1000,Any() );
}
Reference< XNameAccess> ODBTableDecorator::getIndexes()