diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-08-04 20:16:09 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-05 10:46:59 +0200 |
commit | fc050948aee0768d49788fbcbcd878baadf5db32 (patch) | |
tree | da64555824b920c7f00987d34c6f63725006e7ef /sd | |
parent | 9d787ac8ee3b336d620fbec2cd3cba16a1f2f30a (diff) |
Fix typos
Change-Id: I64de001cc8f954b559775b854359b2780f2548fa
Reviewed-on: https://gerrit.libreoffice.org/76959
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd')
17 files changed, 20 insertions, 20 deletions
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx index 48bf21fe9e2e..64adf09ee07c 100644 --- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx +++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx @@ -48,7 +48,7 @@ public: ~QueueProcessor(); /** Start the processor. This implementation is timer based and waits - an defined amount of time that depends on the given argument before + a defined amount of time that depends on the given argument before the next entry in the queue is processed. @param nPriorityClass A priority class of 0 tells the processor that a high priority diff --git a/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx b/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx index f0c581bea9a2..ac73bf8d9742 100644 --- a/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx +++ b/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx @@ -44,7 +44,7 @@ public: ~DragAndDropContext() COVERITY_NOEXCEPT_FALSE; /** Call this method (for example as reaction to ESC key press) to avoid - processing (ie moving or inserting) the substition when the called + processing (ie moving or inserting) the substitution when the called DragAndDropContext object is destroyed. */ void Dispose(); diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx index 160184b2d2a1..8c40b7647807 100644 --- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx @@ -565,7 +565,7 @@ void SlotManager::GetMenuState (SfxItemSet& rSet) } else { - // check if the object is in edit, than its temporarily not empty + // check if the object is in edit, then if it's temporarily not empty SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( pObj ); if( pTextObj ) { diff --git a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx index bb4c2b9e91fb..bfc9ad900f6a 100644 --- a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx +++ b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx @@ -54,7 +54,7 @@ public: virtual bool IsIdle() = 0; /** This method is used to determine whether a page is currently visible - or not. It is called when the cache becomes to large and some + or not. It is called when the cache becomes too large and some previews have to be released or scaled down. */ virtual bool IsVisible (CacheKey aKey) = 0; diff --git a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx index a6667ef3ea57..18c2bbe44c0e 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx @@ -104,7 +104,7 @@ private: /** Execute one step of every active animation. @param nTime - Time measured in milli seconds with some arbitrary reference point. + Time measured in milliseconds with some arbitrary reference point. @return When one or more animation has finished then <TRUE/> is returned. Call CleanUpAnimationList() in this case. diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index b79af210bfe5..b32e25b81383 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -169,7 +169,7 @@ private: /** This method contains the code for AcceptDrop() and ExecuteDrop() shapes. There are only minor differences for the two cases at this level. @param eCommand - This parameter specifies whether to do a AcceptDrop() or + This parameter specifies whether to do an AcceptDrop() or ExecuteDrop(). @param rPosition Since the event is given as void pointer we can not take the diff --git a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx index 0269690f1451..6a8dec636a7c 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx @@ -126,7 +126,7 @@ public: void SetFocusedPageToCurrentPage(); - /** Return <TRUE/> when the focus inidcator is currently shown. A + /** Return <TRUE/> when the focus indicator is currently shown. A prerequisite is that the window managed by this focus manager has the input focus as indicated by a <TRUE/> return value of HasFocus(). It is not necessary that the focus indicator is diff --git a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx index c53c53519aaf..f84f8c77ba9d 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx @@ -199,7 +199,7 @@ private: SlideSorterController::SelectionHasChanged() method to do the actual work. When EnableBroadcasting has been called as many times as DisableBroadcasting() was called before and the selection has been - changed in the mean time, this change will be broadcasted. + changed in the meantime, this change will be broadcasted. */ void EnableBroadcasting(); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx index 9516e3d60bdb..9ffa63bec597 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx @@ -63,7 +63,7 @@ public: be called directly. @returns - true if a active function was aborted + true if an active function was aborted */ virtual bool cancel() override; diff --git a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx index ce223caa7c32..5e9270668978 100644 --- a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx +++ b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx @@ -137,7 +137,7 @@ public: /** Call this method after the document has changed its structure. This will get the model in sync with the SdDrawDocument. This method - tries not to throw away to much information already gathered. This + tries not to throw away too much information already gathered. This is especially important for previews of complex pages that take some time to create. */ diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx index 1c2edf958959..54453ed120a8 100644 --- a/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx +++ b/sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx @@ -247,7 +247,7 @@ Size PageObjectLayouter::GetPageNumberAreaSize (const int nPageCount) sPageNumberTemplate = "999"; else sPageNumberTemplate = "9999"; - // More then 9999 pages are not handled. + // More than 9999 pages are not handled. const Size aSize ( mpWindow->GetTextWidth(sPageNumberTemplate), diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 31b9ebe44b14..ce0885f79af9 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1552,7 +1552,7 @@ static sal_Int32 ImplPDFGetBookmarkPage( const OUString& rBookmark, SdDrawDocume if ( nPgNum == SDRPAGE_NOTFOUND ) { - // is the bookmark a object ? + // is the bookmark an object ? pObj = rDoc.GetObj( aBookmark ); if (pObj) nPgNum = pObj->getSdrPageFromSdrObject()->GetPageNum(); diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index abfca37a6af2..7c80b329a275 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -857,7 +857,7 @@ bool SdXShape::IsEmptyPresObj() const SdrObject* pObj = mpShape->GetSdrObject(); if( (pObj != nullptr) && pObj->IsEmptyPresObj() ) { - // check if the object is in edit, than its temporarily not empty + // check if the object is in edit, then if it's temporarily not empty SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( pObj ); if( pTextObj == nullptr ) return true; diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 6c253908581e..97b8dc05c8cf 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -398,7 +398,7 @@ void SdGenericDrawPage::UpdateModel() mbIsImpressDocument = mpDocModel && mpDocModel->IsImpressDocument(); } -// this is called whenever a SdrObject must be created for a empty api shape wrapper +// this is called whenever a SdrObject must be created for an empty api shape wrapper SdrObject * SdGenericDrawPage::CreateSdrObject_( const Reference< drawing::XShape >& xShape ) { if( nullptr == SvxFmDrawPage::mpPage || !xShape.is() ) @@ -1382,7 +1382,7 @@ Reference< drawing::XShape > SdGenericDrawPage::CreateShape(SdrObject *pObj) co pShape = new SvxShapeText( pObj ); if( GetPage()->GetPageKind() == PageKind::Notes && GetPage()->IsMasterPage() ) { - // fake a empty PageShape if it's a title shape on the master page + // fake an empty PageShape if it's a title shape on the master page pShape->SetShapeType("com.sun.star.presentation.PageShape"); } else @@ -2777,7 +2777,7 @@ Any SAL_CALL SdMasterPage::getByIndex( sal_Int32 Index ) // intern void SdMasterPage::setBackground( const Any& rValue ) { - // we need at least an beans::XPropertySet + // we need at least a beans::XPropertySet Reference< beans::XPropertySet > xInputSet( rValue, UNO_QUERY ); if( !xInputSet.is() ) throw lang::IllegalArgumentException(); diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 9df208a77760..d849181cf84f 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -653,7 +653,7 @@ namespace { CreateChoice(STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE, SAL_N_ELEMENTS(STR_DRAW_PRINT_UI_PAGE_RANGE_CHOICE)), nPrintRange ) ); - // create a an Edit dependent on "Pages" selected + // create an Edit dependent on "Pages" selected vcl::PrinterOptionsHelper::UIControlOptions aPageRangeOpt( aPrintRangeName, 1, true ); AddDialogControl(vcl::PrinterOptionsHelper::setEditControlOpt("pagerange", "", ".HelpID:vcl:PrintDialog:PageRange:Edit", "PageRange", diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index a91d5f70d5d4..91dddd08cdbd 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1002,7 +1002,7 @@ void SdOutliner::RememberStartPosition() void SdOutliner::RestoreStartPosition() { bool bRestore = true; - // Take a negative start page index as inidicator that restoring the + // Take a negative start page index as indicator that restoring the // start position is not requested. if (mnStartPageIndex == sal_uInt16(-1) ) bRestore = false; diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx index 05f67f8c948d..1d5b4b1e93d1 100644 --- a/sd/source/ui/view/ViewShellManager.cxx +++ b/sd/source/ui/view/ViewShellManager.cxx @@ -204,7 +204,7 @@ private: void DumpSfxShellStack(); #endif - /** To be called before a shell is taken fom the SFX shell stack. This + /** To be called before a shell is taken from the SFX shell stack. This method deactivates an active text editing to avoid problems with undo managers. Afterwards the Deactivate() of the shell is called. @@ -886,7 +886,7 @@ void ViewShellManager::Implementation::CreateShells() void ViewShellManager::Implementation::CreateTargetStack (ShellStack& rStack) const { // Create a local stack of the shells that are to push on the shell - // stack. We can thus safely create the required shells wile still + // stack. We can thus safely create the required shells while still // having a valid shell stack. for (ActiveShellList::const_reverse_iterator iViewShell (maActiveViewShells.rbegin()); iViewShell != maActiveViewShells.rend(); |