summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-22 18:44:31 +0200
committerCaolán McNamara <caolanm@redhat.com>2020-09-18 15:34:42 +0200
commit9b5558d9ec7359667e2fb773dc45795c02cc18a9 (patch)
tree9ead3eb16d7619f8e9a1de46c08ae36237706edc /sc/source
parent0b3136b347d92f5bb25e9a9f71acb2aca436c98e (diff)
Fix typo in code
Change-Id: If7f65f0e42fb13bc40d7c77511406122fa50f458 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101200 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/excel/impop.cxx2
-rw-r--r--sc/source/filter/excel/read.cxx2
-rw-r--r--sc/source/filter/inc/imp_op.hxx2
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