summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/qa/unit/ucalc.cxx4
-rw-r--r--sc/source/core/data/column2.cxx2
-rw-r--r--sc/source/core/data/document.cxx8
-rw-r--r--sc/source/core/data/documentimport.cxx2
-rw-r--r--sc/source/core/tool/addincol.cxx2
-rw-r--r--sc/source/filter/inc/biffhelper.hxx2
-rw-r--r--sc/source/filter/inc/pivotcachebuffer.hxx2
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx2
-rw-r--r--sc/source/ui/vba/vbaworkbook.cxx4
-rw-r--r--sd/source/ui/func/futext.cxx4
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx2
-rw-r--r--sfx2/classification/xAL-types.xsd2
-rw-r--r--sfx2/classification/xNL-types.xsd2
-rw-r--r--smoketest/data/Basic/Standard/Global.xml2
-rw-r--r--svl/source/filerec/filerec.cxx2
-rw-r--r--svx/source/tbxctrls/linectrl.cxx2
17 files changed, 23 insertions, 23 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index e2206026f8ae..ff876719e693 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1796,7 +1796,7 @@ public:
SCROW GetNextDifferentChangedRow( SCTAB nTab, SCROW nStart) const;
// returns whether to export a Default style for this col or not
- // nDefault is setted to one position in the current row where the Default style is
+ // nDefault is set to one position in the current row where the Default style is
void GetColDefault( SCTAB nTab, SCCOL nCol, SCROW nLastRow, SCROW& nDefault);
bool UpdateOutlineCol( SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab, bool bShow );
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 40a280135f01..4fda600077b1 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -6734,7 +6734,7 @@ void Test::testPrecisionAsShown()
fExpectedRoundVal = -10.0;
checkPrecisionAsShown( aCode, fValue, fExpectedRoundVal );
}
- { // thousand rounding buguous!!!! tdf#106253
+ { // thousand rounding bogus!!!! tdf#106253
aCode = "0,,";
fValue = 4.0e9 / 7.0;
fExpectedRoundVal = 571e6; // actual is 571428571
@@ -6760,7 +6760,7 @@ void Test::testPrecisionAsShown()
fValue = 4.0 / 70000.0;
fExpectedRoundVal = 5.71e-5;
checkPrecisionAsShown( aCode, fValue, fExpectedRoundVal );
- // engineering rounding bugous!!! tdf#106252
+ // engineering rounding bogus!!! tdf#106252
aCode = "##0.000E0";
fValue = 400000.0 / 7.0;
fExpectedRoundVal = 57143.0; // actual is 57140
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index c61667cd429f..4dbac3f1f19b 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -388,7 +388,7 @@ long ScColumn::GetNeededSize(
SfxItemSet* pFontSet = pDocument->GetPreviewFont( nCol, nRow, nTab );
pPattern->FillEditItemSet( pSet, pFontSet ? pFontSet : 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 ( static_cast<const SfxBoolItem&>(pSet->Get(EE_PARA_HYPHENATE)).GetValue() ) {
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 9df69da20860..64bad940eb65 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -1269,7 +1269,7 @@ bool ScDocument::InsertRow( SCCOL nStartCol, SCTAB nStartTab,
bool bTest = true;
bool bRet = false;
bool bOldAutoCalc = GetAutoCalc();
- SetAutoCalc( false ); // avoid mulitple calculations
+ SetAutoCalc( false ); // avoid multiple calculations
for ( i = nStartTab; i <= nEndTab && bTest && i < static_cast<SCTAB>(maTabs.size()); i++)
if (maTabs[i] && (!pTabMark || pTabMark->GetTableSelect(i)))
bTest &= maTabs[i]->TestInsertRow(nStartCol, nEndCol, nStartRow, nSize);
@@ -3758,7 +3758,7 @@ bool ScDocument::HasSelectionData( SCCOL nCol, SCROW nRow, SCTAB nTab ) const
void ScDocument::CheckVectorizationState()
{
bool bOldAutoCalc = GetAutoCalc();
- bAutoCalc = false; // no mulitple calculations
+ bAutoCalc = false; // no multiple calculations
TableContainer::iterator it = maTabs.begin();
for (; it != maTabs.end(); ++it)
@@ -3771,7 +3771,7 @@ void ScDocument::CheckVectorizationState()
void ScDocument::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
{
bool bOldAutoCalc = GetAutoCalc();
- bAutoCalc = false; // no mulitple calculations
+ bAutoCalc = false; // no multiple calculations
{ // scope for bulk broadcast
ScBulkBroadcast aBulkBroadcast( GetBASM(), SfxHintId::ScDataChanged);
TableContainer::iterator it = maTabs.begin();
@@ -3792,7 +3792,7 @@ void ScDocument::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
void ScDocument::SetDirty( const ScRange& rRange, bool bIncludeEmptyCells )
{
bool bOldAutoCalc = GetAutoCalc();
- bAutoCalc = false; // no mulitple calculations
+ bAutoCalc = false; // no multiple calculations
{ // scope for bulk broadcast
ScBulkBroadcast aBulkBroadcast( GetBASM(), SfxHintId::ScDataChanged);
SCTAB nTab2 = rRange.aEnd.Tab();
diff --git a/sc/source/core/data/documentimport.cxx b/sc/source/core/data/documentimport.cxx
index 7c6ec98a20a2..98e0fafea951 100644
--- a/sc/source/core/data/documentimport.cxx
+++ b/sc/source/core/data/documentimport.cxx
@@ -512,7 +512,7 @@ class CellStoreInitializer
//
// The problem with having the attributes in CellStoreInitializer
// directly is that, as a functor, it might be copied around. In
- // that case miPos in _copied_ object points ot maAttrs in the
+ // that case miPos in _copied_ object points to maAttrs in the
// original object, not in the copy. So later, deep in mdds, we end
// up comparing iterators from different sequences.
//
diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx
index fdf92456c72e..1c84db07678e 100644
--- a/sc/source/core/tool/addincol.cxx
+++ b/sc/source/core/tool/addincol.cxx
@@ -466,7 +466,7 @@ void ScUnoAddInCollection::ReadConfiguration()
for ( sal_Int32 nLocale = 0; nLocale < nLocaleCount; nLocale++ )
{
// PropertyValue name is the locale ("convert" from
- // string to string to canonicalize)
+ // string to canonicalize)
OUString aLocale( LanguageTag( pConfigArray[nLocale].Name, true).getBcp47( false));
// PropertyValue value is the localized value (string in this case)
OUString aName;
diff --git a/sc/source/filter/inc/biffhelper.hxx b/sc/source/filter/inc/biffhelper.hxx
index f988598c4888..a7b393be72a8 100644
--- a/sc/source/filter/inc/biffhelper.hxx
+++ b/sc/source/filter/inc/biffhelper.hxx
@@ -281,7 +281,7 @@ const sal_uInt16 BIFF_ID_PCITEM_STRING = 0x00CD;
const sal_uInt16 BIFF_ID_UNKNOWN = SAL_MAX_UINT16;
-/* Many of thse constants might be unused, but please keep for documentation. If you notice
+/* Many of these constants might be unused, but please keep for documentation. If you notice
* hardcoded numbers in the code that actually correspond in meaning in the context (not just value)
* to one of the named constants, feel free to change it to use the constant instead, of course.
*/
diff --git a/sc/source/filter/inc/pivotcachebuffer.hxx b/sc/source/filter/inc/pivotcachebuffer.hxx
index fe867c6b740b..a3012f4c37fb 100644
--- a/sc/source/filter/inc/pivotcachebuffer.hxx
+++ b/sc/source/filter/inc/pivotcachebuffer.hxx
@@ -168,7 +168,7 @@ struct PCFieldGroupModel
bool mbDateGroup; /// True = items are grouped by date ranges or by item names.
bool mbAutoStart; /// True = start value for range groups is calculated from source data.
bool mbAutoEnd; /// True = end value for range groups is calculated from source data.
- OUString msFinalGroupName ; /// Finalized group name of this field used in internal pivot table collaction.
+ OUString msFinalGroupName ; /// Finalized group name of this field used in internal pivot table collection.
explicit PCFieldGroupModel();
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 110837196a8b..56be7c58bf3f 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -1858,7 +1858,7 @@ void ScXMLExport::ExportContent_()
SCTAB nTableCount(0);
sal_Int32 nShapesCount(0);
CollectSharedData(nTableCount, nShapesCount);
- OSL_FAIL("no shared data setted");
+ OSL_FAIL("no shared data set");
if (!pSharedData)
return;
}
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx
index fdecac1f9071..145cab4a3180 100644
--- a/sc/source/ui/vba/vbaworkbook.cxx
+++ b/sc/source/ui/vba/vbaworkbook.cxx
@@ -312,8 +312,8 @@ ScVbaWorkbook::SaveAs( const uno::Any& FileName, const uno::Any& FileFormat, con
FileName >>= sFileName;
OUString sURL;
osl::FileBase::getFileURLFromSystemPath( sFileName, sURL );
- // detect if there is no path if there is no path then we need
- // to use the current current folder
+ // detect if there is no path then we need
+ // to use the current folder
INetURLObject aURL( sURL );
sURL = aURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri );
if( sURL.isEmpty() )
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index af010ca73e35..bdef5e956e79 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -380,7 +380,7 @@ bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
if(aVEvt.pHdl)
{
// force new handle identification, the pointer will be dead here
- // since SdrEndTextEdit has resetted (deleted) the handles.
+ // since SdrEndTextEdit has reset (deleted) the handles.
aVEvt.pHdl = nullptr;
mpView->PickAnything(rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt);
}
@@ -830,7 +830,7 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt)
aSet.Put(SdrTextHorzAdjustItem(SDRTEXTHORZADJUST_RIGHT));
// Analog to the else case below, for vertical simple click texts
- // one of the defaulted setted items from ImpSetAttributesForNewTextObject
+ // one of the default set items from ImpSetAttributesForNewTextObject
// needs to be adapted to non-block mode.
const SfxItemSet& rSet = mpView->GetDefaultAttr();
SvxFrameDirection eDirection = (SvxFrameDirection)static_cast<const SvxFrameDirectionItem&>(rSet.Get(EE_PARA_WRITINGDIR)).GetValue();
diff --git a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
index 80f981cfe23c..44ae5995e9b9 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
@@ -71,7 +71,7 @@ public:
*/
SlideSorterController (SlideSorter& rSlideSorter);
- /** Late initialization. Call this method once a new new object has been
+ /** Late initialization. Call this method once a new object has been
created.
*/
void Init();
diff --git a/sfx2/classification/xAL-types.xsd b/sfx2/classification/xAL-types.xsd
index 57bd32ec8aca..f97e5166874e 100644
--- a/sfx2/classification/xAL-types.xsd
+++ b/sfx2/classification/xAL-types.xsd
@@ -15,7 +15,7 @@
NOTE: This is the schema that users can customise the enumeration lists to meet their
exchange requirements. The enumeration values provided are ONLY SAMPLES and
- is not complete. It is upto the application to decide what the values should be. To achieve
+ is not complete. It is up to the application to decide what the values should be. To achieve
interoperability between applications using this specification, it is recommended that an
SLA/agreement is in place as to what the enumeration values will be used in this file
</xs:documentation>
diff --git a/sfx2/classification/xNL-types.xsd b/sfx2/classification/xNL-types.xsd
index 50f5e987e176..7c52e5ba3307 100644
--- a/sfx2/classification/xNL-types.xsd
+++ b/sfx2/classification/xNL-types.xsd
@@ -15,7 +15,7 @@
NOTE: This is the schema that users can customise the enumeration lists to meet their
exchange requirements. The enumeration values provided are ONLY SAMPLES and
- is not complete. It is upto the application to decide what the values should be. To achieve
+ is not complete. It is up to the application to decide what the values should be. To achieve
interoperability between applications using this specification, it is recommended that an
SLA/agreement is in place as to what the enumeration values will be used in this file
</xs:documentation>
diff --git a/smoketest/data/Basic/Standard/Global.xml b/smoketest/data/Basic/Standard/Global.xml
index 6519c87fe953..220fb83b7f98 100644
--- a/smoketest/data/Basic/Standard/Global.xml
+++ b/smoketest/data/Basic/Standard/Global.xml
@@ -56,7 +56,7 @@ global const cLogUnknown = 0, cLogFalse = 1, cLogTrue = 2
Global const cYes = &quot;y&quot;, cNo = &quot;n&quot;
Global const cStateNo = 0, cStateYes = 1
-&apos;Feldtypen
+&apos;FieldTypes
Global const cFtExtUser = 21, cFtPageNum = 5, cFtStatistic = 8, cFtDateTime = 27, cFtDatabase = 31
&apos;UnoStrings
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index 0f7cda119d91..d23eba74ea12 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -385,7 +385,7 @@ SfxMultiVarRecordWriter::~SfxMultiVarRecordWriter()
void SfxMultiVarRecordWriter::FlushContent_Impl()
{
// record the version and position offset of the current content;
- // the position offset is relative ot the start position of the
+ // the position offset is relative to the start position of the
// first content.
assert(_aContentOfs.size() == static_cast<size_t>(_nContentCount)-1);
_aContentOfs.resize(_nContentCount-1);
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index 9b90df505afa..721355db6dbe 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -372,7 +372,7 @@ void SvxLineEndWindow::FillValueSet()
long nCount = mpLineEndList->Count();
// First entry: no line end.
- // An entry is temporarly added to get the UI bitmap
+ // An entry is temporarily added to get the UI bitmap
basegfx::B2DPolyPolygon aNothing;
mpLineEndList->Insert(o3tl::make_unique<XLineEndEntry>(aNothing, SVX_RESSTR(RID_SVXSTR_NONE)));
const XLineEndEntry* pEntry = mpLineEndList->GetLineEnd(nCount);