From 3063d55b8be2188532e3e2892f440ff0d481db71 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 2 Mar 2017 12:27:41 +0100 Subject: Fix typos Change-Id: I338dacd3cfe915714a9038e1dea4a60d586e9394 Reviewed-on: https://gerrit.libreoffice.org/34806 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/editeng/editview.cxx | 2 +- editeng/source/editeng/edtspell.cxx | 2 +- embeddedobj/source/msole/olecomponent.cxx | 2 +- extensions/source/ole/unoobjw.cxx | 2 +- extensions/source/propctrlr/sqlcommanddesign.cxx | 4 ++-- extensions/source/propctrlr/stringrepresentation.cxx | 2 +- external/redland/rasqal/rasqal.h | 2 +- extras/source/glade/libreoffice-catalog.xml.in | 4 ++-- filter/qa/complex/filter/misc/FinalizedMandatoryTest.java | 4 ++-- filter/source/graphicfilter/icgm/cgmtypes.hxx | 4 ++-- filter/source/svg/svgexport.cxx | 6 +++--- filter/source/xslt/import/wordml/wordml2ooo.xsl | 2 +- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 2 +- filter/source/xslt/odf2xhtml/export/xhtml/table.xsl | 2 +- forms/source/component/ListBox.hxx | 2 +- forms/source/inc/property.hxx | 2 +- fpicker/source/win32/filepicker/FileOpenDlg.hxx | 2 +- fpicker/source/win32/filepicker/comptr.hxx | 2 +- fpicker/source/win32/filepicker/helppopupwindow.hxx | 2 +- 19 files changed, 25 insertions(+), 25 deletions(-) diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index e328805895ff..ff4af8aef83a 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -840,7 +840,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, LinkGetImpEditView()->SetEditSelection( pEE->GetEditDoc().GetStartPaM() ); diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index 2cea0ca4b600..acfc61802d7d 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -1549,7 +1549,7 @@ uno::Any SAL_CALL OleComponent::getTransferData( const datatransfer::DataFlavor& } } - // If the replacement could not be retrieved, the cached representaion should be used + // If the replacement could not be retrieved, the cached representation should be used // currently it is not necessary to retrieve it here, so it is implemented in the object itself } // TODO: Investigate if there is already the format name diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index d8d0d1944122..0262723d5eeb 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -578,7 +578,7 @@ static bool writeBackOutParameter2( VARIANTARG* pDest, VARIANT* pSource) { // We use IDispatchEx because its GetDispID function causes the creation // of a property if it does not exist already. This is convenient for - // out parameters in JScript. Then the user must not specify propery "0" + // out parameters in JScript. Then the user must not specify property "0" // explicitly CComQIPtr spDispEx( spDispDest); if( spDispEx) diff --git a/extensions/source/propctrlr/sqlcommanddesign.cxx b/extensions/source/propctrlr/sqlcommanddesign.cxx index bf006b994795..d17bd3312531 100644 --- a/extensions/source/propctrlr/sqlcommanddesign.cxx +++ b/extensions/source/propctrlr/sqlcommanddesign.cxx @@ -300,11 +300,11 @@ namespace pcr void SQLCommandDesigner::impl_closeDesigner_nothrow() { - OSL_PRECOND( isActive(), "SQLCommandDesigner::impl_closeDesigner_nothrow: invalid calle!" ); + OSL_PRECOND( isActive(), "SQLCommandDesigner::impl_closeDesigner_nothrow: invalid call!" ); // close it try { - // do not listen anymore .... + // do not listen anymore... Reference< XPropertySet > xProps( m_xDesigner, UNO_QUERY ); if ( xProps.is() ) xProps->removePropertyChangeListener( PROPERTY_ACTIVECOMMAND, this ); diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index cdba91af4fa0..3f8b0abfa697 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -125,7 +125,7 @@ private: /** converts a string into his constant value if it exists, otherwise the type converter is used. * \param _rValue the value to be converted - * \param _ePropertyType the type of the propery to be converted into + * \param _ePropertyType the type of the property to be converted into * \return the converted value */ uno::Any convertStringToSimple( const OUString& _rValue,const uno::TypeClass& _ePropertyType ); diff --git a/external/redland/rasqal/rasqal.h b/external/redland/rasqal/rasqal.h index a8d9b4a4306e..903a5a67a735 100644 --- a/external/redland/rasqal/rasqal.h +++ b/external/redland/rasqal/rasqal.h @@ -2010,7 +2010,7 @@ typedef enum { * @version: API version - only V1 is defined for now * @query: Source for this query. * @user_data: Context user data passed into the factory methods. - * @init_triples_match: Factory method to initalise a new #rasqal_triples_match. + * @init_triples_match: Factory method to initialize a new #rasqal_triples_match. * @triple_present: Factory method to return presence or absence of a complete triple. * @free_triples_source: Factory method to deallocate resources. * @support_feature: Factory method to test support for a feature, returning non-0 if supported diff --git a/extras/source/glade/libreoffice-catalog.xml.in b/extras/source/glade/libreoffice-catalog.xml.in index 6fea54ad7ebc..017945162449 100644 --- a/extras/source/glade/libreoffice-catalog.xml.in +++ b/extras/source/glade/libreoffice-catalog.xml.in @@ -834,7 +834,7 @@ - - AddAttribute( XML_NAMESPACE_NONE, "height", aAttr ); } - // #i124608# set viewBox explicitely to the exported content + // #i124608# set viewBox explicitly to the exported content if (mbExportShapeSelection) { aAttr = OUString::number(nDocX) + " " + OUString::number(nDocY) + " "; @@ -910,7 +910,7 @@ void SVGFilter::implGenerateMetaData() // Add a (global) Page Numbering Type attribute for the document // NOTE: at present pSdrModel->GetPageNumType() returns always css::style::NumberingType::ARABIC - // so the following code fragment is pretty unuseful + // so the following code fragment is pretty useless sal_Int32 nPageNumberingType = css::style::NumberingType::ARABIC; SvxDrawPage* pSvxDrawPage = SvxDrawPage::getImplementation( mSelectedPages[0] ); if( pSvxDrawPage ) @@ -1508,7 +1508,7 @@ void SVGFilter::implExportDrawPages( const std::vector< Reference< XDrawPage > > { // Insert a further inner the open tag for handling elements // inserted before or after a slide: that is used for some - // when swithing from the last to the first slide. + // when switching from the last to the first slide. const OUString & sPageId = implGetValidIDFromInterface( rxPages[i] ); OUString sContainerId = "container-"; sContainerId += sPageId; diff --git a/filter/source/xslt/import/wordml/wordml2ooo.xsl b/filter/source/xslt/import/wordml/wordml2ooo.xsl index 55f97148e20d..d7e9ef41cf85 100644 --- a/filter/source/xslt/import/wordml/wordml2ooo.xsl +++ b/filter/source/xslt/import/wordml/wordml2ooo.xsl @@ -228,7 +228,7 @@ - + diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 7e9eb59734db..e7bcab15f577 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -481,7 +481,7 @@ - + diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl index 417e4f75fa7d..533017c17be1 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/table.xsl @@ -117,7 +117,7 @@ The cell-style depends on two attributes: - 1) table:style-name - the style properties of cell. When they exist, a default alignement (cp. below) will be added for the + 1) table:style-name - the style properties of cell. When they exist, a default alignment (cp. below) will be added for the case of no alignment in the style exist. 2) office:value-type - the value type of the table-cell giving the default alignments. diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx index f6f591b102e6..402f44d29e95 100644 --- a/forms/source/component/ListBox.hxx +++ b/forms/source/component/ListBox.hxx @@ -76,7 +76,7 @@ ListBox as a sequence of *indices* in the value list, and do the lookup on demand: - - ListBox's content propery (or value property, sorry the + - ListBox's content property (or value property, sorry the terminology is not always consistent) is SelectedItems which is a sequence of *indices* in the value list. diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index 202d449a2fb5..b718e1851800 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -39,7 +39,7 @@ using namespace comphelper; namespace frm { -//= assigment property handle <-> property name +//= assignment property handle <-> property name //= used by the PropertySetAggregationHelper diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.hxx b/fpicker/source/win32/filepicker/FileOpenDlg.hxx index 36e38e6f1df0..28b01da16ce2 100644 --- a/fpicker/source/win32/filepicker/FileOpenDlg.hxx +++ b/fpicker/source/win32/filepicker/FileOpenDlg.hxx @@ -229,7 +229,7 @@ protected: sal_uInt32 SAL_CALL onWMNotify(HWND hwndChild, LPOFNOTIFYW lpOfNotify); // we use non-virtual functions to do necessary work before - // calling the virtual funtions (see Gamma: Template method) + // calling the virtual functions (see Gamma: Template method) void SAL_CALL handleInitDialog(HWND hwndDlg, HWND hwndChild); protected: diff --git a/fpicker/source/win32/filepicker/comptr.hxx b/fpicker/source/win32/filepicker/comptr.hxx index b7f123833a34..2469d8b5e289 100644 --- a/fpicker/source/win32/filepicker/comptr.hxx +++ b/fpicker/source/win32/filepicker/comptr.hxx @@ -60,7 +60,7 @@ class ComPtr } - /** initialize object by quering external object for the right interface. + /** initialize object by querying external object for the right interface. */ explicit ComPtr(IUnknown* pIUnknown) { diff --git a/fpicker/source/win32/filepicker/helppopupwindow.hxx b/fpicker/source/win32/filepicker/helppopupwindow.hxx index 44f54e268cdf..d63230238f75 100644 --- a/fpicker/source/win32/filepicker/helppopupwindow.hxx +++ b/fpicker/source/win32/filepicker/helppopupwindow.hxx @@ -38,7 +38,7 @@ /* - A simple popup window similary to the one the + A simple popup window similarly to the one the windows help (using WinHelp) creates when called with the option HELP_CONTEXTPOPUP. -- cgit