diff options
author | Pedro Giffuni <pfg@apache.org> | 2016-05-22 01:05:14 +0000 |
---|---|---|
committer | Pedro Giffuni <pfg@apache.org> | 2016-05-22 01:05:14 +0000 |
commit | fe28961d1a4735f4e37afbeca74eeed20d283825 (patch) | |
tree | a640fc0b251176c796205bf1b74e991ede1b7ca4 /reportdesign/source | |
parent | 39abfdb0779d252d916a72f5563e064764cd68b0 (diff) |
Spelling, spelling ...
Why worry about some sprinkled German when we haven't yet learned English.
Notes
Notes:
prefer: b37a07f2da6c4fcc1a01cc3ea547c558c23edd71
Diffstat (limited to 'reportdesign/source')
-rw-r--r-- | reportdesign/source/core/api/ReportDefinition.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/inc/Section.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/misc/conditionalexpression.cxx | 12 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlfilter.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/GeometryHandler.hxx | 8 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/ReportController.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/inspection/DataProviderHandler.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ViewsWindow.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/report/propbrw.cxx | 4 |
9 files changed, 20 insertions, 20 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index 6b0f648b6563..f1d79d8b0925 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -1901,7 +1901,7 @@ void SAL_CALL OReportDefinition::load( const uno::Sequence< beans::PropertyValue { if ( i == nLastOpenMode ) throw lang::WrappedTargetException( - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "An error occured while creating the document storage." ) ), + ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "An error occurred while creating the document storage." ) ), // TODO: resource *this, ::cppu::getCaughtException() diff --git a/reportdesign/source/core/inc/Section.hxx b/reportdesign/source/core/inc/Section.hxx index f5626242f8b4..fe85b31bca70 100644 --- a/reportdesign/source/core/inc/Section.hxx +++ b/reportdesign/source/core/inc/Section.hxx @@ -89,7 +89,7 @@ namespace reportdesign l.notify(); } - /** checks if this section is eiter the page header or footer and if so it throws an UnknownPropertyException + /** checks if this section is either the page header or footer and if so it throws an UnknownPropertyException * */ void checkNotPageHeaderFooter(); diff --git a/reportdesign/source/core/misc/conditionalexpression.cxx b/reportdesign/source/core/misc/conditionalexpression.cxx index f1065c93933e..072baf8d8a32 100644 --- a/reportdesign/source/core/misc/conditionalexpression.cxx +++ b/reportdesign/source/core/misc/conditionalexpression.cxx @@ -99,16 +99,16 @@ namespace rptui sal_Int32 nLHSIndex( sMatchExpression.indexOf( sLHSPattern ) ); sal_Int32 nRHSIndex( sMatchExpression.indexOf( sRHSPattern ) ); - // now we should have at most one occurance of $1 and $2, resp. + // now we should have at most one occurrence of $1 and $2, resp. OSL_ENSURE( sMatchExpression.indexOf( sLHSPattern, nLHSIndex + 1 ) == -1, - "ConditionalExpression::matchExpression: unsupported pattern (more than one LHS occurance)!" ); + "ConditionalExpression::matchExpression: unsupported pattern (more than one LHS occurrence)!" ); OSL_ENSURE( sMatchExpression.indexOf( sRHSPattern, nRHSIndex + 1 ) == -1, - "ConditionalExpression::matchExpression: unsupported pattern (more than one RHS occurance)!" ); + "ConditionalExpression::matchExpression: unsupported pattern (more than one RHS occurrence)!" ); // Also, an LHS must be present, and precede the RHS (if present) OSL_ENSURE( ( nLHSIndex != -1 ) && ( ( nLHSIndex < nRHSIndex ) || ( nRHSIndex == -1 ) ), - "ConditionalExpression::matchExpression: no LHS, or an RHS preceeding the LHS - this is not supported!" ); + "ConditionalExpression::matchExpression: no LHS, or an RHS preceding the LHS - this is not supported!" ); - // up to the occurance of the LHS (which must exist, see above), the two expressions + // up to the occurrence of the LHS (which must exist, see above), the two expressions // must be identical if ( _rExpression.getLength() < nLHSIndex ) return false; @@ -118,7 +118,7 @@ namespace rptui // the left-most expression parts do not match return false; - // after the occurance of the RHS (or the LHS, if there is no RHS), the two expressions + // after the occurrence of the RHS (or the LHS, if there is no RHS), the two expressions // must be identical, too bool bHaveRHS( nRHSIndex != -1 ); sal_Int32 nRightMostIndex( bHaveRHS ? nRHSIndex : nLHSIndex ); diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index 7ecb8f2bf49d..a21aef3a285a 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -243,7 +243,7 @@ sal_Int32 ReadThroughComponent( if ( !xStorage->hasByName( sStreamName ) || !xStorage->isStreamElement( sStreamName ) ) { // stream name not found! Then try the compatibility name. - // if no stream can be opened, return immediatly with OK signal + // if no stream can be opened, return immediately with OK signal // do we even have an alternative name? if ( NULL == pCompatibilityStreamName ) @@ -655,7 +655,7 @@ sal_Bool ORptFilter::implImport( const Sequence< PropertyValue >& rDescriptor ) // TODO/LATER: no way to transport the error outside from the filter! break; } - // fall through intented + // fall through intended default: { // TODO/LATER: this is completely wrong! Filter code should never call ErrorHandler directly! But for now this is the only way! diff --git a/reportdesign/source/ui/inc/GeometryHandler.hxx b/reportdesign/source/ui/inc/GeometryHandler.hxx index 0727b133af72..c77a154c964b 100644 --- a/reportdesign/source/ui/inc/GeometryHandler.hxx +++ b/reportdesign/source/ui/inc/GeometryHandler.hxx @@ -149,13 +149,13 @@ namespace rptui */ bool impl_isDataField(const ::rtl::OUString& _sName) const; - /**return all formula in a semicolon seperated list + /**return all formula in a semicolon separated list * * \param _rList the localized function names */ void impl_fillFormulaList_nothrow(::std::vector< ::rtl::OUString >& _out_rList) const; - /** return all group names in a semicolon seperated list starting with the group where this control is contained in. + /** return all group names in a semicolon separated list starting with the group where this control is contained in. * * \param _rList fills the list with all scope names. */ @@ -190,7 +190,7 @@ namespace rptui * * \param _sQuotedFunction the quoted function name * \param _Out_rDataField the data field which is used in the function - * \param _xFunctionsSupplier teh function supplier to search or empty if not used + * \param _xFunctionsSupplier the function supplier to search or empty if not used * \param _bSet If set to sal_True than the m_sDefaultFunction and m_sScope vars will be set if successful. * \return sal_True with known otherwise sal_False */ @@ -210,7 +210,7 @@ namespace rptui ,::rtl::OUString& _rDataField ,::rtl::OUString& _rsDefaultFunctionName) const; - /** fills the memeber m_aDefaultFunctions + /** fills the member m_aDefaultFunctions * */ void loadDefaultFunctions(); diff --git a/reportdesign/source/ui/inc/ReportController.hxx b/reportdesign/source/ui/inc/ReportController.hxx index 5d20dff52aa7..fef1488dfc34 100644 --- a/reportdesign/source/ui/inc/ReportController.hxx +++ b/reportdesign/source/ui/inc/ReportController.hxx @@ -267,7 +267,7 @@ namespace rptui /** gets the current section (SdrView) * - * \return the currently selected section or <NULL/> if noone is selected + * \return the currently selected section or <NULL/> if no one is selected */ OSectionView* getCurrentSectionView() const; diff --git a/reportdesign/source/ui/inspection/DataProviderHandler.cxx b/reportdesign/source/ui/inspection/DataProviderHandler.cxx index f6b115eda14c..d14bfff41588 100644 --- a/reportdesign/source/ui/inspection/DataProviderHandler.cxx +++ b/reportdesign/source/ui/inspection/DataProviderHandler.cxx @@ -190,7 +190,7 @@ uno::Any SAL_CALL DataProviderHandler::getPropertyValue(const ::rtl::OUString & switch(nId) { case PROPERTY_ID_CHARTTYPE: - // TODO: We need a possiblity to get the UI of the selected chart type + // TODO: We need a possibility to get the UI of the selected chart type //if( m_xChartModel.is() ) //{ // uno::Reference< chart2::XDiagram > xDiagram( m_xChartModel->getFirstDiagram() ); diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx index bb3f0f9ab81b..d25cb39dabe1 100644 --- a/reportdesign/source/ui/report/ViewsWindow.cxx +++ b/reportdesign/source/ui/report/ViewsWindow.cxx @@ -1108,7 +1108,7 @@ void OViewsWindow::BegDragObj(const Point& _aPnt, SdrHdl* _pHdl,const OSectionVi // Create drag lines over all viewable Views // Therefore we need to identify the marked objects // and create temporary objects on all other views at the same position - // relative to its occurance. + // relative to its occurrence. OSL_TRACE("BegDragObj createInvisible Objects\n" ); int nViewCount = 0; @@ -1331,7 +1331,7 @@ void OViewsWindow::EndDragObj(sal_Bool _bControlKeyPressed, const OSectionView* { EndDragObj_removeInvisibleObjects(); - // we need to manipulate the current clickpoint, we substract the old delta from BeginDrag + // we need to manipulate the current clickpoint, we subtract the old delta from BeginDrag // OSectionView* pInSection = getSectionRelativeToPosition(_pSection, aPnt); // aNewPos.X() -= m_aDragDelta.X(); // aNewPos.Y() -= m_aDragDelta.Y(); diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx index 181fc41515fe..c449cbd3e0c4 100644 --- a/reportdesign/source/ui/report/propbrw.cxx +++ b/reportdesign/source/ui/report/propbrw.cxx @@ -572,7 +572,7 @@ void PropBrw::Update( OSectionView* pNewView ) } catch ( Exception& ) { - DBG_ERROR( "PropBrw::Update: Exception occured!" ); + DBG_ERROR( "PropBrw::Update: Exception occurred!" ); } } //---------------------------------------------------------------------------- @@ -594,7 +594,7 @@ void PropBrw::Update( const uno::Reference< uno::XInterface>& _xReportComponent) } catch ( Exception& ) { - DBG_ERROR( "PropBrw::Update: Exception occured!" ); + DBG_ERROR( "PropBrw::Update: Exception occurred!" ); } } } |