diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-31 19:31:43 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-09-01 11:15:11 +0200 |
commit | 0940229305247b4e64e8c85c9734020c9808a6ec (patch) | |
tree | 3491592b0ddade1859dca48c62007bafb9cf47d6 /sc | |
parent | 9c06059ec546683bfa095cf4f59ac6ea94da34fb (diff) |
Fix '..'
To complete this:
https://gerrit.libreoffice.org/#/c/78312/
This is a massive replace for lines ending with
".." instead of "..."
It passed "make check" on Linux.
Change-Id: I07fa7b2e30ba9ea17a1f9a5e21c57216ba958efe
Reviewed-on: https://gerrit.libreoffice.org/78356
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'sc')
32 files changed, 45 insertions, 45 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index b93afa3909d4..fd039ad3b2bc 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -98,7 +98,7 @@ struct ScRawToken final { friend class ScCompiler; // Friends that use a temporary ScRawToken on the stack (and therefore need - // the private dtor) and know what they're doing.. + // the private dtor) and know what they're doing... friend class ScTokenArray; OpCode eOp; formula::StackVar eType; // type of data; this determines how the unions are used @@ -376,7 +376,7 @@ public: static void CheckTabQuotes( OUString& aTabName, const formula::FormulaGrammar::AddressConvention eConv = formula::FormulaGrammar::CONV_OOO ); - /** Analyzes a string for a 'Doc'#Tab construct, or 'Do''c'#Tab etc.. + /** Analyzes a string for a 'Doc'#Tab construct, or 'Do''c'#Tab etc... @returns the position of the unquoted # hash mark in 'Doc'#Tab, or -1 if none. */ diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index 7bd670f7cddd..085c2ebb0115 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -206,7 +206,7 @@ public: * * @return a new token array instance. Note that <i>the caller must * manage the life cycle of the returned instance</i>, which is - * guaranteed if the TokenArrayRef is properly used.. + * guaranteed if the TokenArrayRef is properly used... */ ScExternalRefCache::TokenArrayRef getCellRangeData( sal_uInt16 nFileId, const OUString& rTabName, const ScRange& rRange); diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index f3ba932f471c..86515562c463 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -82,7 +82,7 @@ public: /** Forget the SdrCaptionObj pointer in this one instance. Decrements a use count but does not destroy the object, it's up to the - caller to manage this mess.. + caller to manage this mess... */ void forget(); diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index d95a3f25e435..57b27ff1d215 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -3794,7 +3794,7 @@ void Test::testFormulaRefUpdateNameDeleteRow() // the named expression because when updating the sheet reference is // relative to its base position on sheet 0 (same for the 'MyRange' range, // which is the reason why it is not updated either). - // This is a tad confusing.. + // This is a tad confusing... aExpr2 = pCode2->CreateString(aCxt2, ScAddress(0,0,0)); CPPUNIT_ASSERT_EQUAL(OUString("$B$3"), aExpr2); @@ -5493,7 +5493,7 @@ static void runTestHorizontalMATCH(ScDocument* pDoc, const char* aData[DataSize] { pDoc->SetString(i, 1, 0, OUString::createFromAscii(aChecks[i].pVal)); - // Assume we don't have more than 26 data columns.. + // Assume we don't have more than 26 data columns... OUStringBuffer aBuf; aBuf.append("=MATCH("); aBuf.append(static_cast<sal_Unicode>('A'+i)); @@ -6666,7 +6666,7 @@ void Test::testExternalRefUnresolved() m_pDoc->InsertTab(0, "Test"); // Test error propagation of unresolved (not existing document) external - // references. Well, let's hope no build machine has such file with sheet.. + // references. Well, let's hope no build machine has such file with sheet... const char* aData[][1] = { { "='file:///NonExistingFilePath/AnyName.ods'#$NoSuchSheet.A1" }, diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx index 73e9c749d5c9..674dca338c82 100644 --- a/sc/source/core/data/bcaslot.cxx +++ b/sc/source/core/data/bcaslot.cxx @@ -53,7 +53,7 @@ #define BCA_SLOTS_DEFINE (BCA_SLOTS_COL * BCA_SLOTS_ROW) // Arbitrary 2**31/8, assuming size_t can hold at least 2^31 values and // sizeof_ptr is at most 8 bytes. You'd probably doom your machine's memory -// anyway, once you reached these values.. +// anyway, once you reached these values... #if BCA_SLOTS_DEFINE > 268435456 #error BCA_SLOTS_DEFINE DOOMed! #endif diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index 4a0fcd00dc3c..c904914adf6a 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -167,7 +167,7 @@ long ScColumn::GetNeededSize( // If a formula cell needs to be interpreted during aCell.hasNumeric() // to determine the type, the pattern may get invalidated because the // result may set a number format. In which case there's also the - // General format not set anymore.. + // General format not set anymore... bool bMayInvalidatePattern = (aCell.meType == CELLTYPE_FORMULA); const ScPatternAttr* pOldPattern = pPattern; bool bNumeric = aCell.hasNumeric(); diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx index 50ce32431e8f..1cd90e5a74ae 100644 --- a/sc/source/core/data/documen7.cxx +++ b/sc/source/core/data/documen7.cxx @@ -88,7 +88,7 @@ bool ScDocument::LimitRangeToAvailableSheets( const ScRange& rRange, ScRange& o_ return false; // Originally BCA_LISTEN_ALWAYS uses an implicit tab 0 and should had been - // valid already, but in case that would change.. + // valid already, but in case that would change... if (rRange == BCA_LISTEN_ALWAYS) return false; @@ -264,7 +264,7 @@ void ScDocument::PutInFormulaTree( ScFormulaCell* pCell ) if ( pEOFormulaTree ) pEOFormulaTree->SetNext( pCell ); else - pFormulaTree = pCell; // No end, no beginning.. + pFormulaTree = pCell; // No end, no beginning... pCell->SetPrevious( pEOFormulaTree ); pCell->SetNext( nullptr ); pEOFormulaTree = pCell; @@ -457,7 +457,7 @@ void ScDocument::AppendToFormulaTrack( ScFormulaCell* pCell ) if ( pEOFormulaTrack ) pEOFormulaTrack->SetNextTrack( pCell ); else - pFormulaTrack = pCell; // No end, no beginning.. + pFormulaTrack = pCell; // No end, no beginning... pCell->SetPreviousTrack( pEOFormulaTrack ); pCell->SetNextTrack( nullptr ); pEOFormulaTrack = pCell; diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx index 3f096f380ad2..cf7eaff0d53d 100644 --- a/sc/source/core/data/dpcache.cxx +++ b/sc/source/core/data/dpcache.cxx @@ -1226,7 +1226,7 @@ OUString ScDPCache::GetFormattedString(long nDim, const ScDPItemData& rItem, boo return aStr; } - // Last resort.. + // Last resort... return GetLocaleIndependentFormattedNumberString( rItem.GetValue()); } diff --git a/sc/source/core/data/refupdatecontext.cxx b/sc/source/core/data/refupdatecontext.cxx index 4addc5e0b09f..ea1f8e5484ee 100644 --- a/sc/source/core/data/refupdatecontext.cxx +++ b/sc/source/core/data/refupdatecontext.cxx @@ -16,7 +16,7 @@ namespace sc { void UpdatedRangeNames::setUpdatedName(SCTAB nTab, sal_uInt16 nIndex) { // Map anything <-1 to global names. Unless we really want to come up with - // some classification there.. + // some classification there... if (nTab < -1) nTab = -1; diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx index b899bbb91cbf..27d6fb0fab22 100644 --- a/sc/source/core/data/table1.cxx +++ b/sc/source/core/data/table1.cxx @@ -1433,7 +1433,7 @@ void ScTable::GetNextPos( SCCOL& rCol, SCROW& rRow, SCCOL nMovX, SCROW nMovY, // Add some cols/rows to the print area (which is "content or // visually different from empty") to enable travelling through // protected forms with empty cells and no visual indicator. - // 42 might be good enough and not too much.. + // 42 might be good enough and not too much... nEndCol = std::min<SCCOL>( nEndCol+42, MAXCOL); nEndRow = std::min<SCROW>( nEndRow+42, MAXROW); } diff --git a/sc/source/core/data/tabprotection.cxx b/sc/source/core/data/tabprotection.cxx index bf6076327bc7..5b2f8333dffe 100644 --- a/sc/source/core/data/tabprotection.cxx +++ b/sc/source/core/data/tabprotection.cxx @@ -454,7 +454,7 @@ bool ScTableProtectionImpl::isBlockEditable( const ScRange& rRange ) const // No security descriptor in an enhanced protection means the ranges of // that protection are editable. If there is any security descriptor // present we assume the permission to edit is not granted. Until we - // actually can evaluate the descriptors.. + // actually can evaluate the descriptors... auto lIsEditable = [rRange](const ScEnhancedProtection& rEnhancedProtection) { return !rEnhancedProtection.hasSecurityDescriptor() diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx index 0c715ff84806..1020a8a47cc3 100644 --- a/sc/source/core/tool/address.cxx +++ b/sc/source/core/tool/address.cxx @@ -2442,7 +2442,7 @@ void ScRange::IncEndColSticky( SCCOL nDelta ) if (nCol < MAXCOL) aEnd.SetCol( ::std::min( static_cast<SCCOL>(nCol + nDelta), MAXCOL)); else - aEnd.IncCol( nDelta); // was greater than MAXCOL, caller should know.. + aEnd.IncCol( nDelta); // was greater than MAXCOL, caller should know... } void ScRange::IncEndRowSticky( SCROW nDelta ) @@ -2462,7 +2462,7 @@ void ScRange::IncEndRowSticky( SCROW nDelta ) if (nRow < MAXROW) aEnd.SetRow( ::std::min( static_cast<SCROW>(nRow + nDelta), MAXROW)); else - aEnd.IncRow( nDelta); // was greater than MAXROW, caller should know.. + aEnd.IncRow( nDelta); // was greater than MAXROW, caller should know... } OUString ScAddress::GetColRowString() const diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 440a229c947d..a70d0e1a5a96 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -1501,7 +1501,7 @@ struct ConventionXL_OOX : public ConventionXL_A1 // Actually Excel writes '[N]Sheet One:Sheet Two'!A1:B2 but reads the // simpler to produce and more logical form with independently quoted // sheet names as well. The [N] having to be within the quoted sheet - // name is ugly enough.. + // name is ugly enough... ScRange aAbsRef = rRef.toAbs(rPos); @@ -3532,7 +3532,7 @@ bool ScCompiler::IsColRowName( const OUString& rName ) // Don't crash if cell (via CompileNameFormula) encounters // a formula cell without code and // HasStringData/Interpret/Compile is executed and all that - // recursive.. + // recursively... // Furthermore, *this* cell won't be touched, since no RPN exists yet. CellType eType = aIter.getType(); bool bOk = false; diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 435dbe498037..ace9e2479529 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -8159,7 +8159,7 @@ void ScInterpreter::ScIndirect() // It may be even a TableRef. // Anything else that resolves to one reference could be added // here, but we don't want to compile every arbitrary string. This - // is already nasty enough.. + // is already nasty enough... sal_Int32 nIndex = 0; if ((nIndex = sRefStr.indexOf('[')) >= 0 && sRefStr.indexOf(']',nIndex+1) > nIndex) { @@ -9848,7 +9848,7 @@ bool ScInterpreter::MayBeWildcard( const OUString& rStr ) { // Wildcards with '~' escape, if there are no wildcards then an escaped // character does not make sense, but it modifies the search pattern in an - // Excel compatible wildcard search.. + // Excel compatible wildcard search... static const sal_Unicode cw[] = { '*','?','~', 0 }; const sal_Unicode* p1 = rStr.getStr(); sal_Unicode c1; diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index c01061533f00..653d524731dc 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -865,7 +865,7 @@ void ScInterpreter::ScGetDateDif() // and 10 months and 19 days. // Algorithm's roll-over behavior extracted from Excel by try and - // error.. + // error... // If day1 <= day2 then simply day2 - day1. // If day1 > day2 then set month1 to month2-1 and year1 to // year2(-1) and subtract dates, e.g. for 2012-01-28,2012-03-01 set @@ -2433,7 +2433,7 @@ void ScInterpreter::ScIntersect() if (sv1 == svRefList || sv2 == svRefList) { // Now this is a bit nasty but it simplifies things, and having - // intersections with lists isn't too common, if at all.. + // intersections with lists isn't too common, if at all... // Convert a reference to list. const formula::FormulaToken* xt[2] = { x1, x2 }; StackVar sv[2] = { sv1, sv2 }; diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index cb6a6aef98bb..833c5b12d128 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -1373,7 +1373,7 @@ void ScInterpreter::PopRefListPushMatrixOrRef() { // Only single cells can be stuffed into a column vector. // XXX NOTE: Excel doesn't do this but returns #VALUE! instead. - // Though there's no compelling reason not to.. + // Though there's no compelling reason not to... for (const auto & rRef : *pv) { if (rRef.Ref1 != rRef.Ref2) diff --git a/sc/source/core/tool/refdata.cxx b/sc/source/core/tool/refdata.cxx index bae3acc83ad1..397421ad6007 100644 --- a/sc/source/core/tool/refdata.cxx +++ b/sc/source/core/tool/refdata.cxx @@ -519,7 +519,7 @@ bool ScComplexRefData::IncEndColSticky( SCCOL nDelta, const ScAddress& rPos ) Ref2.SetAbsCol( nCol); } else - Ref2.IncCol( nDelta); // was greater than MAXCOL, caller should know.. + Ref2.IncCol( nDelta); // was greater than MAXCOL, caller should know... return true; } @@ -548,7 +548,7 @@ bool ScComplexRefData::IncEndRowSticky( SCROW nDelta, const ScAddress& rPos ) Ref2.SetAbsRow( nRow); } else - Ref2.IncRow( nDelta); // was greater than MAXROW, caller should know.. + Ref2.IncRow( nDelta); // was greater than MAXROW, caller should know... return true; } diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index 3ced23b3cc50..34ee65302349 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -358,7 +358,7 @@ static size_t GetElementsMax( size_t nMemory ) { // Arbitrarily assuming 12 bytes per element, 8 bytes double plus // overhead. Stored as an array in an mdds container it's less, but for - // strings or mixed matrix it can be much more.. + // strings or mixed matrix it can be much more... constexpr size_t nPerElem = 12; if (nMemory) return nMemory / nPerElem; diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index 0b8b52880dc4..14a39306eb5f 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -577,7 +577,7 @@ FormulaTokenRef extendRangeReference( FormulaToken & rTok1, FormulaToken & rTok2 xRes = new ScDoubleRefToken( (*pRefList)[0] ); } if (!xRes) - return nullptr; // shouldn't happen.. + return nullptr; // shouldn't happen... StackVar sv[2] = { sv1, sv2 }; formula::FormulaToken* pt[2] = { &rTok1, &rTok2 }; ScComplexRefData& rRef = *xRes->GetDoubleRef(); @@ -1112,7 +1112,7 @@ ScHybridCellToken::ScHybridCellToken( maFormula( rFormula ), mbEmptyDisplayedAsString( bEmptyDisplayedAsString) { - // caller, make up your mind.. + // caller, make up your mind... assert( !bEmptyDisplayedAsString || (f == 0.0 && rStr.getString().isEmpty())); } @@ -1621,7 +1621,7 @@ void ScTokenArray::CheckToken( const FormulaToken& r ) // ScFormulaCell::InterpretFormulaGroup() and below. case ocDBArea: - // Certainly not a vectorization of the entire area.. + // Certainly not a vectorization of the entire area... case ocTableRef: // May result in a single cell or range reference, depending on diff --git a/sc/source/filter/dif/difexp.cxx b/sc/source/filter/dif/difexp.cxx index f4628f8f11ea..84179282a650 100644 --- a/sc/source/filter/dif/difexp.cxx +++ b/sc/source/filter/dif/difexp.cxx @@ -194,7 +194,7 @@ void ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc, // for an explanation why this complicated, see // sc/source/ui/docsh.cxx:ScDocShell::AsciiSave() // In fact we should create a common method if this would be - // needed just one more time.. + // needed just one more time... assert( aOS.isEmpty() && "aOS should be empty"); OUString aTmpStr = aString; aOS.append(pStringData); diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx index 9e3d8469b338..0f303f8a7637 100644 --- a/sc/source/filter/excel/excimp8.cxx +++ b/sc/source/filter/excel/excimp8.cxx @@ -426,7 +426,7 @@ void ImportExcel8::FilterMode() // The FilterMode record exists: if either the AutoFilter // record exists or an Advanced Filter is saved and stored // in the sheet. Thus if the FilterMode records only exists - // then the latter is true.. + // then the latter is true... if( !pExcRoot->pAutoFilterBuffer ) return; XclImpAutoFilterData* pData = pExcRoot->pAutoFilterBuffer->GetByTab( GetCurrScTab() ); diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx index e6883edb3913..875c332bd858 100644 --- a/sc/source/filter/lotus/lotattr.cxx +++ b/sc/source/filter/lotus/lotattr.cxx @@ -182,7 +182,7 @@ const Color& LotAttrCache::GetColor( const sal_uInt8 nLotIndex ) const void LotAttrCol::SetAttr( const SCROW nRow, const ScPatternAttr& rAttr ) { // Actually with the current implementation of MAXROWCOUNT>=64k and nRow - // being read as sal_uInt16 there's no chance that nRow would be invalid.. + // being read as sal_uInt16 there's no chance that nRow would be invalid... SAL_WARN_IF( !ValidRow(nRow), "sc.filter", "*LotAttrCol::SetAttr(): ... and failed?!" ); std::vector<std::unique_ptr<ENTRY> >::reverse_iterator iterLast = aEntries.rbegin(); diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx index ed969fe40b3d..3ed086462173 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -195,7 +195,7 @@ void LotusToSc::DoFunc( DefTokenId eOc, sal_uInt8 nCnt, const sal_Char* pExtStri { // special case ocPMT, negate last parameter! // additionally: 1. -> 3., 3. -> 2., 2. -> 1. SAL_WARN_IF( nCnt != 3, "sc.filter", "+LotusToSc::DoFunc(): ocPMT needs 3 parameters!" ); - // There should be at least 3 arguments, but with binary crap may not.. + // There should be at least 3 arguments, but with binary crap may not... switch (nCnt) { case 1: diff --git a/sc/source/filter/oox/unitconverter.cxx b/sc/source/filter/oox/unitconverter.cxx index 9d7d12f7b607..0d47ec205237 100644 --- a/sc/source/filter/oox/unitconverter.cxx +++ b/sc/source/filter/oox/unitconverter.cxx @@ -222,7 +222,7 @@ OUString UnitConverter::calcErrorString( sal_uInt8 nErrorCode ) const if (aIt->second == BIFF_ERR_NA) iFail = aIt; } - assert(iFail != maOoxErrCodes.end()); // BIFF_ERR_NA really should be in the map.. + assert(iFail != maOoxErrCodes.end()); // BIFF_ERR_NA really should be in the map... return iFail != maOoxErrCodes.end() ? iFail->first : OUString(); } diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx index e549c0356917..a02b9533247a 100644 --- a/sc/source/filter/qpro/qproform.cxx +++ b/sc/source/filter/qpro/qproform.cxx @@ -136,7 +136,7 @@ void QProToSc::DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const sal_Char* pExtStr { if( eOc == ocRRI ) { - // There should be at least 3 arguments, but with binary crap may not.. + // There should be at least 3 arguments, but with binary crap may not... SAL_WARN_IF( nArgs < 3, "sc.filter","QProToSc::DoFunc - ocRRI expects 3 parameters but got " << nArgs); // Store first 3 parameters to pool in order 2,1,0 if (nArgs > 3) @@ -144,7 +144,7 @@ void QProToSc::DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const sal_Char* pExtStr } else if( eOc == ocIpmt ) { - // There should be at least 4 arguments, but with binary crap may not.. + // There should be at least 4 arguments, but with binary crap may not... SAL_WARN_IF( nArgs < 4, "sc.filter","QProToSc::DoFunc - ocIpmt expects 4 parameters but got " << nArgs); // Store first 4 parameters to pool in order 3,2,1,0 if (nArgs > 4) diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index d420a0d05461..fa2a8fc9c961 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -4850,7 +4850,7 @@ void ScXMLExport::WriteExternalRefCaches() } // Determine maximum column count of used area, for repeated cells. - SCCOL nMaxColsUsed = 1; // assume that there is at least one cell somewhere.. + SCCOL nMaxColsUsed = 1; // assume that there is at least one cell somewhere... vector<SCROW> aRows; pTable->getAllRows(aRows); for (SCROW nRow : aRows) diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx index cc72a804d47d..e6a68ade8ead 100644 --- a/sc/source/ui/docshell/dbdocfun.cxx +++ b/sc/source/ui/docshell/dbdocfun.cxx @@ -1351,7 +1351,7 @@ bool ScDBDocFunc::RemovePivotTable(ScDPObject& rDPObj, bool bRecord, bool bApi) if (!bApi) { - // If we come from GUI - ask to delete the associated pivot charts too.. + // If we come from GUI - ask to delete the associated pivot charts too... std::vector<SdrOle2Obj*> aListOfObjects = sc::tools::getAllPivotChartsConntectedTo(rDPObj.GetName(), &rDocShell); diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index a12b84f0938a..6bfda5109233 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -1476,7 +1476,7 @@ bool ScDocShell::ConvertFrom( SfxMedium& rMedium ) // TODO: Filter should set column widths. Not doing it here, it may // result in very narrow or wide columns, depending on content. // Setting row heights makes cells with font size attribution or - // wrapping enabled look nicer.. + // wrapping enabled look nicer... bSetRowHeights = true; } else if (aFltName == pFilterRtf) diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index bbb5dbcb45ec..bd648ada28cb 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -634,7 +634,7 @@ void ScDocShell::SetChangeComment( ScChangeAction* pAction, const OUString& rCom void ScDocShell::ExecuteChangeCommentDialog( ScChangeAction* pAction, weld::Window* pParent, bool bPrevNext) { - if (!pAction) return; // without action is nothing.. + if (!pAction) return; // without action is nothing... OUString aComment = pAction->GetComment(); OUString aAuthor = pAction->GetUser(); diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx index a9cf9445772a..736cdd86c63b 100644 --- a/sc/source/ui/docshell/docsh8.cxx +++ b/sc/source/ui/docshell/docsh8.cxx @@ -692,7 +692,7 @@ void lcl_GetColumnTypes( bHasMemo = true; } else - nFieldLen = 254; // bad luck.. + nFieldLen = 254; // bad luck... } pColNames[nField] = aFieldName; diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 8828afe25c6e..71f29e3f6778 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -706,7 +706,7 @@ bool ScPrintFunc::AdjustPrintArea( bool bNew ) SCROW nPAEndRow; bFound = pDoc->GetPrintAreaVer( nPrintTab, nStartCol, nEndCol, nPAEndRow, bNotes ); // Say we don't want to print more than ~1000 empty rows, which are - // about 14 pages intentionally left blank.. + // about 14 pages intentionally left blank... const SCROW nFuzzy = 23*42; if (nPAEndRow + nFuzzy < nEndRow) { diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index e15ca40404d6..960a6edbb235 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -1233,7 +1233,7 @@ bool ScViewData::SelectionFillDOOM( const ScRange& rRange ) // to not overflow in case number of available columns or rows would be // arbitrarily increased. // We could refine this and take some actual cell size into account, - // evaluate available memory and what not, but.. + // evaluate available memory and what not, but... const sal_Int32 kMax = 23 * 1024 * 1024; // current MAXROWCOUNT is 1024*1024=1048576 return (rRange.aEnd.Row() - rRange.aStart.Row() + 1) > (kMax / (rRange.aEnd.Col() - rRange.aStart.Col() + 1)); } |