From 1a8915ef8302b13b781977209ae1fa41f5f659dc Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 29 Jun 2015 16:56:44 +0200 Subject: Fix typos Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins Reviewed-by: Andras Timar --- sc/source/core/data/tabprotection.cxx | 2 +- sc/source/filter/inc/tokstack.hxx | 2 +- sc/source/filter/inc/xlescher.hxx | 2 +- sc/source/filter/xml/xmlexprt.cxx | 2 +- sc/source/ui/pagedlg/areasdlg.cxx | 2 +- sc/source/ui/vba/vbarange.cxx | 2 +- sc/source/ui/view/printfun.cxx | 2 +- sc/source/ui/view/tabcont.cxx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sc') diff --git a/sc/source/core/data/tabprotection.cxx b/sc/source/core/data/tabprotection.cxx index 6ee899d82a33..1c20c2630190 100644 --- a/sc/source/core/data/tabprotection.cxx +++ b/sc/source/core/data/tabprotection.cxx @@ -246,7 +246,7 @@ Sequence ScTableProtectionImpl::getPasswordHash( Sequence aPassHash; if (mbEmptyPass) - // Flaged as empty. + // Flagged as empty. return aPassHash; if (!maPassText.isEmpty()) diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx index bb81bdf93388..8baef985da0e 100644 --- a/sc/source/filter/inc/tokstack.hxx +++ b/sc/source/filter/inc/tokstack.hxx @@ -312,7 +312,7 @@ inline TokenPool& TokenPool::operator <<( const TokenId& rId ) inline TokenPool& TokenPool::operator <<( const DefTokenId eId ) { OSL_ENSURE( ( sal_uInt32 ) eId + nScTokenOff < 0xFFFF, - "-TokenPool::operator<<: enmum too large!" ); + "-TokenPool::operator<<: enum too large!" ); if( nP_IdAkt >= nP_Id ) if (!GrowId()) diff --git a/sc/source/filter/inc/xlescher.hxx b/sc/source/filter/inc/xlescher.hxx index a46aca9121e9..f8afb4ef8701 100644 --- a/sc/source/filter/inc/xlescher.hxx +++ b/sc/source/filter/inc/xlescher.hxx @@ -279,7 +279,7 @@ const sal_uInt16 EXC_ID_MSODRAWINGSEL = 0x00ED; const sal_uInt16 EXC_ID_TXO = 0x01B6; -// TXO constants are eqzal to BIFF5 OBJ text object flags +// TXO constants are equal to BIFF5 OBJ text object flags // Structs and classes ======================================================== diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index c67090eb880b..652823a10e5d 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -3398,7 +3398,7 @@ void ScXMLExport::ExportShape(const uno::Reference < drawing::XShape >& xShape, } boost::scoped_ptr< SvXMLElementExport > pDrawA; - // enlose shapes with element only if sHlink contains something + // enclose shapes with element only if sHlink contains something if ( !sHlink.isEmpty() ) { // need to get delete the attributes that are pre-loaded diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx index 273e14368bdc..82f5260f7d17 100644 --- a/sc/source/ui/pagedlg/areasdlg.cxx +++ b/sc/source/ui/pagedlg/areasdlg.cxx @@ -478,7 +478,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, PushButton*, pBtn ) // Druckbereich veraendert? - // first try the list box, if "Entite sheet" is selected + // first try the list box, if "Entire sheet" is selected bool bEntireSheet = (pLbPrintArea->GetSelectEntryPos() == SC_AREASDLG_PR_ENTIRE); SfxBoolItem aEntireSheet( FN_PARAM_4, bEntireSheet ); diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index bf31b237bed0..92a1ea9ebf58 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -1401,7 +1401,7 @@ table::CellRangeAddress getCellRangeAddressForVBARange( const uno::Any& aParam, break; default: - throw uno::RuntimeException("Can't extact CellRangeAddress from type" ); + throw uno::RuntimeException("Can't extract CellRangeAddress from type" ); } return lclGetRangeAddress( xRangeParam ); } diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 716cf99849d4..2b4bb74e5ff4 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -1256,7 +1256,7 @@ void ScPrintFunc::DrawBorder( long nScrX, long nScrY, long nScrW, long nScrH, long nEffHeight = nScrH - nTop - nBottom; long nEffWidth = nScrW - nLeft - nRight; if (nEffHeight<=0 || nEffWidth<=0) - return; // enmpty + return; // empty if ( pBackground ) { diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index c83383d24ec0..6f2ea426cc75 100644 --- a/sc/source/ui/view/tabcont.cxx +++ b/sc/source/ui/view/tabcont.cxx @@ -198,7 +198,7 @@ void ScTabControl::MouseButtonUp( const MouseEvent& rMEvt ) if( nMouseClickPageId == 0 ) { // Click in the area next to the existing tabs: - // #i70320# if several sheets are selected, deselect all ecxept the current sheet, + // #i70320# if several sheets are selected, deselect all except the current sheet, // otherwise add new sheet sal_uInt16 nSlot = ( GetSelectPageCount() > 1 ) ? FID_TAB_DESELECTALL : FID_INS_TABLE; SfxDispatcher* pDispatcher = pViewData->GetViewShell()->GetViewFrame()->GetDispatcher(); -- cgit