diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-05-04 10:34:36 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-05-05 23:35:06 +0200 |
commit | a940826162dc93f5543f81fc8fe5d8618c4a6efb (patch) | |
tree | df64a2f1cda70234e4f77d7d86cf5ccc9c88b99f | |
parent | 942f50e7d379ba5137f4a64d39bd06d6decad9e8 (diff) |
Fix typos
To complete commit 0ef94e2b559547bc4e906e7f24e57ff5d642e108
and f12096272e684ddcd8ffa4e34dcb0a680cc594c2
Change-Id: Ie86bbfbd58dd728a013bef221e4d5c8fbcaf8e03
Reviewed-on: https://gerrit.libreoffice.org/37199
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
46 files changed, 50 insertions, 50 deletions
diff --git a/android/Makefile b/android/Makefile index 5d877d417d12..288932bbe1b6 100644 --- a/android/Makefile +++ b/android/Makefile @@ -16,7 +16,7 @@ SIGNED_APK := $(BUILDDIR)/android/source/bin/LibreOfficeViewer.apk RELEASE_APK_USAGE := echo; echo "Usage: make versionCode=<version_num+1> exampleDocument=</absolute/path/example.odt> key=<key_name> release-apk" release-apk: build - # versionCode and key are mandatory, examplDocument is not + # versionCode and key are mandatory, exampleDocument is not @if test -z "$(versionCode)" ; then $(RELEASE_APK_USAGE) ; exit 1 ; fi @if test -z "$(key)" ; then $(RELEASE_APK_USAGE) ; exit 1 ; fi diff --git a/basic/source/runtime/stdobj1.cxx b/basic/source/runtime/stdobj1.cxx index ed8df7686965..861617b7df77 100644 --- a/basic/source/runtime/stdobj1.cxx +++ b/basic/source/runtime/stdobj1.cxx @@ -261,7 +261,7 @@ void SbStdFont::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) const sal_uInt32 nWhich = pVar->GetUserData(); bool bWrite = pHint->GetId() == SfxHintId::BasicDataChanged; - // Propteries + // Properties switch( nWhich ) { case ATTR_IMP_BOLD: PropBold( pVar, bWrite ); return; diff --git a/cppcanvas/source/mtfrenderer/emfppath.cxx b/cppcanvas/source/mtfrenderer/emfppath.cxx index 0a7231071d85..034e6419ccd7 100644 --- a/cppcanvas/source/mtfrenderer/emfppath.cxx +++ b/cppcanvas/source/mtfrenderer/emfppath.cxx @@ -63,7 +63,7 @@ namespace cppcanvas delete [] pPointTypes; } - // TODO: remove rR argument when debug code is not longer needed + // TODO: remove rR argument when debug code is no longer needed void EMFPPath::Read (SvStream& s, sal_uInt32 pathFlags, ImplRenderer& rR) { for (int i = 0; i < nPoints; i ++) { diff --git a/cppcanvas/source/mtfrenderer/emfppath.hxx b/cppcanvas/source/mtfrenderer/emfppath.hxx index f86af4806b04..7ced476358e9 100644 --- a/cppcanvas/source/mtfrenderer/emfppath.hxx +++ b/cppcanvas/source/mtfrenderer/emfppath.hxx @@ -35,7 +35,7 @@ namespace cppcanvas virtual ~EMFPPath() override; - // TODO: remove rR argument when debug code is not longer needed + // TODO: remove rR argument when debug code is no longer needed void Read(SvStream& s, sal_uInt32 pathFlags, ImplRenderer& rR); ::basegfx::B2DPolyPolygon& GetPolygon(ImplRenderer& rR, bool bMapIt = true, bool bAddLineToCloseShape = false); diff --git a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx index 21b190856b10..4fd3af92fae9 100644 --- a/desktop/source/deployment/inc/dp_descriptioninfoset.hxx +++ b/desktop/source/deployment/inc/dp_descriptioninfoset.hxx @@ -156,7 +156,7 @@ public: have at least one child element containing an URL. The <code><update-website></code> and <code><update-download></code> - elements are mutually exclusiv. + elements are mutually exclusive. @return the download website URL, or an empty <code>optional</code> if none is diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 570ff2244444..7a1b917ab363 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -494,7 +494,7 @@ OUString MigrationImpl::preXDGConfigDir(const OUString& rConfigDir) else aPreXDGConfigPath = rConfigDir; - // the application-specific config dir is not longer prefixed by '.' because it is hidden under ".config" + // the application-specific config dir is no longer prefixed by '.' because it is hidden under ".config" // we have to add the '.' for the pre-XDG directory names aPreXDGConfigPath += "."; diff --git a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl index 00b3cc98adda..97ce7e7538d4 100644 --- a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl +++ b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl @@ -6620,7 +6620,7 @@ <!-- the following block is not used, if the cell had been repeated earlier --> <xsl:when test="$nextCell and not($cell-is-repeatable and $col-repeated = 1)"> <xsl:choose> - <!-- After cells can not longer be repeated write out the attribute --> + <!-- After cells can no longer be repeated write out the attribute --> <xsl:when test="not($cell-is-repeatable) and $col-repeated > 1"> <xsl:attribute name="table:number-columns-repeated"> <xsl:value-of select="$col-repeated"/> diff --git a/filter/source/xslt/import/wordml/wordml2ooo_path.xsl b/filter/source/xslt/import/wordml/wordml2ooo_path.xsl index 22afe60a01de..b4f0aaa4ac45 100644 --- a/filter/source/xslt/import/wordml/wordml2ooo_path.xsl +++ b/filter/source/xslt/import/wordml/wordml2ooo_path.xsl @@ -1489,7 +1489,7 @@ <!-- **get-path- command** This function will collect the next command from a string. If the input string should has a start of number character, - we here implictly think the command is the last-command + we here implicitly think the command is the last-command All of the command of vml is listed as following: __Basic commands:__ m l c x e t r v nf ns ae al at ar wa wr qx qy qb diff --git a/framework/qa/complex/desktop/DesktopTerminate.java b/framework/qa/complex/desktop/DesktopTerminate.java index ee862bd116a6..5a60a5ed5ea1 100644 --- a/framework/qa/complex/desktop/DesktopTerminate.java +++ b/framework/qa/complex/desktop/DesktopTerminate.java @@ -49,7 +49,7 @@ public class DesktopTerminate * - Look for all document types in the configuration * - Do for every doc type * - start office - * - read configuration attibute settings + * - read configuration attribute settings * - create a new document * - resize the document and close it * - close office diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 4bb7d3dfbaa4..01f3a1cb9841 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -923,7 +923,7 @@ void LayoutManager::implts_backupProgressBarWrapper() // safe a backup copy of the current progress! // This copy will be used automatically inside createProgressBar() which is called - // implictly from implts_doLayout() .-) + // implicitly from implts_doLayout() .-) m_xProgressBarBackup = m_aProgressBarElement.m_xUIElement; // remove the relation between this old progress bar and our old status bar. diff --git a/include/registry/refltype.hxx b/include/registry/refltype.hxx index f2a7db22f1d4..ce8abb3a2c7c 100644 --- a/include/registry/refltype.hxx +++ b/include/registry/refltype.hxx @@ -58,7 +58,7 @@ public: /** deprecated. An earlier version of UNO used an unique identifier for interfaces. In the - current version of UNO this uik was eliminated and this type is not longer used. + current version of UNO this uik was eliminated and this type is no longer used. */ struct RTUik { diff --git a/include/unotools/bootstrap.hxx b/include/unotools/bootstrap.hxx index 6c6663c588bb..5e16b931d707 100644 --- a/include/unotools/bootstrap.hxx +++ b/include/unotools/bootstrap.hxx @@ -28,7 +28,7 @@ namespace utl /** provides configuration information needed for application startup. This class handles the startup information for the office application. - It encapsulates knowledge of how to retriev such information and how + It encapsulates knowledge of how to retrieve such information and how to diagnose failures to retrieve required data. */ diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx index 5183bc39007d..3378ba2716d6 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx @@ -804,7 +804,7 @@ void SAL_CALL Hyphenator::initialize( const Sequence< Any >& rArguments ) //! Pointer allows for access of the non-UNO functions. //! And the reference to the UNO-functions while increasing //! the ref-count and will implicitly free the memory - //! when the object is not longer used. + //! when the object is no longer used. pPropHelper = new PropertyHelper_Hyphenation( static_cast<XHyphenator *>(this), xPropSet ); pPropHelper->AddAsPropListener(); //! after a reference is established } diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index a68fed705570..68239d90e9ed 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -461,7 +461,7 @@ void SAL_CALL //! Pointer allows for access of the non-UNO functions. //! And the reference to the UNO-functions while increasing //! the ref-count and will implicitly free the memory - //! when the object is not longer used. + //! when the object is no longer used. pPropHelper = new PropertyHelper_Spell( static_cast<XSpellChecker *>(this), xPropSet ); xPropHelper = pPropHelper; pPropHelper->AddAsPropListener(); //! after a reference is established diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index bbb1231a4c24..8dcd123dbd00 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -605,7 +605,7 @@ void SAL_CALL SpellChecker::initialize( const Sequence< Any >& rArguments ) //! Pointer allows for access of the non-UNO functions. //! And the reference to the UNO-functions while increasing //! the ref-count and will implicitly free the memory - //! when the object is not longer used. + //! when the object is no longer used. m_pPropHelper = new PropertyHelper_Spelling( static_cast<XSpellChecker *>(this), xPropSet ); m_pPropHelper->AddAsPropListener(); //! after a reference is established } diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index 581bae3368e6..0a5672a22a69 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -536,7 +536,7 @@ void SAL_CALL Thesaurus::initialize( const Sequence< Any >& rArguments ) //! Pointer allows for access of the non-UNO functions. //! And the reference to the UNO-functions while increasing //! the ref-count and will implicitly free the memory - //! when the object is not longer used. + //! when the object is no longer used. pPropHelper = new PropertyHelper_Thesaurus( static_cast<XThesaurus *>(this), xPropSet ); pPropHelper->AddAsPropListener(); //! after a reference is established } diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx index c0127d57e426..6a80eb5e1381 100644 --- a/linguistic/workben/sspellimp.cxx +++ b/linguistic/workben/sspellimp.cxx @@ -352,7 +352,7 @@ void SAL_CALL //! Pointer allows for access of the non-UNO functions. //! And the reference to the UNO-functions while increasing //! the ref-count and will implicitly free the memory - //! when the object is not longer used. + //! when the object is no longer used. pPropHelper = new PropertyHelper_Spell( (XSpellChecker *) this, xPropSet ); xPropHelper = pPropHelper; pPropHelper->AddAsPropListener(); //! after a reference is established diff --git a/lotuswordpro/source/filter/xfilter/ixfattrlist.hxx b/lotuswordpro/source/filter/xfilter/ixfattrlist.hxx index 7916f1c114f6..82b7820930b3 100644 --- a/lotuswordpro/source/filter/xfilter/ixfattrlist.hxx +++ b/lotuswordpro/source/filter/xfilter/ixfattrlist.hxx @@ -55,7 +55,7 @@ ************************************************************************/ /************************************************************************* * @file - * Interface for the attibute list of a xml element. + * Interface for the attribute list of a xml element. ************************************************************************/ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFATTRLIST_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_IXFATTRLIST_HXX diff --git a/lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx b/lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx index 1cbc37cc22c0..35280b9a2ccd 100644 --- a/lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx +++ b/lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx @@ -55,7 +55,7 @@ ************************************************************************/ /************************************************************************* * @file - * Wrapper the attibute list of a xml element. + * Wrapper the attribute list of a xml element. ************************************************************************/ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFSAXATTRLIST_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_XFILTER_XFSAXATTRLIST_HXX diff --git a/offapi/type_reference/typelibrary_history.txt b/offapi/type_reference/typelibrary_history.txt index 7f375fa27ca1..273b864e3ec3 100644 --- a/offapi/type_reference/typelibrary_history.txt +++ b/offapi/type_reference/typelibrary_history.txt @@ -155,7 +155,7 @@ update reference rdb with the released version from OO.org 3.0 (ooo300m9) 04/17/09 (tl, JSC): TaskID=i96846 - changed old and not longer used properties in css.linguistic2.LinguProperties + changed old and no longer used properties in css.linguistic2.LinguProperties to maybevoid and deprecate. They should be removed in a future version. The implementation will never return them. diff --git a/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java b/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java index 4e5213a2f920..1976f5711d77 100644 --- a/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java +++ b/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java @@ -86,7 +86,7 @@ public class ODatabaseSource extends TestCase { @Override protected void cleanup(TestParameters tParam, PrintWriter log) { - log.println(" disposing not longer needed docs... "); + log.println(" disposing no longer needed docs... "); DesktopTools.closeDoc(xDBDoc); } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FixedContentReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FixedContentReadHandler.java index 7f5297c129d6..9896c7a935d2 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FixedContentReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FixedContentReadHandler.java @@ -68,7 +68,7 @@ public class FixedContentReadHandler extends ElementReadHandler if (OfficeNamespaces.OOREPORT_NS.equals(uri)) { - // expect a report control. The control will modifiy the current + // expect a report control. The control will modify the current // element (as we do not separate the elements that strictly ..) if ("report-control".equals(tagName)) { diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java index 03cd8f9eef8b..7810f972e861 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java @@ -89,8 +89,8 @@ public class FormattedTextReadHandler extends ElementReadHandler { if (OfficeNamespaces.OOREPORT_NS.equals(uri)) { - // expect a report control. The control will modifiy the current - // element (as we do not separate the elements that strictly ..) + // expect a report control. The control will modify the current + // element (as we do not separate the elements that strictly...) if ("report-control".equals(tagName)) { return new IgnoreAnyChildReadHandler(); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java index 5a0be92e478a..8c06ac021606 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/ImageReadHandler.java @@ -94,8 +94,8 @@ public class ImageReadHandler extends ElementReadHandler if (OfficeNamespaces.OOREPORT_NS.equals(uri)) { - // expect a report control. The control will modifiy the current - // element (as we do not separate the elements that strictly ..) + // expect a report control. The control will modify the current + // element (as we do not separate the elements that strictly...) if ("report-control".equals(tagName)) { return new IgnoreAnyChildReadHandler(); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/MasterDetailReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/MasterDetailReadHandler.java index 498c45c0a03d..da1eff8b72d6 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/MasterDetailReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/MasterDetailReadHandler.java @@ -83,8 +83,8 @@ public class MasterDetailReadHandler extends ElementReadHandler { if (OfficeNamespaces.OOREPORT_NS.equals(uri) && "master-detail-field".equals(tagName)) { - // expect a report control. The control will modifiy the current - // element (as we do not separate the elements that strictly ..) + // expect a report control. The control will modify the current + // element (as we do not separate the elements that strictly...) return new MasterDetailReadHandler(element, true); } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/SubDocumentReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/SubDocumentReadHandler.java index e5aa0851f505..6706408beb11 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/SubDocumentReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/SubDocumentReadHandler.java @@ -80,8 +80,8 @@ public class SubDocumentReadHandler extends NoCDATATextContentReadHandler { if (OfficeNamespaces.OOREPORT_NS.equals(uri)) { - // expect a report control. The control will modifiy the current - // element (as we do not separate the elements that strictly ..) + // expect a report control. The control will modify the current + // element (as we do not separate the elements that strictly...) if ("report-control".equals(tagName)) { return new IgnoreAnyChildReadHandler(); diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 1b62334c6b43..e1949476840a 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -3155,7 +3155,7 @@ void ScFiltersTest::testCustomNumFormatHybridCellODS() ScDocument& rDoc = xDocSh->GetDocument(); rDoc.SetAutoCalc(true); - // All of B14, B16 and B18 should be displaying empty strings by virture + // All of B14, B16 and B18 should be displaying empty strings by virtue // of the custom number format being set on those cells. for (SCROW nRow : {13, 15, 17}) diff --git a/sc/source/core/data/columniterator.cxx b/sc/source/core/data/columniterator.cxx index 4e363f8f319e..bff9aa1e9033 100644 --- a/sc/source/core/data/columniterator.cxx +++ b/sc/source/core/data/columniterator.cxx @@ -41,7 +41,7 @@ void ScColumnTextWidthIterator::next() if (miDataCur != miDataEnd) { - // Stil in the same block. We're good. + // Still in the same block. We're good. checkEndRow(); return; } diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx index 7af1f71c53a1..577a7859febd 100644 --- a/sc/source/core/data/table1.cxx +++ b/sc/source/core/data/table1.cxx @@ -829,7 +829,7 @@ void ScTable::GetDataArea( SCCOL& rStartCol, SCROW& rStartRow, SCCOL& rEndCol, S // // bIncludeOld = true ensure that the returned area contains at least the initial area, // independently of the emptiness of rows / columns (i.e. does not allow shrinking) - // bOnlyDown = true means extend / shrink the inputed area only down, i.e modifiy only rEndRow + // bOnlyDown = true means extend / shrink the inputted area only down, i.e modify only rEndRow rStartCol = std::min<SCCOL>( rStartCol, aCol.size()-1 ); rEndCol = std::min<SCCOL>( rEndCol, aCol.size()-1 ); diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 51545e1e25fe..21674ef98433 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -4947,7 +4947,7 @@ void ScXMLExport::CollectUserDefinedNamespaces(const SfxItemPool* pPool, sal_uIn const OUString& rPrefix = pUnknown->GetPrefix( nIdx ); // Add namespace declaration for unknown attributes if // there aren't existing ones for the prefix used by the - // attibutes + // attributes GetNamespaceMap_().Add( rPrefix, pUnknown->GetNamespace( nIdx ) ); } diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index 6ed60e075d27..c4e2e6fd6561 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -785,7 +785,7 @@ void ToolBarManager::Implementation::Update ( if (mbIsValid && mxLayouter.is() && (mbPreUpdatePending || mbPostUpdatePending)) { - // 1) Release UNO tool bars that are not longer used. Do this + // 1) Release UNO tool bars that are no longer used. Do this // now so that they are not updated when the SFX shell stack is // modified. if (mbPreUpdatePending) diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx index 5deca350bbbe..eb52f8604a9a 100644 --- a/svtools/source/control/fmtfield.cxx +++ b/svtools/source/control/fmtfield.cxx @@ -1087,7 +1087,7 @@ void DoubleCurrencyField::FormatChanged(FORMAT_CHANGE_TYPE nWhat) case FORMAT_CHANGE_TYPE::KEYONLY: OSL_FAIL("DoubleCurrencyField::FormatChanged : somebody modified my key !"); // We always build our own format from the settings we get via special methods (setCurrencySymbol etc.). - // Nobody but ourself should modifiy the format key directly ! + // Nobody but ourself should modify the format key directly! break; default: break; } diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx index c7a8fee7cfff..fc6b0c09a367 100644 --- a/svx/source/inc/fmexpl.hxx +++ b/svx/source/inc/fmexpl.hxx @@ -378,7 +378,7 @@ namespace svxform enum DROP_ACTION { DA_SCROLLUP, DA_SCROLLDOWN, DA_EXPANDNODE }; enum SELDATA_ITEMS { SDI_DIRTY, SDI_ALL, SDI_NORMALIZED, SDI_NORMALIZED_FORMARK }; - // when dropping I want to be able to scroll and to exand folders, for this: + // when dropping I want to be able to scroll and to expand folders, for this: AutoTimer m_aDropActionTimer; Timer m_aSynchronizeTimer; // the meta-data about my current selection diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 7c5a8dff88dc..e67f91263e37 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -476,7 +476,7 @@ public: void SetFlyMacroLnk( const Link<const SwFlyFrameFormat*,void>& rLnk ) { m_aFlyMacroLnk = rLnk; } const Link<const SwFlyFrameFormat*,void>& GetFlyMacroLnk() const { return m_aFlyMacroLnk; } - // Methods returning/altering link for changes of attributes/formates. + // Methods returning/altering link for changes of attributes/formats. void SetChgLnk( const Link<SwCursorShell*,void> &rLnk ) { m_aChgLnk = rLnk; } const Link<SwCursorShell*,void>& GetChgLnk() const { return m_aChgLnk; } diff --git a/sw/inc/ndhints.hxx b/sw/inc/ndhints.hxx index 6643a6a920c3..ec712316751e 100644 --- a/sw/inc/ndhints.hxx +++ b/sw/inc/ndhints.hxx @@ -94,7 +94,7 @@ private: bool m_bFootnote : 1; ///< footnotes bool m_bDDEFields : 1; ///< the TextNode has DDE fields - /// records a new attibute in m_pHistory. + /// records a new attribute in m_pHistory. void NoteInHistory( SwTextAttr *pAttr, const bool bNew = false ); void CalcFlags( ); diff --git a/sw/source/core/frmedt/fedesc.cxx b/sw/source/core/frmedt/fedesc.cxx index 8aad55a77e12..2e0b5b22ead2 100644 --- a/sw/source/core/frmedt/fedesc.cxx +++ b/sw/source/core/frmedt/fedesc.cxx @@ -41,7 +41,7 @@ size_t SwFEShell::GetPageDescCnt() const void SwFEShell::ChgCurPageDesc( const SwPageDesc& rDesc ) { #if OSL_DEBUG_LEVEL > 0 - // SS does not change PageDesc, but only sets the attibute. + // SS does not change PageDesc, but only sets the attribute. // The Pagedesc should be available in the document bool bFound = false; for ( size_t nTst = 0; nTst < GetPageDescCnt(); ++nTst ) diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index c6876dfbccc7..878941fc22dd 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -3014,7 +3014,7 @@ uno::Any SAL_CALL SwXFieldEnumeration::nextElement() m_pImpl->m_Items[ m_pImpl->m_nNextIndex++ ]; uno::Any aRet; aRet <<= rxField; - rxField = nullptr; // free memory for item that is not longer used + rxField = nullptr; // free memory for item that is no longer used return aRet; } diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 440315a3ef4d..52d625644324 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -2055,7 +2055,7 @@ void SwViewShell::ApplyViewOptions( const SwViewOption &rOpt ) ImplApplyViewOptions( rOpt ); - // With one layout per view it is not longer necessary + // With one layout per view it is no longer necessary // to sync these "layout related" view options // But as long as we have to disable "multiple layout" diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx index c67fcb8ec292..bb80e234df7d 100644 --- a/sw/source/filter/html/css1atr.cxx +++ b/sw/source/filter/html/css1atr.cxx @@ -1590,7 +1590,7 @@ static Writer& OutCSS1_SwFormat( Writer& rWrt, const SwFormat& rFormat, RES_POOLCHR_INET_VISIT==nRefPoolId) ) bCheckForPseudo = true; - // export now the Attributes (incl. Selektor) + // export now the Attributes (incl. selector) bool bHasScriptDependencies = false; if( OutCSS1Rule( rHTMLWrt, aSelector, aItemSet, CSS1_FMT_ISTAG != nDeep, bCheckForPseudo ) ) diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx index 9910b534e074..6c2c1d1d1fbc 100644 --- a/sw/source/filter/html/svxcss1.cxx +++ b/sw/source/filter/html/svxcss1.cxx @@ -729,7 +729,7 @@ SvxCSS1Parser::SvxCSS1Parser( SfxItemPool& rPool, const OUString& rBaseURL, nScriptFlags( Css1ScriptFlags::AllMask ), bIgnoreFontFamily( false ) { - // also initialiase item IDs + // also initialize item IDs aItemIds.nFont = rPool.GetTrueWhich( SID_ATTR_CHAR_FONT, false ); aItemIds.nFontCJK = rPool.GetTrueWhich( SID_ATTR_CHAR_CJK_FONT, false ); aItemIds.nFontCTL = rPool.GetTrueWhich( SID_ATTR_CHAR_CTL_FONT, false ); diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index a8ea66c5d50d..6a0916eabf16 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -1365,7 +1365,7 @@ bool SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties( sal_Int32 nEnd ) cons if (pStart->nContent.GetIndex() == 0) { // This condition detects if the pseudo-char we will export - // should be implictly excluded by the redlining char + // should be implicitly excluded by the redlining char // properties starting on the next node. return true; } diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx index e40383849f63..12356405b8b3 100644 --- a/sw/source/uibase/app/docsh2.cxx +++ b/sw/source/uibase/app/docsh2.cxx @@ -1390,7 +1390,7 @@ void SwDocShell::ReloadFromHtml( const OUString& rStreamName, SwSrcView* pSrcVie rWrtSh.InvalidateLayout( true ); } - // Take HTTP-Header-Attibutes over into the DokInfo again. + // Take HTTP-Header-Attributes over into the DocInfo again. // The Base-URL doesn't matter here because TLX uses the one from the document // for absolutization. SetHeaderAttributesForSourceViewHack(); diff --git a/tools/qa/cppunit/test_inetmime.cxx b/tools/qa/cppunit/test_inetmime.cxx index f41b72850bf0..0bd1fd90c13d 100644 --- a/tools/qa/cppunit/test_inetmime.cxx +++ b/tools/qa/cppunit/test_inetmime.cxx @@ -163,7 +163,7 @@ namespace CPPUNIT_ASSERT(i != parameters.end()); CPPUNIT_ASSERT_EQUAL(OString("unknown"), i->second.m_sCharset); CPPUNIT_ASSERT_EQUAL(OString("en"), i->second.m_sLanguage); - // Convertion fails for unknown charsets: + // Conversion fails for unknown charsets: CPPUNIT_ASSERT(!i->second.m_bConverted); } } diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 5d03d48850fa..12626d44df13 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -419,7 +419,7 @@ bool parseParameters(ParameterList const & rInput, aValue += OUStringLiteral1( sal_Unicode( static_cast<unsigned char>(itNext->m_aValue[i])) - | 0xF800); // map to unicode corparate use sub area + | 0xF800); // map to unicode corporate use sub area } else { diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx index 46a2550ada7f..add27d089911 100644 --- a/xmloff/source/forms/propertyexport.cxx +++ b/xmloff/source/forms/propertyexport.cxx @@ -453,7 +453,7 @@ namespace xmloff Property aProperty = m_xPropertyInfo->getPropertyByName(sPropertyName); if ((aProperty.Attributes & PropertyAttribute::MAYBEVOID) == 0) // the string is empty, and the property is not allowed to be void - // -> don't need to write the attibute, 'cause missing it is unambiguous + // -> don't need to write the attribute, 'cause missing it is unambiguous return; } diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index c61c597fb7f9..933ec3a94723 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -740,7 +740,7 @@ void XMLTextFrameContext::removeGraphicFromImportContext(const SvXMLImportContex uno::Reference< lang::XComponent > xComp(pXMLTextFrameContext_Impl->GetPropSet(), UNO_QUERY); // Inform shape importer about the removal so it can adjust - // z-indxes. + // z-indexes. uno::Reference<drawing::XShape> xShape(xComp, uno::UNO_QUERY); GetImport().GetShapeImport()->shapeRemoved(xShape); |