summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-31 19:29:31 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-01 12:29:39 +0200
commitee8f0a10661b747db9a82b9acba4de343a5a51d6 (patch)
treece9b6b2cf18caa73b8500245d558ff2ac484074d /sc
parent0940229305247b4e64e8c85c9734020c9808a6ec (diff)
Fix '..'
To complete this: https://gerrit.libreoffice.org/#/c/78312/ This is a massive replace for ".." instead of "..." between words. It passed "make check" on Linux. Change-Id: I144d8061fca9f545c762941551e59dffdd3650e8 Reviewed-on: https://gerrit.libreoffice.org/78357 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/rangenam.hxx2
-rw-r--r--sc/qa/unit/ucalc_formula.cxx4
-rw-r--r--sc/qa/unit/ucalc_sort.cxx4
-rw-r--r--sc/source/core/data/dociter.cxx2
-rw-r--r--sc/source/core/data/document10.cxx2
-rw-r--r--sc/source/core/data/formulacell.cxx4
-rw-r--r--sc/source/core/tool/compiler.cxx2
-rw-r--r--sc/source/core/tool/dbdata.cxx4
-rw-r--r--sc/source/core/tool/grouparealistener.cxx2
-rw-r--r--sc/source/core/tool/interpr1.cxx8
-rw-r--r--sc/source/core/tool/interpr4.cxx2
-rw-r--r--sc/source/core/tool/interpr7.cxx2
-rw-r--r--sc/source/core/tool/parclass.cxx2
-rw-r--r--sc/source/filter/excel/xltoolbar.hxx2
-rw-r--r--sc/source/filter/oox/workbooksettings.cxx2
-rw-r--r--sc/source/ui/vba/vbarange.cxx2
-rw-r--r--sc/source/ui/vba/vbaworksheet.cxx2
-rw-r--r--sc/source/ui/view/viewdata.cxx2
-rw-r--r--sc/source/ui/view/viewfunc.cxx4
19 files changed, 27 insertions, 27 deletions
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx
index 32bd0b3a7fe9..4ca0054050fd 100644
--- a/sc/inc/rangenam.hxx
+++ b/sc/inc/rangenam.hxx
@@ -99,7 +99,7 @@ public:
const ScAddress& rTarget );
// rTarget is ABSPOS jump label
- /* Exact copy, not recompiled, no other index (!), nothing.. except if
+ /* Exact copy, not recompiled, no other index (!), nothing... except if
* pDocument or pPos are passed, those values are assigned instead of the
* copies. */
ScRangeData( const ScRangeData& rScRangeData, ScDocument* pDocument = nullptr, const ScAddress* pPos = nullptr );
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 57b27ff1d215..b743e646f12e 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -4975,7 +4975,7 @@ void Test::testFuncIFERROR()
{ "=IFNA(A7;-7)", "-7" },
{ "=IFNA(VLOOKUP(\"4\";A8:A10;1;0);-2)", "4" },
{ "=IFNA(VLOOKUP(\"fop\";A8:A10;1;0);-2)", "-2" },
- { "{=IFERROR(3*A11:A12;1998)}[0]", "1998" }, // um.. this is not the correct way to insert a
+ { "{=IFERROR(3*A11:A12;1998)}[0]", "1998" }, // um... this is not the correct way to insert a
{ "{=IFERROR(3*A11:A12;1998)}[1]", "69" } // matrix formula, just a place holder, see below
};
@@ -8096,7 +8096,7 @@ void Test::testFuncMDETERM()
// 6.34413156928661e-17 instead of 0.0 (tdf#99730) so lower the bar to
// 10e-14.
// Then again on aarch64, ppc64* and s390x it also fails.
- // Sigh.. why do we even test this? The original complaint in tdf#32834
+ // Sigh... why do we even test this? The original complaint in tdf#32834
// was about -9.51712667007776E-016
CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE("Calculation of MDETERM incorrect for singular integer matrix",
0.0, m_pDoc->GetValue(aPos), 1e-14);
diff --git a/sc/qa/unit/ucalc_sort.cxx b/sc/qa/unit/ucalc_sort.cxx
index fe31e2a803a7..a527fce73ac0 100644
--- a/sc/qa/unit/ucalc_sort.cxx
+++ b/sc/qa/unit/ucalc_sort.cxx
@@ -1232,8 +1232,8 @@ void Test::testSortRefUpdate4_Impl()
/* FIXME: this test is not roll-over-midnight safe and will fail then! We may
* want to have something different, but due to the nature of volatile
* functions it's not that easy to come up with something reproducible staying
- * stable over sorts.. ;-) Check for time and don't run test a few seconds
- * before midnight, ermm.. */
+ * stable over sorts... ;-) Check for time and don't run test a few seconds
+ * before midnight, ermm... */
void Test::testSortRefUpdate5()
{
SortRefUpdateSetter aUpdateSet;
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 9772d7e82073..55f00ef10d22 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -1891,7 +1891,7 @@ bool ScQueryCellIterator::BinarySearch()
// If all hits didn't result in a moving limit there's something
// strange, e.g. data range not properly sorted, or only identical
// values encountered, which doesn't mean there aren't any others in
- // between.. leave it to GetThis(). The condition for this would be
+ // between... leave it to GetThis(). The condition for this would be
// if (nLastInRange == nFirstLastInRange) nLo = nFirstLastInRange;
// Else, in case no exact match was found, we step back for a
// subsequent GetThis() to find the last in range. Effectively this is
diff --git a/sc/source/core/data/document10.cxx b/sc/source/core/data/document10.cxx
index 064196ef6806..2cdc71b3374a 100644
--- a/sc/source/core/data/document10.cxx
+++ b/sc/source/core/data/document10.cxx
@@ -564,7 +564,7 @@ bool ScDocument::FindRangeNamesReferencingSheet( sc::UpdatedRangeNames& rIndexes
return false;
bool bRef = !bSameDoc; // include every name used when copying to other doc
- if (nRecursion < 126) // whatever.. 42*3
+ if (nRecursion < 126) // whatever... 42*3
{
formula::FormulaTokenArrayPlainIterator aIter(*pCode);
for (const formula::FormulaToken* p = aIter.First(); p; p = aIter.Next())
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index d82e58ef6ffe..5f5ab119cda6 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -103,7 +103,7 @@ struct DebugCalculationEntry
Either, somewhere set aDC.mbActive=true, or
aDC.maTrigger=ScAddress(col,row,tab) of interest from where to start.
This does not work for deep recursion > MAXRECURSION, the results are
- somewhat.. funny.. ;)
+ somewhat... funny... ;)
*/
static struct DebugCalculation
{
@@ -3854,7 +3854,7 @@ static void lcl_FindRangeNamesInUse(sc::UpdatedRangeNames& rIndexes, const ScTok
SCTAB nTab = p->GetSheet();
rIndexes.setUpdatedName( nTab, nTokenIndex);
- if (nRecursion < 126) // whatever.. 42*3
+ if (nRecursion < 126) // whatever... 42*3
{
ScRangeData* pSubName = pDoc->FindRangeNameBySheetAndIndex( nTab, nTokenIndex);
if (pSubName)
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index a70d0e1a5a96..64b418ec73ee 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -3872,7 +3872,7 @@ bool ScCompiler::IsTableRefColumn( const OUString& rName ) const
sal_Int32 nOffset = pDBData->GetColumnNameOffset( aName);
if (nOffset >= 0)
{
- // This is sneaky.. we always use the top row of the database range,
+ // This is sneaky... we always use the top row of the database range,
// regardless of whether it is a header row or not. Code evaluating
// this reference must take that into account and may have to act
// differently if it is a header-less table. Which are two places,
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index 867952b88683..656690085cf6 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -906,7 +906,7 @@ void ScDBData::Notify( const SfxHint& rHint )
// Only one cell of a range is broadcasted per area listener if
// multiple cells are affected. Expand the range to what this is
// listening to. Broadcasted address outside should not happen,
- // but.. let it trigger a refresh if.
+ // but... let it trigger a refresh if.
ScRange aHeaderRange( GetHeaderArea());
if (aHeaderRange.IsValid())
{
@@ -1167,7 +1167,7 @@ bool ScDBCollection::NamedDBs::insert(std::unique_ptr<ScDBData> pData)
initInserted(p);
/* TODO: shouldn't the import refresh not be setup for
- * clipboard/undo documents? It was already like this before.. */
+ * clipboard/undo documents? It was already like this before... */
if (p->HasImportParam() && !p->HasImportSelection())
{
p->SetRefreshHandler(mrParent.GetRefreshHandler());
diff --git a/sc/source/core/tool/grouparealistener.cxx b/sc/source/core/tool/grouparealistener.cxx
index 5950c8020c5f..44ca7d40003f 100644
--- a/sc/source/core/tool/grouparealistener.cxx
+++ b/sc/source/core/tool/grouparealistener.cxx
@@ -228,7 +228,7 @@ void FormulaGroupAreaListener::collectFormulaCells(
* newly created, so mpColumn still points to the old column that then has
* the content of a shifted column. Effectively this workaround has the
* consequence that the group area listener is fouled up and not all
- * formula cells are notified.. */
+ * formula cells are notified... */
if (nBlockSize < static_cast<size_t>(mnGroupLen))
{
SAL_WARN("sc.core","FormulaGroupAreaListener::collectFormulaCells() nBlockSize " <<
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index ace9e2479529..2f17b222aaa1 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -3750,7 +3750,7 @@ void ScInterpreter::ScMin( bool bTextAsZero )
/* TODO: the awkward "no value is minimum 0.0" is likely the case
* if a value is numeric_limits::max. Still, that could be a valid
* minimum value as well, but nVal and nMin had been reset after
- * the last svRefList.. so we may lie here. */
+ * the last svRefList... so we may lie here. */
for (SCSIZE i=0; i < nMatRows; ++i)
{
double fVecRes = xResMat->GetDouble(0,i);
@@ -3908,7 +3908,7 @@ void ScInterpreter::ScMax( bool bTextAsZero )
/* TODO: the awkward "no value is maximum 0.0" is likely the case
* if a value is numeric_limits::lowest. Still, that could be a
* valid maximum value as well, but nVal and nMax had been reset
- * after the last svRefList.. so we may lie here. */
+ * after the last svRefList... so we may lie here. */
for (SCSIZE i=0; i < nMatRows; ++i)
{
double fVecRes = xResMat->GetDouble(0,i);
@@ -6345,7 +6345,7 @@ void ScInterpreter::IterateParametersIfs( double(*ResultFunc)( const sc::ParamIf
// end-result calculation
- // This gets weird.. if conditions were calculated using a
+ // This gets weird... if conditions were calculated using a
// reference list array but the main calculation range is not a
// reference list array, then the conditions of the array are
// applied to the main range each in turn to form the array result.
@@ -8169,7 +8169,7 @@ void ScInterpreter::ScIndirect()
aComp.SetRefConvention( eConv); // must be after grammar
std::unique_ptr<ScTokenArray> pArr( aComp.CompileString( sRefStr));
- // Whatever.. use only the specific case.
+ // Whatever... use only the specific case.
if (!pArr->HasOpCode( ocTableRef))
break;
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 833c5b12d128..06006c0da5d7 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -1627,7 +1627,7 @@ ScMatrixRef ScInterpreter::PopMatrix()
case svMatrix:
{
// ScMatrix itself maintains an im/mutable flag that should
- // be obeyed where necessary.. so we can return ScMatrixRef
+ // be obeyed where necessary... so we can return ScMatrixRef
// here instead of ScConstMatrixRef.
ScMatrix* pMat = const_cast<FormulaToken*>(p)->GetMatrix();
if ( pMat )
diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
index e9548c0594d7..908c1d20aef2 100644
--- a/sc/source/core/tool/interpr7.cxx
+++ b/sc/source/core/tool/interpr7.cxx
@@ -378,7 +378,7 @@ void ScInterpreter::ScWebservice()
* document (i.e. the formula result could not be influenced by an
* ONLOAD_MUST or ALWAYS recalc, necessary as we don't track
* interim results of subexpressions that could be compared), which
- * also means to track setting ScRecalcMode somehow.. note this is
+ * also means to track setting ScRecalcMode somehow... note this is
* just a vague idea so far and might or might not work. */
if (pMyFormulaCell && pMyFormulaCell->HasHybridStringResult())
{
diff --git a/sc/source/core/tool/parclass.cxx b/sc/source/core/tool/parclass.cxx
index bb6c943299a6..e47fe47fe148 100644
--- a/sc/source/core/tool/parclass.cxx
+++ b/sc/source/core/tool/parclass.cxx
@@ -688,7 +688,7 @@ void ScParameterClassification::GenerateDocumentation()
default:
aStr.append(" (-> ???, classification error?)");
}
- /* We could add yet another log domain for this, if we wanted.. but
+ /* We could add yet another log domain for this, if we wanted... but
* as it more seldom than rarely used it's not actually necessary,
* just grep output. */
SAL_INFO( "sc.core", "CALC_GENPARCLASSDOC: " << aStr.makeStringAndClear());
diff --git a/sc/source/filter/excel/xltoolbar.hxx b/sc/source/filter/excel/xltoolbar.hxx
index 0d71761a1b98..6c03c2be3160 100644
--- a/sc/source/filter/excel/xltoolbar.hxx
+++ b/sc/source/filter/excel/xltoolbar.hxx
@@ -15,7 +15,7 @@ namespace com { namespace sun { namespace star { namespace container { class XIn
class ScCTBWrapper;
// hmm I don't normally use these packed structures
-// but.. hey always good to do something different
+// but... hey always good to do something different
class TBCCmd : public TBBase
{
public:
diff --git a/sc/source/filter/oox/workbooksettings.cxx b/sc/source/filter/oox/workbooksettings.cxx
index cc7366ffd83f..dac0490ae9cb 100644
--- a/sc/source/filter/oox/workbooksettings.cxx
+++ b/sc/source/filter/oox/workbooksettings.cxx
@@ -206,7 +206,7 @@ void WorkbookSettings::finalizeImport()
* 'readOnlyRecommended' is defined as "indicates on open, whether the
* application alerts the user that the file be marked as read-only",
* which sounds silly in itself and seems not to be present if the
- * 'password' attribute isn't present, but.. */
+ * 'password' attribute isn't present, but... */
if (maFileSharing.mbRecommendReadOnly || !maFileSharing.maHashValue.isEmpty())
aSettingsProp.setProperty( PROP_LoadReadonly, true );
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index ae253133be66..d48981bbf1cc 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -3011,7 +3011,7 @@ ScVbaRange::Replace( const OUString& What, const OUString& Replacement, const un
throw uno::RuntimeException("Range::Replace, missing params" );
OUString sWhat = VBAToRegexp( What);
// #TODO #FIXME SearchFormat & ReplacesFormat are not processed
- // What do we do about MatchByte.. we don't seem to support that
+ // What do we do about MatchByte... we don't seem to support that
const SvxSearchItem& globalSearchOptions = ScGlobal::GetSearchItem();
SvxSearchItem newOptions( globalSearchOptions );
diff --git a/sc/source/ui/vba/vbaworksheet.cxx b/sc/source/ui/vba/vbaworksheet.cxx
index f579abf7005f..6a8d27913acc 100644
--- a/sc/source/ui/vba/vbaworksheet.cxx
+++ b/sc/source/ui/vba/vbaworksheet.cxx
@@ -956,7 +956,7 @@ ScVbaWorksheet::getControlShape( const OUString& sName )
// thiscomponent.currentcontroller.getControl( controlModel ) )
// and the thing to realise is that it is only possible to get an XControl
// for a currently displayed control :-( often we would want to modify
- // a control not on the active sheet. But.. you can always access the
+ // a control not on the active sheet. But... you can always access the
// XControlShape from the DrawPage whether that is the active drawpage or not
uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupplier( getSheet(), uno::UNO_QUERY_THROW );
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 960a6edbb235..fc9f8d6f818a 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -1227,7 +1227,7 @@ bool ScViewData::SelectionForbidsCellFill()
bool ScViewData::SelectionFillDOOM( const ScRange& rRange )
{
// Assume that more than 23 full columns (23M cells) will not be
- // successful.. Even with only 10 bytes per cell that would already be
+ // successful... Even with only 10 bytes per cell that would already be
// 230MB, formula cells would be 100 bytes and more per cell.
// rows * columns > 23m => rows > 23m / columns
// to not overflow in case number of available columns or rows would be
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index 021a34619fef..129f791039dc 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -478,7 +478,7 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab,
// If the array has an error, (it) must be RPN-erased in the newly generated
// cells and the error be set explicitly, so that
// via FormulaCell copy-ctor and Interpreter it will be, when possible,
- // ironed out again, too intelligent.. e.g.: =1))
+ // ironed out again, too intelligent... e.g.: =1))
FormulaError nError = pArr->GetCodeError();
if ( nError == FormulaError::NONE )
{
@@ -546,7 +546,7 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab,
{
// Reset to General so the actual format can be determined
// after the cell has been interpreted. A sticky boolean
- // number format is highly likely unwanted.. see tdf#75650.
+ // number format is highly likely unwanted... see tdf#75650.
// General of same locale as current number format.
const SvNumberformat* pEntry = pFormatter->GetEntry( nIndex);
const LanguageType nLang = (pEntry ? pEntry->GetLanguage() : ScGlobal::eLnge);