diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-01-09 22:55:28 +0100 |
---|---|---|
committer | Ashod Nakashian <ashnakash@gmail.com> | 2016-01-10 14:17:20 +0000 |
commit | 64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch) | |
tree | 772fc0f308549b9416fbcb06bce2bf0e0f5809cc /svx | |
parent | d61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff) |
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'svx')
39 files changed, 58 insertions, 58 deletions
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx index ab768d742fc9..22c47fa580db 100644 --- a/svx/source/accessibility/AccessibleControlShape.cxx +++ b/svx/source/accessibility/AccessibleControlShape.cxx @@ -685,7 +685,7 @@ void SAL_CALL AccessibleControlShape::disposing() m_xUnoControl.clear(); - // let the base do it's stuff + // let the base do its stuff AccessibleShape::disposing(); } diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index 58ce8a299b06..6d7954c8dd09 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -153,7 +153,7 @@ namespace accessibility // a switch to a real EditSource, too. Fortunately, the // AccessibleEditableTextPara implementation currently always // calls GetEditViewForwarder(true) before doing - // changes. Thus, we rely on this behabviour here (problem + // changes. Thus, we rely on this behaviour here (problem // when that changes: via accessibility API, it would no // longer be possible to enter text in previously empty // shapes). diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx index 1d00f00b0229..e65e60cdc7c7 100644 --- a/svx/source/customshapes/EnhancedCustomShape2d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx @@ -708,8 +708,8 @@ EnhancedCustomShape2d::EnhancedCustomShape2d( SdrObject* pAObj ) : ClearItem( SDRATTR_TEXTDIRECTION ); //SJ: vertical writing is not required, by removing this item no outliner is created - // #i105323# For 2D AtoShapes, the shadow attribute does not need to be applied to any - // of the constucted helper SdrObjects. This would lead to problems since the shadow + // #i105323# For 2D AutoShapes, the shadow attribute does not need to be applied to any + // of the constructed helper SdrObjects. This would lead to problems since the shadow // of one helper object would fall on one helper object behind it (e.g. with the // eyes of the smiley shape). This is not wanted; instead a single shadow 'behind' // the AutoShape visualisation is wanted. This is done with primitive functionailty diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx index 1f802b8bc49e..11f5747ce5d0 100644 --- a/svx/source/customshapes/EnhancedCustomShape3d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx @@ -305,7 +305,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con // created visualisation helper model shape individually. The shadow itself // will then be rendered from the 3D renderer correctly for the whole 3D scene // (and thus behind all objects of which the visualisation may be built). So, - // dio NOT remove it from the ItemSet here. + // do NOT remove it from the ItemSet here. // aSet.ClearItem(SDRATTR_SHADOW); std::vector< E3dCompoundObject* > aPlaceholderObjectList; diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index 482a89d794ba..7bbc18f6cf2a 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -591,7 +591,7 @@ void Svx3DLightControl::Tracking( const TrackingEvent& rTEvt ) if(mbMouseMoved) { - // was change dinteractively + // was change interactively } else { diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx index aca7ecdf70c8..b6092da8607a 100644 --- a/svx/source/dialog/hdft.cxx +++ b/svx/source/dialog/hdft.cxx @@ -643,7 +643,7 @@ IMPL_LINK_NOARG_TYPED(SvxHFPage, BackgroundHdl, Button*, void) if(SfxItemState::SET == GetItemSet().GetItemState(GetWhich(nId), false, &pItem)) { // If a SfxItemSet from the SetItem for SID_ATTR_PAGE_HEADERSET or - // SID_ATTR_PAGE_FOOTERSET exists, use it's content + // SID_ATTR_PAGE_FOOTERSET exists, use its content pBBSet->Put(static_cast<const SvxSetItem*>(pItem)->GetItemSet()); } else diff --git a/svx/source/dialog/ucsubset.src b/svx/source/dialog/ucsubset.src index e520e77e25d8..06630ccb12a8 100644 --- a/svx/source/dialog/ucsubset.src +++ b/svx/source/dialog/ucsubset.src @@ -461,7 +461,7 @@ Resource RID_SUBSETMAP }; String RID_SUBSETSTR_CANADIAN_ABORIGINAL { - Text [ en-US ] = "Canadan Aboriginal Syllables"; + Text [ en-US ] = "Canadian Aboriginal Syllables"; }; String RID_SUBSETSTR_MONGOLIAN { diff --git a/svx/source/engine3d/camera3d.cxx b/svx/source/engine3d/camera3d.cxx index ef2e4d711c9f..5d3383032604 100644 --- a/svx/source/engine3d/camera3d.cxx +++ b/svx/source/engine3d/camera3d.cxx @@ -120,7 +120,7 @@ void Camera3D::SetBankAngle(double fAngle) } } - // Calculate from aDiff to uppwards pointing View-Up-Vector + // Calculate from aDiff to upwards pointing View-Up-Vector // duplicated line is intentional! aPrj = aPrj.getPerpendicular(aDiff); aPrj = aPrj.getPerpendicular(aDiff); diff --git a/svx/source/engine3d/helperminimaldepth3d.hxx b/svx/source/engine3d/helperminimaldepth3d.hxx index 93896707b58a..698af3d4e6f2 100644 --- a/svx/source/engine3d/helperminimaldepth3d.hxx +++ b/svx/source/engine3d/helperminimaldepth3d.hxx @@ -28,7 +28,7 @@ class E3dCompoundObject; -/** support extracting the minimal depth of a 3d object in it's scene +/** support extracting the minimal depth of a 3d object in its scene @param rObject The 3D Object from which the minimal depth needs to be calculated. The scene @@ -40,7 +40,7 @@ class E3dCompoundObject; means the transformations (esp. rotation) of the scene are taken into account */ -// support extracting the minimal depth of a 3d object in it's scene +// support extracting the minimal depth of a 3d object in its scene double getMinimalDepthInViewCoordinates(const E3dCompoundObject& rObject); diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx index cd553f6111c6..66ef3b7d1bf6 100644 --- a/svx/source/engine3d/obj3d.cxx +++ b/svx/source/engine3d/obj3d.cxx @@ -284,7 +284,7 @@ void E3dObject::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const // At first not only possible, because the creation of a group of // 2D polygons would be required which need to be sorted by depth, // ie at intersections be cut relative to each other. Also the texture - // coorinates were an unsolved problem. + // coordinates were an unsolved problem. rInfo.bCanConvToPoly = false; rInfo.bCanConvToContour = false; rInfo.bCanConvToPathLineToArea = false; @@ -453,7 +453,7 @@ void E3dObject::RecalcSnapRect() } // Inform the parent about insertion of a 3D object, so that the parent is able -// treat the particualar objects in a special way (eg Light / Label in E3dScene) +// treat the particular objects in a special way (eg Light / Label in E3dScene) void E3dObject::NewObjectInserted(const E3dObject* p3DObj) { diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx index 7ca48718a07d..2d077494383e 100644 --- a/svx/source/engine3d/scene3d.cxx +++ b/svx/source/engine3d/scene3d.cxx @@ -145,7 +145,7 @@ Imp3DDepthRemapper::Imp3DDepthRemapper(E3dScene& rScene) } } - // now, we need to sort the maVector by it's members minimal depth. The + // now, we need to sort the maVector by its members minimal depth. The // smaller, the nearer to the viewer. ::std::sort(maVector.begin(), maVector.end()); } diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx index eadcd53b83db..206284248cb9 100644 --- a/svx/source/engine3d/view3d.cxx +++ b/svx/source/engine3d/view3d.cxx @@ -271,7 +271,7 @@ void E3dView::DrawMarkedObj(OutputDevice& rOut) const SdrObject *pObj = GetMarkedObjectByIndex(nObjs); if(pObj && dynamic_cast< const E3dCompoundObject*>(pObj) != nullptr) { - // relatated scene + // related scene pScene = static_cast<E3dCompoundObject*>(pObj)->GetScene(); if(pScene) pScene->SetSelected(false); diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 2e5c50ce9006..ddd6a7046b62 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -1802,7 +1802,7 @@ Sequence< Any> FmGridControl::getSelectionBookmarks() // navigation bar and the grid. The latter itself will result in SeekRow calls. So after (successfully) returning // from the moveRelative the getPosition returns an invalid value. And so the SeekCursor fails. // In the consequence ALL parts of code where two calls to the seek cursor are done, while the second call _relys_ on - // the first one, should be secured against recursion, with a broad-minded interpretion of "recursion": if any of these + // the first one, should be secured against recursion, with a broad-minded interpretation of "recursion": if any of these // code parts is executed, no other should be accessible. But this sounds very difficult to achieve... // ) diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 041825e5a55f..3cef94fd240c 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -495,7 +495,7 @@ void SAL_CALL FmXGridControl::createPeer(const Reference< css::awt::XToolkit >& // consider the following ugly scenario: updateFromModel leads to a propertiesChanges on the Control, // which determines, dat a "critical" property has changed (e.g. "Border") and therefore starts a new - // Peer, which lands again here in createPeerm we also start a second FmXGridPeer and initialise it. + // Peer, which lands again here in createPeer we also start a second FmXGridPeer and initialise it. // Then we exit from the first incarnation's updateFromModel and continue working with the pPeer, // that is in fact now already obsolete (as another peer is being started in the second incarnation). // Therefore the effort with the PeerCreationLevel, which ensures that we really use the Peer @@ -1776,7 +1776,7 @@ void FmXGridPeer::elementReplaced(const ContainerEvent& evt) throw( RuntimeExcep // set the model of the new column DbGridColumn* pCol = pGrid->GetColumns().at( nNewPos ); - // for initializong this grid column, we need the fields of the grid's data source + // for initializing this grid column, we need the fields of the grid's data source Reference< XColumnsSupplier > xSuppColumns; CursorWrapper* pGridDataSource = pGrid->getDataSource(); if ( pGridDataSource ) @@ -2093,7 +2093,7 @@ void FmXGridPeer::dispose() throw( RuntimeException, std::exception ) // tell the interceptor it has a new (means no) predecessor xInterceptor->setMasterDispatchProvider( nullptr ); - // ask for it's successor + // ask for its successor Reference< XDispatchProvider > xSlave = xInterceptor->getSlaveDispatchProvider(); // and give it the new (means no) successoert xInterceptor->setSlaveDispatchProvider( nullptr ); diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 746ed8f73bac..3c56f853e57e 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -2019,7 +2019,7 @@ bool FmXFormShell::setCurrentSelection( const InterfaceBag& _rSelection ) OSL_ENSURE( xThisRoundsForm.is(), "FmXFormShell::setCurrentSelection: *everything* should belong to a form!" ); if ( !xNewCurrentForm.is() ) - { // the first form we encounterd + { // the first form we encountered xNewCurrentForm = xThisRoundsForm; } else if ( xNewCurrentForm != xThisRoundsForm ) @@ -2338,7 +2338,7 @@ IMPL_LINK_TYPED(FmXFormShell, OnSearchContextRequest, FmSearchContext&, rfmscCon // The alternative to this (ugly but certainly not entirely fixable) solution would be // to renounce the caching of the SdrObjects, which would lead to significant extra // work in OnFoundData (since there I'd have to get the SdrObject first thing every - // time). But since OnFoundData is usually called more often than ExecuteSeearch, I'll + // time). But since OnFoundData is usually called more often than ExecuteSearch, I'll // do that here. Reference< XNameAccess> xValidFormFields; @@ -2792,7 +2792,7 @@ void FmXFormShell::SetDesignMode(bool bDesign) pFormView->ChangeDesignMode(bDesign); - // notify listensers + // notify listeners FmDesignModeChangedHint aChangedHint( bDesign ); m_pShell->Broadcast(aChangedHint); diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index ac5f78dbd59f..519dced6d46c 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -847,11 +847,11 @@ void FmSearchEngine::Init(const OUString& sVisibleFields) xMeta = xConn->getMetaData(); OSL_ENSURE( xMeta.is(), "FmSearchEngine::Init: very strange cursor (could not derive connection meta data from it)!" ); - bool bCaseSensitiveIdentifiers = true; // assume case sensivity + bool bCaseSensitiveIdentifiers = true; // assume case sensitivity if ( xMeta.is() ) bCaseSensitiveIdentifiers = xMeta->supportsMixedCaseQuotedIdentifiers(); - // now that we have this information, we need a collator which is able to case (in)sentively compare strings + // now that we have this information, we need a collator which is able to case (in)sensitivity compare strings m_aStringCompare.loadDefaultCollator( SvtSysLocale().GetLanguageTag().getLocale(), bCaseSensitiveIdentifiers ? 0 : css::i18n::CollatorOptions::CollatorOptions_IGNORE_CASE ); diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index a81b2044123c..9c0cc8b60adb 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -957,7 +957,7 @@ IMPL_LINK_NOARG_TYPED(FmXFormView, OnAutoFocus, void*, void) { m_nAutoFocusEvent = nullptr; - // go to the first form of our page, examine it's TabController, go to it's first (in terms of the tab order) + // go to the first form of our page, examine it's TabController, go to its first (in terms of the tab order) // control, give it the focus SdrPageView *pPageView = m_pView ? m_pView->GetSdrPageView() : nullptr; @@ -1110,7 +1110,7 @@ IMPL_LINK_NOARG_TYPED( FmXFormView, OnStartControlWizard, void*, void ) try { Reference<XComponentContext> xContext = comphelper::getProcessComponentContext(); - xWizard.set( xContext->getServiceManager()->createInstanceWithArgumentsAndContext( OUString::createFromAscii(pWizardAsciiName), aWizardArgs.getWrappedPropertyValues(), xContext ), UNO_QUERY);; + xWizard.set( xContext->getServiceManager()->createInstanceWithArgumentsAndContext( OUString::createFromAscii(pWizardAsciiName), aWizardArgs.getWrappedPropertyValues(), xContext ), UNO_QUERY); } catch (const Exception&) { diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index ce7fa4d60649..3b3fe6edbde3 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -3380,7 +3380,7 @@ void FormController::stopFiltering() Reference< XControl > xControl = pControls[--i]; if (xControl.is()) { - // now enable eventhandling again + // now enable event handling again addToEventAttacher(xControl); Reference< XModeSelector > xSelector(xControl, UNO_QUERY); @@ -4224,7 +4224,7 @@ void FormController::deleteInterceptor(const Reference< XDispatchProviderInterce return; } - // log off the interception from it's interception object + // log off the interception from its interception object DispatchInterceptionMultiplexer* pInterceptorImpl = *aIter; pInterceptorImpl->dispose(); pInterceptorImpl->release(); diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index d3c8f9783470..29d6d8711e86 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -801,7 +801,7 @@ namespace svxform // 0) the root entry is part of the list (can't DnD the root!) // 1) one of the draged entries is to be dropped onto it's own parent // 2) - " - is to be dropped onto itself - // 3) - " - is a Form and to be dropped onto one of it's descendants + // 3) - " - is a Form and to be dropped onto one of its descendants // 4) one of the entries is a control and to be dropped onto the root // 5) a control or form will be dropped onto a control which is _not_ a sibling (dropping onto a sibling // means moving the control) @@ -1358,7 +1358,7 @@ namespace svxform } catch ( const Exception& ) { - OSL_FAIL("NavigatorTree::NewForm : could not set esssential properties !"); + OSL_FAIL("NavigatorTree::NewForm : could not set essential properties!"); } @@ -1844,7 +1844,7 @@ namespace svxform { // actually i would have to test, if parent is part of m_arr_CurrentSelection ... // but if it's selected, than it's in m_arrCurrentSelection - // or one of it's ancestors, which was selected earlier. + // or one of its ancestors, which was selected earlier. // In both cases IsSelected is enough if (IsSelected(pParentLoop)) break; @@ -1915,11 +1915,11 @@ namespace svxform } // now SelectList contains only entries, which have to be selected - // two possabilities : 1) run through SelectList, get SvTreeListEntry for every entry and select it (is more intuitive) + // two possibilities : 1) run through SelectList, get SvTreeListEntry for every entry and select it (is more intuitive) // 2) run through my SvLBoxEntries and select those, i can find in the SelectList // 1) needs =(k*n) (k=length of SelectList, n=number of entries), // plus the fact, that FindEntry uses extensive IsEqualWithoutChilden instead of comparing pointer to UserData - // 2) needs =(n*log k), dublicates some code from FindEntry + // 2) needs =(n*log k), duplicates some code from FindEntry // This may be a frequently used code ( at every change in mark of the view!), // so i use latter one SvTreeListEntry* pLoop = First(); diff --git a/svx/source/inc/charmapacc.hxx b/svx/source/inc/charmapacc.hxx index 330002007863..79fd3987e60c 100644 --- a/svx/source/inc/charmapacc.hxx +++ b/svx/source/inc/charmapacc.hxx @@ -120,7 +120,7 @@ namespace svx // - SvxShowCharSetAcc - - /** The table implemtentation of the vcl control. + /** The table implementation of the vcl control. */ class SvxShowCharSetAcc : public ::comphelper::OAccessibleSelectionHelper, diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx index bd7647c649bf..9160b0e1503b 100644 --- a/svx/source/inc/docrecovery.hxx +++ b/svx/source/inc/docrecovery.hxx @@ -423,7 +423,7 @@ class SaveProgressDialog : public ModalDialog is used automatically. @param pCore - used to start emegrency save. + used to start emergency save. */ SaveProgressDialog(vcl::Window* pParent, RecoveryCore* pCore ); diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index ec9ce901de85..d5138b3f0196 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -344,7 +344,7 @@ protected: FmFormArray& _out_rForms, ::std::vector< OUString >& _out_rNames ); - /** checks whether the instance is already disposed, if so, this is reported as assertion error (debug + /** checks whenever the instance is already disposed, if so, this is reported as assertion error (debug builds only) and <TRUE/> is returned. */ SAL_DLLPRIVATE bool impl_checkDisposed() const; @@ -422,7 +422,7 @@ public: SAL_DLLPRIVATE static PopupMenu* GetConversionMenu(); // ein Menue, das alle ControlConversion-Eintraege enthaelt - /// checks whethere a given control conversion slot can be applied to the current selection + /// checks whether a given control conversion slot can be applied to the current selection SAL_DLLPRIVATE bool canConvertCurrentSelectionToControl( sal_Int16 nConversionSlot ); /// enables or disables all conversion slots in a menu, according to the current selection SAL_DLLPRIVATE void checkControlConversionSlotsForCurrentSelection( Menu& rMenu ); diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index 30b69edf61b3..997b265a5239 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -138,7 +138,7 @@ namespace sdr } } - // Process the whole displaying. Only use given DsiplayInfo, do not access other + // Process the whole displaying. Only use given DisplayInfo, do not access other // OutputDevices then the given ones. void ObjectContactOfPageView::DoProcessDisplay(DisplayInfo& rDisplayInfo) { diff --git a/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx b/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx index b17ae54fa2a2..20dcb4092964 100644 --- a/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrobjcustomshape.cxx @@ -64,7 +64,7 @@ namespace sdr { // text range needs to be corrected by // aObjectRange.getCenter() - aRotObjectRange.getCenter() since it's - // defined differenly by using rotation around object center. Start + // defined differently by using rotation around object center. Start // with positive part basegfx::B2DVector aTranslation(aObjectRange.getCenter()); diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx index 7162d8b1cd2b..03fbd573e82c 100644 --- a/svx/source/sdr/contact/viewobjectcontact.cxx +++ b/svx/source/sdr/contact/viewobjectcontact.cxx @@ -192,7 +192,7 @@ ViewObjectContact::~ViewObjectContact() // take care of remembered ObjectContact. Remove from // OC first. The VC removal (below) CAN trigger a StopGettingViewed() - // which (depending of it's implementation) may destroy other OCs. This + // which (depending of its implementation) may destroy other OCs. This // can trigger the deletion of the helper OC of a page visualising object // which IS the OC of this object. Eventually StopGettingViewed() needs // to get asynchron later diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index cba94c6f9091..f68d7eafdc57 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -170,7 +170,7 @@ namespace sdr vcl::Region aPaintRegionPixel = rWindow.LogicToPixel(rWindow.GetPaintRegion()); aRegion.Intersect(aPaintRegionPixel); - // #i72754# Make sure content is completetly rendered, the window + // #i72754# Make sure content is completely rendered, the window // will be used as source of a DrawOutDev soon rWindow.Flush(); } @@ -337,7 +337,7 @@ namespace sdr } // VCL hack for transparent child windows - // Problem is e.g. a radiobuttion form control in life mode. The used window + // Problem is e.g. a radiobutton form control in life mode. The used window // is a transparence vcl childwindow. This flag only allows the parent window to // paint into the child windows area, but there is no mechanism which takes // care for a repaint of the child window. A transparent child window is NOT diff --git a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx index 5e7148814a5b..67081e899083 100644 --- a/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx +++ b/svx/source/sdr/primitive2d/sdrdecompositiontools.cxx @@ -434,7 +434,7 @@ namespace drawinglayer if(0.0 != aAnimationList.getDuration()) { - // create a new Primitive2DContainer containing the animated text in it's scaled only state. + // create a new Primitive2DContainer containing the animated text in its scaled only state. // use the decomposition to force to simple text primitives, those will no longer // need the outliner for formatting (alternatively it is also possible to just add // pNew to aNewPrimitiveSequence) diff --git a/svx/source/sdr/primitive3d/sdrattributecreator3d.cxx b/svx/source/sdr/primitive3d/sdrattributecreator3d.cxx index 25ec9740305e..16acdb1021c7 100644 --- a/svx/source/sdr/primitive3d/sdrattributecreator3d.cxx +++ b/svx/source/sdr/primitive3d/sdrattributecreator3d.cxx @@ -49,7 +49,7 @@ namespace drawinglayer aNormalsKind = css::drawing::NormalsKind_SPHERE; } - // get NoermalsInvert flag + // get NormalsInvert flag const bool bInvertNormals(static_cast<const SfxBoolItem&>(rSet.Get(SDRATTR_3DOBJ_NORMALS_INVERT)).GetValue()); // get TextureProjectionX diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx index 338cfedf1ec3..faac610e4043 100644 --- a/svx/source/sdr/properties/defaultproperties.cxx +++ b/svx/source/sdr/properties/defaultproperties.cxx @@ -55,7 +55,7 @@ namespace sdr { mpItemSet = rProps.mpItemSet->Clone(); - // do not keep parent info, this may be changed by later construrtors. + // do not keep parent info, this may be changed by later constructors. // This class just copies the ItemSet, ignore parent. if(mpItemSet && mpItemSet->GetParent()) { diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index 1052a825de8a..142739b97c4f 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -1581,8 +1581,8 @@ sal_uInt16 OutlineTypeMgr::GetNBOIndexForNumRule(SvxNumRule& aNum,sal_uInt16 /*m bool bIsMatch = false; if (pBrsh1==pBrsh2) bIsMatch = true; if (pBrsh1 && pBrsh2) { - const Graphic* pGrf1 = pBrsh1->GetGraphic();; - const Graphic* pGrf2 = pBrsh2->GetGraphic();; + const Graphic* pGrf1 = pBrsh1->GetGraphic(); + const Graphic* pGrf2 = pBrsh2->GetGraphic(); if (pGrf1==pGrf2) bIsMatch = true; if (pGrf1 && pGrf2) { if ( pGrf1->GetBitmap().IsEqual(pGrf2->GetBitmap()) && @@ -1774,7 +1774,7 @@ bool OutlineTypeMgr::ApplyNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uInt1 if (isResetSize) aFmt.SetBulletRelSize(45); }else if ((aFmt.GetNumberingType()&(~LINK_TOKEN)) == SVX_NUM_BITMAP ) { if (pLevelSettings->pBrushItem) { - const Graphic* pGrf = pLevelSettings->pBrushItem->GetGraphic();; + const Graphic* pGrf = pLevelSettings->pBrushItem->GetGraphic(); Size aSize = pLevelSettings->aSize; sal_Int16 eOrient = text::VertOrientation::LINE_CENTER; if (!isResetSize && aFmt.GetGraphicSize()!=Size(0,0)) aSize=aFmt.GetGraphicSize(); diff --git a/svx/source/svdraw/sdrhittesthelper.cxx b/svx/source/svdraw/sdrhittesthelper.cxx index 9a01cb62c181..3c2b4353a922 100644 --- a/svx/source/svdraw/sdrhittesthelper.cxx +++ b/svx/source/svdraw/sdrhittesthelper.cxx @@ -68,7 +68,7 @@ SdrObject* SdrObjectPrimitiveHit( } else { - // not a single 3D object; Check in first PageWindow using prmitives (only SC + // not a single 3D object; Check in first PageWindow using primitives (only SC // with split views uses multiple PageWindows nowadays) if(rSdrPageView.PageWindowCount()) { diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx index 182a708bdc1e..b1e8db07e9b2 100644 --- a/svx/source/svdraw/svddrgmt.cxx +++ b/svx/source/svdraw/svddrgmt.cxx @@ -2852,7 +2852,7 @@ void SdrDragCrook::TakeSdrDragComment(OUString& rStr) const rStr += ImpGetResStr(STR_EditWithCopy); } -// These defines parameterize the created raster +// These defines parametrize the created raster // for interactions #define DRAG_CROOK_RASTER_MINIMUM (4) #define DRAG_CROOK_RASTER_MAXIMUM (15) @@ -3960,7 +3960,7 @@ bool SdrDragCrop::EndSdrDrag(bool /*bCopy*/) // the following old code uses aOldRect/aNewRect to calculate the crop change for // the crop item. It implies unrotated objects, so create the unrotated original - // erctangle and the unrotated modified rectangle. Latter can in case of shear and/or + // rectangle and the unrotated modified rectangle. Latter can in case of shear and/or // rotation not be fetched by using //Rectangle aNewRect( pObj->GetLogicRect() ); diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index b20487920a1f..b2865b684bbc 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -571,7 +571,7 @@ void SdrEdgeObj::ImpRecalcEdgeTrack() { // #i123048# If layouting was ever suppressed, it needs to be done once // and the attr need to be set at EdgeInfo, else these attr *will be lost* - // in the following call to ImpSetEdgeInfoToAttr() sice they were never + // in the following call to ImpSetEdgeInfoToAttr() since they were never // set before (!) *pEdgeTrack=ImpCalcEdgeTrack(*pEdgeTrack,aCon1,aCon2,&aEdgeInfo); ImpSetAttrToEdgeInfo(); diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx index 1f2b33e909f0..a13c042c6945 100644 --- a/svx/source/svdraw/svdouno.cxx +++ b/svx/source/svdraw/svdouno.cxx @@ -319,7 +319,7 @@ void SdrUnoObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fracti if (aGeo.nShearAngle!=0 || aGeo.nRotationAngle!=0) { - // small correctures + // small correctors if (aGeo.nRotationAngle>=9000 && aGeo.nRotationAngle<27000) { maRect.Move(maRect.Left()-maRect.Right(),maRect.Top()-maRect.Bottom()); diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index aa24c1bf10ca..66b01f0a8e92 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -434,7 +434,7 @@ void SAL_CALL AccessibleTableShape::disposing() { mxImpl->dispose(); - // let the base do it's stuff + // let the base do its stuff AccessibleShape::disposing(); } diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx index 6f66d5cd4226..9efab7a52054 100644 --- a/svx/source/tbxctrls/linectrl.cxx +++ b/svx/source/tbxctrls/linectrl.cxx @@ -43,7 +43,7 @@ using namespace ::com::sun::star::frame; using namespace ::com::sun::star::lang; using namespace ::com::sun::star; -// For End Line Controlleer +// For End Line Controller #define MAX_LINES 12 SFX_IMPL_TOOLBOX_CONTROL( SvxLineStyleToolBoxControl, XLineStyleItem ); diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 7d8daf348c37..67e2ab6b525f 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -840,7 +840,7 @@ IMPL_LINK_TYPED(SvxStyleBox_Impl, CalcOptimalExtraUserWidth, VclWindowEvent&, ev // return is always the Font-Color // when both light or dark, change the Contrast // in other case do not change the origin color -// when the color is R=G=B=128 the DecreaseContast make 128 the need a exception +// when the color is R=G=B=128 the DecreaseContrast make 128 the need a exception Color SvxStyleBox_Impl::TestColorsVisible(const Color &FontCol, const Color &BackCol) { const sal_uInt8 ChgVal = 60; // increase/decrease the Contrast diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx index 98472cf36e4f..704e2e8e6f93 100644 --- a/svx/source/unodraw/unoprov.cxx +++ b/svx/source/unodraw/unoprov.cxx @@ -1179,7 +1179,7 @@ bool SvxUnoConvertResourceString( int nSourceResIds, int nDestResIds, int nCount // these have to be in front of others // It would be nice to: -// - evtl. organize these in a single array with 2-dimensional inner to elliminate +// - evtl. organize these in a single array with 2-dimensional inner to eliminate // the possibility to define it wrong // - change the compare to also work when a shorter name is in front of a longer one diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 0b682a624cbf..7653b263f4c9 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1898,7 +1898,7 @@ css::uno::Sequence< css::uno::Any > SAL_CALL SvxShape::getPropertyValues( const const OUString* pNames = aPropertyNames.getConstArray(); uno::Sequence< uno::Any > aRet( nCount ); - uno::Any* pValue = aRet.getArray();; + uno::Any* pValue = aRet.getArray(); if( mpImpl->mpMaster ) { |