summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-17 19:39:12 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-17 21:03:44 +0100
commit970b76816a03be0f57f35a790bea57bf299e344b (patch)
tree445ca13da577f649176f92dea60c7fc7e8053840 /sc
parent53e6785f303e5b308a497e12d411251b216eaabf (diff)
Fix typos
Change-Id: Id1c7ddf6c49ec709e38947a82731fe31a64aad04 Reviewed-on: https://gerrit.libreoffice.org/48076 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx2
-rw-r--r--sc/source/core/data/table3.cxx2
-rw-r--r--sc/source/filter/excel/xichart.cxx2
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/undo/undocell.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index daf934187252..f23786355671 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -2612,7 +2612,7 @@ void ScFiltersTest::testFormulaDependency()
nVal = rDoc.GetValue(0,0,0);
CPPUNIT_ASSERT_DOUBLES_EQUAL(nVal, 2.0, 1e-10);
- // check that the number format is implicity inherited
+ // check that the number format is implicitly inherited
// CPPUNIT_ASSERT_EQUAL(rDoc.GetString(0,4,0), rDoc.GetString(0,5,0));
xDocSh->DoClose();
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 3396c50effc7..2bb00607eb68 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -147,7 +147,7 @@ bool SplitString( const OUString &sWhole,
@param pCW
Pointer to collator wrapper for normal string comparison
- @return Returnes 1 if sInput1 is greater, 0 if sInput1 == sInput2, and -1 if
+ @return Returns 1 if sInput1 is greater, 0 if sInput1 == sInput2, and -1 if
sInput2 is greater.
*/
short Compare( const OUString &sInput1, const OUString &sInput2,
diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx
index 87f824262b87..28aece1b72b3 100644
--- a/sc/source/filter/excel/xichart.cxx
+++ b/sc/source/filter/excel/xichart.cxx
@@ -1730,7 +1730,7 @@ Reference< XPropertySet > XclImpChSerErrorBar::CreateErrorBar( const XclImpChSer
case EXC_CHSERERR_CUSTOM:
{
aBarProp.SetProperty( EXC_CHPROP_ERRORBARSTYLE, cssc::ErrorBarStyle::FROM_DATA );
- // attach data sequences to erorr bar
+ // attach data sequences to error bar
Reference< XDataSink > xDataSink( xErrorBar, UNO_QUERY );
if( xDataSink.is() )
{
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 28ff4acbdd1a..815b83692952 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -719,7 +719,7 @@ void ScInputWindow::MouseButtonDown( const MouseEvent& rMEvt )
CaptureMouse();
bInResize = true;
- // find the height of the gridwin, we don't wan't to be
+ // find the height of the gridwin, we don't want to be
// able to expand the toolbar too far so we need to
// calculate an upper limit
// I'd prefer to leave at least a single column header and a
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx
index 159eb1df675f..7734e2ae7492 100644
--- a/sc/source/ui/undo/undocell.cxx
+++ b/sc/source/ui/undo/undocell.cxx
@@ -742,7 +742,7 @@ ScUndoReplaceNote::ScUndoReplaceNote( ScDocShell& rDocShell, const ScAddress& rP
mpDrawUndo( pDrawUndo )
{
OSL_ENSURE( maOldData.mxCaption || maNewData.mxCaption, "ScUndoReplaceNote::ScUndoReplaceNote - missing note captions" );
- OSL_ENSURE( !maOldData.mxInitData.get() && !maNewData.mxInitData.get(), "ScUndoReplaceNote::ScUndoReplaceNote - unexpected unitialized note" );
+ OSL_ENSURE( !maOldData.mxInitData.get() && !maNewData.mxInitData.get(), "ScUndoReplaceNote::ScUndoReplaceNote - unexpected uninitialized note" );
maOldData.mxCaption.setNotOwner();
maNewData.mxCaption.setNotOwner();
}