diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/app/docsh2.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dochdl/swdtflvr.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/docvw/PostItMgr.cxx | 10 | ||||
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/inc/tablemgr.hxx | 2 | ||||
-rw-r--r-- | sw/source/ui/index/swuiidxmrk.cxx | 6 | ||||
-rw-r--r-- | sw/source/ui/shells/drwtxtex.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/uiview/pview.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/uno/unomailmerge.cxx | 2 |
9 files changed, 16 insertions, 16 deletions
diff --git a/sw/source/ui/app/docsh2.cxx b/sw/source/ui/app/docsh2.cxx index e30f8f7fbad0..253d9588fa55 100644 --- a/sw/source/ui/app/docsh2.cxx +++ b/sw/source/ui/app/docsh2.cxx @@ -419,7 +419,7 @@ sal_Bool SwDocShell::Insert( SfxObjectShell &rSource, // SwDocStyleSheetPool::aStyleSheet that uses same members of // SwDocStyleSheetPool::Find. Therefore a copy has to be used // here. Attention: SfxStylessheetBase::SetFollow calls itself - // a SwDocStyleSheetPool::Find, so that it's not sufficiant to + // a SwDocStyleSheetPool::Find, so that it's not sufficient to // to eliminate the Find-calls in this method. rtl::Reference< SwDocStyleSheet > xNewSheet( new SwDocStyleSheet( (SwDocStyleSheet&)pMyPool diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx index f6670eabbf5c..92d7a976472f 100644 --- a/sw/source/ui/dochdl/swdtflvr.cxx +++ b/sw/source/ui/dochdl/swdtflvr.cxx @@ -2112,7 +2112,7 @@ int SwTransferable::_PasteDDE( TransferableDataHelper& rData, if( !pDDETyp && !bDoublePaste ) { - // remove FieldType again - error occured! + // remove FieldType again - error occurred! for( j = nSize; j >= INIT_FLDTYPES; --j ) if( pTyp == rWrtShell.GetFldType( j ) ) { diff --git a/sw/source/ui/docvw/PostItMgr.cxx b/sw/source/ui/docvw/PostItMgr.cxx index 8d7148c83130..6e6f80e79789 100644 --- a/sw/source/ui/docvw/PostItMgr.cxx +++ b/sw/source/ui/docvw/PostItMgr.cxx @@ -548,9 +548,9 @@ void SwPostItMgr::LayoutPostIts() mbLayouting = true; //loop over all pages and do the layout - // - create SwPostIt if neccessary + // - create SwPostIt if necessary // - place SwPostIts on their initial position - // - calculate neccessary height for all PostIts together + // - calculate necessary height for all PostIts together bool bUpdate = false; for (unsigned long n=0;n<mPages.size();n++) { @@ -784,7 +784,7 @@ bool SwPostItMgr::BorderOverPageBorder(unsigned long aPage) const void SwPostItMgr::Scroll(const long lScroll,const unsigned long aPage) { OSL_ENSURE((lScroll % GetScrollSize() )==0,"SwPostItMgr::Scroll: scrolling by wrong value"); - // do not scroll more than neccessary up or down + // do not scroll more than necessary up or down if ( ((mPages[aPage-1]->lOffset == 0) && (lScroll>0)) || ( BorderOverPageBorder(aPage) && (lScroll<0)) ) return; @@ -928,7 +928,7 @@ bool SwPostItMgr::LayoutByPage(std::list<SwSidebarWin*> &aVisiblePostItList,cons long lTranslatePos = 0; bool bScrollbars = false; - // do all neccessary resizings + // do all necessary resizings if (lVisibleHeight < lNeededHeight) { // ok, now we have to really resize and adding scrollbars @@ -1124,7 +1124,7 @@ void SwPostItMgr::RemoveSidebarWin() } // copy to new vector, otherwise RemoveItem would operate and delete stuff on mvPostItFlds as well -// RemoveItem will clean up the core field and visible postit if neccessary +// RemoveItem will clean up the core field and visible postit if necessary // we cannot just delete everything as before, as postits could move into change tracking void SwPostItMgr::Delete(String aAuthor) { diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 6ea97a06a934..35387293b6a3 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -5596,7 +5596,7 @@ void SwEditWin::SetChainMode( sal_Bool bOn ) uno::Reference< ::com::sun::star::accessibility::XAccessible > SwEditWin::CreateAccessible() { - SolarMutexGuard aGuard; // this should have happend already!!! + SolarMutexGuard aGuard; // this should have happened already!!! SwWrtShell *pSh = rView.GetWrtShellPtr(); OSL_ENSURE( pSh, "no writer shell, no accessible object" ); uno::Reference< @@ -5831,7 +5831,7 @@ void SwEditWin::ShowAutoTextCorrectQuickHelp( !pACorr || pACorr->GetSwFlags().bAutoCmpltShowAsTip; - // Get the neccessary data to show help text. + // Get the necessary data to show help text. pQuickHlpData->FillStrArr( rSh, rWord, bFromIME ); } diff --git a/sw/source/ui/inc/tablemgr.hxx b/sw/source/ui/inc/tablemgr.hxx index 368bfe01de61..c83e9857b720 100644 --- a/sw/source/ui/inc/tablemgr.hxx +++ b/sw/source/ui/inc/tablemgr.hxx @@ -71,7 +71,7 @@ public: // @deprecated void UpdateChart(); - /// @return the XModel of the newly inserted chart if successfull + /// @return the XModel of the newly inserted chart if successful ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > InsertChart( ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XDataProvider > &rxDataProvider, sal_Bool bFillWithData, const rtl::OUString &rCellRange, SwFlyFrmFmt** ppFlyFrmFmt = 0 ); }; diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index 06b4083062e5..8dac55f991fe 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -222,7 +222,7 @@ void SwIndexMarkPane::InitControls() { // Controls-Handling - // onyl if there are more than one + // only if there are more than one // if equal it lands at the same entry pSh->SttCrsrMove(); @@ -937,7 +937,7 @@ IMPL_LINK( SwIndexMarkPane, KeyDCBModifyHdl, ComboBox *, pBox ) { if(pBox->IsInDropDown()) { - //reset bPhoneticED1_ChangedByUser if a completly new string is selected + //reset bPhoneticED1_ChangedByUser if a completely new string is selected bPhoneticED1_ChangedByUser = sal_False; } if(!bPhoneticED1_ChangedByUser) @@ -957,7 +957,7 @@ IMPL_LINK( SwIndexMarkPane, KeyDCBModifyHdl, ComboBox *, pBox ) { if(pBox->IsInDropDown()) { - //reset bPhoneticED1_ChangedByUser if a completly new string is selected + //reset bPhoneticED1_ChangedByUser if a completely new string is selected bPhoneticED2_ChangedByUser = sal_False; } if(!bPhoneticED2_ChangedByUser) diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx index ad921351ac3f..1c2ad1bc5566 100644 --- a/sw/source/ui/shells/drwtxtex.cxx +++ b/sw/source/ui/shells/drwtxtex.cxx @@ -566,7 +566,7 @@ void SwDrawTextShell::GetState(SfxItemSet& rSet) !xThes.is() || nLang == LANGUAGE_NONE || !xThes->hasLocale( LanguageTag( nLang ).getLocale() )) rSet.DisableItem( SID_THES ); - //! avoid puting the same item as SfxBoolItem at the end of this function + //! avoid putting the same item as SfxBoolItem at the end of this function nSlotId = 0; break; } diff --git a/sw/source/ui/uiview/pview.cxx b/sw/source/ui/uiview/pview.cxx index 6894a6512580..9bb60185e007 100644 --- a/sw/source/ui/uiview/pview.cxx +++ b/sw/source/ui/uiview/pview.cxx @@ -1862,7 +1862,7 @@ sal_Bool SwPagePreView::HandleWheelCommands( const CommandEvent& rCEvt ) uno::Reference< ::com::sun::star::accessibility::XAccessible > SwPagePreViewWin::CreateAccessible() { - SolarMutexGuard aGuard; // this should have happend already!!! + SolarMutexGuard aGuard; // this should have happened already!!! OSL_ENSURE( GetViewShell() != NULL, "We need a view shell" ); return GetViewShell()->CreateAccessiblePreview(); diff --git a/sw/source/ui/uno/unomailmerge.cxx b/sw/source/ui/uno/unomailmerge.cxx index 66aad103d02b..a089e9064f3f 100644 --- a/sw/source/ui/uno/unomailmerge.cxx +++ b/sw/source/ui/uno/unomailmerge.cxx @@ -100,7 +100,7 @@ osl::Mutex & GetMailMergeMutex() enum CloseResult { eSuccess, // successfully closed - eVetoed, // vetoed, ownership transfered to the vetoing instance + eVetoed, // vetoed, ownership transferred to the vetoing instance eFailed // failed for some unknown reason }; static CloseResult CloseModelAndDocSh( |