[Libreoffice-commits] core.git: dbaccess/inc dbaccess/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 19 07:37:26 UTC 2018
dbaccess/inc/strings.hrc | 2 +-
dbaccess/source/core/api/RowSetCache.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit adc8dfe0faa36ffc40e5193c25bf303a6bda91c0
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Sep 27 12:10:16 2018 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Nov 19 08:37:05 2018 +0100
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 at yahoo.fr>
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);
More information about the Libreoffice-commits
mailing list