diff options
Diffstat (limited to 'svx')
26 files changed, 30 insertions, 30 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx index abadd5b3fbe0..89a8238916c8 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.cxx +++ b/svx/source/accessibility/ChildrenManagerImpl.cxx @@ -837,7 +837,7 @@ bool ChildrenManagerImpl::ReplaceChild ( uno::Any(), uno::makeAny (I->mxAccessibleShape)); - // Replace with replacement and send an event about existance + // Replace with replacement and send an event about existence // of the new child. I->mxAccessibleShape = pNewChild; mrContext.CommitChange ( diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 36a4919035b0..c08818542dc6 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -506,7 +506,7 @@ public: /** This flag is set during the visibility calculation and indicates that at one time in this process an event is sent that informs the - listners of the creation of a new accessible object. This flags is + listeners of the creation of a new accessible object. This flags is not reset afterwards. Don't use it unless you know exactly what you are doing. */ diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index b9006a5a572d..aa529f78c57f 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -963,7 +963,7 @@ Rectangle SvxPixelCtl::implCalFocusRect( const Point& aPosition ) return Rectangle(nLeft,nTop,nRight,nBottom); } -//Solution:Keyboard fucntion +//Solution:Keyboard function void SvxPixelCtl::KeyInput( const KeyEvent& rKEvt ) { KeyCode aKeyCode = rKEvt.GetKeyCode(); diff --git a/svx/source/engine3d/helperminimaldepth3d.cxx b/svx/source/engine3d/helperminimaldepth3d.cxx index 5c1b97b1f40b..c5781ff44ea8 100644 --- a/svx/source/engine3d/helperminimaldepth3d.cxx +++ b/svx/source/engine3d/helperminimaldepth3d.cxx @@ -188,7 +188,7 @@ double getMinimalDepthInViewCoordinates(const E3dCompoundObject& rObject) aViewInfo3D.getViewTime(), aViewInfo3D.getExtendedInformationSequence()); - // create extractor helper, proccess geometry and get return value + // create extractor helper, process geometry and get return value drawinglayer::processor3d::MinimalDephInViewExtractor aExtractor(aNewViewInformation3D); aExtractor.process(aPrimitives); fRetval = aExtractor.getMinimalDepth(); diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 8d88f7e4a5a8..def9fa650bd2 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -1808,7 +1808,7 @@ Sequence< Any> FmGridControl::getSelectionBookmarks() // The next problem caused by the same behaviuor (SeekCursor causes a propertyChanged) : when adjusting rows we implicitly // change our selection. So a "FirstSelected(); SeekCursor(); NextSelected();" may produce unpredictable results. - // That's why we _first_ collect the indicies of the selected rows and _then_ their bookmarks. + // That's why we _first_ collect the indices of the selected rows and _then_ their bookmarks. long nIdx = FirstSelectedRow(); while (nIdx >= 0) { @@ -1816,7 +1816,7 @@ Sequence< Any> FmGridControl::getSelectionBookmarks() pBookmarks[i++] <<= (sal_Int32)nIdx; nIdx = NextSelectedRow(); } - DBG_ASSERT(i == nSelectedRows, "FmGridControl::DeleteSelectedRows : could not collect the row indicies !"); + DBG_ASSERT(i == nSelectedRows, "FmGridControl::DeleteSelectedRows : could not collect the row indices !"); for (i=0; i<nSelectedRows; ++i) { diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 98af429e2228..b2bb990b833f 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -1461,7 +1461,7 @@ void FmXGridPeer::propertyChange(const PropertyChangeEvent& evt) throw( RuntimeE sal_Int32 nWidth = 0; if (evt.NewValue.getValueType().getTypeClass() == TypeClass_VOID) nWidth = pGrid->GetDefaultColumnWidth(pGrid->GetColumnTitle(nId)); - // GetDefaultColumnWidth already considerd the zoom factor + // GetDefaultColumnWidth already considered the zoom factor else { sal_Int32 nTest = 0; diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 166540b36a15..158d460aeeac 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -1841,7 +1841,7 @@ OUString DbPatternField::GetFormatText(const Reference< ::com::sun::star::sdb::X } else OSL_ENSURE( rpFormatter->getColumn() == _rxField, "DbPatternField::GetFormatText: my value formatter is working for another field ...!" ); - // re-creating the value formatter here everytime would be quite expensive ... + // re-creating the value formatter here every time would be quite expensive ... OUString sText; if ( rpFormatter.get() ) diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 7b17de505d58..a85f86cc1954 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2139,7 +2139,7 @@ void DbGridControl::AdjustDataSource(bool bFull) if (bFull) m_xCurrentRow = NULL; // if we are on the same row only repaint - // but this is only possible for rows which are not inserted, in that case the comparision result + // but this is only possible for rows which are not inserted, in that case the comparison result // may not be correct else if ( m_xCurrentRow.Is() diff --git a/svx/source/form/dbtoolsclient.cxx b/svx/source/form/dbtoolsclient.cxx index eabf90a42344..d4a694516f67 100644 --- a/svx/source/form/dbtoolsclient.cxx +++ b/svx/source/form/dbtoolsclient.cxx @@ -76,7 +76,7 @@ namespace svxform if ( pDBTFactory ) { m_xDataAccessFactory = pDBTFactory; - // by definition, the factory was aquired once + // by definition, the factory was acquired once m_xDataAccessFactory->release(); } } diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx index 0c65ee2b4c1e..7f8cc17290f4 100644 --- a/svx/source/form/fmobj.cxx +++ b/svx/source/form/fmobj.cxx @@ -648,7 +648,7 @@ bool FmFormObj::EndCreate( SdrDragStat& rStat, SdrCreateCmd eCmd ) Reference< XIndexContainer > xFormToInsertInto; if ( !xParentForm.is() ) - { // model is not yet part of a form component hierachy + { // model is not yet part of a form component hierarchy xParentForm.set( rPage.GetImpl().findPlaceInFormComponentHierarchy( xContent ), UNO_SET_THROW ); xFormToInsertInto.set( xParentForm, UNO_QUERY_THROW ); } diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index 000446048c3a..9cbf5a9a7e6c 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -414,7 +414,7 @@ void FmXUndoEnvironment::Inserted(FmFormObj* pObj) if ( lcl_searchElement( xForms, xObjectParent ) ) { // the form which was the parent of the object when it was removed is still - // part of the form component hierachy of the current page + // part of the form component hierarchy of the current page xNewParent = xObjectParent; xForm.set( xNewParent, UNO_QUERY_THROW ); nPos = ::std::min( pObj->GetOriginalIndex(), xNewParent->getCount() ); diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 58440cbd4e8a..f72fe7af4dcf 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -1493,7 +1493,7 @@ bool FmXFormView::createControlLabelPair( OutputDevice& _rOutDev, sal_Int32 _nXO ) return false; - // insert the control model(s) into the form component hierachy + // insert the control model(s) into the form component hierarchy if ( _rpLabel ) lcl_insertIntoFormComponentHierarchy_throw( *m_pView, *_rpLabel, _rxDataSource, _rDataSourceName, _rCommand, _nCommandType ); lcl_insertIntoFormComponentHierarchy_throw( *m_pView, *_rpControl, _rxDataSource, _rDataSourceName, _rCommand, _nCommandType ); diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 8cc2cde485b8..2f4903db5c01 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -1025,7 +1025,7 @@ void SAL_CALL FormController::removeDisjunctiveTerm( ::sal_Int32 _Term ) throw ( FmFilterRows::iterator pos = m_aFilterRows.begin() + _Term; m_aFilterRows.erase( pos ); - // adjust m_nCurrentFilterPosition if the removed row preceeded it + // adjust m_nCurrentFilterPosition if the removed row preceded it if ( _Term < m_nCurrentFilterPosition ) --m_nCurrentFilterPosition; diff --git a/svx/source/form/formdispatchinterceptor.cxx b/svx/source/form/formdispatchinterceptor.cxx index 8544acc22dd5..66bedcf534ac 100644 --- a/svx/source/form/formdispatchinterceptor.cxx +++ b/svx/source/form/formdispatchinterceptor.cxx @@ -67,7 +67,7 @@ namespace svxform { _rxToIntercept->registerDispatchProviderInterceptor((XDispatchProviderInterceptor*)this); // this should make us the top-level dispatch-provider for the component, via a call to our - // setDispatchProvider we should have got an fallback for requests we (i.e. our master) cannot fullfill + // setDispatchProvider we should have got an fallback for requests we (i.e. our master) cannot fulfill Reference< XComponent> xInterceptedComponent(_rxToIntercept, UNO_QUERY); if (xInterceptedComponent.is()) { diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index 15206aa2858a..15443e3a3310 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -98,7 +98,7 @@ enum EDocStates /* FINAL STATES */ - /// the Auto/Emergency saved document isnt useable any longer + /// the Auto/Emergency saved document isn't useable any longer E_DAMAGED = 64, /// the Auto/Emergency saved document isnt really up-to-date (some changes can be missing) E_INCOMPLETE = 128, @@ -452,7 +452,7 @@ class SaveDialog : public IExtendedTabPage /** @short create all child controls of this dialog. - @descr The dialog isnt shown nor it starts any + @descr The dialog isn't shown nor it starts any action by itself! @param pParent @@ -509,7 +509,7 @@ class SaveProgressDialog : public ModalDialog /** @short create all child controls of this dialog. - @descr The dialog isnt shown nor it starts any + @descr The dialog isn't shown nor it starts any action by itself! @param pParent diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index 053dd2043939..7279edfe5bc8 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -463,7 +463,7 @@ public: // if the form belongs to the controller (extern) displaying a grid, the according internal form will // be displayed, _xForm else - // check if the current control of the active controler has the focus + // check if the current control of the active controller has the focus bool HasControlFocus() const; private: diff --git a/svx/source/inc/fmtextcontrolshell.hxx b/svx/source/inc/fmtextcontrolshell.hxx index bf25660d5f78..91681359a5c9 100644 --- a/svx/source/inc/fmtextcontrolshell.hxx +++ b/svx/source/inc/fmtextcontrolshell.hxx @@ -92,7 +92,7 @@ namespace svx // without this define, m_xActiveControl remembers the *last* active control, even // if it, in the meantime, already lost the focus bool m_bActiveControl; - // so we need an additional boolean flag telling whether the active cotrol + // so we need an additional boolean flag telling whether the active control // is really focused #endif bool m_bActiveControlIsReadOnly; diff --git a/svx/source/sdr/contact/displayinfo.cxx b/svx/source/sdr/contact/displayinfo.cxx index 13e434c5aed7..052c9a5d0ba9 100644 --- a/svx/source/sdr/contact/displayinfo.cxx +++ b/svx/source/sdr/contact/displayinfo.cxx @@ -39,7 +39,7 @@ namespace sdr { } - // Access to LayerInfos (which layers to proccess) + // Access to LayerInfos (which layers to process) void DisplayInfo::SetProcessLayers(const SetOfByte& rSet) { maProcessLayers = rSet; diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx index 4e62a86882ab..b5b9f01b37f5 100644 --- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx @@ -262,7 +262,7 @@ namespace sdr // set recursion flag bInCreatePrimitive2D = true; - // init extractor, guarantee existance, set page there + // init extractor, guarantee existence, set page there mpExtractor->SetStartPage(pPage); // #i105548# also need to copy the VOCRedirector for sub-content creation diff --git a/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx b/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx index f7eaa50b8e59..26b6ed69dcb7 100644 --- a/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx +++ b/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx @@ -73,7 +73,7 @@ namespace drawinglayer // to take care of getSdrLFSTAttribute() later, the same as in SdrGrafPrimitive2D::create2DDecomposition // should happen. For the moment we only need the OLE itself // Added complete primitive preparation using getSdrLFSTAttribute() now. To not do stuff which is not needed now, it - // may be supressed by using a static bool. The paint version only supported text. + // may be suppressed by using a static bool. The paint version only supported text. static bool bBehaveCompatibleToPaintVersion(false); Primitive2DSequence aRetval; @@ -148,7 +148,7 @@ namespace drawinglayer // add graphic content appendPrimitive2DSequenceToPrimitive2DSequence(aRetval, getOLEContent()); - // add text, no need to supress to stay compatible since text was + // add text, no need to suppress to stay compatible since text was // always supported by the old paints, too if(!getSdrLFSTAttribute().getText().isDefault()) { diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 056947cbdf7a..916302a7ab4b 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -1206,7 +1206,7 @@ void SdrEditView::CombineMarkedObjects(bool bNoPolyPoly) // This is used for Combine and Connect. In no case it is necessary to force // the content to curve, but it is also not good to force to polygons. Thus, - // curve is the less information loosing one. Remember: This place is not + // curve is the less information losing one. Remember: This place is not // used for merge. // LineToArea is never necessary, both commands are able to take over the // set line style and to display it correctly. Thus, i will use a diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx index 7e53388e9909..30e870b4d64f 100644 --- a/svx/source/svdraw/svdhdl.cxx +++ b/svx/source/svdraw/svdhdl.cxx @@ -2500,7 +2500,7 @@ void SdrCropViewHdl::CreateB2dIAObject() aCropped.getMinY()); aCroppedTransform = maObjectTransform * aCroppedTransform; - // prepare graphic primitive (tranformed) + // prepare graphic primitive (transformed) const drawinglayer::primitive2d::Primitive2DReference aGraphic( new drawinglayer::primitive2d::GraphicPrimitive2D( aCroppedTransform, diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx index 0ada28208166..fe820d9d31a5 100644 --- a/svx/source/svdraw/svdxcgv.cxx +++ b/svx/source/svdraw/svdxcgv.cxx @@ -492,7 +492,7 @@ BitmapEx SdrExchangeView::GetMarkedObjBitmapEx(bool bNoVDevIfOneBmpMarked) const if(pSdrGrafObj) { - // #122753# To ensure existance of graphic content, force swap in + // #122753# To ensure existence of graphic content, force swap in pSdrGrafObj->ForceSwapIn(); } diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx index bef1c87e5c49..ce2b6348cf6d 100644 --- a/svx/source/table/tablelayouter.hxx +++ b/svx/source/table/tablelayouter.hxx @@ -65,7 +65,7 @@ public: if bFitWidth or bFitHeight is set, the layouter tries to scale the rows and/or columns to the given area. The result my be bigger - to fullfill constrains. + to fulfill constrains. if bFitWidth or bFitHeight is set, the model is changed. */ diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx index a98efa1fcf90..4f145fcf573b 100644 --- a/svx/source/tbxctrls/SvxColorValueSet.cxx +++ b/svx/source/tbxctrls/SvxColorValueSet.cxx @@ -135,7 +135,7 @@ Size SvxColorValueSet::layoutToGivenHeight(sal_uInt32 nHeight, sal_uInt32 nEntry const Size aItemSize(getEntryEdgeLength(), getEntryEdgeLength()); const WinBits aWinBits(GetStyle() & ~WB_VSCROLL); - // get size whith all fields disabled + // get size with all fields disabled const WinBits aWinBitsNoScrollNoFields(GetStyle() & ~(WB_VSCROLL|WB_NAMEFIELD|WB_NONEFIELD)); SetStyle(aWinBitsNoScrollNoFields); const Size aSizeNoScrollNoFields(CalcWindowSizePixel(aItemSize, getColumnCount())); diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index 3e4dd0e9a444..9f51875daee5 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -389,7 +389,7 @@ bool SvXMLEmbeddedObjectHelper::ImplReadObject( if( xDocStor != xCntnrStor || pTemp || bDuplicate ) { - // TODO/LATER: make this alltogether a method in the EmbeddedObjectContainer + // TODO/LATER: make this altogether a method in the EmbeddedObjectContainer // create a unique name for the duplicate object if( bDuplicate ) |