From 01532b1ab8f34ac0a87c17efaa2e6c7e9ac29b3b Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 15 Jun 2015 17:03:57 +0200 Subject: Fix typos Change-Id: I28cfc629dc3d6ef54128615452667ccce86c1072 Reviewed-on: https://gerrit.libreoffice.org/16297 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- basegfx/source/polygon/b2dpolygoncutandtouch.cxx | 2 +- chart2/source/tools/AxisHelper.cxx | 2 +- chart2/source/view/charttypes/Splines.cxx | 2 +- connectivity/source/drivers/mozab/MDriver.cxx | 2 +- cui/source/options/treeopt.cxx | 2 +- dbaccess/source/ui/inc/UserAdminDlg.hxx | 2 +- desktop/source/deployment/manager/dp_manager.cxx | 2 +- drawinglayer/source/processor2d/vclpixelprocessor2d.cxx | 2 +- filter/source/msfilter/svdfppt.cxx | 2 +- forms/source/xforms/propertysetbase.cxx | 2 +- framework/source/layoutmanager/layoutmanager.cxx | 2 +- include/comphelper/weakeventlistener.hxx | 2 +- include/framework/actiontriggerhelper.hxx | 2 +- include/svx/AccessibleTextHelper.hxx | 2 +- include/svx/svdundo.hxx | 2 +- include/toolkit/controls/unocontrols.hxx | 2 +- include/ucbhelper/contenthelper.hxx | 2 +- include/unotools/configvaluecontainer.hxx | 2 +- include/xmloff/prhdlfac.hxx | 2 +- sc/qa/unit/subsequent_export-test.cxx | 2 +- sc/source/filter/inc/xetable.hxx | 4 ++-- sc/source/ui/vba/vbachart.cxx | 2 +- sd/source/core/stlsheet.cxx | 2 +- sd/source/filter/eppt/eppt.cxx | 4 ++-- sd/source/ui/sidebar/MasterPageDescriptor.cxx | 2 +- sfx2/source/appl/app.cxx | 2 +- slideshow/source/engine/animationfactory.cxx | 2 +- slideshow/source/engine/slideshowimpl.cxx | 2 +- starmath/source/node.cxx | 2 +- starmath/source/parse.cxx | 2 +- svtools/source/control/toolbarmenu.cxx | 2 +- svx/source/form/dataaccessdescriptor.cxx | 2 +- svx/source/form/fmtextcontrolshell.cxx | 2 +- svx/source/form/navigatortreemodel.cxx | 2 +- svx/source/sdr/contact/objectcontactofpageview.cxx | 2 +- svx/source/sdr/contact/viewobjectcontactofpageobj.cxx | 2 +- sw/inc/IDocumentFieldsAccess.hxx | 2 +- sw/inc/docsh.hxx | 2 +- sw/inc/swtable.hxx | 2 +- sw/source/core/inc/rootfrm.hxx | 2 +- sw/source/core/layout/dbg_lay.cxx | 2 +- sw/source/core/layout/ftnfrm.cxx | 2 +- sw/source/core/text/txtfrm.cxx | 2 +- sw/source/core/view/pagepreviewlayout.cxx | 2 +- sw/source/filter/ww8/docxsdrexport.cxx | 2 +- sw/source/ui/fldui/flddinf.cxx | 2 +- sw/source/uibase/app/docshini.cxx | 2 +- vbahelper/source/vbahelper/vbahelper.cxx | 2 +- vcl/inc/unx/wmadaptor.hxx | 2 +- vcl/source/control/ilstbox.cxx | 2 +- vcl/source/window/accmgr.cxx | 2 +- vcl/source/window/toolbox.cxx | 2 +- 52 files changed, 54 insertions(+), 54 deletions(-) diff --git a/basegfx/source/polygon/b2dpolygoncutandtouch.cxx b/basegfx/source/polygon/b2dpolygoncutandtouch.cxx index 5bb23ad2f10a..6a4370a723b2 100644 --- a/basegfx/source/polygon/b2dpolygoncutandtouch.cxx +++ b/basegfx/source/polygon/b2dpolygoncutandtouch.cxx @@ -174,7 +174,7 @@ namespace basegfx const temporaryPointVector& rPointVector, const B2DPolygon& rPolygon, sal_uInt32 nInd, temporaryPointVector& rTempPoints) { - // assuming that the subdivision to create rPolygon used aequidistant pieces + // assuming that the subdivision to create rPolygon used equidistant pieces // (as in adaptiveSubdivideByCount) it is now possible to calculate back the // cut positions in the polygon to relative cut positions on the original bezier // segment. diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx index 045ba71cce0e..ae9c58ee5fab 100644 --- a/chart2/source/tools/AxisHelper.cxx +++ b/chart2/source/tools/AxisHelper.cxx @@ -258,7 +258,7 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis( if( nDimensionIndex == 1 ) { - //only take those series into accoutn that are attached to this axis + //only take those series into account that are attached to this axis sal_Int32 nAttachedAxisIndex = DataSeriesHelper::getAttachedAxisIndex(xDataSeries); if( nAttachedAxisIndex != nAxisIndex ) continue; diff --git a/chart2/source/view/charttypes/Splines.cxx b/chart2/source/view/charttypes/Splines.cxx index d7eae8e61059..660c8ce01f7a 100644 --- a/chart2/source/view/charttypes/Splines.cxx +++ b/chart2/source/view/charttypes/Splines.cxx @@ -851,7 +851,7 @@ void SplineCalculater::CalculateBSplines( while ( r !=0 && cc-r < p ) { fEliminate = aMatN[r][ cc - aShift[r] ]; - if ( fEliminate != 0.0) // else element is accidentically zero, no action needed + if ( fEliminate != 0.0) // else element is accidentally zero, no action needed { // row r -= fEliminate * row cc only relevant for right side aMatN[r][cc - aShift[r]] = 0.0; diff --git a/connectivity/source/drivers/mozab/MDriver.cxx b/connectivity/source/drivers/mozab/MDriver.cxx index c17fd3d13077..1781894654ed 100644 --- a/connectivity/source/drivers/mozab/MDriver.cxx +++ b/connectivity/source/drivers/mozab/MDriver.cxx @@ -306,7 +306,7 @@ bool MozabDriver::ensureInit() if ( m_xMSFactory.is() ) { - // for purpose of transfer safety, the interface needs to be acuired once + // for purpose of transfer safety, the interface needs to be acquired once // (will be release by the callee) m_xMSFactory->acquire(); ( *pSetFactoryFunc )( m_xMSFactory.get() ); diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 269cce781187..7bfc713e40c9 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -1781,7 +1781,7 @@ bool isNodeActive( OptionsNode* pNode, Module* pModule ) { if ( pNode ) { - // Node for all modules actine? + // Node for all modules active? if ( pNode->m_bAllModules ) return true; diff --git a/dbaccess/source/ui/inc/UserAdminDlg.hxx b/dbaccess/source/ui/inc/UserAdminDlg.hxx index cc2df632a9f5..5d91bf15e756 100644 --- a/dbaccess/source/ui/inc/UserAdminDlg.hxx +++ b/dbaccess/source/ui/inc/UserAdminDlg.hxx @@ -41,7 +41,7 @@ namespace dbaui class ODbDataSourceAdministrationHelper; // OUserAdminDlg - /** implements the user adin dialog + /** implements the user admin dialog */ class OUserAdminDlg : public SfxTabDialog, public IItemSetHelper, public IDatabaseSettingsDialog,public dbaui::OModuleClient { diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 291206e2f38f..0610d0e35bf4 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -1332,7 +1332,7 @@ bool PackageManagerImpl::synchronizeAddedExtensions( rtl_UriEncodeIgnoreEscapes, RTL_TEXTENCODING_UTF8); - //It is sufficient to check for the folder name, because when the administor + //It is sufficient to check for the folder name, because when the administrator //installed the extension it was already checked if there is one with the //same identifier. const MatchTempDir match(titleEncoded); diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx index 1240437da19b..a27ba461fa79 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx @@ -927,7 +927,7 @@ namespace drawinglayer // not be in a all-same transparency but will already alpha-cover themselves with blending. // This is not what the UnifiedTransparencePrimitive2D defines: It requires all its // content to be uniformely transparent. - // To check, acitvate and draw a wide transparent self-crossing line/curve + // To check, activate and draw a wide transparent self-crossing line/curve static bool bAllowed(false); bDrawTransparentUsed = bAllowed && tryDrawPolygonStrokePrimitive2DDirect(*pPoStroke, rUniTransparenceCandidate.getTransparence()); diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 4006b9f90a4a..07aa1e3f5390 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -1064,7 +1064,7 @@ SdrObject* SdrEscherImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi { bAutoGrowWidth = false; - // #119885# re-activationg bFitShapeToText here, could not find deeper explanations + // #119885# re-activating bFitShapeToText here, could not find deeper explanations // for it (it was from 2005). Keeping the old comment here for reference // old comment: // bFitShapeToText; can't be used, because we cut the text if it is too height, bAutoGrowHeight = bFitShapeToText; diff --git a/forms/source/xforms/propertysetbase.cxx b/forms/source/xforms/propertysetbase.cxx index d816c264e877..ee443fdbaa85 100644 --- a/forms/source/xforms/propertysetbase.cxx +++ b/forms/source/xforms/propertysetbase.cxx @@ -136,7 +136,7 @@ PropertyAccessorBase& PropertySetBase::locatePropertyHandler( sal_Int32 nHandle OSL_ENSURE( aPropertyPos != m_aAccessors.end() && aPropertyPos->second.get(), "PropertySetBase::locatePropertyHandler: accessor map is corrupted!" ); // neither should this be called for handles where there is no accessor, nor should a - // NULL accssor be in the map + // NULL accessor be in the map return *aPropertyPos->second; } diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 2b4a1f935cda..4af01f743ba2 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -1322,7 +1322,7 @@ throw ( RuntimeException, std::exception ) { SolarMutexGuard aGuard; - // Add layout manager as listener to get notifications about toolbar button activties + // Add layout manager as listener to get notifications about toolbar button activities vcl::Window* pContainerWindow = VCLUnoHelper::GetWindow( m_xContainerWindow ); if ( pContainerWindow ) pContainerWindow->AddChildEventListener( LINK( this, LayoutManager, WindowEventListener ) ); diff --git a/include/comphelper/weakeventlistener.hxx b/include/comphelper/weakeventlistener.hxx index c965b47e482c..f3dc86c8b8c4 100644 --- a/include/comphelper/weakeventlistener.hxx +++ b/include/comphelper/weakeventlistener.hxx @@ -93,7 +93,7 @@ namespace comphelper

Note that derived classes need to overwrite all virtual methods of their interface except XEventListener::disposing, and forward it to their master listener.

-

Addtionally, derived classes need to add themself as listener to the broadcaster, +

Additionally, derived classes need to add themself as listener to the broadcaster, as this can't be done in a generic way

*/ class OWeakListenerAdapter diff --git a/include/framework/actiontriggerhelper.hxx b/include/framework/actiontriggerhelper.hxx index 392368e634d6..fd7f7a6cbd80 100644 --- a/include/framework/actiontriggerhelper.hxx +++ b/include/framework/actiontriggerhelper.hxx @@ -33,7 +33,7 @@ namespace framework // Fills the submitted menu with the structure contained in the second // parameter rActionTriggerContainer // @param pNewMenu = must be a valid and empty menu - // @param rActionTriggerContainer = must be an instance of service "com.sun.star.ui.ActionTriggerContaienr" + // @param rActionTriggerContainer = must be an instance of service "com.sun.star.ui.ActionTriggerContainer" static void CreateMenuFromActionTriggerContainer( Menu* pNewMenu, diff --git a/include/svx/AccessibleTextHelper.hxx b/include/svx/AccessibleTextHelper.hxx index 85546f65f1fc..6178aaeffd45 100644 --- a/include/svx/AccessibleTextHelper.hxx +++ b/include/svx/AccessibleTextHelper.hxx @@ -331,7 +331,7 @@ namespace accessibility /** Implements getAccessibleChild @attention Don't call with locked mutexes. You may hold - the solar mutex, but this method acuires it anyway. + the solar mutex, but this method acquires it anyway. */ ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > GetChild( sal_Int32 i ); diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx index a6c9f2468c67..9f29a315c82c 100644 --- a/include/svx/svdundo.hxx +++ b/include/svx/svdundo.hxx @@ -313,7 +313,7 @@ public: /** * Inserting a NEW Object. - * Create Actio after insertion into the ObjList. + * Create Action after insertion into the ObjList. */ class SVX_DLLPUBLIC SdrUndoNewObj : public SdrUndoInsertObj diff --git a/include/toolkit/controls/unocontrols.hxx b/include/toolkit/controls/unocontrols.hxx index a0bd3cdbcd0d..01611a3c7bee 100644 --- a/include/toolkit/controls/unocontrols.hxx +++ b/include/toolkit/controls/unocontrols.hxx @@ -66,7 +66,7 @@ class ImageHelper { public: // The routine will always attempt to return a valid XGraphic for the - // passed _rURL, additionallly xOutGraphicObject will contain the + // passed _rURL, additionally xOutGraphicObject will contain the // associated XGraphicObject ( if url is valid for that ) and is set // appropriately ( e.g. NULL if non GraphicObject scheme ) or a valid // object if the rURL points to a valid object diff --git a/include/ucbhelper/contenthelper.hxx b/include/ucbhelper/contenthelper.hxx index 466ce990f0c0..b9abf9248e37 100644 --- a/include/ucbhelper/contenthelper.hxx +++ b/include/ucbhelper/contenthelper.hxx @@ -74,7 +74,7 @@ class ContentProviderImplHelper; * XCommandInfoChangeNotifier ) * - XPropertyContainer implementation ( persistence is implemented using * service com.sun.star.ucb.Store ) - * - complete XPropertySetInfo implementation ( including Additioanl Core + * - complete XPropertySetInfo implementation ( including Additional Core * Properties supplied via XPropertyContainer interface ) * -> protected method: getPropertySetInfo * - complete XCommandInfo implementation diff --git a/include/unotools/configvaluecontainer.hxx b/include/unotools/configvaluecontainer.hxx index 1da4e77e3f8b..0104e66b98b7 100644 --- a/include/unotools/configvaluecontainer.hxx +++ b/include/unotools/configvaluecontainer.hxx @@ -111,7 +111,7 @@ namespace utl @param _pContainer points to the accessors location in memory. Usually, this is simply an address of your derived class @param _rValueType - is the type of your accessort. This type must be supported by the configuration. + is the type of your accessor. This type must be supported by the configuration. */ void registerExchangeLocation( const sal_Char* _pRelativePathAscii, diff --git a/include/xmloff/prhdlfac.hxx b/include/xmloff/prhdlfac.hxx index 89517c358d3b..e5d608c8cf37 100644 --- a/include/xmloff/prhdlfac.hxx +++ b/include/xmloff/prhdlfac.hxx @@ -53,7 +53,7 @@ public: To extend this method for more XML-types override this method like the example below. If you call the method of the base-class you get propertyhandler for basic-XML-types ( e.g. for color, percent, ... ). - Afetr that you could create your new XML-types. After creating a new type + After that you could create your new XML-types. After creating a new type you have to put the pointer into the cache via the method PutHdlCache( sal_Int32 , XMLPropertyHandler* ). diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index ef9053df1592..e529e089d654 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -1043,7 +1043,7 @@ void ScExportTest::testCellValuesExportODS() rDoc.SetString(ScAddress(0,4,0), "'12"); //A5 // set a contiguous value rDoc.SetValue(ScAddress(0,5,0), 12.0); //A6 - // set acontiguous string + // set a contiguous string rDoc.SetString(ScAddress(0,6,0), "a string"); //A7 // set a contiguous formula rDoc.SetString(ScAddress(0,7,0), "=$A$6"); //A8 diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx index 0c566624334d..46e919deec9c 100644 --- a/sc/source/filter/inc/xetable.hxx +++ b/sc/source/filter/inc/xetable.hxx @@ -59,7 +59,7 @@ private: XclExpStringRef mxResult; }; -// Additional records for special formula ranges ============================== +// Additional records for special formula ranges /** Base record for additional range formula records (i.e. ARRAY, SHRFMLA). */ class XclExpRangeFmlaBase : public XclExpRecord @@ -968,7 +968,7 @@ class XclExpDval; The constructor does all the work creating the cell table. It reads the Calc sheet and converts all columns, rows, and cells to Excel record data. - Additioanlly, hyperlink records, note records, additional records for + Additionally, hyperlink records, note records, additional records for formula cells, data validation records, and outline records are created. The Finalize() function does even more work. It calculates default column diff --git a/sc/source/ui/vba/vbachart.cxx b/sc/source/ui/vba/vbachart.cxx index dd89baa4a861..694b9827f6e9 100644 --- a/sc/source/ui/vba/vbachart.cxx +++ b/sc/source/ui/vba/vbachart.cxx @@ -702,7 +702,7 @@ ScVbaChart::setDiagram( const OUString& _sDiagramType ) throw( script::BasicErro } } -// #TODO find out why we have Location/getLocation ? there is afaiks no +// #TODO find out why we have Location/getLocation? there is afaik no // Location property, just a Location function for the Chart object sal_Int32 SAL_CALL ScVbaChart::Location() throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 4774edd3b4ee..4ed628920757 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -399,7 +399,7 @@ SdStyleSheet* SdStyleSheet::GetRealStyleSheet() const } else { - /* no page available yet. This can happen when actualising the + /* no page available yet. This can happen when actualizing the document templates. */ SfxStyleSheetIterator aIter(pPool, SD_STYLE_FAMILY_MASTERPAGE); SfxStyleSheetBase* pSheet = aIter.First(); diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx index 6728bc79a6ec..436970ae86f1 100644 --- a/sd/source/filter/eppt/eppt.cxx +++ b/sd/source/filter/eppt/eppt.cxx @@ -236,8 +236,8 @@ void PPTWriter::ImplWriteSlide( sal_uInt32 nPageNum, sal_uInt32 nMasterNum, sal_ { sal_uInt8 nDirection = 0; sal_uInt8 nTransitionType = 0; - sal_uInt16 nBuildFlags = 1; // advange by mouseclick - sal_Int32 nSlideTime = 0; // still has to !!! + sal_uInt16 nBuildFlags = 1; // advance by mouseclick + sal_Int32 nSlideTime = 0; // still has to !!! sal_uInt8 nSpeed = 1; if ( GetPropertyValue( aAny, mXPagePropSet, OUString( "Speed" ) ) ) diff --git a/sd/source/ui/sidebar/MasterPageDescriptor.cxx b/sd/source/ui/sidebar/MasterPageDescriptor.cxx index 5c4889d94765..ad9ea155cddb 100644 --- a/sd/source/ui/sidebar/MasterPageDescriptor.cxx +++ b/sd/source/ui/sidebar/MasterPageDescriptor.cxx @@ -239,7 +239,7 @@ bool MasterPageDescriptor::UpdatePreview ( maLargePreview.GetBitmapEx(), rSmallSize.Width()); // The large preview may not have the desired width. Scale it - // accrodingly. + // accordingly. if (maLargePreview.GetSizePixel().Width() != rLargeSize.Width()) maLargePreview = rRenderer.ScaleBitmap( maLargePreview.GetBitmapEx(), diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index 9b2b88c633c4..7be02d956212 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -393,7 +393,7 @@ void SfxApplication::SetProgress_Impl { DBG_ASSERT( ( !pAppData_Impl->pProgress && pProgress ) || ( pAppData_Impl->pProgress && !pProgress ), - "Progress acitivation/deacitivation mismatch" ); + "Progress activation/deactivation mismatch" ); if ( pAppData_Impl->pProgress && pProgress ) { diff --git a/slideshow/source/engine/animationfactory.cxx b/slideshow/source/engine/animationfactory.cxx index 7804dfc3f440..c03c26d312c9 100644 --- a/slideshow/source/engine/animationfactory.cxx +++ b/slideshow/source/engine/animationfactory.cxx @@ -147,7 +147,7 @@ namespace slideshow ValueT aValue( rValue.getX(), rValue.getY() ); - // Activitis get values from the expression parser, + // Activities get values from the expression parser, // which returns _relative_ sizes/positions. // Convert back relative to reference coordinate system aValue *= maReferenceSize; diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 9b4dd4a0f6eb..cd46010e2991 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -1166,7 +1166,7 @@ void SlideShowImpl::displaySlide( { // The transition activity was created for the side effects // (like sound transitions). Because we want to skip the - // acutual transition animation we do not need the activity + // actual transition animation we do not need the activity // anymore. pSlideChangeActivity.reset(); } diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index bfe66dcb439b..a7f246a7fcac 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -1230,7 +1230,7 @@ sal_uInt16 GetLineIntersectionPoint(Point &rResult, } else { - // here we do not pay attention to the computational accurancy + // here we do not pay attention to the computational accuracy // (that would be more complicated and is not really worth it in this case) double fLambda = ( (rPoint1.Y() - rPoint2.Y()) * rHeading2.X() - (rPoint1.X() - rPoint2.X()) * rHeading2.Y()) diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 4a45a2ffd23f..4bafb9acdf52 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -684,7 +684,7 @@ void SmParser::NextToken() } // if no symbol-name was found we start-over with - // finding the next token right afer the '%' sign. + // finding the next token right after the '%' sign. // I.e. we leave rnEndPos unmodified. } break; diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index 79d60caedf8d..a957a2e28038 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -390,7 +390,7 @@ void ToolbarMenu_Impl::notifyHighlightedEntry() if( pEntry->mpControl ) { sal_Int32 nChildIndex = 0; - // todo: if other controls than ValueSet are allowed, addapt this code + // todo: if other controls than ValueSet are allowed, adapt this code ValueSet* pValueSet = dynamic_cast< ValueSet* >( pEntry->mpControl.get() ); if( pValueSet ) nChildIndex = static_cast< sal_Int32 >( pValueSet->GetItemPos( pValueSet->GetSelectItemId() ) ); diff --git a/svx/source/form/dataaccessdescriptor.cxx b/svx/source/form/dataaccessdescriptor.cxx index cdc419b8551e..c7b1d1caa1f0 100644 --- a/svx/source/form/dataaccessdescriptor.cxx +++ b/svx/source/form/dataaccessdescriptor.cxx @@ -346,7 +346,7 @@ namespace svx { if (!has(_eWhich)) { - OSL_FAIL("ODataAccessDescriptor::operator[]: invalid acessor!"); + OSL_FAIL("ODataAccessDescriptor::operator[]: invalid accessor!"); static const Any aDummy; return aDummy; } diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index e19ff158d38a..fab7097f3f32 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -588,7 +588,7 @@ namespace svx // Sadly, the semantics of the dispatches is that the feature "Font" depends // on the current cursor position: If it's on latin text, it's the "latin font" // which is set up at the control. If it's on CJK text, it's the "CJK font", and - // aequivalent for "CTL font". + // equivalent for "CTL font". // The same holds for some other font related features/slots. // Thus, we have separate dispatches for "Latin Font", "Latin Font Size", etc, // which are only "virtual", in a sense that there exist no item with this id. diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx index bcd0d654844c..bfc78c607033 100644 --- a/svx/source/form/navigatortreemodel.cxx +++ b/svx/source/form/navigatortreemodel.cxx @@ -552,7 +552,7 @@ namespace svxform Reference< XForm > xSubForm(xCurrentComponent, UNO_QUERY); if (xSubForm.is()) - { // actuell component is a form + { // actual component is a form pSubFormData = new FmFormData(xSubForm, m_aNormalImages, pFormData); Insert(pSubFormData, CONTAINER_APPEND); diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index b4d68733a87e..e4199a21e3fa 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -282,7 +282,7 @@ namespace sdr // if there is something to show, use a primitive processor to render it. There // is a choice between VCL and Canvas processors currently. The decision is made in - // createProcessor2DFromOutputDevice and takes into accout things like the + // createProcessor2DFromOutputDevice and takes into account things like the // Target is a MetaFile, a VDev or something else. The Canvas renderer is triggered // currently using the shown boolean. Canvas is not yet the default. if(xPrimitiveSequence.hasElements()) diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx index dc705259919e..f1c7e358dc26 100644 --- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx @@ -256,7 +256,7 @@ drawinglayer::primitive2d::Primitive2DSequence ViewObjectContactOfPageObj::creat // create page content xPageContent = mpExtractor->createPrimitive2DSequenceForPage(rDisplayInfo); - // #i105548# reset VOCRedirector to not accidentially have a pointer to a + // #i105548# reset VOCRedirector to not accidentally have a pointer to a // temporary class, so calls to it are avoided safely mpExtractor->SetViewObjectContactRedirector(0); diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx index 3d8f3e5db324..ccef319e05e0 100644 --- a/sw/inc/IDocumentFieldsAccess.hxx +++ b/sw/inc/IDocumentFieldsAccess.hxx @@ -117,7 +117,7 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } } // In Calculator set all SetExpression fields that are valid up to the indicated position // (Node [ + ::com::sun::star::ucb::Content]). // A generated list of all fields may be passed along too - // (if the addreess != 0 and the pointer == 0 a new list will be returned). + // (if the address != 0 and the pointer == 0 a new list will be returned). virtual void FieldsToCalc(SwCalc& rCalc, sal_uLong nLastNd, sal_uInt16 nLastCnt) = 0; virtual void FieldsToCalc(SwCalc& rCalc, const _SetGetExpField& rToThisField) = 0; diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index af0aed66a454..d76c0cc26664 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -223,7 +223,7 @@ public: const SwView *GetView() const { return m_pView; } SwView *GetView() { return m_pView; } - /// Accress to the SwWrtShell belonging to SwView. + /// Access to the SwWrtShell belonging to SwView. SwWrtShell *GetWrtShell() { return m_pWrtShell; } const SwWrtShell *GetWrtShell() const { return m_pWrtShell; } // Same as GetWrtShell, but return pointer to SwEditShell base of diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx index f3197b567a9d..c7fd4c7d3b49 100644 --- a/sw/inc/swtable.hxx +++ b/sw/inc/swtable.hxx @@ -452,7 +452,7 @@ public: // Empty boxes have the return value USHRT_MAX !! sal_uInt16 IsFormulaOrValueBox() const; - // Loading of a document requires an actualisation of cells with values + // Loading of a document requires an actualization of cells with values void ActualiseValueBox(); DECL_FIXEDMEMPOOL_NEWDEL(SwTableBox) diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx index 44952adfe692..fe0d6b0d0840 100644 --- a/sw/source/core/inc/rootfrm.hxx +++ b/sw/source/core/inc/rootfrm.hxx @@ -111,7 +111,7 @@ class SwRootFrm: public SwLayoutFrm * Because sometimes it matters which shell is used, it is necessary to * know the active shell. * this is approximated by setting the pointer mpCurrShell when a - * shell gets the focus (FEShell). Acditionally the pointer will be + * shell gets the focus (FEShell). Additionally the pointer will be * set temporarily by SwCurrShell typically via SET_CURR_SHELL * The macro and class can be found in the SwViewShell. These object can * be created nested (also for different kinds of Shells). They are diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx index c49e13b02b39..b2bd9785432d 100644 --- a/sw/source/core/layout/dbg_lay.cxx +++ b/sw/source/core/layout/dbg_lay.cxx @@ -213,7 +213,7 @@ void SwProtocol::Record( const SwFrm* pFrm, sal_uLong nFunction, sal_uLong nAct, nRecord &= ~PROT_INIT; // Always reset PROT_INIT return; } - nRecord |= nFunction; // Acitivate logging of this function + nRecord |= nFunction; // Activate logging of this function nRecord &= ~PROT_INIT; // Always reset PROT_INIT if( pImpl ) pImpl->ChkStream(); diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx index ca53eda8e784..7a77ea6a476a 100644 --- a/sw/source/core/layout/ftnfrm.cxx +++ b/sw/source/core/layout/ftnfrm.cxx @@ -1288,7 +1288,7 @@ void SwFootnoteBossFrm::InsertFootnote( SwFootnoteFrm* pNew ) } } // pLastSib is the last footnote before the new one and - // pSibling is empty or the first one afterw the new one + // pSibling is empty or the first one after the new one if ( pSibling && pLastSib && (pSibling != pLastSib) ) { // too far? diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx index 07e45f91c601..c5fe92030ee5 100644 --- a/sw/source/core/text/txtfrm.cxx +++ b/sw/source/core/text/txtfrm.cxx @@ -2508,7 +2508,7 @@ void SwTextFrm::RecalcAllLines() if ( !IsFollow() && rLineNum.GetStartValue() && rLineNum.IsCount() ) nNewNum = rLineNum.GetStartValue() - 1; // If it is a follow or not has not be considered if it is a restart at each page; the - // restart should also take affekt at follows. + // restart should also take effect at follows. else if ( bRestart && FindPageFrm()->FindFirstBodyContent() == this ) { nNewNum = 0; diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx index 2055c09a42d7..e2f8fc731905 100644 --- a/sw/source/core/view/pagepreviewlayout.cxx +++ b/sw/source/core/view/pagepreviewlayout.cxx @@ -1130,7 +1130,7 @@ bool SwPagePreviewLayout::Paint(vcl::RenderContext& rRenderContext, const Rectan // print preview layout is created during paint. if ( !mbNewLayoutDuringPaint ) { - // update at accessiblilty interface + // update at accessibility interface mrParentViewShell.Imp()->UpdateAccessiblePreview( maPreviewPages, aMapMode.GetScaleX(), diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index b7d1070da260..44d9ebb831fe 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -575,7 +575,7 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons * reference : http://www.schemacentral.com/sc/ooxml/e-wp_extent-1.html * * Though ECMA mentions the max value as aforementioned. It appears that MSO does not - * handle for the same, infact it acutally can handles a max value of int32 i.e + * handle for the same, infact it actually can handles a max value of int32 i.e * 2147483647( MAX_INTEGER_VALUE ). * Therefore changing the following accordingly so that LO sync's up with MSO. **/ diff --git a/sw/source/ui/fldui/flddinf.cxx b/sw/source/ui/fldui/flddinf.cxx index fe8e4feb0e93..4385b64cd4f3 100644 --- a/sw/source/ui/fldui/flddinf.cxx +++ b/sw/source/ui/fldui/flddinf.cxx @@ -74,7 +74,7 @@ SwFieldDokInfPage::SwFieldDokInfPage(vcl::Window* pParent, const SfxItemSet& rCo m_pTypeTLB->SetSelectionMode(SINGLE_SELECTION); m_pTypeTLB->SetStyle(m_pTypeTLB->GetStyle()|WB_HASLINES|WB_CLIPCHILDREN|WB_SORT|WB_HASBUTTONS|WB_HASBUTTONSATROOT|WB_HSCROLL); m_pTypeTLB->SetOptimalImageIndent(); - // Don't set font, so that the control's font is adobted! + // Don't set font, so that the control's font is adopted! // Otherwise at wrong font bug to OV. m_pTypeTLB->SetSpaceBetweenEntries(0); diff --git a/sw/source/uibase/app/docshini.cxx b/sw/source/uibase/app/docshini.cxx index fca4e2e44657..a774e66b11e5 100644 --- a/sw/source/uibase/app/docshini.cxx +++ b/sw/source/uibase/app/docshini.cxx @@ -300,7 +300,7 @@ bool SwDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor ) } /* #106748# If the default frame direction of a document is RTL - the default adjusment is to the right. */ + the default adjustment is to the right. */ if( !bHTMLTemplSet && FRMDIR_HORI_RIGHT_TOP == GetDefaultFrameDirection(GetAppLanguage()) ) { diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index b2192bb4d19e..46b8b3656542 100644 --- a/vbahelper/source/vbahelper/vbahelper.cxx +++ b/vbahelper/source/vbahelper/vbahelper.cxx @@ -164,7 +164,7 @@ dispatchRequests (const uno::Reference< frame::XModel>& xModel, const OUString & if ( nProps ) { dispatchProps.realloc( nProps + 1 ); - // need to accquire pDest after realloc + // need to acquire pDest after realloc beans::PropertyValue* pDest = dispatchProps.getArray(); const beans::PropertyValue* pSrc = sProps.getConstArray(); for ( sal_Int32 index=0; indexmbEnabled ) { - // first call activate/aeactivate-Handler + // first call activate/deactivate-Handler pAccel->Activate(); pAccel->Deactivate(); diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index b60e79eacd06..33f3276cfb12 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -3582,7 +3582,7 @@ bool ToolBox::ImplHandleMouseButtonUp( const MouseEvent& rMEvt, bool bCancel ) void ToolBox::MouseMove( const MouseEvent& rMEvt ) { // pressing a modifier generates synthetic mouse moves - // ignore it if keyboard selection is acive + // ignore it if keyboard selection is active if( HasFocus() && ( rMEvt.GetMode() & MouseEventModifiers::MODIFIERCHANGED ) ) return; -- cgit v1.2.3