diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-09-26 11:44:54 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-09-26 11:47:45 +0200 |
commit | 7f436c1fd3a5f879fc99652043befb35158b3321 (patch) | |
tree | fb7afa124abc55dba2c9d17f4fa10a593485febf /sc | |
parent | 69c4a8bae5caadc4ff53660dd3f2b938f6dc1734 (diff) |
typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/complex/cellRanges/CheckXCellRangesQuery.java | 2 | ||||
-rw-r--r-- | sc/qa/complex/dataPilot/CheckDataPilot.java | 2 | ||||
-rw-r--r-- | sc/qa/complex/sc/CalcRTL.java | 2 | ||||
-rw-r--r-- | sc/qa/unit/data/contentCSV/fdo48621_broken_quotes_exported.csv | 2 | ||||
-rw-r--r-- | sc/qa/unit/data/csv/fdo48621_broken_quotes.csv | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaapplication.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbahelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworkbooks.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java b/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java index 8ec02b0feed5..d7aac7ef0141 100644 --- a/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java +++ b/sc/qa/complex/cellRanges/CheckXCellRangesQuery.java @@ -78,7 +78,7 @@ public class CheckXCellRangesQuery /* extends ComplexTestCase */ { System.out.println( "creating a Spreadsheet document" ); m_xSheetDoc = SOF.createCalcDoc(null); } catch ( com.sun.star.uno.Exception e ) { - // Some exception occures.FAILED + // Some exception occurs.FAILED e.printStackTrace( ); fail( "Couldn?t create document"); } diff --git a/sc/qa/complex/dataPilot/CheckDataPilot.java b/sc/qa/complex/dataPilot/CheckDataPilot.java index d26c78da1cdc..56e0a0e5a795 100644 --- a/sc/qa/complex/dataPilot/CheckDataPilot.java +++ b/sc/qa/complex/dataPilot/CheckDataPilot.java @@ -190,7 +190,7 @@ public class CheckDataPilot { System.out.println( "Creating a Spreadsheet document" ); xSheetDoc = SOF.createCalcDoc(null); } catch (com.sun.star.uno.Exception e) { - // Some exception occures.FAILED + // Some exception occurs.FAILED e.printStackTrace(); throw new StatusException( "Couldn't create document", e ); } diff --git a/sc/qa/complex/sc/CalcRTL.java b/sc/qa/complex/sc/CalcRTL.java index b622b962032d..68d06de65ee1 100644 --- a/sc/qa/complex/sc/CalcRTL.java +++ b/sc/qa/complex/sc/CalcRTL.java @@ -231,7 +231,7 @@ public class CalcRTL /* extends ComplexTestCase */ System.out.println("creating a sheetdocument"); xSheetDoc = SOF.createCalcDoc(null); } catch (com.sun.star.uno.Exception e) { - // Some exception occures.FAILED + // Some exception occurs.FAILED worked = false; e.printStackTrace(/*(PrintWriter) log*/ System.err); } diff --git a/sc/qa/unit/data/contentCSV/fdo48621_broken_quotes_exported.csv b/sc/qa/unit/data/contentCSV/fdo48621_broken_quotes_exported.csv index b1c95af5c689..dfc83c5f3ced 100644 --- a/sc/qa/unit/data/contentCSV/fdo48621_broken_quotes_exported.csv +++ b/sc/qa/unit/data/contentCSV/fdo48621_broken_quotes_exported.csv @@ -16,7 +16,7 @@ i78926_input.csv,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, i78926_inconsistent_double_quote_behavior.csv,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Description,Description,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, -The following text breaks everything,"OpenOffice.org calc doesnt "" like quotes embedded in fields.",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +The following text breaks everything,"OpenOffice.org calc doesn't "" like quotes embedded in fields.",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Here is some data,Here is some data,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Here is some data,Here is some data,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Here is some data,Here is some data,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, diff --git a/sc/qa/unit/data/csv/fdo48621_broken_quotes.csv b/sc/qa/unit/data/csv/fdo48621_broken_quotes.csv index dbefc2481f84..90f8583abb6c 100644 --- a/sc/qa/unit/data/csv/fdo48621_broken_quotes.csv +++ b/sc/qa/unit/data/csv/fdo48621_broken_quotes.csv @@ -14,7 +14,7 @@ i78926_input.csv i78926_inconsistent_double_quote_behavior.csv Description,Description -"The following text breaks everything",OpenOffice.org calc doesnt " like quotes embedded in fields. +"The following text breaks everything",OpenOffice.org calc doesn't " like quotes embedded in fields. Here is some data,Here is some data Here is some data,Here is some data Here is some data,Here is some data diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index bc19d9f4b200..0013ec1b9f48 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -899,7 +899,7 @@ OUString ScVbaApplication::getOfficePath( const OUString& _sPathType ) throw ( u OUString sUrl; xProps->getPropertyValue( _sPathType ) >>= sUrl; - // if its a list of paths then use the last one + // if it's a list of paths then use the last one sal_Int32 nIndex = sUrl.lastIndexOf( ';' ) ; if ( nIndex > 0 ) sUrl = sUrl.copy( nIndex + 1 ); diff --git a/sc/source/ui/vba/vbahelper.cxx b/sc/source/ui/vba/vbahelper.cxx index cba17fa227fe..b9d0bf9f5c00 100644 --- a/sc/source/ui/vba/vbahelper.cxx +++ b/sc/source/ui/vba/vbahelper.cxx @@ -561,7 +561,7 @@ ContainerUtilities::FieldInList( const uno::Sequence< OUString >& SearchList, co for (sal_Int32 i = 0; i < FieldLen; i++) { // I wonder why comparing lexicographically is done - // when its a match is whats interesting? + // when it's a match is whats interesting? //if (SearchList[i].compareTo(SearchString) == 0) if ( SearchList[i] == SearchString ) { diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 817e3299dc4f..30b92c3d6486 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -4226,7 +4226,7 @@ uno::Reference< excel::XRange > ScVbaRange::ApplicationRange( const uno::Reference< uno::XComponentContext >& xContext, const css::uno::Any &Cell1, const css::uno::Any &Cell2 ) throw (css::uno::RuntimeException) { // Althought the documentation seems clear that Range without a - // qualifier then its a shortcut for ActiveSheet.Range + // qualifier then it's a shortcut for ActiveSheet.Range // however, similarly Application.Range is apparently also a // shortcut for ActiveSheet.Range // The is however a subtle behavioural difference I've come across @@ -4553,7 +4553,7 @@ ScVbaRange::AutoFilter( const uno::Any& aField, const uno::Any& Criteria1, const // e.g. can you have a Operator without a Criteria ? in openoffice it if ( Operator.hasValue() && ( Operator >>= nOperator ) ) { - // if its a bottom/top Ten(Percent/Value) and there + // if it's a bottom/top Ten(Percent/Value) and there // is no value specified for criteria1 set it to 10 if ( !bCritHasNumericValue && sCriteria1.isEmpty() && ( nOperator != excel::XlAutoFilterOperator::xlOr ) && ( nOperator != excel::XlAutoFilterOperator::xlAnd ) ) { diff --git a/sc/source/ui/vba/vbaworkbooks.cxx b/sc/source/ui/vba/vbaworkbooks.cxx index b2f49a819eca..690859d90976 100644 --- a/sc/source/ui/vba/vbaworkbooks.cxx +++ b/sc/source/ui/vba/vbaworkbooks.cxx @@ -278,7 +278,7 @@ ScVbaWorkbooks::getFileFilterType( const OUString& rFileName ) uno::Any SAL_CALL ScVbaWorkbooks::Open( const OUString& rFileName, const uno::Any& /*UpdateLinks*/, const uno::Any& ReadOnly, const uno::Any& Format, const uno::Any& /*Password*/, const uno::Any& /*WriteResPassword*/, const uno::Any& /*IgnoreReadOnlyRecommended*/, const uno::Any& /*Origin*/, const uno::Any& Delimiter, const uno::Any& /*Editable*/, const uno::Any& /*Notify*/, const uno::Any& /*Converter*/, const uno::Any& /*AddToMru*/ ) throw (uno::RuntimeException) { - // we need to detect if this is a URL, if not then assume its a file path + // we need to detect if this is a URL, if not then assume it's a file path OUString aURL; INetURLObject aObj; aObj.SetURL( rFileName ); diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index 57574350b5ec..ef34191f8a1b 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -169,7 +169,7 @@ ScTabView::~ScTabView() delete pSelEngine; - // Delete this before the grid windows, since its a child window of one of them. + // Delete this before the grid windows, since it's a child window of one of them. mpInputHintWindow.reset(); for (i=0; i<4; i++) delete pGridWin[i]; |