From 7f73bb5b44202431f4d07b283e47b1bc0a1a651e Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 2 Jul 2015 18:23:45 +0200 Subject: Fix typos Change-Id: I8e429d1f03aac7c7cdb7ff4b43b3f46d40292510 Reviewed-on: https://gerrit.libreoffice.org/16709 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- oox/inc/drawingml/chart/axismodel.hxx | 2 +- oox/source/core/binarycodec.cxx | 2 +- oox/source/ppt/pptfilterhelpers.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'oox') diff --git a/oox/inc/drawingml/chart/axismodel.hxx b/oox/inc/drawingml/chart/axismodel.hxx index 949f2848f731..9a38cb149847 100644 --- a/oox/inc/drawingml/chart/axismodel.hxx +++ b/oox/inc/drawingml/chart/axismodel.hxx @@ -76,7 +76,7 @@ struct AxisModel sal_Int32 mnLabelOffset; /// Tick mark label distance from axis. sal_Int32 mnMajorTickMark; /// Major tick mark style. sal_Int32 mnMajorTimeUnit; /// Time unit for major tick marks on date axis. - sal_Int32 mnMinorTickMark; /// Mainor tick mark style. + sal_Int32 mnMinorTickMark; /// Minor tick mark style. sal_Int32 mnMinorTimeUnit; /// Time unit for minor tick marks on date axis. sal_Int32 mnOrientation; /// Axis orientation (value order min to max, or max to min). sal_Int32 mnTickLabelPos; /// Position of tick mark labels relative to the axis. diff --git a/oox/source/core/binarycodec.cxx b/oox/source/core/binarycodec.cxx index 43eb3dca1dd5..49fa30325075 100644 --- a/oox/source/core/binarycodec.cxx +++ b/oox/source/core/binarycodec.cxx @@ -378,7 +378,7 @@ bool BinaryCodec_RCF::startBlock( sal_Int32 nCounter ) rtlCipherError eResult = rtl_cipher_init( mhCipher, rtl_Cipher_DirectionDecode, pnKeyData, RTL_DIGEST_LENGTH_MD5, 0, 0 ); - // rrase key data array and leave + // erase key data array and leave rtl_secureZeroMemory (pnKeyData, sizeof(pnKeyData)); return eResult == rtl_Cipher_E_None; } diff --git a/oox/source/ppt/pptfilterhelpers.cxx b/oox/source/ppt/pptfilterhelpers.cxx index a5f145b7ed17..941c5487ce78 100644 --- a/oox/source/ppt/pptfilterhelpers.cxx +++ b/oox/source/ppt/pptfilterhelpers.cxx @@ -158,7 +158,7 @@ namespace oox { namespace ppt { // this was ppt_ without an interesting thing after that // just copy it verbatim sRes.append("ppt_"); - // we are going to adjust for ppt_@ after the swtich + // we are going to adjust for ppt_@ after the switch // so compensate for the fact we did not really process // an extra character after ppt_ nIndex -= 1; -- cgit v1.2.3