summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-07 23:14:45 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-08 12:21:19 +0200
commite544f449eded2738b45de4be13c72b128a16bafe (patch)
tree3e779fd42f9a17d2b2d62cd8fe43c6bf63d78953 /sc
parent307edd412e4fe3a74378959f5d93f5a2a44f1b60 (diff)
Fix typos
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/filters-test.cxx4
-rw-r--r--sc/qa/unit/ucalc_pivottable.cxx2
-rw-r--r--sc/source/filter/inc/xestyle.hxx2
-rw-r--r--sc/source/ui/Accessibility/AccessiblePageHeader.cxx2
-rw-r--r--sc/source/ui/inc/inputhdl.hxx2
-rw-r--r--sc/source/ui/vba/vbaborders.cxx2
-rw-r--r--sc/source/ui/vba/vbarange.cxx2
-rw-r--r--sc/source/ui/view/cellsh1.cxx2
8 files changed, 9 insertions, 9 deletions
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index bfb2a8acf34c..bdc3a2a7701a 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -467,8 +467,8 @@ void ScFiltersTest::testLegacyCellAnchoredRotatedShape()
{
{
// This example doc contains cell anchored shape that is rotated, the
- // rotated shape is in fact cliped by the sheet boundries ( and thus
- // is a good edge case test to see if we import it still correctly )
+ // rotated shape is in fact clipped by the sheet boundries (and thus
+ // is a good edge case test to see if we import it still correctly)
ScDocShellRef xDocSh = loadDoc("legacycellanchoredrotatedclippedshape.", ODS);
ScDocument& rDoc = xDocSh->GetDocument();
diff --git a/sc/qa/unit/ucalc_pivottable.cxx b/sc/qa/unit/ucalc_pivottable.cxx
index 9effa0869214..96da9337cf4d 100644
--- a/sc/qa/unit/ucalc_pivottable.cxx
+++ b/sc/qa/unit/ucalc_pivottable.cxx
@@ -2032,7 +2032,7 @@ void Test::testPivotTableDocFunc()
CPPUNIT_ASSERT_MESSAGE("Failed to create pivot table object.", pDPObj);
- // Craete a new pivot table output.
+ // Create a new pivot table output.
ScDBDocFunc aFunc(getDocShell());
bool bSuccess = aFunc.CreatePivotTable(*pDPObj, false, true);
CPPUNIT_ASSERT_MESSAGE("Failed to create pivot table output via ScDBDocFunc.", bSuccess);
diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx
index 0899d3395de9..d91866637345 100644
--- a/sc/source/filter/inc/xestyle.hxx
+++ b/sc/source/filter/inc/xestyle.hxx
@@ -543,7 +543,7 @@ public:
};
/** Represents a STYLE record containing the data of a cell style.
- @descr The calss is able to store built-in and user-defined styles. */
+ @descr The class is able to store built-in and user-defined styles. */
class XclExpStyle : public XclExpRecord
{
public:
diff --git a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
index a0ee61710463..2a72f783073e 100644
--- a/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePageHeader.cxx
@@ -372,7 +372,7 @@ Rectangle ScAccessiblePageHeader::GetBoundingBox() const throw (uno::RuntimeExce
else
rData.GetFooterPosition( aRect );
- // the Rectangle could contain negative coordinates so it should be cliped
+ // the Rectangle could contain negative coordinates so it should be clipped
Rectangle aClipRect(Point(0, 0), aRect.GetSize());
vcl::Window* pWindow = mpViewShell->GetWindow();
if (pWindow)
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx
index 5b0e83728976..9cdf44cf729f 100644
--- a/sc/source/ui/inc/inputhdl.hxx
+++ b/sc/source/ui/inc/inputhdl.hxx
@@ -59,7 +59,7 @@ private:
ScEditEngineDefaulter* pEngine; ///< Edited data in the sheet (when the user clicks into the sheet, and starts writing there).
EditView* pTableView; // associated active EditView
- EditView* pTopView; // EditView in dthe input row
+ EditView* pTopView; // EditView in the input row
ScTypedCaseStrSet* pColumnData;
ScTypedCaseStrSet* pFormulaData;
diff --git a/sc/source/ui/vba/vbaborders.cxx b/sc/source/ui/vba/vbaborders.cxx
index 1056713f03ef..7ef2b922fd07 100644
--- a/sc/source/ui/vba/vbaborders.cxx
+++ b/sc/source/ui/vba/vbaborders.cxx
@@ -305,7 +305,7 @@ private:
ScVbaPalette m_Palette;
sal_Int32 getTableIndex( sal_Int32 nConst )
{
- // hokay return position of the index in the table
+ // okay return position of the index in the table
sal_Int32 nIndexes = getCount();
sal_Int32 realIndex = 0;
const sal_Int16* pTableEntry = supportedIndexTable;
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index bba58b5367cd..50df3071d226 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1782,7 +1782,7 @@ ScVbaRange::HasFormula() throw (uno::RuntimeException, std::exception)
if ( pFormulaRanges->GetRangeList().empty() )
return uno::makeAny(sal_False);
- // chech if there are holes (where some cells are not formulas)
+ // check if there are holes (where some cells are not formulas)
// or returned range is not equal to this range
if ( ( pFormulaRanges->GetRangeList().size() > 1 )
|| ( pFormulaRanges->GetRangeList().front()->aStart != pThisRanges->GetRangeList().front()->aStart )
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index c1becf754681..238857d0ba47 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2578,7 +2578,7 @@ bool isDPSourceValid(const ScDPObject& rDPObj)
const ScDPCache* pCache = pDesc->CreateCache(pDimData);
if (!pCache)
- // cashe creation failed, probably due to invalid connection.
+ // cache creation failed, probably due to invalid connection.
return false;
}
return true;