Kaydet (Commit) c112c984 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Jens Carl

Fix typos

Change-Id: Ie6e3f3edabcd1ef9b44aefeb81ea84ca28654606
Reviewed-on: https://gerrit.libreoffice.org/59578
Tested-by: Jenkins
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst 26b40fcf
...@@ -214,7 +214,7 @@ void SAL_CALL OHSQLTable::alterColumnByName( const OUString& colName, const Refe ...@@ -214,7 +214,7 @@ void SAL_CALL OHSQLTable::alterColumnByName( const OUString& colName, const Refe
|| bOldAutoIncrement != bAutoIncrement ) || bOldAutoIncrement != bAutoIncrement )
{ {
// special handling because they change the type names to distinguish // 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 ) if ( bOldAutoIncrement != bAutoIncrement )
{ {
/// TODO: insert special handling for auto increment "IDENTITY" and primary key /// TODO: insert special handling for auto increment "IDENTITY" and primary key
......
...@@ -87,7 +87,7 @@ void allocateSqlVar(void** mem, enum_field_types eType, unsigned nSize) ...@@ -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 /// single quote ('), which should not be escaped
rtl::OString escapeSql(const rtl::OString& from) rtl::OString escapeSql(const rtl::OString& from)
{ {
......
...@@ -1176,7 +1176,7 @@ IMPL_LINK_NOARG(ImpPDFTabSecurityPage, ClickmaPbSetPwdHdl, weld::Button&, void) ...@@ -1176,7 +1176,7 @@ IMPL_LINK_NOARG(ImpPDFTabSecurityPage, ClickmaPbSetPwdHdl, weld::Button&, void)
mxPreparedPasswords = vcl::PDFWriter::InitEncryption( aOwnerPW, aUserPW ); mxPreparedPasswords = vcl::PDFWriter::InitEncryption( aOwnerPW, aUserPW );
if (!mxPreparedPasswords.is()) { if (!mxPreparedPasswords.is()) {
OUString msg; 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>( std::unique_ptr<weld::MessageDialog>(
Application::CreateMessageDialog( Application::CreateMessageDialog(
GetFrameWeld(), VclMessageType::Error, VclButtonsType::Ok, msg)) GetFrameWeld(), VclMessageType::Error, VclButtonsType::Ok, msg))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment