summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-08-24 18:48:43 +0200
committerJens Carl <j.carl43@gmx.de>2018-08-24 19:50:05 +0200
commitc112c984af1352bf8653e99ef90db644bf24065a (patch)
treea5726ca4d9122a5f89e2d1261238c7d8fa692747
parent26b40fcfc67480e75bd9959b0c5cb9db10fdf6a1 (diff)
Fix typos
Change-Id: Ie6e3f3edabcd1ef9b44aefeb81ea84ca28654606 Reviewed-on: https://gerrit.libreoffice.org/59578 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
-rw-r--r--connectivity/source/drivers/hsqldb/HTable.cxx2
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_general.cxx2
-rw-r--r--filter/source/pdf/impdialog.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/hsqldb/HTable.cxx b/connectivity/source/drivers/hsqldb/HTable.cxx
index a05d004ee864..86683d50d822 100644
--- a/connectivity/source/drivers/hsqldb/HTable.cxx
+++ b/connectivity/source/drivers/hsqldb/HTable.cxx
@@ -214,7 +214,7 @@ void SAL_CALL OHSQLTable::alterColumnByName( const OUString& colName, const Refe
|| bOldAutoIncrement != bAutoIncrement )
{
// special handling because they change the type names to distinguish
- // if a column should be an auto_incmrement one
+ // if a column should be an auto_increment one
if ( bOldAutoIncrement != bAutoIncrement )
{
/// TODO: insert special handling for auto increment "IDENTITY" and primary key
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_general.cxx b/connectivity/source/drivers/mysqlc/mysqlc_general.cxx
index 1e5a6026a5d0..126c9940a895 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_general.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_general.cxx
@@ -87,7 +87,7 @@ void allocateSqlVar(void** mem, enum_field_types eType, unsigned nSize)
}
}
-/// Use this intead of mysql_real_escape_string, because that one also escapes
+/// Use this instead of mysql_real_escape_string, because that one also escapes
/// single quote ('), which should not be escaped
rtl::OString escapeSql(const rtl::OString& from)
{
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 255aaa7d0257..59aca05f0efb 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -1176,7 +1176,7 @@ IMPL_LINK_NOARG(ImpPDFTabSecurityPage, ClickmaPbSetPwdHdl, weld::Button&, void)
mxPreparedPasswords = vcl::PDFWriter::InitEncryption( aOwnerPW, aUserPW );
if (!mxPreparedPasswords.is()) {
OUString msg;
- ErrorHandler::GetErrorString(ERRCODE_IO_NOTSUPPORTED, msg); //TOOD: handle failure
+ ErrorHandler::GetErrorString(ERRCODE_IO_NOTSUPPORTED, msg); //TODO: handle failure
std::unique_ptr<weld::MessageDialog>(
Application::CreateMessageDialog(
GetFrameWeld(), VclMessageType::Error, VclButtonsType::Ok, msg))