diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/compressedarray.hxx | 2 | ||||
-rw-r--r-- | sc/inc/document.hxx | 2 | ||||
-rw-r--r-- | sc/qa/complex/cellRanges/CheckXCellRangesQuery.java | 2 | ||||
-rw-r--r-- | sc/qa/complex/dataPilot/CheckDataPilot.java | 2 | ||||
-rw-r--r-- | sc/qa/complex/sc/CalcRTL.java | 2 | ||||
-rw-r--r-- | sc/source/core/data/column2.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/tabprotection.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xetable.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 2 |
10 files changed, 12 insertions, 12 deletions
diff --git a/sc/inc/compressedarray.hxx b/sc/inc/compressedarray.hxx index 1fe2f4479d55..78f7e5ac3973 100644 --- a/sc/inc/compressedarray.hxx +++ b/sc/inc/compressedarray.hxx @@ -434,7 +434,7 @@ public: // === ScBitMaskCompressedArray ============================================== -/** The data type represents bits, managable by bitwise operations. +/** The data type represents bits, manageable by bitwise operations. */ template< typename A, typename D > class ScBitMaskCompressedArray : public ScCompressedArray<A,D> diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 9f53c034bc22..d9f5e196567d 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1432,7 +1432,7 @@ public: SCROW GetNextDifferentChangedRow( SCTAB nTab, SCROW nStart, bool bCareManualSize = true) const; // returns whether to export a Default style for this col/row or not - // nDefault is setted to one position in the current row/col where the Default style is + // nDefault is set to one position in the current row/col where the Default style is sal_Bool GetColDefault( SCTAB nTab, SCCOL nCol, SCROW nLastRow, SCROW& nDefault); sal_Bool GetRowDefault( SCTAB nTab, SCROW nRow, SCCOL nLastCol, SCCOL& nDefault); diff --git a/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java b/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java index b936c72c5829..d1848eaa41e3 100644 --- a/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java +++ b/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java @@ -83,7 +83,7 @@ public class CheckXCellRangesQuery /* extends ComplexTestCase */ { System.out.println( "creating a Spreadsheet document" ); m_xSheetDoc = SOF.createCalcDoc(null); } catch ( com.sun.star.uno.Exception e ) { - // Some exception occures.FAILED + // Some exception occured.FAILED e.printStackTrace( ); fail( "Couldn?t create document"); } diff --git a/sc/qa/complex/dataPilot/CheckDataPilot.java b/sc/qa/complex/dataPilot/CheckDataPilot.java index 8d7828e0fbfb..cfa50ae925c5 100644 --- a/sc/qa/complex/dataPilot/CheckDataPilot.java +++ b/sc/qa/complex/dataPilot/CheckDataPilot.java @@ -195,7 +195,7 @@ public class CheckDataPilot { System.out.println( "Creating a Spreadsheet document" ); xSheetDoc = SOF.createCalcDoc(null); } catch (com.sun.star.uno.Exception e) { - // Some exception occures.FAILED + // Some exception occured.FAILED e.printStackTrace(); throw new StatusException( "Couldn't create document", e ); } diff --git a/sc/qa/complex/sc/CalcRTL.java b/sc/qa/complex/sc/CalcRTL.java index 21832ef549ee..7c2c07d5b1f4 100644 --- a/sc/qa/complex/sc/CalcRTL.java +++ b/sc/qa/complex/sc/CalcRTL.java @@ -232,7 +232,7 @@ public class CalcRTL /* extends ComplexTestCase */ System.out.println("creating a sheetdocument"); xSheetDoc = SOF.createCalcDoc(null); } catch (com.sun.star.uno.Exception e) { - // Some exception occures.FAILED + // Some exception occured.FAILED worked = false; e.printStackTrace(/*(PrintWriter) log*/ System.out); } diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index 8c3f8fbfb539..48e7b7c93384 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -442,7 +442,7 @@ long ScColumn::GetNeededSize( SCROW nRow, OutputDevice* pDev, SfxItemSet* pSet = new SfxItemSet( pEngine->GetEmptyItemSet() ); pPattern->FillEditItemSet( pSet, pCondSet ); -// no longer needed, are setted with the text (is faster) +// no longer needed, are set with the text (is faster) // pEngine->SetDefaults( pSet ); if ( ((const SfxBoolItem&)pSet->Get(EE_PARA_HYPHENATE)).GetValue() ) { diff --git a/sc/source/core/data/tabprotection.cxx b/sc/source/core/data/tabprotection.cxx index fe867a338e83..21a38f8a40b0 100644 --- a/sc/source/core/data/tabprotection.cxx +++ b/sc/source/core/data/tabprotection.cxx @@ -194,7 +194,7 @@ bool ScTableProtectionImpl::hasPasswordHash(ScPasswordHash eHash) const Sequence<sal_Int8> ScTableProtectionImpl::getPasswordHash(ScPasswordHash eHash) const { if (mbEmptyPass) - // Flaged as empty. + // Flagged as empty. return Sequence<sal_Int8>(); if (maPassText.Len()) diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index 4cd1cdccb7ce..9afba33b7b9c 100644 --- a/sc/source/filter/excel/xetable.cxx +++ b/sc/source/filter/excel/xetable.cxx @@ -1877,7 +1877,7 @@ void XclExpRow::Finalize( const ScfUInt16Vec& rColXFIndexes ) // *** Fill gaps with BLANK/MULBLANK cell records *** --------------------- - /* This is needed because nonexistant cells in Calc are not formatted at all, + /* This is needed because nonexistent cells in Calc are not formatted at all, but in Excel they would have the column default format. Blank cells that are equal to the respective column default are removed later in this function. */ if( !mbAlwaysEmpty ) diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index cdc45fe68b2c..8bf1a994afb4 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -1643,7 +1643,7 @@ void ScXMLExport::_ExportContent() sal_Int32 nShapesCount(0); sal_Int32 nCellCount(pDoc ? pDoc->GetCellCount() : 0); CollectSharedData(nTableCount, nShapesCount, nCellCount); - DBG_ERROR("no shared data setted"); + DBG_ERROR("no shared data set"); } ScXMLExportDatabaseRanges aExportDatabaseRanges(*this); if (!GetModel().is()) @@ -1864,7 +1864,7 @@ void ScXMLExport::_ExportStyles( sal_Bool bUsed ) sal_Int32 nShapesCount(0); sal_Int32 nCellCount(pDoc ? pDoc->GetCellCount() : 0); CollectSharedData(nTableCount, nShapesCount, nCellCount); - //DBG_ERROR("no shared data setted"); + //DBG_ERROR("no shared data set"); } ScXMLStyleExport aStylesExp(*this, rtl::OUString(), GetAutoStylePool().get()); if (GetModel().is()) @@ -2445,7 +2445,7 @@ void ScXMLExport::_ExportAutoStyles() sal_Int32 nShapesCount(0); sal_Int32 nCellCount(pDoc ? pDoc->GetCellCount() : 0); CollectSharedData(nTableCount, nShapesCount, nCellCount); - //DBG_ERROR("no shared data setted"); + //DBG_ERROR("no shared data set"); } sal_Int32 nTableCount(xIndex->getCount()); pCellStyles->AddNewTable(nTableCount - 1); diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 32dc27934f41..b008ed273893 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -3966,7 +3966,7 @@ ScVbaRange::setRowHeight( const uno::Any& _rowheight) throw (uno::RuntimeExcepti } return; } - double nHeight = 0; // Incomming height is in points + double nHeight = 0; // Incoming height is in points _rowheight >>= nHeight; nHeight = lcl_Round2DecPlaces( nHeight ); RangeHelper thisRange( mxRange ); |