summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 11:41:08 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 09:18:53 +0000
commitee495c299b3d70b7a7099c51c6badf35a23f9a96 (patch)
tree4c40a59358a1df56ae850076f3802f9909513abd /include/connectivity
parente4af83972e6be8b94772e46741500225ac166774 (diff)
Fix typos
Change-Id: I389542e18fcf71011f22919743b5280779f449fd Reviewed-on: https://gerrit.libreoffice.org/35632 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/dbexception.hxx2
-rw-r--r--include/connectivity/sqlerror.hxx2
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