summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basegfx/source/polygon/b2dpolygoncutandtouch.cxx2
-rw-r--r--chart2/source/tools/AxisHelper.cxx2
-rw-r--r--chart2/source/view/charttypes/Splines.cxx2
-rw-r--r--connectivity/source/drivers/mozab/MDriver.cxx2
-rw-r--r--cui/source/options/treeopt.cxx2
-rw-r--r--dbaccess/source/ui/inc/UserAdminDlg.hxx2
-rw-r--r--desktop/source/deployment/manager/dp_manager.cxx2
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx2
-rw-r--r--filter/source/msfilter/svdfppt.cxx2
-rw-r--r--forms/source/xforms/propertysetbase.cxx2
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx2
-rw-r--r--include/comphelper/weakeventlistener.hxx2
-rw-r--r--include/framework/actiontriggerhelper.hxx2
-rw-r--r--include/svx/AccessibleTextHelper.hxx2
-rw-r--r--include/svx/svdundo.hxx2
-rw-r--r--include/toolkit/controls/unocontrols.hxx2
-rw-r--r--include/ucbhelper/contenthelper.hxx2
-rw-r--r--include/unotools/configvaluecontainer.hxx2
-rw-r--r--include/xmloff/prhdlfac.hxx2
-rw-r--r--sc/qa/unit/subsequent_export-test.cxx2
-rw-r--r--sc/source/filter/inc/xetable.hxx4
-rw-r--r--sc/source/ui/vba/vbachart.cxx2
-rw-r--r--sd/source/core/stlsheet.cxx2
-rw-r--r--sd/source/filter/eppt/eppt.cxx4
-rw-r--r--sd/source/ui/sidebar/MasterPageDescriptor.cxx2
-rw-r--r--sfx2/source/appl/app.cxx2
-rw-r--r--slideshow/source/engine/animationfactory.cxx2
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx2
-rw-r--r--starmath/source/node.cxx2
-rw-r--r--starmath/source/parse.cxx2
-rw-r--r--svtools/source/control/toolbarmenu.cxx2
-rw-r--r--svx/source/form/dataaccessdescriptor.cxx2
-rw-r--r--svx/source/form/fmtextcontrolshell.cxx2
-rw-r--r--svx/source/form/navigatortreemodel.cxx2
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx2
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofpageobj.cxx2
-rw-r--r--sw/inc/IDocumentFieldsAccess.hxx2
-rw-r--r--sw/inc/docsh.hxx2
-rw-r--r--sw/inc/swtable.hxx2
-rw-r--r--sw/source/core/inc/rootfrm.hxx2
-rw-r--r--sw/source/core/layout/dbg_lay.cxx2
-rw-r--r--sw/source/core/layout/ftnfrm.cxx2
-rw-r--r--sw/source/core/text/txtfrm.cxx2
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx2
-rw-r--r--sw/source/filter/ww8/docxsdrexport.cxx2
-rw-r--r--sw/source/ui/fldui/flddinf.cxx2
-rw-r--r--sw/source/uibase/app/docshini.cxx2
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx2
-rw-r--r--vcl/inc/unx/wmadaptor.hxx2
-rw-r--r--vcl/source/control/ilstbox.cxx2
-rw-r--r--vcl/source/window/accmgr.cxx2
-rw-r--r--vcl/source/window/toolbox.cxx2
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 c8427a58970b..be2121de51f9 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 5691393f3da1..69e21c96d513 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 bf0f4e9942ba..8bb40245fdd0 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 a2d9a6981577..a84aa3f59b5f 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 44a69ca79394..2ed3fb3b88dc 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -1078,7 +1078,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 5c2350483bd9..ae670a2d20cc 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
<p>Note that derived classes need to overwrite all virtual methods of their interface
except XEventListener::disposing, and forward it to their master listener.</p>
- <p>Addtionally, derived classes need to add themself as listener to the broadcaster,
+ <p>Additionally, derived classes need to add themself as listener to the broadcaster,
as this can't be done in a generic way</p>
*/
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 b1db15933e58..e7793ce321c1 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -1046,7 +1046,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 0295790fb028..509b6550e2f3 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -402,7 +402,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 43fc768b20f1..be15b0610fbd 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 98d74146908f..43ec63684e26 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 311df24840ca..072fdb27eb59 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -1253,7 +1253,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 cde1214f2072..b00884704f9c 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -685,7 +685,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 115ea353c48e..b76e9a22f63d 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 f00b331e84ce..510951154075 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 66b3a90992f2..7c13a67ea3bd 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 6b2ea416538b..e6666975db2f 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 81eacff86cd5..d4ac08da2acc 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 a4a707f9133a..f3180ec5ca0d 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -2519,7 +2519,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 26ff858ce3ac..a1c820de9101 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -1154,7 +1154,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 ff9d5d5dae00..a389f6a776b8 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -572,7 +572,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; index<nProps; ++index, ++pSrc, ++pDest )
diff --git a/vcl/inc/unx/wmadaptor.hxx b/vcl/inc/unx/wmadaptor.hxx
index 35fb4590b508..7d4000033964 100644
--- a/vcl/inc/unx/wmadaptor.hxx
+++ b/vcl/inc/unx/wmadaptor.hxx
@@ -243,7 +243,7 @@ public:
* tell whether legacy partial full screen handling is necessary
* see #i107249#: NET_WM_STATE_FULLSCREEN is not well defined, but de facto
* modern WM's interpret it the "right" way, namely they make "full screen"
- * taking twin view or Xinerama into accound and honor the positioning hints
+ * taking twin view or Xinerama into account and honor the positioning hints
* to see which screen actually was meant to use for fullscreen.
*/
bool isLegacyPartialFullscreen() const
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index cdb759d89b2f..fde4faa19bca 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -1090,7 +1090,7 @@ bool ImplListBoxWindow::SelectEntries( sal_Int32 nSelect, LB_EVENT_TYPE eLET, bo
}
if( nAnchor != LISTBOX_ENTRY_NOTFOUND )
{
- // All entries from achor to nSelect have to be selected
+ // All entries from Anchor to nSelect have to be selected
sal_Int32 nStart = std::min( nSelect, nAnchor );
sal_Int32 nEnd = std::max( nSelect, nAnchor );
for ( sal_Int32 n = nStart; n <= nEnd; n++ )
diff --git a/vcl/source/window/accmgr.cxx b/vcl/source/window/accmgr.cxx
index 3ce6099355e9..5bc762739c40 100644
--- a/vcl/source/window/accmgr.cxx
+++ b/vcl/source/window/accmgr.cxx
@@ -220,7 +220,7 @@ bool ImplAccelManager::IsAccelKey( const vcl::KeyCode& rKeyCode, sal_uInt16 nRep
// already assigned !
if ( pEntry->mbEnabled )
{
- // 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 f26eb3390857..d038d2c605f1 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -3583,7 +3583,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;