From fbd414741157b969924318462ebfcfb5ccf4d3dc Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 6 May 2017 10:05:28 +0200 Subject: Fix typos To complete commit 076758857a98 Change-Id: I6424109e3aee8a3236e40168bdd98c725a7afafb Reviewed-on: https://gerrit.libreoffice.org/37306 Tested-by: Jenkins Reviewed-by: Julien Nabet --- basctl/source/basicide/macrodlg.cxx | 2 +- eventattacher/source/eventattacher.cxx | 2 +- .../test/ole/EventListenerSample/EventListener/EventListener.idl | 2 +- include/vcl/prgsbar.hxx | 2 +- l10ntools/source/helpmerge.cxx | 2 +- sfx2/source/dialog/newstyle.cxx | 2 +- svx/source/form/fmmodel.cxx | 4 ++-- sw/inc/crsrsh.hxx | 2 +- sw/source/core/text/widorp.cxx | 2 +- sw/source/uibase/uiview/pview.cxx | 4 ++-- sw/source/uibase/wrtsh/select.cxx | 4 ++-- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index c060df0765fe..db4f1142942f 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -513,7 +513,7 @@ IMPL_LINK( MacroChooser, BasicSelectHdl, SvTreeListBox *, pBox, void ) SbMethod* pMethod = static_cast(pModule->GetMethods()->Get( iMeth )); if( pMethod->IsHidden() ) continue; - DBG_ASSERT( pMethod, "Methode not found! (NULL)" ); + DBG_ASSERT( pMethod, "Method not found! (NULL)" ); sal_uInt16 nStart, nEnd; pMethod->GetLineRange( nStart, nEnd ); aMacros.insert( map< sal_uInt16, SbMethod*>::value_type( nStart, pMethod ) ); diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index a8707c287e14..06bd2eed2bb5 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -786,7 +786,7 @@ void EventAttacherImpl::removeListener const Reference< XIdlMethod >* pMethods = aMethodSeq.getConstArray(); for( i = 0 ; i < nLen ; i++ ) { - // Call Methode + // Call Method const Reference< XIdlMethod >& rxMethod = pMethods[i]; // Is it the right method? diff --git a/extensions/test/ole/EventListenerSample/EventListener/EventListener.idl b/extensions/test/ole/EventListenerSample/EventListener/EventListener.idl index b1a4dfd6e80f..010034184da0 100644 --- a/extensions/test/ole/EventListenerSample/EventListener/EventListener.idl +++ b/extensions/test/ole/EventListenerSample/EventListener/EventListener.idl @@ -34,7 +34,7 @@ import "ocidl.idl"; ] interface IEvtListener : IDispatch { - [id(1), helpstring("Methode disposing")] HRESULT disposing([in] IDispatch* source); + [id(1), helpstring("Method disposing")] HRESULT disposing([in] IDispatch* source); }; [ diff --git a/include/vcl/prgsbar.hxx b/include/vcl/prgsbar.hxx index fcdad3fac97f..f28c82e78e75 100644 --- a/include/vcl/prgsbar.hxx +++ b/include/vcl/prgsbar.hxx @@ -38,7 +38,7 @@ * * ----------------------------------------------------------------------- * - * Methodes + * Methods * * Use SetValue() to set a percentage between 0 and 100. A value larger * than 100 will cause the last rectangle to start flashing diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx index 3cd2d9dab20c..092de8a61790 100644 --- a/l10ntools/source/helpmerge.cxx +++ b/l10ntools/source/helpmerge.cxx @@ -196,7 +196,7 @@ bool HelpParser::MergeSingleFile( XMLFile* file , MergeDataFile* pMergeDataFile return true; } -/* ProcessHelp Methode: search for en-US entry and replace it with the current language*/ +/* ProcessHelp method: search for en-US entry and replace it with the current language*/ void HelpParser::ProcessHelp( LangHashMap* aLangHM , const OString& sCur , ResData *pResData , MergeDataFile* pMergeDataFile ){ XMLElement* pXMLElement = nullptr; diff --git a/sfx2/source/dialog/newstyle.cxx b/sfx2/source/dialog/newstyle.cxx index 11f58bb798ee..e19d944ed1a2 100644 --- a/sfx2/source/dialog/newstyle.cxx +++ b/sfx2/source/dialog/newstyle.cxx @@ -26,7 +26,7 @@ #include #include -// PRIVATE METHODES ------------------------------------------------------ +// Private methods ------------------------------------------------------ IMPL_LINK_NOARG( SfxNewStyleDlg, OKClickHdl, Button*, void ) { diff --git a/svx/source/form/fmmodel.cxx b/svx/source/form/fmmodel.cxx index 22c9e206ed4b..5038a551b6f1 100644 --- a/svx/source/form/fmmodel.cxx +++ b/svx/source/form/fmmodel.cxx @@ -102,7 +102,7 @@ SdrPage* FmFormModel::AllocPage(bool bMasterPage) void FmFormModel::InsertPage(SdrPage* pPage, sal_uInt16 nPos) { - // hack solange Methode intern + // hack solange method intern if (m_pObjShell && !m_pImpl->mxUndoEnv->IsListening( *m_pObjShell )) SetObjectShell(m_pObjShell); @@ -138,7 +138,7 @@ SdrPage* FmFormModel::RemovePage(sal_uInt16 nPgNum) void FmFormModel::InsertMasterPage(SdrPage* pPage, sal_uInt16 nPos) { - // hack solange Methode intern + // hack solange method intern if (m_pObjShell && !m_pImpl->mxUndoEnv->IsListening( *m_pObjShell )) SetObjectShell(m_pObjShell); diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index e67f91263e37..30d3bff5e60a 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -274,7 +274,7 @@ protected: inline SwMoveFnCollection const & MakeFindRange( SwDocPositions, SwDocPositions, SwPaM* ) const; /* - * Compare-Methode for the StackCursor and the current Cursor. + * Compare-Method for the StackCursor and the current Cursor. * The Methods return -1, 0, 1 for lower, equal, greater. */ int CompareCursorStackMkCurrPt() const; diff --git a/sw/source/core/text/widorp.cxx b/sw/source/core/text/widorp.cxx index b096df735e95..615c430521bd 100644 --- a/sw/source/core/text/widorp.cxx +++ b/sw/source/core/text/widorp.cxx @@ -296,7 +296,7 @@ WidowsAndOrphans::WidowsAndOrphans( SwTextFrame *pNewFrame, const SwTwips nRst, } /** - * The Find*-Methodes do not only search, but adjust the SwTextMargin to the + * The Find*-Methods do not only search, but adjust the SwTextMargin to the * line where the paragraph should have a break and truncate the paragraph there. * FindBreak() */ diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx index 0d31ebe0ef8e..08bc2285c4e3 100644 --- a/sw/source/uibase/uiview/pview.cxx +++ b/sw/source/uibase/uiview/pview.cxx @@ -1134,7 +1134,7 @@ void SwPagePreview::Init() // Update the fields // ATTENTION: Do cast the EditShell up, to use the SS. - // At the methodes the current shell will be queried! + // At the methods the current shell will be queried! SwEditShell* pESh = dynamic_cast(GetViewShell()); bool bIsModified = pESh != nullptr && pESh->IsModified(); @@ -1354,7 +1354,7 @@ void SwPagePreview::OuterResizePixel( const Point &rOfst, const Size &rSize ) Point aBottomRight( m_pViewWin->PixelToLogic( Point( aTmpSize.Width(), aTmpSize.Height() ) ) ); SetVisArea( tools::Rectangle( Point(), aBottomRight ) ); - // Call of the DocSzChgd-Methode of the scrollbars is necessary, + // Call of the DocSzChgd-Method of the scrollbars is necessary, // because from the maximum scroll range half the height of the // VisArea is always deducted. if ( m_pVScrollbar && aTmpSize.Width() > 0 && aTmpSize.Height() > 0 ) diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx index fee4245c63d4..c133444ccc58 100644 --- a/sw/source/uibase/wrtsh/select.cxx +++ b/sw/source/uibase/wrtsh/select.cxx @@ -299,8 +299,8 @@ void SwWrtShell::PopMode() m_pModeStack = pTmp; } -// Two methodes for setting cursors: the first maps at the -// eponymous methodes in the CursorShell, the second removes +// Two methods for setting cursors: the first maps at the +// eponymous methods in the CursorShell, the second removes // all selections at first. long SwWrtShell::SetCursor(const Point *pPt, bool bTextOnly) -- cgit