diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-09-27 12:10:16 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-11-19 08:37:05 +0100 |
commit | adc8dfe0faa36ffc40e5193c25bf303a6bda91c0 (patch) | |
tree | 122ef8dc943ccb71a5b615b8f6263e1a32253681 /dbaccess | |
parent | d5b887e2329c1d37c1bc368a4bc89d50e561e06a (diff) |
Fix _REFESH_ -> _REFRESH_
It passed "make check" on Linux.
Change-Id: I3ec957f3cab6da2790976ed67e2514d58d3e141b
Reviewed-on: https://gerrit.libreoffice.org/61044
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess')
-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); |