diff options
Diffstat (limited to 'sc/source/ui')
-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 |
5 files changed, 6 insertions, 6 deletions
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]; |