diff options
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/dbexception.hxx | 2 | ||||
-rw-r--r-- | include/connectivity/sqlerror.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/connectivity/dbexception.hxx b/include/connectivity/dbexception.hxx index 40c6066eddeb..0742d5b69224 100644 --- a/include/connectivity/dbexception.hxx +++ b/include/connectivity/dbexception.hxx @@ -123,7 +123,7 @@ public: SQLExceptionInfo& operator=(const css::uno::Any& _rCaughtSQLException); bool isKindOf(TYPE _eType) const; - // not just a simple comparisation ! e.g. getType() == SQL_CONTEXT implies isKindOf(SQL_EXCEPTION) == sal_True ! + // not just a simple comparison ! e.g. getType() == SQL_CONTEXT implies isKindOf(SQL_EXCEPTION) == sal_True ! bool isValid() const { return m_eType != TYPE::Undefined; } TYPE getType() const { return m_eType; } diff --git a/include/connectivity/sqlerror.hxx b/include/connectivity/sqlerror.hxx index fda344f0c19f..cba93313abb9 100644 --- a/include/connectivity/sqlerror.hxx +++ b/include/connectivity/sqlerror.hxx @@ -87,7 +87,7 @@ namespace connectivity Some error messages need to contain references to runtime-dependent data (say, the name of a concrete table in the database), which in the resource file's strings are represented by a placeholder, namely $1$, $2, and so on. This method allows to - retrieve such an error message, and replace upo to 3 placeholders with their concrete + retrieve such an error message, and replace up to 3 placeholders with their concrete values. In a non-product build, assertions will fire if the number of placeholders in the |