diff options
-rw-r--r-- | dbaccess/inc/strings.hrc | 2 | ||||
-rw-r--r-- | dbaccess/source/core/api/RowSetCache.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/inc/strings.hrc b/dbaccess/inc/strings.hrc index 7e67c0b77665..1ee472919014 100644 --- a/dbaccess/inc/strings.hrc +++ b/dbaccess/inc/strings.hrc @@ -46,7 +46,7 @@ #define RID_STR_NO_XQUERIESSUPPLIER NC_("RID_STR_NO_XQUERIESSUPPLIER", "The interface XQueriesSupplier is not available.") #define RID_STR_NO_ABS_ZERO NC_("RID_STR_NO_ABS_ZERO", "An 'absolute(0)' call is not allowed.") #define RID_STR_NO_RELATIVE NC_("RID_STR_NO_RELATIVE", "Relative positioning is not allowed in this state.") -#define RID_STR_NO_REFESH_AFTERLAST NC_("RID_STR_NO_REFESH_AFTERLAST", "A row cannot be refreshed when the ResultSet is positioned after the last row.") +#define RID_STR_NO_REFRESH_AFTERLAST NC_("RID_STR_NO_REFRESH_AFTERLAST", "A row cannot be refreshed when the ResultSet is positioned after the last row.") #define RID_STR_NO_MOVETOINSERTROW_CALLED NC_("RID_STR_NO_MOVETOINSERTROW_CALLED", "A new row cannot be inserted when the ResultSet is not first moved to the insert row.") #define RID_STR_NO_UPDATEROW NC_("RID_STR_NO_UPDATEROW", "A row cannot be modified in this state") #define RID_STR_NO_DELETEROW NC_("RID_STR_NO_DELETEROW", "A row cannot be deleted in this state.") diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index ab47a8722846..d4443a17ee6a 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -1248,7 +1248,7 @@ bool ORowSetCache::previous( ) void ORowSetCache::refreshRow( ) { if(isAfterLast()) - throw SQLException(DBA_RES(RID_STR_NO_REFESH_AFTERLAST),nullptr,SQLSTATE_GENERAL,1000,Any() ); + throw SQLException(DBA_RES(RID_STR_NO_REFRESH_AFTERLAST),nullptr,SQLSTATE_GENERAL,1000,Any() ); OSL_ENSURE(m_aMatrixIter != m_pMatrix->end(),"refreshRow() called for invalid row!"); m_xCacheSet->refreshRow(); m_xCacheSet->fillValueRow(*m_aMatrixIter,m_nPosition); |