diff options
Diffstat (limited to 'sc/source/core/tool/rangeseq.cxx')
-rw-r--r-- | sc/source/core/tool/rangeseq.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/core/tool/rangeseq.cxx b/sc/source/core/tool/rangeseq.cxx index d7b86780e562..95ccdc700ba4 100644 --- a/sc/source/core/tool/rangeseq.cxx +++ b/sc/source/core/tool/rangeseq.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,7 +54,7 @@ long lcl_DoubleToLong( double fVal ) if ( fInt >= LONG_MIN && fInt <= LONG_MAX ) return (long)fInt; else - return 0; // out of range + return 0; // out of range } BOOL ScRangeToSequence::FillLongArray( uno::Any& rAny, ScDocument* pDoc, const ScRange& rRange ) @@ -79,7 +79,7 @@ BOOL ScRangeToSequence::FillLongArray( uno::Any& rAny, ScDocument* pDoc, const S } rAny <<= aRowSeq; - return TRUE; //! check for errors + return TRUE; //! check for errors } @@ -135,7 +135,7 @@ BOOL ScRangeToSequence::FillDoubleArray( uno::Any& rAny, ScDocument* pDoc, const } rAny <<= aRowSeq; - return TRUE; //! check for errors + return TRUE; //! check for errors } @@ -194,7 +194,7 @@ BOOL ScRangeToSequence::FillStringArray( uno::Any& rAny, ScDocument* pDoc, const } rAny <<= aRowSeq; - return TRUE; //! check for errors + return TRUE; //! check for errors } @@ -242,13 +242,13 @@ BOOL ScRangeToSequence::FillStringArray( uno::Any& rAny, const ScMatrix* pMatrix double lcl_GetValueFromCell( ScBaseCell& rCell ) { - //! ScBaseCell member function? + //! ScBaseCell member function? CellType eType = rCell.GetCellType(); if ( eType == CELLTYPE_VALUE ) return ((ScValueCell&)rCell).GetValue(); else if ( eType == CELLTYPE_FORMULA ) - return ((ScFormulaCell&)rCell).GetValue(); // called only if result is value + return ((ScFormulaCell&)rCell).GetValue(); // called only if result is value DBG_ERROR( "GetValueFromCell: wrong type" ); return 0; @@ -292,7 +292,7 @@ BOOL ScRangeToSequence::FillMixedArray( uno::Any& rAny, ScDocument* pDoc, const rElement <<= rtl::OUString( pCell->GetStringData() ); } else - rElement <<= rtl::OUString(); // empty: empty string + rElement <<= rtl::OUString(); // empty: empty string } pRowAry[nRow] = aColSeq; } |