summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/dptabsrc.cxx2
-rw-r--r--sc/source/core/opencl/clcc/clew.cxx2
-rw-r--r--sc/source/core/tool/chgtrack.cxx6
-rw-r--r--sc/source/filter/excel/xlstyle.cxx2
-rw-r--r--sc/source/filter/inc/xiescher.hxx2
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx2
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext.cxx4
-rw-r--r--sc/source/ui/unoobj/fmtuno.cxx2
-rw-r--r--sc/source/ui/vba/vbarange.cxx2
-rw-r--r--sc/source/ui/view/viewfun6.cxx2
11 files changed, 14 insertions, 14 deletions
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index 2608e71b253f..2dcb23189ab7 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -978,7 +978,7 @@ void ScDPSource::CreateRes_Impl()
pRowResRoot->UpdateDataResults( pColResRoot, pResData->GetRowStartMeasure() );
}
- // SortMembers does the sorting by a result dimension, using the orginal results,
+ // SortMembers does the sorting by a result dimension, using the original results,
// but not running totals etc.
pRowResRoot->SortMembers( pColResRoot );
diff --git a/sc/source/core/opencl/clcc/clew.cxx b/sc/source/core/opencl/clcc/clew.cxx
index 3a7db16152ea..f80355211b7f 100644
--- a/sc/source/core/opencl/clcc/clew.cxx
+++ b/sc/source/core/opencl/clcc/clew.cxx
@@ -136,7 +136,7 @@ static void clewExit(void)
//! \param path path to dynamic library to load
//! \return CLEW_ERROR_OPEN_FAILED if the library could not be opened
//! CLEW_ERROR_ATEXIT_FAILED if atexit(clewExit) failed
-//! CLEW_SUCCESS when the library was succesfully loaded
+//! CLEW_SUCCESS when the library was successfully loaded
int clewInit(const char* path)
{
int error = 0;
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 87d0cdb640f8..df37e22c48d6 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -2925,7 +2925,7 @@ void ScChangeTrack::Dependencies( ScChangeAction* pAct )
ScChangeActionType eActType = pAct->GetType();
if ( eActType == SC_CAT_REJECT ||
(eActType == SC_CAT_MOVE && pAct->IsRejecting()) )
- return ; // These Rejects are not dependant
+ return ; // These Rejects are not dependent
if ( eActType == SC_CAT_CONTENT )
{
@@ -2964,8 +2964,8 @@ void ScChangeTrack::Dependencies( ScChangeAction* pAct )
// Insert in a corresponding Insert depends on it or else we would need
// to split the preceding one.
- // Intersecting Inserts and Deletes are not dependant, everything else
- // is dependant.
+ // Intersecting Inserts and Deletes are not dependent, everything else
+ // is dependent.
// The Insert last linked in is at the beginning of a chain, just the way we need it
const ScBigRange& rRange = pAct->GetBigRange();
diff --git a/sc/source/filter/excel/xlstyle.cxx b/sc/source/filter/excel/xlstyle.cxx
index 49137528bb2b..b1765bedcd3b 100644
--- a/sc/source/filter/excel/xlstyle.cxx
+++ b/sc/source/filter/excel/xlstyle.cxx
@@ -1418,7 +1418,7 @@ static const XclBuiltInFormat spBuiltInFormats_THAI[] =
// ----------------------------------------------------------------------------
-/** Specifies a number format table for a specific langauge. */
+/** Specifies a number format table for a specific language. */
struct XclBuiltInFormatTable
{
LanguageType meLanguage; /// The language of this table.
diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx
index 8c71cfdf8ab4..42b188267e6a 100644
--- a/sc/source/filter/inc/xiescher.hxx
+++ b/sc/source/filter/inc/xiescher.hxx
@@ -927,7 +927,7 @@ public:
/** Inserts information about a new SdrObject. */
void InsertSdrObjectInfo( SdrObject& rSdrObj, sal_uInt32 nDffShapeId, sal_uInt32 nDffFlags );
- /** Removes inforamtion of an SdrObject (and all child objects if it is a group). */
+ /** Removes information of an SdrObject (and all child objects if it is a group). */
void RemoveSdrObjectInfo( SdrObject& rSdrObj );
/** Inserts the SdrObject pointers into all connector rules. */
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index e722ce302862..8e0f3a450808 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -975,7 +975,7 @@ sal_Bool ScChildrenShapes::FindSelectedShapesChanges(const uno::Reference<drawin
SortedShapes::const_iterator aFocusedItr = aDataEndItr;
while((aDataItr != aDataEndItr))
{
- if (*aDataItr) // is it realy a shape or only the sheet
+ if (*aDataItr) // is it really a shape or only the sheet
{
sal_Int8 nComp(0);
if (aXShapesItr == aXShapesEndItr)
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 99eb7fd3c749..1a107907e138 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -750,7 +750,7 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt)
else if ( pHdl )
{
pViewShell->SetActivePointer(
- pView->GetPreferedPointer( aPnt, pWindow ) );
+ pView->GetPreferredPointer( aPnt, pWindow ) );
}
else if ( pView->IsMarkedHit(aPnt) )
{
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index 8ea5fc2d90b3..2016c26d1336 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -362,7 +362,7 @@ sal_Bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
lcl_InvalidateAttribs( pViewShell->GetViewFrame()->GetBindings() );
}
- pViewShell->SetActivePointer(pView->GetPreferedPointer(
+ pViewShell->SetActivePointer(pView->GetPreferredPointer(
pWindow->PixelToLogic(rMEvt.GetPosPixel()), pWindow ));
if (!bStraightEnter)
{
@@ -387,7 +387,7 @@ sal_Bool FuText::MouseMove(const MouseEvent& rMEvt)
// pViewShell->SetActivePointer(aNewPointer);
- pViewShell->SetActivePointer(pView->GetPreferedPointer(
+ pViewShell->SetActivePointer(pView->GetPreferredPointer(
pWindow->PixelToLogic(rMEvt.GetPosPixel()), pWindow ));
if (aDragTimer.IsActive() )
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx
index bb022bc49565..628941a8acb0 100644
--- a/sc/source/ui/unoobj/fmtuno.cxx
+++ b/sc/source/ui/unoobj/fmtuno.cxx
@@ -715,7 +715,7 @@ void ScTableValidationObj::ClearData_Impl()
aExpr2 = "";
maExprNmsp1 = "";
maExprNmsp2 = "";
- meGrammar1 = meGrammar2 = FormulaGrammar::GRAM_UNSPECIFIED; // will be overriden when needed
+ meGrammar1 = meGrammar2 = FormulaGrammar::GRAM_UNSPECIFIED; // will be overridden when needed
aInputTitle = OUString();
aInputMessage = OUString();
aErrorTitle = OUString();
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index e5b8e81e2435..e5c6b4961065 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -2192,7 +2192,7 @@ ScVbaRange::CellsHelper( const uno::Reference< ov::XHelperInterface >& xParent,
// Sometimes we might get a float or a double or whatever
// set in the Any, we should convert as appropriate
// #FIXME - perhaps worth turning this into some sort of
- // convertion routine e.g. bSuccess = getValueFromAny( nRow, nRowIndex, getCppuType((sal_Int32*)0) )
+ // conversion routine e.g. bSuccess = getValueFromAny( nRow, nRowIndex, getCppuType((sal_Int32*)0) )
uno::Any aRowIndexAny = nRowIndex;
if ( aRowIndexAny.hasValue() && !( aRowIndexAny >>= nRow ) )
{
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index 8ec8bf170f5e..7be1a70fa88b 100644
--- a/sc/source/ui/view/viewfun6.cxx
+++ b/sc/source/ui/view/viewfun6.cxx
@@ -229,7 +229,7 @@ void ScViewFunc::DetectiveMarkSucc()
pDocSh->GetDocFunc().DetectiveCollectAllSuccs(aRanges, aRefTokens);
if (aRefTokens.empty())
- // No dependants found. Nothing to do.
+ // No dependents found. Nothing to do.
return;
ScRangeList aDestRanges;