From 9b5558d9ec7359667e2fb773dc45795c02cc18a9 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 22 Aug 2020 18:44:31 +0200 Subject: Fix typo in code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If7f65f0e42fb13bc40d7c77511406122fa50f458 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101200 Tested-by: Jenkins Reviewed-by: Julien Nabet Reviewed-by: Caolán McNamara --- sc/source/filter/excel/impop.cxx | 2 +- sc/source/filter/excel/read.cxx | 2 +- sc/source/filter/inc/imp_op.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx index 8d32b1c16ce3..65c9ac9a3162 100644 --- a/sc/source/filter/excel/impop.cxx +++ b/sc/source/filter/excel/impop.cxx @@ -614,7 +614,7 @@ void ImportExcel::DocProtect() GetRoot().GetDocProtectBuffer().ReadDocProtect( aIn ); } -void ImportExcel::DocPasssword() +void ImportExcel::DocPassword() { if (GetRoot().GetBiff() != EXC_BIFF8) return; diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx index ba9ad1de8b7c..cf9465a37c95 100644 --- a/sc/source/filter/excel/read.cxx +++ b/sc/source/filter/excel/read.cxx @@ -1013,7 +1013,7 @@ ErrCode ImportExcel8::Read() } break; case 0x12: DocProtect(); break; // PROTECT [ 5678] - case 0x13: DocPasssword(); break; + case 0x13: DocPassword(); break; case 0x19: WinProtection(); break; case 0x2F: // FILEPASS [ 2345 ] eLastErr = XclImpDecryptHelper::ReadFilepass( maStrm ); diff --git a/sc/source/filter/inc/imp_op.hxx b/sc/source/filter/inc/imp_op.hxx index f94196470158..d60dd69843e0 100644 --- a/sc/source/filter/inc/imp_op.hxx +++ b/sc/source/filter/inc/imp_op.hxx @@ -139,7 +139,7 @@ protected: void Eof(); // 0x0A void DocProtect(); // 0x12 void SheetProtect(); // 0x12 Sheet Protection - void DocPasssword(); // 0x13 document password + void DocPassword(); // 0x13 document password void SheetPassword(); // 0x13 sheet password void Externsheet(); // 0x17 void WinProtection(); // 0x19 -- cgit