diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-10 22:43:18 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-12 09:38:47 +0200 |
commit | 0286f76b84478a38b252a39a4e33e51339286bcd (patch) | |
tree | 4ed7d8f268fe05efd0c007b996dc958e1fb25ea7 /reportdesign | |
parent | 7f0f574d7a1ec96f25c017f0576b930e0ff715d8 (diff) |
Fix typos
Change-Id: I7e6f758649b57840a764ca6d9bab47951b07c573
Reviewed-on: https://gerrit.libreoffice.org/77253
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/inc/reportformula.hxx | 2 | ||||
-rw-r--r-- | reportdesign/qa/complex/reportdesign/ReportDesignerTest.java | 4 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/RptPage.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/formatnormalizer.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlStyleImport.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/DesignView.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/ReportController.hxx | 10 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/ReportWindow.hxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/ScrollHelper.hxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/ViewsWindow.hxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/dlgedfunc.hxx | 2 |
11 files changed, 20 insertions, 20 deletions
diff --git a/reportdesign/inc/reportformula.hxx b/reportdesign/inc/reportformula.hxx index 5e5976a075b9..987ea96927ce 100644 --- a/reportdesign/inc/reportformula.hxx +++ b/reportdesign/inc/reportformula.hxx @@ -91,7 +91,7 @@ namespace rptui or the undecorated expression if the formula denotes an expression. Effectively, this means the method returns the complete formula, stripped by the prefix - which indicates a field or a expression. + which indicates a field or an expression. */ OUString getBracketedFieldOrExpression() const; diff --git a/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java b/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java index fef462031b69..3db6eafd7aa1 100644 --- a/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java +++ b/reportdesign/qa/complex/reportdesign/ReportDesignerTest.java @@ -95,11 +95,11 @@ class PropertySetHelper class PropertyHelper { /** - Create a PropertyValue[] from a ArrayList + Create a PropertyValue[] from an ArrayList */ public static PropertyValue[] createPropertyValueArrayFormArrayList(ArrayList<PropertyValue> _aPropertyList) { - // copy the whole PropertyValue List to an PropertyValue Array + // copy the whole PropertyValue List to a PropertyValue Array PropertyValue[] aSaveProperties = null; if (_aPropertyList == null) diff --git a/reportdesign/source/core/sdr/RptPage.cxx b/reportdesign/source/core/sdr/RptPage.cxx index 18484851739b..743ebb98140d 100644 --- a/reportdesign/source/core/sdr/RptPage.cxx +++ b/reportdesign/source/core/sdr/RptPage.cxx @@ -76,7 +76,7 @@ void OReportPage::removeSdrObject(const uno::Reference< report::XReportComponent if ( nPos < GetObjCount() ) { OObjectBase* pBase = dynamic_cast<OObjectBase*>(GetObj(nPos)); - OSL_ENSURE(pBase,"Why is this not a OObjectBase?"); + OSL_ENSURE(pBase,"Why is this not an OObjectBase?"); if ( pBase ) pBase->EndListening(); RemoveObject(nPos); diff --git a/reportdesign/source/core/sdr/formatnormalizer.cxx b/reportdesign/source/core/sdr/formatnormalizer.cxx index d9dc4af14158..7511792eb0d4 100644 --- a/reportdesign/source/core/sdr/formatnormalizer.cxx +++ b/reportdesign/source/core/sdr/formatnormalizer.cxx @@ -192,7 +192,7 @@ namespace rptui } catch( const SQLException& ) { - // silence it. This might happen for instance when the user sets an non-existent table, + // silence it. This might happen for instance when the user sets a non-existent table, // or things like this } catch( const Exception& ) diff --git a/reportdesign/source/filter/xml/xmlStyleImport.cxx b/reportdesign/source/filter/xml/xmlStyleImport.cxx index 931eeda4587f..092f928b22a1 100644 --- a/reportdesign/source/filter/xml/xmlStyleImport.cxx +++ b/reportdesign/source/filter/xml/xmlStyleImport.cxx @@ -276,7 +276,7 @@ SvXMLStyleContext *OReportStylesContext::CreateStyleStyleChildContext( xAttrList, *this, nFamily ); break; default: - OSL_FAIL("OReportStylesContext::CreateStyleStyleChildContext: Unknown style family. PLease check."); + OSL_FAIL("OReportStylesContext::CreateStyleStyleChildContext: Unknown style family. Please check."); break; } } @@ -329,7 +329,7 @@ Reference < XNameContainer > xStyles = const_cast<SvXMLImport *>(&GetImport())->GetTextImport()->GetFrameStyles(); break; default: - OSL_FAIL("OReportStylesContext::CreateStyleStyleChildContext: Unknown style family. PLease check."); + OSL_FAIL("OReportStylesContext::CreateStyleStyleChildContext: Unknown style family. Please check."); break; } if( !xStyles.is() && !sName.isEmpty() && GetOwnImport().GetModel().is() ) diff --git a/reportdesign/source/ui/inc/DesignView.hxx b/reportdesign/source/ui/inc/DesignView.hxx index 843fb2071546..904c733f1659 100644 --- a/reportdesign/source/ui/inc/DesignView.hxx +++ b/reportdesign/source/ui/inc/DesignView.hxx @@ -213,7 +213,7 @@ namespace rptui */ void fillCollapsedSections(::std::vector<sal_uInt16>& _rCollapsedPositions) const; - /** collpase all sections given by their position + /** collapse all sections given by their position * * \param _aCollpasedSections The position of the sections which should be collapsed. */ diff --git a/reportdesign/source/ui/inc/ReportController.hxx b/reportdesign/source/ui/inc/ReportController.hxx index 683d0f5c5fdf..9fc568604e16 100644 --- a/reportdesign/source/ui/inc/ReportController.hxx +++ b/reportdesign/source/ui/inc/ReportController.hxx @@ -147,7 +147,7 @@ namespace rptui /** append a new group or remove it with undo. * * \param _bAppend - * \param _aArgs The args which contains a element named PROPERTY_GROUP of type report::XGroup. + * \param _aArgs The args which contains an element named PROPERTY_GROUP of type report::XGroup. */ void modifyGroup(const bool _bAppend, const css::uno::Sequence< css::beans::PropertyValue >& _aArgs); @@ -155,7 +155,7 @@ namespace rptui * * \param _bUndo true when undo action should be created * \param _bHeader true when it is a header otherwise it is a footer - * \param _aArgs The args which contains a element named PROPERTY_GROUP of type report::XGroup. + * \param _aArgs The args which contains an element named PROPERTY_GROUP of type report::XGroup. */ void createGroupSection(const bool _bUndo,const bool _bHeader,const css::uno::Sequence< css::beans::PropertyValue >&_aArgs); @@ -214,7 +214,7 @@ namespace rptui public: void shrinkSection(const char* pUndoStrId, const css::uno::Reference< css::report::XSection >& _xSection, sal_Int32 _nShrinkId); - /** opens the file open dialog to allow the user to select a image which will be + /** opens the file open dialog to allow the user to select an image which will be * bound to a newly created image button. */ void insertGraphic(); @@ -237,7 +237,7 @@ namespace rptui */ void createPageNumber(const css::uno::Sequence< css::beans::PropertyValue >& _aArgs); - /** creates a formatted field with TODAY() function and if set also an NOW() function + /** creates a formatted field with TODAY() function and if set also a NOW() function * * \param _aArgs */ @@ -283,7 +283,7 @@ namespace rptui bool isUiVisible() const; /** creates a new default control for the currently set type when the modifier KEY_MOD1 was pressed - * \param _aArgs must contain a properyvalue with name "KeyModifier" and value KEY_MOD1 when control should be created. + * \param _aArgs must contain a propertyvalue with name "KeyModifier" and value KEY_MOD1 when control should be created. */ void createDefaultControl(const css::uno::Sequence< css::beans::PropertyValue>& _aArgs); diff --git a/reportdesign/source/ui/inc/ReportWindow.hxx b/reportdesign/source/ui/inc/ReportWindow.hxx index 3e3c16f7eab0..99fc3aae3a47 100644 --- a/reportdesign/source/ui/inc/ReportWindow.hxx +++ b/reportdesign/source/ui/inc/ReportWindow.hxx @@ -104,7 +104,7 @@ namespace rptui */ void SelectAll(const sal_uInt16 _nObjectType); - /** returns <TRUE/> when a object is marked + /** returns <TRUE/> when an object is marked */ bool HasSelection() const; @@ -189,7 +189,7 @@ namespace rptui */ void fillCollapsedSections(::std::vector<sal_uInt16>& _rCollapsedPositions) const; - /** collpase all sections given by their position + /** collapse all sections given by their position * * \param _aCollpasedSections The position of the sections which should be collapsed. */ diff --git a/reportdesign/source/ui/inc/ScrollHelper.hxx b/reportdesign/source/ui/inc/ScrollHelper.hxx index 165edf1ed684..22a3d428c967 100644 --- a/reportdesign/source/ui/inc/ScrollHelper.hxx +++ b/reportdesign/source/ui/inc/ScrollHelper.hxx @@ -114,7 +114,7 @@ namespace rptui */ void SelectAll(const sal_uInt16 _nObjectType); - /** returns <TRUE/> when a object is marked + /** returns <TRUE/> when an object is marked */ bool HasSelection() const; @@ -181,7 +181,7 @@ namespace rptui */ void fillCollapsedSections(::std::vector<sal_uInt16>& _rCollapsedPositions) const; - /** collpase all sections given by their position + /** collapse all sections given by their position * * \param _aCollpasedSections The position of the sections which should be collapsed. */ diff --git a/reportdesign/source/ui/inc/ViewsWindow.hxx b/reportdesign/source/ui/inc/ViewsWindow.hxx index c8c3a0b8ee6f..e019e79e8332 100644 --- a/reportdesign/source/ui/inc/ViewsWindow.hxx +++ b/reportdesign/source/ui/inc/ViewsWindow.hxx @@ -178,7 +178,7 @@ namespace rptui */ void SelectAll(const sal_uInt16 _nObjectType); - /** returns <TRUE/> when a object is marked + /** returns <TRUE/> when an object is marked */ bool HasSelection() const; @@ -274,7 +274,7 @@ namespace rptui */ void fillCollapsedSections(::std::vector<sal_uInt16>& _rCollapsedPositions) const; - /** collpase all sections given by their position + /** collapse all sections given by their position * * \param _aCollpasedSections The position of the sections which should be collapsed. */ diff --git a/reportdesign/source/ui/inc/dlgedfunc.hxx b/reportdesign/source/ui/inc/dlgedfunc.hxx index 4350ed4bff77..e4a546d9f76d 100644 --- a/reportdesign/source/ui/inc/dlgedfunc.hxx +++ b/reportdesign/source/ui/inc/dlgedfunc.hxx @@ -61,7 +61,7 @@ protected: */ void checkMovementAllowed(const MouseEvent& rMEvt); - /** sets the correct mouse pointer when moving a object + /** sets the correct mouse pointer when moving an object * * \param rMEvt * \return <TRUE/> when the pointer was already set. |