summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-02-02 19:47:20 +0100
committerjan iversen <jani@documentfoundation.org>2016-02-05 06:48:38 +0000
commit534b2a4b58ba765dbc256d6297e33453524915e2 (patch)
tree68524baff923ce094392f49e0f263ae0d35f80e9
parent7f5de2436a5c51ee8dec38a9b04f4a1b3589e361 (diff)
Fix typos
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r--basctl/source/basicide/macrodlg.cxx2
-rw-r--r--basctl/source/inc/scriptdocument.hxx4
-rw-r--r--basegfx/source/matrix/b2dhommatrix.cxx4
-rw-r--r--basegfx/source/polygon/b2dlinegeometry.cxx2
-rw-r--r--basegfx/source/polygon/b2dpolygonclipper.cxx4
-rw-r--r--basegfx/source/raster/rasterconvert3d.cxx2
-rw-r--r--basegfx/source/workbench/bezierclip.hxx2
-rw-r--r--basic/source/basmgr/basmgr.cxx2
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeWindow.java2
-rw-r--r--chart2/source/view/main/ChartView.cxx2
-rw-r--r--compilerplugins/clang/badvectorinit.cxx2
-rw-r--r--compilerplugins/clang/getimplementationname.cxx6
-rw-r--r--compilerplugins/clang/unusedmethods.cxx2
-rw-r--r--cui/source/customize/acccfg.cxx6
-rw-r--r--cui/source/dialogs/colorpicker.cxx2
-rw-r--r--dbaccess/source/ui/misc/HtmlReader.cxx2
-rw-r--r--dbaccess/source/ui/misc/RtfReader.cxx2
-rw-r--r--desktop/source/app/app.cxx2
-rw-r--r--desktop/source/lib/init.cxx2
-rw-r--r--drawinglayer/source/geometry/viewinformation3d.cxx2
-rw-r--r--dtrans/source/win32/misc/ImplHelper.cxx4
-rw-r--r--embeddedobj/source/msole/advisesink.cxx2
-rw-r--r--embeddedobj/test/Container1/NativeView.java2
-rw-r--r--extensions/source/logging/csvformatter.cxx2
-rw-r--r--external/redland/rasqal/rasqal.h10
-rw-r--r--filter/qa/complex/filter/detection/typeDetection/TypeDetection.java2
-rw-r--r--filter/source/config/cache/basecontainer.cxx4
-rw-r--r--filter/source/config/cache/configflush.cxx2
-rw-r--r--filter/source/config/cache/filtercache.cxx10
-rw-r--r--filter/source/config/cache/filterfactory.cxx2
-rw-r--r--filter/source/config/cache/typedetection.cxx2
-rw-r--r--forms/source/component/clickableimage.hxx2
-rw-r--r--forms/source/xforms/submission.cxx2
-rw-r--r--fpicker/source/win32/filepicker/getfilenamewrapper.cxx2
-rw-r--r--fpicker/source/win32/filepicker/getfilenamewrapper.hxx2
-rw-r--r--framework/inc/dispatch/interceptionhelper.hxx2
-rw-r--r--framework/inc/services/desktop.hxx6
-rw-r--r--framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java2
-rw-r--r--framework/source/accelerators/acceleratorcache.cxx2
-rw-r--r--framework/source/accelerators/presethandler.cxx2
-rw-r--r--framework/source/dispatch/closedispatcher.cxx2
-rw-r--r--framework/source/fwe/helper/titlehelper.cxx6
-rw-r--r--framework/source/fwi/classes/propertysethelper.cxx4
-rw-r--r--framework/source/inc/loadenv/loadenv.hxx6
-rw-r--r--framework/source/jobs/jobdata.cxx4
-rw-r--r--framework/source/services/autorecovery.cxx30
-rw-r--r--framework/source/services/frame.cxx2
-rw-r--r--framework/source/services/modulemanager.cxx4
-rw-r--r--framework/source/uielement/newmenucontroller.cxx2
-rw-r--r--framework/source/uielement/recentfilesmenucontroller.cxx2
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitGtk.h4
-rw-r--r--include/basegfx/polygon/b2dpolygonclipper.hxx2
-rw-r--r--include/drawinglayer/geometry/viewinformation3d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/baseprimitive2d.hxx2
-rw-r--r--include/oox/mathml/importutils.hxx2
-rw-r--r--include/sal/types.h4
-rw-r--r--include/sfx2/childwin.hxx2
-rw-r--r--include/svtools/ctrltool.hxx2
-rw-r--r--include/svtools/popupmenucontrollerbase.hxx2
-rw-r--r--include/svtools/table/tablerenderer.hxx8
-rw-r--r--include/svx/svddrgv.hxx2
-rw-r--r--include/ucbhelper/interceptedinteraction.hxx6
-rw-r--r--include/ucbhelper/resultsethelper.hxx2
-rw-r--r--linguistic/source/lngopt.cxx2
-rw-r--r--lotuswordpro/source/filter/utbenvs.cxx2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/DataStreamComposer.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/PropertiesComposer.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/ResourceCreator.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/ResourceManager.java2
-rw-r--r--odk/examples/DevelopersGuide/UCB/ResourceRemover.java2
-rw-r--r--officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs2
-rw-r--r--onlineupdate/source/libmar/inc/mozilla/Attributes.h2
-rw-r--r--onlineupdate/source/update/common/updatehelper.cxx2
-rw-r--r--onlineupdate/source/update/inc/mozilla/Attributes.h2
-rw-r--r--onlineupdate/source/update/updater/updater.cxx4
-rw-r--r--package/source/xstor/xstorage.cxx2
-rw-r--r--package/source/zippackage/ZipPackage.cxx2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XSpinField.java2
-rw-r--r--qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java2
-rw-r--r--reportbuilder/java/org/libreoffice/report/ReportJob.java2
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java2
-rw-r--r--reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java6
-rw-r--r--rsc/inc/rsctop.hxx4
-rw-r--r--sc/source/core/data/table2.cxx2
-rw-r--r--sc/source/core/tool/compiler.cxx2
-rw-r--r--sc/source/filter/excel/xetable.cxx4
-rw-r--r--sc/source/filter/inc/sheetdatabuffer.hxx2
-rw-r--r--sc/source/filter/inc/xlescher.hxx2
-rw-r--r--sc/source/ui/formdlg/formula.cxx2
-rw-r--r--sc/source/ui/vba/vbaworksheets.cxx6
-rw-r--r--sc/source/ui/view/gridwin.cxx4
-rw-r--r--sc/source/ui/view/gridwin3.cxx2
-rw-r--r--sc/source/ui/view/gridwin4.cxx4
-rw-r--r--sc/source/ui/view/tabview.cxx2
-rw-r--r--scaddins/source/datefunc/datefunc.cxx2
-rw-r--r--scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java2
-rw-r--r--sd/source/ui/inc/ViewShell.hxx2
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx2
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx2
-rw-r--r--sfx2/source/appl/appopen.cxx2
-rw-r--r--sfx2/source/appl/appserv.cxx2
-rw-r--r--sfx2/source/bastyp/bitset.cxx2
-rw-r--r--sfx2/source/control/recentdocsviewitem.cxx2
-rw-r--r--sfx2/source/doc/DocumentMetadataAccess.cxx2
-rw-r--r--sfx2/source/doc/objserv.cxx6
-rw-r--r--sfx2/source/view/frame.cxx2
-rw-r--r--sfx2/source/view/viewfrm.cxx2
-rw-r--r--sfx2/source/view/viewprn.cxx2
-rw-r--r--shell/inc/internal/zipfile.hxx2
-rw-r--r--shell/source/win32/zipfile/zipfile.cxx2
-rw-r--r--sot/source/sdstor/stg.cxx2
-rw-r--r--svl/source/items/itemset.cxx2
-rw-r--r--svx/inc/sdr/contact/objectcontactofpageview.hxx4
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeGeometry.cxx2
-rw-r--r--svx/source/dialog/docrecovery.cxx4
-rw-r--r--svx/source/dialog/srchdlg.cxx2
-rw-r--r--svx/source/engine3d/scene3d.cxx2
-rw-r--r--sw/inc/fmtcolfunc.hxx2
-rw-r--r--sw/qa/extras/htmlimport/htmlimport.cxx2
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx2
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx4
-rw-r--r--sw/source/core/doc/textboxhelper.cxx2
-rw-r--r--sw/source/core/frmedt/fews.cxx2
-rw-r--r--sw/source/core/inc/ascharanchoredobjectposition.hxx2
-rw-r--r--sw/source/core/inc/environmentofanchoredobject.hxx2
-rw-r--r--sw/source/core/text/txttab.cxx2
-rw-r--r--sw/source/core/txtnode/fntcache.cxx2
-rw-r--r--sw/source/core/txtnode/thints.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx4
-rw-r--r--sw/source/core/unocore/unoobj.cxx2
-rw-r--r--sw/source/core/unocore/unostyle.cxx4
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
-rw-r--r--sw/source/uibase/uno/unomailmerge.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/webdavcontent.cxx2
-rw-r--r--vcl/inc/unx/printerjob.hxx2
-rw-r--r--vcl/source/filter/sgvmain.hxx4
-rw-r--r--vcl/source/filter/wmf/emfwr.cxx2
-rw-r--r--vcl/source/gdi/gdimtf.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
-rw-r--r--vcl/unx/generic/app/i18n_cb.cxx2
-rw-r--r--vcl/unx/generic/printer/printerinfomanager.cxx2
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx2
-rw-r--r--vcl/unx/gtk/salprn-gtk.cxx2
-rw-r--r--vcl/unx/kde4/KDEXLib.cxx6
-rw-r--r--vcl/win/gdi/winlayout.cxx2
-rw-r--r--vcl/workben/fftester.cxx2
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.cxx2
-rw-r--r--writerfilter/source/dmapper/DomainMapper_Impl.hxx2
-rw-r--r--xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/OfficeDocument.java2
-rw-r--r--xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java2
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx2
156 files changed, 222 insertions, 222 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index 8979d4df2eba..04bd6bdd4d2a 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -596,7 +596,7 @@ IMPL_LINK_NOARG_TYPED( MacroChooser, EditModifyHdl, Edit&, void )
if ( !bFound )
{
SvTreeListEntry* pEntry = m_pMacroBox->FirstSelected();
- // if the entry exists ->Select ->Desription...
+ // if the entry exists ->Select ->Description...
if ( pEntry )
m_pMacroBox->Select( pEntry, false );
}
diff --git a/basctl/source/inc/scriptdocument.hxx b/basctl/source/inc/scriptdocument.hxx
index 60cadce8fab9..4a162f8c240a 100644
--- a/basctl/source/inc/scriptdocument.hxx
+++ b/basctl/source/inc/scriptdocument.hxx
@@ -359,7 +359,7 @@ namespace basctl
@param _rDialogName
the dialog's name
@param _out_rDialogSource
- takes the provider for the dialog's desription, upon successful return
+ takes the provider for the dialog's description, upon successful return
@return
<TRUE/> if and only if the dialog could be successfully retrieved, <FALSE/> otherwise
*/
@@ -394,7 +394,7 @@ namespace basctl
@param _rDialogName
the dialog's name
@param _out_rDialogSource
- takes the provider for the dialog's desription, upon successful return
+ takes the provider for the dialog's description, upon successful return
@return
<TRUE/> if and only if the dialog could be successfully retrieved, <FALSE/> otherwise
*/
diff --git a/basegfx/source/matrix/b2dhommatrix.cxx b/basegfx/source/matrix/b2dhommatrix.cxx
index 0e098cdd4757..07d10e6bebff 100644
--- a/basegfx/source/matrix/b2dhommatrix.cxx
+++ b/basegfx/source/matrix/b2dhommatrix.cxx
@@ -349,7 +349,7 @@ namespace basegfx
double fCrossXY(aUnitVecX.cross(aUnitVecY));
// get rotation by calculating angle of X unit vector relative to (1, 0).
- // This is before the parallell test following the motto to extract
+ // This is before the parallel test following the motto to extract
// as much as possible
rRotate = atan2(aUnitVecX.getY(), aUnitVecX.getX());
@@ -364,7 +364,7 @@ namespace basegfx
// unit vectors are parallel, thus not linear independent. No
// useful decomposition possible. This should not happen since
- // the only way to get the unit vectors nearly parallell is
+ // the only way to get the unit vectors nearly parallel is
// a very big shearing. Anyways, be prepared for hand-filled
// matrices
// Eventually used rotations or shears are lost
diff --git a/basegfx/source/polygon/b2dlinegeometry.cxx b/basegfx/source/polygon/b2dlinegeometry.cxx
index 2b6f6f95e999..5527dd0d0a0f 100644
--- a/basegfx/source/polygon/b2dlinegeometry.cxx
+++ b/basegfx/source/polygon/b2dlinegeometry.cxx
@@ -866,7 +866,7 @@ namespace basegfx
if(B2VectorOrientation::Neutral == aOrientation)
{
- // they are parallell or empty; if they are both not zero and point
+ // they are parallel or empty; if they are both not zero and point
// in opposite direction, a half-circle is needed
if(!aTangentPrev.equalZero() && !aTangentEdge.equalZero())
{
diff --git a/basegfx/source/polygon/b2dpolygonclipper.cxx b/basegfx/source/polygon/b2dpolygonclipper.cxx
index 7087c542de2a..fcf6fa00642b 100644
--- a/basegfx/source/polygon/b2dpolygonclipper.cxx
+++ b/basegfx/source/polygon/b2dpolygonclipper.cxx
@@ -226,7 +226,7 @@ namespace basegfx
if(!bInside)
{
- // cutting off the outer parts of filled polygons at parallell
+ // cutting off the outer parts of filled polygons at parallel
// lines to the axes is only possible for the inner part, not for
// the outer part which means cutting a hole into the original polygon.
// This is because the inner part is a logical AND-operation of
@@ -326,7 +326,7 @@ namespace basegfx
else
{
// for details, see comment in clipPolygonOnRange for the "cutting off
- // the outer parts of filled polygons at parallell lines" explanations
+ // the outer parts of filled polygons at parallel lines" explanations
const B2DPolygon aClip(createPolygonFromRect(rRange));
return clipPolyPolygonOnPolyPolygon(rCandidate, B2DPolyPolygon(aClip), bInside, bStroke);
diff --git a/basegfx/source/raster/rasterconvert3d.cxx b/basegfx/source/raster/rasterconvert3d.cxx
index a2b3b6905b6a..2ccd4a3ab031 100644
--- a/basegfx/source/raster/rasterconvert3d.cxx
+++ b/basegfx/source/raster/rasterconvert3d.cxx
@@ -285,7 +285,7 @@ namespace basegfx
const sal_uInt32 nYDelta(static_cast<sal_uInt32>(nYEnd - nYStart));
const double fInvYDelta(1.0 / nYDelta);
- // non-horizontal line, create two parallell entries. These will be sorted by
+ // non-horizontal line, create two parallel entries. These will be sorted by
// X anyways, so no need to distinguish the case here
maLineEntries.push_back(RasterConversionLineEntry3D(
aStart.getX(), (aEnd.getX() - aStart.getX()) * fInvYDelta,
diff --git a/basegfx/source/workbench/bezierclip.hxx b/basegfx/source/workbench/bezierclip.hxx
index bb9153be3680..11ab32109414 100644
--- a/basegfx/source/workbench/bezierclip.hxx
+++ b/basegfx/source/workbench/bezierclip.hxx
@@ -76,7 +76,7 @@ Polygon2D convexHull( const Polygon2D& rPoly );
// TODO: find proper epsilon here (try ::std::numeric_limits<NumType>::epsilon()?)!
#define DBL_EPSILON 1.0e-100
-/* little approximate comparions */
+/* little approximate comparisons */
template <typename NumType> bool tolZero( NumType n ) { return fabs(n) < DBL_EPSILON; }
template <typename NumType> bool tolEqual( NumType n1, NumType n2 ) { return tolZero(n1-n2); }
template <typename NumType> bool tolLessEqual( NumType n1, NumType n2 ) { return tolEqual(n1,n2) || n1<n2; }
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index 0103102704e8..fce79cabb7f0 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -503,7 +503,7 @@ BasicManager::BasicManager( SotStorage& rStorage, const OUString& rBaseURL, Star
DBG_ASSERT( pStdLib, "Standard-Lib not loaded?" );
if ( !pStdLib )
{
- // Should never happen, but if it happens we wont crash...
+ // Should never happen, but if it happens we won't crash...
pStdLib = new StarBASIC( nullptr, mbDocMgr );
if (mpImpl->aLibs.empty())
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
index 5d18036e54b5..e7e4b943b71b 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeWindow.java
@@ -54,7 +54,7 @@ public class LocalOfficeWindow
private boolean bPeer = false;
/**
- * Construnctor.
+ * Constructor.
*
* @param connection The office connection object the window
* belongs to.
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 2194ecdc9346..2c8f6ab579d9 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -1635,7 +1635,7 @@ awt::Rectangle ChartView::impl_createDiagramAndContent( const CreateShapeParam2D
awt::Size(rParam.maRemainingSpace.Width, rParam.maRemainingSpace.Height));
xSeriesTargetInFrontOfAxis = aVDiagram.getCoordinateRegion();
- // It is preferrable to use full size than minimum for pie charts
+ // It is preferable to use full size than minimum for pie charts
if (!bIsPieOrDonut && !rParam.mbUseFixedInnerSize)
aVDiagram.reduceToMimimumSize();
}
diff --git a/compilerplugins/clang/badvectorinit.cxx b/compilerplugins/clang/badvectorinit.cxx
index 7f67ffc3a9b4..b8c2dfe2d985 100644
--- a/compilerplugins/clang/badvectorinit.cxx
+++ b/compilerplugins/clang/badvectorinit.cxx
@@ -25,7 +25,7 @@ Killing the 1-argument vector fill constructor:
in general is probably a Good Thing(tm). It can just be too misleading.
Requiring at least the explicit two-value fill constructor for the rare cases where
-someone wants a filled vector isnt too much to ask and less prone to
+someone wants a filled vector isn't too much to ask and less prone to
misunderstandings:
std::vector< basebmp::Color > aDevPal(2, basebmp::Color(0,0,0));
diff --git a/compilerplugins/clang/getimplementationname.cxx b/compilerplugins/clang/getimplementationname.cxx
index b918dc62da01..7e90b3818011 100644
--- a/compilerplugins/clang/getimplementationname.cxx
+++ b/compilerplugins/clang/getimplementationname.cxx
@@ -8,7 +8,7 @@
*/
// only compile this on unixy system
-// as we dont want to bother with x-platform system()/mkdir()
+// as we don't want to bother with x-platform system()/mkdir()
#if defined(__unix__)
// only compile this on clang 3.7 or higher, which is known to work
// there were problems on clang 3.5 at least
@@ -292,7 +292,7 @@ std::string GetImplementationName::initOutdir() {
return result;
}
report(
- clang::DiagnosticsEngine::Error, "WORKDIR unset, dont know where to write service implementation info.");
+ clang::DiagnosticsEngine::Error, "WORKDIR unset, don't know where to write service implementation info.");
return std::string();
}
}
@@ -302,7 +302,7 @@ std::string GetImplementationName::initSrcdir() {
char* pSrcdir = getenv("SRCDIR");
if(!pSrcdir) {
report(
- clang::DiagnosticsEngine::Error, "SRCDIR unset, dont know where the source base is.");
+ clang::DiagnosticsEngine::Error, "SRCDIR unset, don't know where the source base is.");
}
return std::string(pSrcdir);
}
diff --git a/compilerplugins/clang/unusedmethods.cxx b/compilerplugins/clang/unusedmethods.cxx
index b05ffe3dae5d..3649fc6c24dc 100644
--- a/compilerplugins/clang/unusedmethods.cxx
+++ b/compilerplugins/clang/unusedmethods.cxx
@@ -261,7 +261,7 @@ bool UnusedMethods::VisitCallExpr(CallExpr* expr)
}
/*
expr->dump();
- throw "Cant touch this";
+ throw "Can't touch this";
*/
return true;
}
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index 19cfe651410e..dc789725a154 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -1364,9 +1364,9 @@ IMPL_LINK_NOARG_TYPED(SfxAcceleratorConfigPage, SaveHdl, sfx2::FileDialogHelper*
if (xCfgMgr.is())
{
// get the target configuration access and update with all shortcuts
- // which are set currently at the UI !
- // Dont copy the m_xAct content to it ... because m_xAct will be updated
- // from the UI on pressing the button "OK" only. And inbetween it's not up to date !
+ // which are set currently at the UI!
+ // Don't copy the m_xAct content to it... because m_xAct will be updated
+ // from the UI on pressing the button "OK" only. And inbetween it's not up to date!
uno::Reference<ui::XAcceleratorConfiguration> xTargetAccMgr(xCfgMgr->getShortCutManager(), uno::UNO_QUERY_THROW);
Apply(xTargetAccMgr);
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index 059dcb855de9..b5b1fdbf35b8 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -1518,7 +1518,7 @@ void ColorPickerDialog::setColorComponent( sal_uInt16 nComp, double dValue )
typedef ::cppu::WeakComponentImplHelper< XServiceInfo, XExecutableDialog, XInitialization, XPropertyAccess > ColorPickerBase;
-class ColorPicker : protected ::comphelper::OBaseMutex, // Struct for right initalization of mutex member! Must be first of baseclasses.
+class ColorPicker : protected ::comphelper::OBaseMutex, // Struct for right initialization of mutex member! Must be first of baseclasses.
public ColorPickerBase
{
public:
diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx
index 1020cafc1477..2cf1497bff1f 100644
--- a/dbaccess/source/ui/misc/HtmlReader.cxx
+++ b/dbaccess/source/ui/misc/HtmlReader.cxx
@@ -121,7 +121,7 @@ SvParserState OHTMLReader::CallParser()
void OHTMLReader::NextToken( int nToken )
{
- if(m_bError || !m_nRows) // if there is an error or no more rows to check, return immediatelly
+ if(m_bError || !m_nRows) // if there is an error or no more rows to check, return immediately
return;
if ( nToken == HTML_META )
setTextEncoding();
diff --git a/dbaccess/source/ui/misc/RtfReader.cxx b/dbaccess/source/ui/misc/RtfReader.cxx
index 9dde360c0a8a..2b026c0d7b8a 100644
--- a/dbaccess/source/ui/misc/RtfReader.cxx
+++ b/dbaccess/source/ui/misc/RtfReader.cxx
@@ -99,7 +99,7 @@ SvParserState ORTFReader::CallParser()
void ORTFReader::NextToken( int nToken )
{
- if(m_bError || !m_nRows) // if there is an error or no more rows to check, return immediatelly
+ if(m_bError || !m_nRows) // if there is an error or no more rows to check, return immediately
return;
if(m_xConnection.is()) // names, which CTOR was called and hence, if a table should be created
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 11f25e668083..6d9b08ea3f5a 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2215,7 +2215,7 @@ void Desktop::OpenClients()
// memory. May be this mechanism will be inconsistent if the configuration exists...
// but no document inside memory corresponds to this data.
// Further it's not acceptable to recover such documents without any UI. It can
- // need some time, where the user wont see any results and wait for finishing the office startup...
+ // need some time, where the user won't see any results and wait for finishing the office startup...
bool bAllowRecoveryAndSessionManagement = ( !rArgs.IsNoRestore() ) && ( !rArgs.IsHeadless() );
if ( ! bAllowRecoveryAndSessionManagement )
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 7c4d8cf303ff..74df3531d912 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1803,7 +1803,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
try
{
- SAL_INFO("lok", "Attempting to initalize UNO");
+ SAL_INFO("lok", "Attempting to initialize UNO");
if (!initialize_uno(aAppURL))
{
return false;
diff --git a/drawinglayer/source/geometry/viewinformation3d.cxx b/drawinglayer/source/geometry/viewinformation3d.cxx
index 303a06c05d78..cdca3767b5a6 100644
--- a/drawinglayer/source/geometry/viewinformation3d.cxx
+++ b/drawinglayer/source/geometry/viewinformation3d.cxx
@@ -53,7 +53,7 @@ namespace drawinglayer
basegfx::B3DHomMatrix maOrientation;
// Camera to Device with X,Y and Z [-1.0 .. 1.0]. This is the
- // 3D to 2D projection which may be parallell or perspective. When it is perspective,
+ // 3D to 2D projection which may be parallel or perspective. When it is perspective,
// the last line of the homogen matrix will NOT be unused
basegfx::B3DHomMatrix maProjection;
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx
index e3a5369808c7..bfc31c95d410 100644
--- a/dtrans/source/win32/misc/ImplHelper.cxx
+++ b/dtrans/source/win32/misc/ImplHelper.cxx
@@ -216,7 +216,7 @@ void SAL_CALL DeleteTargetDevice( DVTARGETDEVICE* ptd )
//
// Return Value:
// pointer to allocated copy of ptdSrc
-// if ptdSrc==NULL then retuns NULL is returned.
+// if ptdSrc==NULL then returns NULL is returned.
// if ptdSrc!=NULL and memory allocation fails, then NULL is returned
DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc )
{
@@ -270,7 +270,7 @@ DVTARGETDEVICE* SAL_CALL CopyTargetDevice( DVTARGETDEVICE* ptdSrc )
//
// Return Value:
// returns TRUE if copy was successful;
-// retuns FALSE if not successful, e.g. one or both of the pointers
+// returns FALSE if not successful, e.g. one or both of the pointers
// were invalid or the pointers were equal
sal_Bool SAL_CALL CopyFormatEtc( LPFORMATETC petcDest, LPFORMATETC petcSrc )
{
diff --git a/embeddedobj/source/msole/advisesink.cxx b/embeddedobj/source/msole/advisesink.cxx
index 2f837ed93cb5..f759758ec6f6 100644
--- a/embeddedobj/source/msole/advisesink.cxx
+++ b/embeddedobj/source/msole/advisesink.cxx
@@ -101,7 +101,7 @@ STDMETHODIMP_(void) OleWrapperAdviseSink::OnRename(LPMONIKER)
STDMETHODIMP_(void) OleWrapperAdviseSink::OnSave()
{
// TODO: ???
- // The object knows about document saving already since it controls it as ClienSite
+ // The object already knows about document saving, since it controls it as ClientSide
// other interested listeners must be registered for the object
}
diff --git a/embeddedobj/test/Container1/NativeView.java b/embeddedobj/test/Container1/NativeView.java
index e757ed382d89..2435e236d687 100644
--- a/embeddedobj/test/Container1/NativeView.java
+++ b/embeddedobj/test/Container1/NativeView.java
@@ -44,7 +44,7 @@ public class NativeView extends java.awt.Canvas
* Does nothing really.
* We can use our JNI mechanism for an already visible
* canvas only. So we override the method for showing ( "setVisible()" )
- * and make our intialization there. BUt we try to show an empty clean
+ * and make our initialization there. BUt we try to show an empty clean
* window till there.
*/
public NativeView()
diff --git a/extensions/source/logging/csvformatter.cxx b/extensions/source/logging/csvformatter.cxx
index 3b358d3d7ab6..704fabb58985 100644
--- a/extensions/source/logging/csvformatter.cxx
+++ b/extensions/source/logging/csvformatter.cxx
@@ -112,7 +112,7 @@ namespace
// special treatment for the last character
if(quote_char==str[str_length-1])
buf.append(quote_char);
- // iterating backwards because the index at which we insert wont be shifted
+ // iterating backwards because the index at which we insert won't be shifted
// when moving that way.
for(sal_Int32 i = str_length; i>=0; )
{
diff --git a/external/redland/rasqal/rasqal.h b/external/redland/rasqal/rasqal.h
index fb766af42535..c44039d734bb 100644
--- a/external/redland/rasqal/rasqal.h
+++ b/external/redland/rasqal/rasqal.h
@@ -1491,10 +1491,10 @@ int rasqal_data_graph_print(rasqal_data_graph* dg, FILE* fh);
/**
* rasqal_compare_flags:
- * @RASQAL_COMPARE_NOCASE: String comparisions are case independent.
- * @RASQAL_COMPARE_XQUERY: XQuery comparision rules apply.
- * @RASQAL_COMPARE_RDF: RDF Term comparision rules apply.
- * @RASQAL_COMPARE_URI: Allow comparision of URIs and allow strings to have a boolean value (unused; was for RDQL)
+ * @RASQAL_COMPARE_NOCASE: String comparisons are case independent.
+ * @RASQAL_COMPARE_XQUERY: XQuery comparison rules apply.
+ * @RASQAL_COMPARE_RDF: RDF Term comparison rules apply.
+ * @RASQAL_COMPARE_URI: Allow comparison of URIs and allow strings to have a boolean value (unused; was for RDQL)
* @RASQAL_COMPARE_SAMETERM: SPARQL sameTerm() builtin rules apply.
*
* Flags for rasqal_expression_evaluate(), rasqal_literal_compare() or
@@ -1988,7 +1988,7 @@ typedef enum {
* @version: API version - only V1 is defined for now
* @query: Source for this query.
* @user_data: Context user data passed into the factory methods.
- * @init_triples_match: Factory method to initalise a new #rasqal_triples_match.
+ * @init_triples_match: Factory method to initialise a new #rasqal_triples_match.
* @triple_present: Factory method to return presence or absence of a complete triple.
* @free_triples_source: Factory method to deallocate resources.
* @support_feature: Factory method to test support for a feature, returning non-0 if supported
diff --git a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
index 7a81eae0ff4d..ecf1c3251c2e 100644
--- a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
+++ b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
@@ -463,7 +463,7 @@ public class TypeDetection extends ComplexTestCase {
String fileType = helper.getTypeforfileAlias(fileAlias);
PropertyValue[] MediaDescriptor = helper.createMediaDescriptor(
- new String[] {"URL", "DocumentSerivce"},
+ new String[] {"URL", "DocumentService"},
new Object[] {fileURL, serviceName});
log.println("check " + fileAlias);
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index 7c449c1b13b0..c998ec6c7d13 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -480,7 +480,7 @@ void SAL_CALL BaseContainer::flush()
}
catch(const css::uno::Exception& ex)
{
- // Dont remove the clone. May be the outside
+ // Don't remove the clone. May be the outside
// user wish to repair it now and calls flush()
// later again ...
@@ -515,7 +515,7 @@ void SAL_CALL BaseContainer::flush()
try
{
// ... this pointer can be interesting to find out, where will be called as listener
- // Dont optimize it to a direct iterator cast :-)
+ // Don't optimize it to a direct iterator cast :-)
css::util::XFlushListener* pListener = static_cast<css::util::XFlushListener*>(pIterator.next());
pListener->flushed(aSource);
}
diff --git a/filter/source/config/cache/configflush.cxx b/filter/source/config/cache/configflush.cxx
index 2bf04cc66a6c..6d4091346c86 100644
--- a/filter/source/config/cache/configflush.cxx
+++ b/filter/source/config/cache/configflush.cxx
@@ -73,7 +73,7 @@ void SAL_CALL ConfigFlush::refresh()
try
{
// ... this pointer can be interesting to find out, where will be called as listener
- // Dont optimize it to a direct iterator cast :-)
+ // Don't optimize it to a direct iterator cast :-)
css::util::XRefreshListener* pListener = static_cast<css::util::XRefreshListener*>(pIterator.next());
pListener->refreshed(aSource);
}
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 68a26b6188df..aaa7dfbbaa56 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -124,7 +124,7 @@ FilterCache* FilterCache::clone() const
FilterCache* pClone = new FilterCache();
- // Dont copy the configuration access points here.
+ // Don't copy the configuration access points here.
// They will be created on demand inside the cloned instance,
// if they are needed.
@@ -156,8 +156,8 @@ void FilterCache::takeOver(const FilterCache& rClone)
::osl::ResettableMutexGuard aLock(m_aLock);
// a)
- // Dont copy the configuration access points here!
- // We must use our own ones ...
+ // Don't copy the configuration access points here!
+ // We must use our own ones...
// b)
// Further we can ignore the uno service manager.
@@ -1110,7 +1110,7 @@ void FilterCache::impl_validateAndOptimize()
#if OSL_DEBUG_LEVEL > 0
- // Dont check cross references between types and filters, if
+ // Don't check cross references between types and filters, if
// not all filters read from disk!
// OK - this cache can read single filters on demand too ...
// but then the fill state of this cache should not be set to E_CONTAINS_FILTERS!
@@ -2177,7 +2177,7 @@ void FilterCache::impl_readOldFormat()
m_lFilters[pItems[i]] = impl_readOldItem(xSet, E_FILTER, pItems[i]);
}
}
- /* corrupt filter addon ? because it's external (optional) code .. we can ignore it. Addon wont work then ...
+ /* corrupt filter addon? Because it's external (optional) code.. we can ignore it. Addon won't work then...
but that seems to be acceptable.
see #139088# for further information
*/
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index a9f0abf905e8..604476c11d96 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -498,7 +498,7 @@ OUStringList FilterFactory::impl_getSortedFilterListForModule(const OUString& sM
aLock.clear();
// <- SAFE ----------------------
- // bring "other" filters in an alphabeticly order
+ // bring "other" filters in an alphabetical order
// It's needed below.
::std::sort(lOtherFilters.begin(), lOtherFilters.end());
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 4031c93271a0..19d2846b623f 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -640,7 +640,7 @@ bool TypeDetection::impl_getPreselectionForType(
bool bBreakDetection = false;
// Further we must know if it matches by pattern
- // Every flat detected type by pattern wont be detected deep!
+ // Every flat detected type by pattern won't be detected deep!
bool bMatchByPattern = false;
// And we must know if a preselection must be preferred, because
diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx
index 3fd232303677..ccb6b83b6903 100644
--- a/forms/source/component/clickableimage.hxx
+++ b/forms/source/component/clickableimage.hxx
@@ -65,7 +65,7 @@ namespace frm
// ImageProducer stuff
css::uno::Reference< css::awt::XImageProducer> m_xProducer;
- // Store the image in a graphic object to make it accesible via graphic cache using graphic ID.
+ // Store the image in a graphic object to make it accessible via graphic cache using graphic ID.
css::uno::Reference< css::graphic::XGraphicObject > m_xGraphicObject;
SfxMedium* m_pMedium; // Download medium
ImageProducer* m_pProducer;
diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx
index a547e5c9274e..8288c955e350 100644
--- a/forms/source/xforms/submission.cxx
+++ b/forms/source/xforms/submission.cxx
@@ -369,7 +369,7 @@ sal_Bool SAL_CALL Submission::convertFastPropertyValue(
{
if ( nHandle == HANDLE_IncludeNamespacePrefixes )
{
- // for convinience reasons (????), we accept a string which contains
+ // for convenience reasons (????), we accept a string which contains
// a comma-separated list of namespace prefixes
OUString sTokenList;
if ( rValue >>= sTokenList )
diff --git a/fpicker/source/win32/filepicker/getfilenamewrapper.cxx b/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
index e8868b699aae..37cd420446d4 100644
--- a/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
+++ b/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
@@ -180,7 +180,7 @@ namespace /* private */
// This function returns true if the calling
- // thread belongs to a Multithreaded Appartment
+ // thread belongs to a Multithreaded Apartment
// (MTA)
diff --git a/fpicker/source/win32/filepicker/getfilenamewrapper.hxx b/fpicker/source/win32/filepicker/getfilenamewrapper.hxx
index 0d5604923e74..2581cac00a14 100644
--- a/fpicker/source/win32/filepicker/getfilenamewrapper.hxx
+++ b/fpicker/source/win32/filepicker/getfilenamewrapper.hxx
@@ -35,7 +35,7 @@
/*
A simple wrapper around the GetOpenFileName/GetSaveFileName API.
Because currently the Win32 API functions GetOpenFileName/GetSaveFileName
- work only properly in an Single Threaded Appartment.
+ work only properly in an Single Threaded Apartment.
*/
class CGetFileNameWrapper
diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx
index 090b9812c8ce..7a67b7083222 100644
--- a/framework/inc/dispatch/interceptionhelper.hxx
+++ b/framework/inc/dispatch/interceptionhelper.hxx
@@ -203,7 +203,7 @@ class InterceptionHelper : public ::cppu::WeakImplHelper<
/** @short implements an optimized queryDispatch() for remote.
@descr It capsulate more than one queryDispatch() requests and return a lits of dispatch objects
- as result. Because both lists (in and out) coreespond together, it's not allowed to
+ as result. Because both lists (in and out) correspond together, it's not allowed to
pack it - means suppress NULL references!
@param lDescriptor
diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx
index 03b46789f524..e8fd0017d628 100644
--- a/framework/inc/services/desktop.hxx
+++ b/framework/inc/services/desktop.hxx
@@ -177,7 +177,7 @@ class Desktop : private cppu::BaseMutex,
@descr Additional to adding normal listener these method was implemented special.
Every listener will be asked for its uno implementation name.
- Some of them are well known ... and the corresponding listener wont be added
+ Some of them are well known... and the corresponding listener wont be added
to the container of "normal listener". Those listener will be set as special
member.
see e.g. member m_xSfxTerminator
@@ -429,8 +429,8 @@ class Desktop : private cppu::BaseMutex,
css::uno::Reference< css::frame::XTerminateListener > m_xQuickLauncher;
/** special terminate listener which loads images asynchronous for current open documents.
- * Because internally it uses blocking system APIs ... it can't be guaranteed that
- * running jobs can be cancelled successfully if the corressponding document will be closed ...
+ * Because internally it uses blocking system APIs... it can't be guaranteed that
+ * running jobs can be cancelled successfully if the corresponding document will be closed...
* it will not hinder those documents on closing. Instead it let all jobs running...
* but at least on terminate we have to wait for all those blocked requests.
* So these implementation must be a special terminate listener too .-(
diff --git a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
index 2f1f10981f5f..dc7e288093ba 100644
--- a/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
+++ b/framework/qa/complex/loadAllDocuments/CheckXComponentLoader.java
@@ -285,7 +285,7 @@ public class CheckXComponentLoader
XStorable xStore = UnoRuntime.queryInterface(XStorable.class, xDoc);
xStore.storeAsURL(sTargetURL, lSaveProps);
- // Dont forget to close this file. Otherwise the temp file is locked!
+ // Don't forget to close this file. Otherwise the temp file is locked!
XCloseable xClose = UnoRuntime.queryInterface(XCloseable.class, xDoc);
xClose.close(false);
}
diff --git a/framework/source/accelerators/acceleratorcache.cxx b/framework/source/accelerators/acceleratorcache.cxx
index 03cee4d7b1d7..ca92b8f5cf37 100644
--- a/framework/source/accelerators/acceleratorcache.cxx
+++ b/framework/source/accelerators/acceleratorcache.cxx
@@ -42,7 +42,7 @@ AcceleratorCache::AcceleratorCache(const AcceleratorCache& rCopy)
AcceleratorCache::~AcceleratorCache()
{
- // Dont save anything automatically here.
+ // Don't save anything automatically here.
// The user has to do that explicitly!
}
diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx
index f9121479aae5..5e2397a73b5b 100644
--- a/framework/source/accelerators/presethandler.cxx
+++ b/framework/source/accelerators/presethandler.cxx
@@ -110,7 +110,7 @@ PresetHandler::~PresetHandler()
m_xWorkingStorageUser.clear();
/* #i46497#
- Dont call forgetCachedStorages() here for shared storages.
+ Don't call forgetCachedStorages() here for shared storages.
Because we opened different sub storages by using openPath().
And every already open path was reused and referenced (means it's
ref count was increased!)
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index 0915738266d3..02f0dee1dfa8 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -103,7 +103,7 @@ css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL CloseDispatcher::
{
if (nCommandGroup == css::frame::CommandGroup::VIEW)
{
- /* Attention: Dont add .uno:CloseFrame here. Because its not really
+ /* Attention: Don't add .uno:CloseFrame here. Because its not really
a configurable feature ... and further it does not have
a valid UIName entry inside the GenericCommands.xcu ... */
css::uno::Sequence< css::frame::DispatchInformation > lViewInfos(1);
diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx
index c9aba3e5b2e7..178a92eba3b3 100644
--- a/framework/source/fwe/helper/titlehelper.cxx
+++ b/framework/source/fwe/helper/titlehelper.cxx
@@ -317,7 +317,7 @@ void TitleHelper::impl_updateTitleForModel (const css::uno::Reference< css::fram
// SYNCHRONIZED ->
::osl::ResettableMutexGuard aLock(m_aMutex);
- // external title wont be updated internally !
+ // external title won't be updated internally!
// It has to be set from outside new.
if (m_bExternalTitle)
return;
@@ -387,7 +387,7 @@ void TitleHelper::impl_updateTitleForController (const css::uno::Reference< css:
// SYNCHRONIZED ->
::osl::ResettableMutexGuard aLock(m_aMutex);
- // external title wont be updated internally !
+ // external title won't be updated internally!
// It has to be set from outside new.
if (m_bExternalTitle)
return;
@@ -466,7 +466,7 @@ void TitleHelper::impl_updateTitleForFrame (const css::uno::Reference< css::fram
// SYNCHRONIZED ->
::osl::ResettableMutexGuard aLock(m_aMutex);
- // external title wont be updated internally !
+ // external title won't be updated internally!
// It has to be set from outside new.
if (m_bExternalTitle)
return;
diff --git a/framework/source/fwi/classes/propertysethelper.cxx b/framework/source/fwi/classes/propertysethelper.cxx
index 8f1e6acc2da2..8595ec32d3c5 100644
--- a/framework/source/fwi/classes/propertysethelper.cxx
+++ b/framework/source/fwi/classes/propertysethelper.cxx
@@ -79,7 +79,7 @@ void SAL_CALL PropertySetHelper::impl_disablePropertySet()
bool PropertySetHelper::impl_existsVeto(const css::beans::PropertyChangeEvent& aEvent)
{
- /* Dont use the lock here!
+ /* Don't use the lock here!
The used helper is threadsafe and it lives for the whole lifetime of
our own object.
*/
@@ -108,7 +108,7 @@ bool PropertySetHelper::impl_existsVeto(const css::beans::PropertyChangeEvent& a
void PropertySetHelper::impl_notifyChangeListener(const css::beans::PropertyChangeEvent& aEvent)
{
- /* Dont use the lock here!
+ /* Don't use the lock here!
The used helper is threadsafe and it lives for the whole lifetime of
our own object.
*/
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index d754e1ae85bd..082362dacce3 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -77,7 +77,7 @@ public:
@descr The load environment must know, if a content
is related to a target frame or not. Only "visible"
- components, which fullfill the requirements of the
+ components, which fulfill the requirements of the
model-controller-view paradigm can be loaded into a frame.
Such contents are classified as E_CAN_BE_LOADED.
@@ -497,7 +497,7 @@ private:
If a suitable target is located it will be locked. Thats why the last rule
exists! If this method returns a valid frame reference, it was locked to be useable
- for this load request only. (Dont forget to reset this state later!)
+ for this load request only. (Don't forget to reset this state later!)
Concurrent LoadEnv instances can synchronize her work be using such locks :-) HOPEFULLY
@throw A LoadEnvException only in cases, where an internal error indicates,
@@ -518,7 +518,7 @@ private:
Showing of such frame is not needed really.. because we recycle
visible frames only!
b) If the document was already shown (e.g. by our progress implementation)
- we do nothing here. The reason behind: The document was already shown...
+ we do nothing here. The reason behind: The document was already shown...
and it was already make a top window...
If the user activated another frame inbetween (because loading needed some time)
it's not allowed to disturb the user again. Then the frame must resists in the background.
diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx
index 907681f8f47e..14f4ddc6f6e1 100644
--- a/framework/source/jobs/jobdata.cxx
+++ b/framework/source/jobs/jobdata.cxx
@@ -97,7 +97,7 @@ JobData::~JobData()
}
/**
- @short initalize this instance as a job with configuration
+ @short initialize this instance as a job with configuration
@descr They given alias can be used to address some configuration data.
We read it and fill our internal structures. Of course old information
will be lost doing so.
@@ -164,7 +164,7 @@ void JobData::setAlias( const OUString& sAlias )
}
/**
- @short initalize this instance as a job without configuration
+ @short initialize this instance as a job without configuration
@descr This job has no configuration data. We have to forget all old information
and set only some of them new, so this instance can work.
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 28885f6b9b78..240493a1563c 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -108,9 +108,9 @@ namespace {
@descr Because some operations are forced to be executed asynchronously
(e.g. requested by our CreashSave/Recovery dialog) ... we must make sure
- that these information wont be set as "normal" members of our AutoRecovery
+ that these information won't be set as "normal" members of our AutoRecovery
instance. Otherwise they can disturb our normal AutoSave-timer handling.
- e.g. it can be unclear then, which progress has to be used for storing documents ...
+ e.g. it can be unclear then, which progress has to be used for storing documents...
*/
struct DispatchParams
{
@@ -143,10 +143,10 @@ public:
backup or cleanUp operation ... which is may be done asynchronous */
sal_Int32 m_nWorkingEntryID;
- /** @short used for asyncoperations, to prevent us from dying.
+ /** @short used for async operations, to prevent us from dying.
@descr If our dispatch() method was forced to start the
- internal operation asynchronous ... we send an event
+ internal operation asynchronous... we send an event
to start and return immediately. But we must be sure that
our instance live if the event callback reach us.
So we hold an uno reference to ourself.
@@ -1628,8 +1628,8 @@ void SAL_CALL AutoRecovery::documentEventOccured(const css::document::DocumentEv
}
/* document saved as copy => mark it as "non used by concurrent save operation".
so we can try to create a backup copy if next time AutoSave is started too.
- Dont remove temp. files or change the modified state of the document!
- It was not really saved to the original file ...
+ Don't remove temp. files or change the modified state of the document!
+ It was not really saved to the original file...
*/
else if ( aEvent.EventName == EVENT_ON_SAVETODONE )
{
@@ -2220,7 +2220,7 @@ void AutoRecovery::implts_stopListening()
css::uno::Reference< css::document::XDocumentEventBroadcaster > xGlobalEventBroadcaster;
/* SAFE */ {
osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex);
- // Attention: Dont reset our internal members here too.
+ // Attention: Don't reset our internal members here too.
// May be we must work with our configuration, but don't wish to be informed
// about changes any longer. Needed e.g. during EMERGENCY_SAVE!
xCFG.set (m_xRecoveryCFG , css::uno::UNO_QUERY);
@@ -2453,7 +2453,7 @@ void AutoRecovery::implts_registerDocument(const css::uno::Reference< css::frame
{
// Normally nothing must be done for this "late" notification.
// But may be the modified state was changed inbetween.
- // Check it ...
+ // Check it...
implts_updateModifiedState(xDocument);
return;
}
@@ -2566,7 +2566,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
/* SAFE */ {
osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex);
- // Attention: Dont leave SAFE section, if you work with pIt!
+ // Attention: Don't leave SAFE section, if you work with pIt!
// Because it points directly into the m_lDocCache list ...
CacheLockGuard aCacheLock(this, cppu::WeakComponentImplHelperBase::rBHelper.rMutex, m_nDocCacheLock, LOCK_FOR_CACHE_USE);
@@ -3221,7 +3221,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_openDocs(const DispatchParams& aPa
AutoRecovery::TDocumentInfo& rInfo = *pIt;
// Such documents are already loaded by the last loop.
- // Dont check E_SUCCEDED here! Its may be the final state of an AutoSave
+ // Don't check E_SUCCEDED here! It may be the final state of an AutoSave
// operation before!!!
if ((rInfo.DocumentState & AutoRecovery::E_HANDLED) == AutoRecovery::E_HANDLED)
continue;
@@ -3388,7 +3388,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_openDocs(const DispatchParams& aPa
implts_startModifyListeningOnDoc(rInfo);
// /* SAFE */ {
- // Needed for next loop. Dont unlock it again!
+ // Needed for next loop. Don't unlock it again!
g.reset();
}
@@ -3748,7 +3748,7 @@ void AutoRecovery::implts_doEmergencySave(const DispatchParams& aParams)
// flush config cached back to disc.
impl_flushALLConfigChanges();
- // try to make sure next time office will be started user wont be
+ // try to make sure next time office will be started user won't be
// notified about any other might be running office instance
// remove ".lock" file from disc !
AutoRecovery::st_impl_removeLockFile();
@@ -3822,9 +3822,9 @@ void AutoRecovery::implts_doSessionQuietQuit(const DispatchParams& /*aParams*/)
{
SAL_INFO("fwk.autorecovery", "AutoRecovery::implts_doSessionQuietQuit()");
- // try to make sure next time office will be started user wont be
+ // try to make sure next time office will be started user won't be
// notified about any other might be running office instance
- // remove ".lock" file from disc !
+ // remove ".lock" file from disc!
// it is done as a first action for session save since Gnome sessions
// do not provide enough time for shutdown, and the dialog looks to be
// confusing for the user
@@ -3912,7 +3912,7 @@ void AutoRecovery::implts_backupWorkingEntry(const DispatchParams& aParams)
// TODO: Check eResult and react for errors (InteractionHandler!?)
// Currently we ignore it ...
- // DONT UPDATE THE CACHE OR REMOVE ANY TEMP. FILES FROM DISK.
+ // DON'T UPDATE THE CACHE OR REMOVE ANY TEMP. FILES FROM DISK.
// That has to be forced from outside explicitly.
// See implts_cleanUpWorkingEntry() for further details.
}
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 8ceb9572f462..8f374a4ee4c1 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -2002,7 +2002,7 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException, std::exception
impl_disablePropertySet();
// interception/dispatch chain must be destructed explicitly
- // Otherwhise some dispatches and/or interception objects wont die.
+ // Otherwise some dispatches and/or interception objects won't die.
css::uno::Reference< css::lang::XEventListener > xDispatchHelper(m_xDispatchHelper, css::uno::UNO_QUERY_THROW);
xDispatchHelper->disposing(aEvent);
xDispatchHelper.clear();
diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx
index 98e441e65363..a9ffb24cba90 100644
--- a/framework/source/services/modulemanager.cxx
+++ b/framework/source/services/modulemanager.cxx
@@ -243,10 +243,10 @@ void SAL_CALL ModuleManager::replaceByName(const OUString& sName ,
}
// get access to the element
- // Note: Dont use impl_getConfig() method here. Because it creates a readonly access only, further
+ // Note: Don't use impl_getConfig() method here. Because it creates a readonly access only, further
// it cache it as a member of this module manager instance. If we change some props there ... but don't
// flush changes (because an error occurred) we will read them later. If we use a different config access
- // we can close it without a flush ... and our read data wont be affected .-)
+ // we can close it without a flush... and our read data won't be affected .-)
css::uno::Reference< css::uno::XInterface > xCfg = ::comphelper::ConfigurationHelper::openConfig(
m_xContext,
"/org.openoffice.Setup/Office/Factories",
diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx
index 7eb93bad0b3e..d4a421382031 100644
--- a/framework/source/uielement/newmenucontroller.cxx
+++ b/framework/source/uielement/newmenucontroller.cxx
@@ -432,7 +432,7 @@ void SAL_CALL NewMenuController::itemSelected( const css::awt::MenuEvent& rEvent
if ( xDispatch.is() )
{
- // Call dispatch asychronously as we can be destroyed while dispatch is
+ // Call dispatch asynchronously as we can be destroyed while dispatch is
// executed. VCL is not able to survive this as it wants to call listeners
// after select!!!
NewDocument* pNewDocument = new NewDocument;
diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx
index f44482a7a4fa..c7faadd89e5a 100644
--- a/framework/source/uielement/recentfilesmenucontroller.cxx
+++ b/framework/source/uielement/recentfilesmenucontroller.cxx
@@ -308,7 +308,7 @@ void RecentFilesMenuController::executeEntry( sal_Int32 nIndex )
if ( xDispatch.is() )
{
- // Call dispatch asychronously as we can be destroyed while dispatch is
+ // Call dispatch asynchronously as we can be destroyed while dispatch is
// executed. VCL is not able to survive this as it wants to call listeners
// after select!!!
LoadRecentFile* pLoadRecentFile = new LoadRecentFile;
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h
index 229bac04a936..5e24eb9c5187 100644
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
@@ -71,7 +71,7 @@ GtkWidget* lok_doc_view_new_from_widget (LOKDocView*
* @callback:
* @userdata:
*
- * Returns: %TRUE if the document is loaded succesfully, %FALSE otherwise
+ * Returns: %TRUE if the document is loaded successfully, %FALSE otherwise
*/
void lok_doc_view_open_document (LOKDocView* pDocView,
const gchar* pPath,
@@ -86,7 +86,7 @@ void lok_doc_view_open_document (LOKDocView*
* @res:
* @error:
*
- * Returns: %TRUE if the document is loaded succesfully, %FALSE otherwise
+ * Returns: %TRUE if the document is loaded successfully, %FALSE otherwise
*/
gboolean lok_doc_view_open_document_finish (LOKDocView* pDocView,
GAsyncResult* res,
diff --git a/include/basegfx/polygon/b2dpolygonclipper.hxx b/include/basegfx/polygon/b2dpolygonclipper.hxx
index 7fb2430c1dca..a7b579fdb442 100644
--- a/include/basegfx/polygon/b2dpolygonclipper.hxx
+++ b/include/basegfx/polygon/b2dpolygonclipper.hxx
@@ -33,7 +33,7 @@ namespace basegfx
namespace tools
{
- // This method clips the given tools::PolyPolygon against a horizontal or vertical axis (parallell to X or Y axis). The axis is
+ // This method clips the given tools::PolyPolygon against a horizontal or vertical axis (parallel to X or Y axis). The axis is
// defined by bParallelToXAxis (true -> it's parallel to the X-Axis of the coordinate system, else to the Y-Axis) and the
// fValueOnOtherAxis (gives the translation to the coordinate system axis). For example, when You want to define
// a clip axis parallel to X.Axis and 100 above it, use bParallelToXAxis = true and fValueOnOtherAxis = 100.
diff --git a/include/drawinglayer/geometry/viewinformation3d.hxx b/include/drawinglayer/geometry/viewinformation3d.hxx
index c5f2da0ce833..b84ff02a4f65 100644
--- a/include/drawinglayer/geometry/viewinformation3d.hxx
+++ b/include/drawinglayer/geometry/viewinformation3d.hxx
@@ -74,7 +74,7 @@ namespace drawinglayer
@param rProjection
A part of the 3D ViewTransformation, the Camera to Device transformation which
transforms coordinates to a [0.0 .. 1.0] device range in X,Y and Z. Z may be used
- as source for Z-Buffers. This transformation may be e.g. a parallell projection,
+ as source for Z-Buffers. This transformation may be e.g. a parallel projection,
but also a perspective one and thus may use the last line of the matrix.
@param rDeviceToView
diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx
index 9b64fa22242e..6362793e78ac 100644
--- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx
@@ -228,7 +228,7 @@ namespace drawinglayer
to be done when the decomposition depends on parts of the parameter ViewInformation2D.
This defines a standard method for processing these:
- Implement a view-dependent get2DDecomposition doing te following steps:
+ Implement a view-dependent get2DDecomposition doing the following steps:
(a) Locally extract needed parameters from ViewInformation2D to new, local parameters
(this may be a complete local copy of ViewInformation2D)
(b) If a buffered decomposition exists, ckeck if one of the new local parameters
diff --git a/include/oox/mathml/importutils.hxx b/include/oox/mathml/importutils.hxx
index 52f72797ee50..2ec7af716a7c 100644
--- a/include/oox/mathml/importutils.hxx
+++ b/include/oox/mathml/importutils.hxx
@@ -122,7 +122,7 @@ public:
std::map< int, OUString > attrs;
};
/**
- Structure representing a tag, including its attributes and content text immediatelly following it.
+ Structure representing a tag, including its attributes and content text immediately following it.
*/
struct OOX_DLLPUBLIC Tag
{
diff --git a/include/sal/types.h b/include/sal/types.h
index 97806de60350..7638eaeed139 100644
--- a/include/sal/types.h
+++ b/include/sal/types.h
@@ -486,7 +486,7 @@ template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) {
/**
Use as follows:
- SAL_DEPRECATED("Dont use, its evil.") void doit(int nPara);
+ SAL_DEPRECATED("Don't use, it's evil.") void doit(int nPara);
*/
#if HAVE_GCC_DEPRECATED_MESSAGE
@@ -506,7 +506,7 @@ template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) {
SAL_DEPRECATED, and then removed.
Use as follows:
- SAL_DEPRECATED_INTERNAL("Dont use, its evil.") void doit(int nPara);
+ SAL_DEPRECATED_INTERNAL("Don't use, it's evil.") void doit(int nPara);
*/
#ifdef LIBO_INTERNAL_ONLY
# define SAL_DEPRECATED_INTERNAL(message)
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx
index 15dea984ccec..4701bb44a377 100644
--- a/include/sfx2/childwin.hxx
+++ b/include/sfx2/childwin.hxx
@@ -153,7 +153,7 @@ class SFX2_DLLPUBLIC SfxChildWindow
SfxChildAlignment eChildAlignment; // Current css::drawing::Alignment
SfxChildWindow_Impl* pImp; // Implementation data
SfxChildWindowContext* pContext; // With context-sensitive ChildWindows:
- // Annother window in pWindow
+ // Another window in pWindow
SAL_DLLPRIVATE void ClearWorkwin();
protected:
diff --git a/include/svtools/ctrltool.hxx b/include/svtools/ctrltool.hxx
index 993287f7b401..c05b55e82068 100644
--- a/include/svtools/ctrltool.hxx
+++ b/include/svtools/ctrltool.hxx
@@ -67,7 +67,7 @@ The OutputDevice given first should be the preferred one. This is usually
the printer. Because if two different device fonts (one for the printer and
one for the screen) exist, the ones from the "pDevice" are preferred.
-The third paramter governs whether only scalable or all fonts shall be queried.
+The third parameter governs whether only scalable or all fonts shall be queried.
With sal_True Bitmap-Schriften will also be queried.
With sal_False vectorized and scalable fonts will be queried.
diff --git a/include/svtools/popupmenucontrollerbase.hxx b/include/svtools/popupmenucontrollerbase.hxx
index b065c50eea9f..45258690addb 100644
--- a/include/svtools/popupmenucontrollerbase.hxx
+++ b/include/svtools/popupmenucontrollerbase.hxx
@@ -55,7 +55,7 @@ namespace svt
css::frame::XDispatchProvider ,
css::frame::XDispatch > PopupMenuControllerBaseType;
- class SVT_DLLPUBLIC PopupMenuControllerBase : protected ::comphelper::OBaseMutex, // Struct for right initalization of mutex member! Must be first of baseclasses.
+ class SVT_DLLPUBLIC PopupMenuControllerBase : protected ::comphelper::OBaseMutex, // Struct for right initialization of mutex member! Must be first of baseclasses.
public PopupMenuControllerBaseType
{
public:
diff --git a/include/svtools/table/tablerenderer.hxx b/include/svtools/table/tablerenderer.hxx
index f11729347c7c..53ded6366d52 100644
--- a/include/svtools/table/tablerenderer.hxx
+++ b/include/svtools/table/tablerenderer.hxx
@@ -154,14 +154,14 @@ namespace svt { namespace table
<TRUE/> if and only if the table control currently has the focus
<br/>
Note that this flag is equal to the respective flag in the
- previous ->PrepareRow call, it's passed here for convinience
+ previous ->PrepareRow call, it's passed here for convenience
only.
@param _bSelected
<TRUE/> if and only if the row whose header cell is to be
painted is selected currently.
<br/>
Note that this flag is equal to the respective flag in the
- previous ->PrepareRow call, it's passed here for convinience
+ previous ->PrepareRow call, it's passed here for convenience
only.
@param _rDevice
denotes the device to paint onto
@@ -185,13 +185,13 @@ namespace svt { namespace table
the row or the column of the cell is currently selected.
<br/>
Note that this flag is equal to the respective flag in the
- previous ->PrepareRow call, it's passed here for convinience
+ previous ->PrepareRow call, it's passed here for convenience
only.
@param i_hasControlFocus
<TRUE/> if and only if the table control currently has the focus
<br/>
Note that this flag is equal to the respective flag in the
- previous ->PrepareRow call, it's passed here for convinience
+ previous ->PrepareRow call, it's passed here for convenience
only.
@param _rDevice
denotes the device to paint onto
diff --git a/include/svx/svddrgv.hxx b/include/svx/svddrgv.hxx
index ad5bec51fbf5..91fd524a6702 100644
--- a/include/svx/svddrgv.hxx
+++ b/include/svx/svddrgv.hxx
@@ -163,7 +163,7 @@ public:
void SetNoDragXorPolys(bool bOn);
bool IsNoDragXorPolys() const { return mbNoDragXorPolys; }
- // If the number of selected objects exceeds te value set here,
+ // If the number of selected objects exceeds the value set here,
// NoDragPolys is (temporarily) activated implicitely.
// PolyPolygons etc. are regarded as multiple objects respectively.
// Default=100
diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx
index cf29462273d9..26e1a9ad4c51 100644
--- a/include/ucbhelper/interceptedinteraction.hxx
+++ b/include/ucbhelper/interceptedinteraction.hxx
@@ -94,7 +94,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
@descr Such constructed object can't be used really.
Might it will crash if its used!
- Dont forget to initialize all(!) members ...
+ Don't forget to initialize all(!) members ...
*/
InterceptedRequest()
{
@@ -219,7 +219,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
void setInterceptions(const ::std::vector< InterceptedRequest >& lInterceptions);
- /** @short extract a requested continuation from te list of available ones.
+ /** @short extract a requested continuation from the list of available ones.
@param lContinuations
the list of available continuations.
@@ -228,7 +228,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
is used to locate the right continuation,
by checking its interface type.
- @return A valid reference to the continuation, if it could be located ...
+ @return A valid reference to the continuation, if it could be located...
or an empty reference otherwise.
*/
static css::uno::Reference< css::task::XInteractionContinuation > extractContinuation(
diff --git a/include/ucbhelper/resultsethelper.hxx b/include/ucbhelper/resultsethelper.hxx
index 1420b702305b..e43a2e6857be 100644
--- a/include/ucbhelper/resultsethelper.hxx
+++ b/include/ucbhelper/resultsethelper.hxx
@@ -114,7 +114,7 @@ private:
public:
/**
- * Construtor.
+ * Constructor.
*
* @param rxContext is a Service Manager.
* @param rCommand is the parameter for the open command that produces
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index d43f9f0c2e93..fb861991591f 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -50,7 +50,7 @@ using namespace com::sun::star::registry;
-// static member intialization
+// static member initialization
SvtLinguOptions * LinguOptions::pData = nullptr;
oslInterlockedCount LinguOptions::nRefCount;
diff --git a/lotuswordpro/source/filter/utbenvs.cxx b/lotuswordpro/source/filter/utbenvs.cxx
index d69ce301de55..393e479a9fa1 100644
--- a/lotuswordpro/source/filter/utbenvs.cxx
+++ b/lotuswordpro/source/filter/utbenvs.cxx
@@ -115,7 +115,7 @@ sal_uInt64 LtcUtBenValueStream::SeekPos(sal_uInt64 const nPos)
return;
}
/**
-* Flush data funciton, not supported now
+* Flush data function, not supported now
*/
void LtcUtBenValueStream::FlushData()
{
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
index 30892dde7a2b..28cd4ef700fb 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
@@ -57,7 +57,7 @@ public class NativeView extends java.awt.Canvas
* Does nothing really.
* We can use our JNI mechanism for an already visible
* canvas only. So we override the method for showing ("setVisible()")
- * and make our intialization there. BUt we try to show an empty clean
+ * and make our initialization there. But we try to show an empty clean
* window till there.
*/
public NativeView()
diff --git a/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java b/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java
index 42f0689f5320..687135393645 100644
--- a/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java
+++ b/odk/examples/DevelopersGuide/UCB/ChildrenRetriever.java
@@ -61,7 +61,7 @@ public class ChildrenRetriever {
/**
* Constructor. Create a new connection with the specific args to a running office
*
- *@param args This construtor requires the arguments:
+ *@param args This constructor requires the arguments:
* -url=... (optional)
* -propNames=... (optional)
* See Help (method printCmdLineUsage()).
diff --git a/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java b/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java
index dad05c1153e4..80d6fb5b4c73 100644
--- a/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java
+++ b/odk/examples/DevelopersGuide/UCB/DataStreamComposer.java
@@ -53,7 +53,7 @@ public class DataStreamComposer {
/**
* Constructor.
*
- *@param args This construtor requires the arguments:
+ *@param args This constructor requires the arguments:
* -url=... (optional)
* -srcURL=... (optional)
* -workdir=... (optional)
diff --git a/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java b/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java
index f25e6cd0fd56..83c856c6ca2f 100644
--- a/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java
+++ b/odk/examples/DevelopersGuide/UCB/DataStreamRetriever.java
@@ -53,7 +53,7 @@ public class DataStreamRetriever {
/**
* Constructor.
*
- *@param args This construtor requires the arguments:
+ *@param args This constructor requires the arguments:
* -url=... (optional)
* See Help (method printCmdLineUsage()).
* Without the arguments a new connection to a
diff --git a/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java b/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java
index 20d2f6c5a9a9..90f3e38b50aa 100644
--- a/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java
+++ b/odk/examples/DevelopersGuide/UCB/PropertiesComposer.java
@@ -55,7 +55,7 @@ public class PropertiesComposer {
/**
* Constructor.
*
- *@param args This construtor requires the arguments:
+ *@param args This constructor requires the arguments:
* -url=... (optional)
* -propNames=... (optional)
* -propValues=... (optional)
diff --git a/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java b/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java
index 0b984907ab77..ceb61c725597 100644
--- a/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java
+++ b/odk/examples/DevelopersGuide/UCB/PropertiesRetriever.java
@@ -57,7 +57,7 @@ public class PropertiesRetriever {
/**
* Constructor.
*
- *@param args This construtor requires the arguments:
+ *@param args This constructor requires the arguments:
* -url=... (optional)
* -propNames=... (optional)
* See Help (method printCmdLineUsage()).
diff --git a/odk/examples/DevelopersGuide/UCB/ResourceCreator.java b/odk/examples/DevelopersGuide/UCB/ResourceCreator.java
index 4279f94a1300..486f24c9937c 100644
--- a/odk/examples/DevelopersGuide/UCB/ResourceCreator.java
+++ b/odk/examples/DevelopersGuide/UCB/ResourceCreator.java
@@ -57,7 +57,7 @@ public class ResourceCreator {
/**
* Constructor.
*
- *@param args This construtor requires the arguments:
+ *@param args This constructor requires the arguments:
* -url=... (optional)
* -name=... (optional)
* -srcURL=... (optional)
diff --git a/odk/examples/DevelopersGuide/UCB/ResourceManager.java b/odk/examples/DevelopersGuide/UCB/ResourceManager.java
index 26154f07c1ae..da8a6425ec99 100644
--- a/odk/examples/DevelopersGuide/UCB/ResourceManager.java
+++ b/odk/examples/DevelopersGuide/UCB/ResourceManager.java
@@ -55,7 +55,7 @@ public class ResourceManager {
/**
* Constructor.
*
- *@param args This construtor requires the arguments:
+ *@param args This constructor requires the arguments:
* -url=... (optional)
* -targetFolderURL=... (optional)
* -newTitle=... (optional)
diff --git a/odk/examples/DevelopersGuide/UCB/ResourceRemover.java b/odk/examples/DevelopersGuide/UCB/ResourceRemover.java
index b55bbae7fe4e..9f63bdf64d5d 100644
--- a/odk/examples/DevelopersGuide/UCB/ResourceRemover.java
+++ b/odk/examples/DevelopersGuide/UCB/ResourceRemover.java
@@ -47,7 +47,7 @@ public class ResourceRemover {
/**
* Constructor.
*
- *@param args This construtor requires the arguments:
+ *@param args This constructor requires the arguments:
* -url=... (optional)
* -workdir=... (optional)
* See Help (method printCmdLineUsage()).
diff --git a/officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs b/officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs
index 3d3b033fde5c..93159a28a581 100644
--- a/officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs
+++ b/officecfg/registry/schema/org/openoffice/TypeDetection/UISort.xcs
@@ -28,7 +28,7 @@
</info>
<prop oor:name="SortedFilterList" oor:type="oor:string-list" oor:nillable="false">
<info>
- <desc>Its a sorted list of internal filter names. All filters which are not listed here are appended alphabeticly at the end of this list</desc>
+ <desc>It's a sorted list of internal filter names. All filters which are not listed here are appended alphabetically at the end of this list</desc>
</info>
<value/>
</prop>
diff --git a/onlineupdate/source/libmar/inc/mozilla/Attributes.h b/onlineupdate/source/libmar/inc/mozilla/Attributes.h
index 4d38632dbc4b..1eac3a802bd5 100644
--- a/onlineupdate/source/libmar/inc/mozilla/Attributes.h
+++ b/onlineupdate/source/libmar/inc/mozilla/Attributes.h
@@ -109,7 +109,7 @@
* function at compile time. A constexpr function cannot examine any values
* except its arguments and can have no side effects except its return value.
* The MOZ_CONSTEXPR_VAR specifier tells a C++11 compiler that a variable's
- * value may be computed at compile time. It should be prefered to just
+ * value may be computed at compile time. It should be preferred to just
* marking variables as MOZ_CONSTEXPR because if the compiler does not support
* constexpr it will fall back to making the variable const, and some compilers
* do not accept variables being marked both const and constexpr.
diff --git a/onlineupdate/source/update/common/updatehelper.cxx b/onlineupdate/source/update/common/updatehelper.cxx
index fef3a70a7526..1768e5334048 100644
--- a/onlineupdate/source/update/common/updatehelper.cxx
+++ b/onlineupdate/source/update/common/updatehelper.cxx
@@ -591,7 +591,7 @@ WaitForServiceStop(LPCWSTR serviceName, DWORD maxWaitSeconds)
* Determines if there is at least one process running for the specified
* application. A match will be found across any session for any user.
*
- * @param process The process to check for existance
+ * @param process The process to check for existence
* @return ERROR_NOT_FOUND if the process was not found
* ERROR_SUCCESS if the process was found and there were no errors
* Other Win32 system error code for other errors
diff --git a/onlineupdate/source/update/inc/mozilla/Attributes.h b/onlineupdate/source/update/inc/mozilla/Attributes.h
index 4d38632dbc4b..1eac3a802bd5 100644
--- a/onlineupdate/source/update/inc/mozilla/Attributes.h
+++ b/onlineupdate/source/update/inc/mozilla/Attributes.h
@@ -109,7 +109,7 @@
* function at compile time. A constexpr function cannot examine any values
* except its arguments and can have no side effects except its return value.
* The MOZ_CONSTEXPR_VAR specifier tells a C++11 compiler that a variable's
- * value may be computed at compile time. It should be prefered to just
+ * value may be computed at compile time. It should be preferred to just
* marking variables as MOZ_CONSTEXPR because if the compiler does not support
* constexpr it will fall back to making the variable const, and some compilers
* do not accept variables being marked both const and constexpr.
diff --git a/onlineupdate/source/update/updater/updater.cxx b/onlineupdate/source/update/updater/updater.cxx
index 5e88dff4e2a1..5545d18f301d 100644
--- a/onlineupdate/source/update/updater/updater.cxx
+++ b/onlineupdate/source/update/updater/updater.cxx
@@ -1016,7 +1016,7 @@ public:
// Perform the operation. Return OK to indicate success. After all actions
// have been executed, Finish will be called. A requirement of Execute is
- // that its operation be reversable from Finish.
+ // that its operation be reversible from Finish.
virtual int Execute() = 0;
// Finish is called after execution of all actions. If status is OK, then
@@ -1560,7 +1560,7 @@ PatchFile::Execute()
AutoFile ofile(ensure_open(mFile, NS_T("wb+"), ss.st_mode));
// Modified code from FileUtils.cpp
fstore_t store = {F_ALLOCATECONTIG, F_PEOFPOSMODE, 0, header.dlen};
- // Try to get a continous chunk of disk space
+ // Try to get a continuous chunk of disk space
rv = fcntl(fileno((FILE *)ofile), F_PREALLOCATE, &store);
if (rv == -1) {
// OK, perhaps we are too fragmented, allocate non-continuous
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 1e4d79f700f2..ccfa1bbb2bf9 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -1502,7 +1502,7 @@ SotElement_Impl* OStorage_Impl::InsertElement( const OUString& aName, bool bIsSt
SAL_WARN_IF( !(*pElementIter)->m_bIsRemoved, "package.xstor", "Try to insert an element instead of existing one!" );
if ( (*pElementIter)->m_bIsRemoved )
{
- SAL_WARN_IF( (*pElementIter)->m_bIsInserted, "package.xstor", "Inserted elements must be deleted immediatelly!" );
+ SAL_WARN_IF( (*pElementIter)->m_bIsInserted, "package.xstor", "Inserted elements must be deleted immediately!" );
pDeletedElm = *pElementIter;
break;
}
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 8107ae4e1998..c1bd32a2ff99 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -1379,7 +1379,7 @@ void SAL_CALL ZipPackage::commitChanges()
}
catch (const ucb::ContentCreationException& r)
{
- throw WrappedTargetException(THROW_WHERE "Temporary file should be createable!",
+ throw WrappedTargetException(THROW_WHERE "Temporary file should be creatable!",
static_cast < OWeakObject * > ( this ), makeAny ( r ) );
}
if ( xTempInStream.is() )
diff --git a/qadevOOo/tests/java/ifc/awt/_XSpinField.java b/qadevOOo/tests/java/ifc/awt/_XSpinField.java
index e658d40e6bad..d7044a3c3073 100644
--- a/qadevOOo/tests/java/ifc/awt/_XSpinField.java
+++ b/qadevOOo/tests/java/ifc/awt/_XSpinField.java
@@ -155,7 +155,7 @@ public class _XSpinField extends MultiMethodTest {
/**
* Removes the listener, then calls <code>up</code> method and
- * checks if te listener wasn't called. <p>
+ * checks if the listener wasn't called. <p>
* Has <b>OK</b> status if listener wasn't called. <p>
* The following method tests are to be completed successfully before :
* <ul>
diff --git a/qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java b/qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java
index e07464b48477..10a5f2d1d6f0 100644
--- a/qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java
+++ b/qadevOOo/tests/java/mod/_toolkit/MutableTreeDataModel.java
@@ -89,7 +89,7 @@ public class MutableTreeDataModel extends TestCase {
try {
xModel.setRoot(node);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
- log.println("ERROR: could not preform event: " + ex.toString());
+ log.println("ERROR: could not perform event: " + ex.toString());
ex.printStackTrace();
}
diff --git a/reportbuilder/java/org/libreoffice/report/ReportJob.java b/reportbuilder/java/org/libreoffice/report/ReportJob.java
index 3866bc600315..f10d505d78b2 100644
--- a/reportbuilder/java/org/libreoffice/report/ReportJob.java
+++ b/reportbuilder/java/org/libreoffice/report/ReportJob.java
@@ -47,7 +47,7 @@ public interface ReportJob
* Although we might want to run the job as soon as it has been
* created, sometimes it is wiser to let the user add some listeners
* first. If we execute at once, the user either has to deal with
- * threading code or wont receive any progress information in single
+ * threading code or won't receive any progress information in single
* threaded environments.
* @throws java.io.IOException
* @throws ReportExecutionException
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java b/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java
index 6c598556da7d..480bca548e7e 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java
@@ -290,7 +290,7 @@ public class PentahoReportJob implements ReportJob
/**
* Although we might want to run the job as soon as it has been created, sometimes it is
* wiser to let the user add some listeners first. If we execute at once, the user
- * either has to deal with threading code or wont receive any progress information in
+ * either has to deal with threading code or won't receive any progress information in
* single threaded environments.
*/
public void execute()
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java
index 55dcff39e649..52ce34274de4 100644
--- a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java
+++ b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/ImageElementLayoutController.java
@@ -71,8 +71,8 @@ public class ImageElementLayoutController
final FormulaExpression formulaExpression = imageElement.getFormula();
if (formulaExpression == null)
{
- // A static image is easy. At least at this level. Dont ask about the weird things we have to do in the
- // output targets ...
+ // A static image is easy. At least at this level. Don't ask about the weird things we have to do in the
+ // output targets...
final String linkTarget = imageElement.getImageData();
generateImage(target, linkTarget, imageElement.getScaleMode(), imageElement.isPreserveIRI());
}
@@ -137,7 +137,7 @@ public class ImageElementLayoutController
final Section tableRow = (Section) rowController.getNode();
// we are now making the assumption, that the row is a section, that contains the table-cell.
// This breaks the ability to return nodes or to construct reports on the fly, but the OO-report format
- // is weird anyway and wont support such advanced techniques for the next few centuries ..
+ // is weird anyway and won't support such advanced techniques for the next few centuries...
final int columnPos = findNodeInSection(tableRow, tableCell, OfficeToken.COVERED_TABLE_CELL);
if (columnPos == -1)
{
diff --git a/rsc/inc/rsctop.hxx b/rsc/inc/rsctop.hxx
index 13cdbc5a056d..1f5f44c18e9d 100644
--- a/rsc/inc/rsctop.hxx
+++ b/rsc/inc/rsctop.hxx
@@ -106,13 +106,13 @@ public:
RSCINST * pGetInst );
// returns instance from a value
- // returnd pGetInst may be NULL
+ // returned pGetInst may be NULL
virtual ERRTYPE GetValueEle( const RSCINST & rInst, sal_Int32 lValue,
RscTop * pCreateClass,
RSCINST * pGetInst );
// returns instance from an array
- // returnd pGetInst may be NULL
+ // returned pGetInst may be NULL
virtual ERRTYPE GetArrayEle( const RSCINST & rInst, Atom nId,
RscTop * pCreateClass,
RSCINST * pGetInst );
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index a47cb9b55ed2..aabf837edece 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -1967,7 +1967,7 @@ SCSIZE ScTable::FillMaxRot( RowInfo* pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCCO
bool bHitOne = true;
if ( nCol > nX2+1 )
{
- // Does the rotated cell extend into the visable range?
+ // Does the rotated cell extend into the visible range?
SCCOL nTouchedCol = nCol;
long nWidth = static_cast<long>(mpRowHeights->getValue(nRow) * nFactor);
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 243faa72905b..795e4e728087 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -316,7 +316,7 @@ ScCompiler::Convention::Convention( FormulaGrammar::AddressConvention eConv )
// tdf#56036: Allow tabs/newlines in imported formulas (for now simply treat them as (and convert to) space)
// TODO: tdf#76310: allow saving newlines as is (as per OpenFormula specification v.1.2, clause 5.14 "Whitespace")
// This is compliant with the OASIS decision (see https://issues.oasis-open.org/browse/OFFICE-701)
-// Also, this would enable correct roundtrip from/to OOXML without loosing tabs/newlines
+// Also, this would enable correct roundtrip from/to OOXML without losing tabs/newlines
// This requires saving actual space characters in ocSpaces token, using them in UI and saving
/* tab */ t[ 9] = SC_COMPILER_C_CHAR_DONTCARE | SC_COMPILER_C_WORD_SEP | SC_COMPILER_C_VALUE_SEP;
/* lf */ t[10] = SC_COMPILER_C_CHAR_DONTCARE | SC_COMPILER_C_WORD_SEP | SC_COMPILER_C_VALUE_SEP;
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index 242085699ddc..cfc3fa75fb38 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -1860,7 +1860,7 @@ void XclExpRow::Finalize( const ScfUInt16Vec& rColXFIndexes, bool bProgress )
// *** Fill gaps with BLANK/MULBLANK cell records *** ---------------------
- /* This is needed because nonexistant cells in Calc are not formatted at all,
+ /* This is needed because nonexistent cells in Calc are not formatted at all,
but in Excel they would have the column default format. Blank cells that
are equal to the respective column default are removed later in this function. */
if( !mbAlwaysEmpty )
@@ -2192,7 +2192,7 @@ void XclExpRowBuffer::Finalize( XclExpDefaultRowData& rDefRowData, const ScfUInt
if ( pPrev->IsDefaultable())
{
// if the previous row we processed is not
- // defaultable then afaict the rows inbetween are
+ // defaultable then afaict the rows in between are
// not used ( and not repeatable )
sal_uInt32 nRpt = rRow->GetXclRow() - pPrev->GetXclRow();
if ( nRpt > 1 )
diff --git a/sc/source/filter/inc/sheetdatabuffer.hxx b/sc/source/filter/inc/sheetdatabuffer.hxx
index a44db3431741..de9138d8af47 100644
--- a/sc/source/filter/inc/sheetdatabuffer.hxx
+++ b/sc/source/filter/inc/sheetdatabuffer.hxx
@@ -87,7 +87,7 @@ public:
private:
typedef ::std::map< sal_Int32, ValueRangeVector > ColSpanVectorMap;
- ColSpanVectorMap maColSpans; /// Buffereed column spans, mapped by row index.
+ ColSpanVectorMap maColSpans; /// Buffered column spans, mapped by row index.
sal_Int32 mnCurrRow; /// Current row index used for buffered cell import.
};
diff --git a/sc/source/filter/inc/xlescher.hxx b/sc/source/filter/inc/xlescher.hxx
index f235cf9fa7fd..07f7aa34f893 100644
--- a/sc/source/filter/inc/xlescher.hxx
+++ b/sc/source/filter/inc/xlescher.hxx
@@ -166,7 +166,7 @@ const sal_uInt16 EXC_OBJ_BUTTON_HELP = 0x0002;
const sal_uInt16 EXC_OBJ_BUTTON_CANCEL = 0x0004;
const sal_uInt16 EXC_OBJ_BUTTON_CLOSE = 0x0008;
-// BIFF5 checkboxs, radio buttons
+// BIFF5 checkboxes, radio buttons
const sal_uInt16 EXC_OBJ_CHECKBOX_UNCHECKED = 0;
const sal_uInt16 EXC_OBJ_CHECKBOX_CHECKED = 1;
const sal_uInt16 EXC_OBJ_CHECKBOX_TRISTATE = 2;
diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx
index 28d3e4e10a6c..9e15801c699e 100644
--- a/sc/source/ui/formdlg/formula.cxx
+++ b/sc/source/ui/formdlg/formula.cxx
@@ -246,7 +246,7 @@ void ScFormulaDlg::dispose()
ScFormEditData* pData = pScMod->GetFormEditData();
m_aHelper.dispose();
- if (pData) // close dosen't destroy;
+ if (pData) // close doesn't destroy;
{
//set back reference input handler
pScMod->SetRefInputHdl(nullptr);
diff --git a/sc/source/ui/vba/vbaworksheets.cxx b/sc/source/ui/vba/vbaworksheets.cxx
index 2fb6e1843fd9..703eff323f9c 100644
--- a/sc/source/ui/vba/vbaworksheets.cxx
+++ b/sc/source/ui/vba/vbaworksheets.cxx
@@ -52,7 +52,7 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-// a map ( or hashmap ) wont do as we need also to preserve the order
+// a map ( or hashmap ) won't do as we need also to preserve the order
// (as added ) of the items
typedef std::vector< uno::Reference< sheet::XSpreadsheet > > SheetMap;
@@ -154,7 +154,7 @@ public:
if ( !xIf.is() )
{
// if the Sheet is in a document created by the api unfortunately ( at the
- // moment, it actually wont have the special Document modules
+ // moment, it actually won't have the special Document modules
uno::Reference< excel::XWorksheet > xNewSheet( new ScVbaWorksheet( m_xParent, m_xContext, xSheet, m_xModel ) );
aRet <<= xNewSheet;
}
@@ -201,7 +201,7 @@ ScVbaWorksheets::createCollectionObject( const uno::Any& aSource )
if ( !xIf.is() )
{
// if the Sheet is in a document created by the api unfortunately ( at the
- // moment, it actually wont have the special Document modules
+ // moment, it actually won't have the special Document modules
uno::Reference< excel::XWorksheet > xNewSheet( new ScVbaWorksheet( getParent(), mxContext, xSheet, mxModel ) );
aRet <<= xNewSheet;
}
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 69c16cef2bbe..935d730eaeea 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -4738,7 +4738,7 @@ void ScGridWindow::UpdateFormulas()
if ( nPaintCount )
{
- // Do nto start, switched to paint
+ // Do not start, switched to paint
// (then at least the MapMode would no longer be right)
bNeedsRepaint = true; // -> at end of paint run Invalidate on all
@@ -5079,7 +5079,7 @@ static void lcl_PaintRefChanged( ScDocShell* pDocSh, const ScRange& rOldUn, cons
lcl_PaintOneRange( pDocSh, aOld, SCE_ALL );
}
- else // Test all four corners seperately
+ else // Test all four corners separately
{
// upper part
if ( nNewRow1 < nOldRow1 ) // only delete upper line
diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx
index e8335c437f19..dbf146cae3d8 100644
--- a/sc/source/ui/view/gridwin3.cxx
+++ b/sc/source/ui/view/gridwin3.cxx
@@ -242,7 +242,7 @@ MapMode ScGridWindow::GetDrawMapMode( bool bForce )
// FIXME this shouldn't be necessary once we change the entire Calc to
// work in the logic coordinates (ideally 100ths of mm - so that it is
// the same as editeng and drawinglayer), and get rid of all the
- // SetMapMode's and other unneccessary fun we have with pixels
+ // SetMapMode's and other unnecessary fun we have with pixels
if (comphelper::LibreOfficeKit::isActive())
{
return pViewData->GetLogicMode();
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 9005f8b5b672..c6f0a6c67bf4 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -71,7 +71,7 @@ static void lcl_LimitRect( Rectangle& rRect, const Rectangle& rVisible )
if ( rRect.Top() < rVisible.Top()-1 ) rRect.Top() = rVisible.Top()-1;
if ( rRect.Bottom() > rVisible.Bottom()+1 ) rRect.Bottom() = rVisible.Bottom()+1;
- // The header row must be drawn also when the inner rectangle is not visable,
+ // The header row must be drawn also when the inner rectangle is not visible,
// that is why there is no return value anymore.
// When it is far away, then lcl_DrawOneFrame is not even called.
}
@@ -595,7 +595,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
// FIXME this shouldn't be necessary once we change the entire Calc to
// work in the logic coordinates (ideally 100ths of mm - so that it is
// the same as editeng and drawinglayer), and get rid of all the
- // SetMapMode's and other unneccessary fun we have with pixels
+ // SetMapMode's and other unnecessary fun we have with pixels
// See also ScGridWindow::GetDrawMapMode() for the rest of this hack
aDrawMode.SetOrigin(PixelToLogic(Point(nScrX, nScrY), aDrawMode));
}
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index ecb50caa53cc..9895bb79e14b 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -245,7 +245,7 @@ void ScTabView::InitScrollBar( ScrollBar& rScrollBar, long nMaxVal )
{
rScrollBar.SetRange( Range( 0, nMaxVal ) );
rScrollBar.SetLineSize( 1 );
- rScrollBar.SetPageSize( 1 ); // is queried seperately
+ rScrollBar.SetPageSize( 1 ); // is queried separately
rScrollBar.SetVisibleSize( 10 ); // is reset by Resize
rScrollBar.SetScrollHdl( LINK(this, ScTabView, ScrollHdl) );
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index a81cf4b31786..9cd1fe70a645 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -547,7 +547,7 @@ sal_Int32 GetNullDate( const uno::Reference< beans::XPropertySet >& xOptions )
* The International Standard IS-8601 has decreed that Monday
* shall be the first day of the week.
*
- * A week that lies partly in one year and partly in annother
+ * A week that lies partly in one year and partly in another
* is assigned a number in the year in which most of its days lie.
*
* That means that week 1 of any year is the week that contains the 4. January
diff --git a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
index 25b6f1c648f4..8291231e734f 100644
--- a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
+++ b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
@@ -280,7 +280,7 @@ public class SecurityDialog extends WeakBase implements
xPSetButton.setPropertyValue("TabIndex", Short.valueOf((short)1));
xPSetButton.setPropertyValue("Label", _runMacro);
- // create the Dont Run Macro button model and set the properties
+ // create the Don't Run Macro button model and set the properties
Object doNotRunButtonModel =
xMultiServiceFactory.createInstance(
"com.sun.star.awt.UnoControlButtonModel");
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index f71697e4bfc3..730d68264511 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -350,7 +350,7 @@ public:
// This is to be replaced by Resize.
// virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize);
- /** Set position and size of the GUI elements that are controllerd by
+ /** Set position and size of the GUI elements that are controlled by
the view shell like rulers and scroll bars as well as the actual
document view according to the position and size that were given
with the last Resize() call.
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index f862a0ad1a02..50975690c27b 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -390,7 +390,7 @@ bool SlideSorter::RelocateToWindow (vcl::Window* pParentWindow)
// For accessibility we have to shortly hide the content window. This
// triggers the construction of a new accessibility object for the new
- // view shell. (One is created earlier while the construtor of the base
+ // view shell. (One is created earlier while the constructor of the base
// class is executed. But because at that time the correct
// accessibility object can not be constructed we do that now.)
if (mpContentWindow.get() !=nullptr)
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
index cbb97f5a2ab4..9fc0c14aa63b 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
@@ -176,7 +176,7 @@ void SlideSorterViewShell::Initialize()
// For accessibility we have to shortly hide the content window.
// This triggers the construction of a new accessibility object for
- // the new view shell. (One is created earlier while the construtor
+ // the new view shell. (One is created earlier while the constructor
// of the base class is executed. At that time the correct
// accessibility object can not be constructed.)
sd::Window *pWindow (mpSlideSorter->GetContentWindow());
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index da0a92c697ad..b7bf6f79d761 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -153,7 +153,7 @@ private:
{
// check the encryption data
// if the data correct is the stream will be opened successfully
- // and immediatelly closed
+ // and immediately closed
::comphelper::OStorageHelper::SetCommonStorageEncryptionData( mxStorage, rEncryptionData );
mxStorage->openStreamElement(
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index e0cfeee40af8..040374870fa6 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -306,7 +306,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq )
// aus verschachtelten Requests nach 100ms nochmal probieren
if( Application::GetDispatchLevel() > 1 )
{
- /* Dont save the request for closing the application and try it later
+ /* Don't save the request for closing the application and try it later
again. This is an UI bound functionality ... and the user will try it again
if the dialog is closed. But we should not close the application automatically
if this dialog is closed by the user ...
diff --git a/sfx2/source/bastyp/bitset.cxx b/sfx2/source/bastyp/bitset.cxx
index 39cba96d7cd5..b13220507aea 100644
--- a/sfx2/source/bastyp/bitset.cxx
+++ b/sfx2/source/bastyp/bitset.cxx
@@ -24,7 +24,7 @@
#include <string.h>
#include <limits.h>
-// creates the asymetric difference with another bitset
+// creates the asymmetric difference with another bitset
IndexBitSet& IndexBitSet::operator-=(sal_uInt16 nBit)
{
diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx
index 982579ed1905..97108463c7e5 100644
--- a/sfx2/source/control/recentdocsviewitem.cxx
+++ b/sfx2/source/control/recentdocsviewitem.cxx
@@ -214,7 +214,7 @@ void RecentDocsViewItem::OpenDocument()
if (xDispatch.is())
{
- // Call dispatch asychronously as we can be destroyed while dispatch is
+ // Call dispatch asynchronously as we can be destroyed while dispatch is
// executed. VCL is not able to survive this as it wants to call listeners
// after select!!!
LoadRecentFile* pLoadRecentFile = new LoadRecentFile;
diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx
index eecca2634303..4cc541d3c674 100644
--- a/sfx2/source/doc/DocumentMetadataAccess.cxx
+++ b/sfx2/source/doc/DocumentMetadataAccess.cxx
@@ -772,7 +772,7 @@ DocumentMetadataAccess::DocumentMetadataAccess(
const IXmlIdRegistrySupplier & i_rRegistrySupplier)
: m_pImpl(new DocumentMetadataAccess_Impl(i_xContext, i_rRegistrySupplier))
{
- // no initalization: must call loadFrom...
+ // no initialization: must call loadFrom...
}
DocumentMetadataAccess::DocumentMetadataAccess(
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index ef2795f52a8c..06af9ff094a4 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -674,9 +674,9 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
// so it has to be restored to true here since it is a call from GUI
GetMedium()->SetUpdatePickList( true );
- // TODO: in future it must be done in followind way
- // if document is opened from GUI it is immediatelly appears in the picklist
- // if the document is a new one then it appears in the picklist immediatelly
+ // TODO: in future it must be done in following way
+ // if document is opened from GUI, it immediately appears in the picklist
+ // if the document is a new one then it appears in the picklist immediately
// after SaveAs operation triggered from GUI
}
catch( const task::ErrorCodeIOException& aErrorEx )
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index e1f8c2618afa..603b39989c49 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -833,7 +833,7 @@ void SfxFrame::CreateWorkWindow_Impl()
}
catch(Exception&)
{
- OSL_FAIL("SfxFrame::CreateWorkWindow_Impl: Exception caught. Please try to submit a reproducable bug!");
+ OSL_FAIL("SfxFrame::CreateWorkWindow_Impl: Exception caught. Please try to submit a reproducible bug!");
}
}
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 321526d73f96..5eb776a3378e 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1251,7 +1251,7 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
// Only force and Dispatcher-Update, if it is done next
// anyway, otherwise flickering or GPF is possibel since
- // the Writer for example prefers in Resize preform some
+ // the Writer for example prefers in Resize perform some
// actions which has a SetReadOnlyUI in Dispatcher as a
// result!
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index 33f0bfe004a2..c431a6ab4ffa 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -280,7 +280,7 @@ void SfxPrinterController::printPage( int i_nPage ) const
}
catch( lang::IllegalArgumentException& )
{
- // don't care enough about nonexistant page here
+ // don't care enough about nonexistent page here
// to provoke a crash
}
catch (lang::DisposedException &)
diff --git a/shell/inc/internal/zipfile.hxx b/shell/inc/internal/zipfile.hxx
index 7ccd4bb65ec3..011881db42e7 100644
--- a/shell/inc/internal/zipfile.hxx
+++ b/shell/inc/internal/zipfile.hxx
@@ -131,7 +131,7 @@ public:
*/
DirectoryPtr_t GetDirectory() const;
- /** Convinience query function may even realized with
+ /** Convenience query function may even realized with
iterating over a ZipFileDirectory returned by
GetDirectory
*/
diff --git a/shell/source/win32/zipfile/zipfile.cxx b/shell/source/win32/zipfile/zipfile.cxx
index c8228016c413..c701f8ef7ff9 100644
--- a/shell/source/win32/zipfile/zipfile.cxx
+++ b/shell/source/win32/zipfile/zipfile.cxx
@@ -531,7 +531,7 @@ ZipFile::DirectoryPtr_t ZipFile::GetDirectory() const
return dir;
}
-/** Convinience query function may even realized with
+/** Convenience query function may even realized with
iterating over a ZipFileDirectory returned by
GetDirectory */
bool ZipFile::HasContent(const std::string &ContentName) const
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index 45c0296db896..421626363feb 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -587,7 +587,7 @@ BaseStorage* Storage::OpenStorage( const OUString& rName, StreamMode m, bool bDi
if( p && pEntry->m_nRefCnt == 1 )
p->m_bDirect = bDirect;
- // Dont check direct conflict if opening readonly
+ // Don't check direct conflict if opening readonly
if( p && (m & StreamMode::WRITE ))
{
if( p->m_bDirect != bDirect )
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 809cfa5925bd..5f1bde5d64ad 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -1183,7 +1183,7 @@ void SfxItemSet::MergeValues( const SfxItemSet& rSet, bool bIgnoreDefaults )
MergeValue( rSet.GetPool()->GetDefaultItem( nWhich ), bIgnoreDefaults );
}
else if( IsInvalidItem( pItem ) )
- // dont care
+ // don't care
InvalidateItem( nWhich );
else
MergeValue( *pItem, bIgnoreDefaults );
diff --git a/svx/inc/sdr/contact/objectcontactofpageview.hxx b/svx/inc/sdr/contact/objectcontactofpageview.hxx
index 83f189e2ec11..5f8728662b2a 100644
--- a/svx/inc/sdr/contact/objectcontactofpageview.hxx
+++ b/svx/inc/sdr/contact/objectcontactofpageview.hxx
@@ -52,7 +52,7 @@ namespace sdr
virtual ~ObjectContactOfPageView();
// LazyInvalidate request. This is used from the VOCs to mark that they
- // got invalidated by an ActionCanged() call. An active view needs to remember
+ // got invalidated by an ActionChanged() call. An active view needs to remember
// this and take action on it. Default implementation directly calls back
// triggerLazyInvalidate() which promptly handles the request
virtual void setLazyInvalidate(ViewObjectContact& rVOC) override;
@@ -60,7 +60,7 @@ namespace sdr
// call this to support evtl. preparations for repaint
virtual void PrepareProcessDisplay() override;
- // From baseclass Timer, the timeout call triggered by te LazyInvalidate mechanism
+ // From baseclass Timer, the timeout call triggered by the LazyInvalidate mechanism
virtual void Invoke() override;
// Process the whole displaying
diff --git a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
index c2249e91e795..bd3e3da0605b 100644
--- a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
@@ -8503,7 +8503,7 @@ const mso_CustomShape* GetCustomShapeContent( MSO_SPT eSpType )
case mso_sptCurvedConnector4 : pCustomShape = &msoCurvedConnector4; break;
case mso_sptCurvedConnector5 : pCustomShape = &msoCurvedConnector5; break;
- // Dont know, simply mapping to TextSimple
+ // Don't know, simply mapping to TextSimple
case mso_sptTextOnRing :
case mso_sptTextOnCurve :
case mso_sptTextRing :
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index ba48e63ba6b1..fe3432669c02 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -124,9 +124,9 @@ void RecoveryCore::saveBrokenTempEntries(const OUString& rPath)
lCopyArgs[1].Name = PROP_SAVEPATH;
lCopyArgs[1].Value <<= rPath;
lCopyArgs[2].Name = PROP_ENTRYID;
- // lCopyArgs[2].Value will be changed during next loop ...
+ // lCopyArgs[2].Value will be changed during next loop...
- // work on a copied list only ...
+ // work on a copied list only...
// Reason: We will get notifications from the core for every
// changed or removed element. And that will change our m_lURLs list.
// That's not a good idea, if we use a stl iterator inbetween .-)
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 5741e29eeeda..64f037bf7a80 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -437,7 +437,7 @@ void SvxSearchDialog::Construct_Impl()
InitControls_Impl();
- // Get attribute sets only once in construtor()
+ // Get attribute sets only once in constructor()
const SfxPoolItem* ppArgs[] = { pSearchItem, nullptr };
const SvxSetItem* pSrchSetItem =
static_cast<const SvxSetItem*>( rBindings.GetDispatcher()->Execute( FID_SEARCH_SEARCHSET, SfxCallMode::SLOT, ppArgs ) );
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index 53d35acf95fb..e0224f462bd7 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -466,7 +466,7 @@ E3dScene& E3dScene::operator=(const E3dScene& rObj)
// and would create a lot of short living data structures.
// It is currently better to flush that data, e.g. by using
// ActionChanged at the VC which will for this class
- // flush that cached data and initalize it's valid reconstruction
+ // flush that cached data and initialize its valid reconstruction
GetViewContact().ActionChanged();
return *this;
}
diff --git a/sw/inc/fmtcolfunc.hxx b/sw/inc/fmtcolfunc.hxx
index 452db0350669..ed7162f7968e 100644
--- a/sw/inc/fmtcolfunc.hxx
+++ b/sw/inc/fmtcolfunc.hxx
@@ -63,7 +63,7 @@ namespace TextFormatCollFunc
*/
void AddToNumRule( SwTextFormatColl& rTextFormatColl );
- /** removes te given paragraph style from the directly set list style
+ /** removes the given paragraph style from the directly set list style
Note: If the given paragraph style has no directly set list style, nothing happens
diff --git a/sw/qa/extras/htmlimport/htmlimport.cxx b/sw/qa/extras/htmlimport/htmlimport.cxx
index e6d9c92752a0..4f8ec0e227b0 100644
--- a/sw/qa/extras/htmlimport/htmlimport.cxx
+++ b/sw/qa/extras/htmlimport/htmlimport.cxx
@@ -92,7 +92,7 @@ DECLARE_HTMLIMPORT_TEST(testInlinedImagesPageAndParagraph, "PageAndParagraphFill
CPPUNIT_ASSERT(pTextDoc);
// The document contains embedded pictures inlined for PageBackground and
- // ParagraphBackground, check for their existance after import
+ // ParagraphBackground, check for their existence after import
SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
SwEditShell* pEditShell = pDoc->GetEditShell();
CPPUNIT_ASSERT(pEditShell);
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 53507f68b9b5..42953d6ae5cc 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -3126,7 +3126,7 @@ void SwUiWriterTest::testTdf96479()
{
// Save and load cycle
// Actually not needed, but the bug symptom of a missing bookmark
- // occured because a broken bookmar was saved and loading silently
+ // occurred because a broken bookmar was saved and loading silently
// dropped the broken bookmark!
utl::TempFile aTempFile;
save("writer8", aTempFile);
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 1cbe47147eda..a82075e8390d 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -3219,7 +3219,7 @@ void DocumentContentOperationsManager::CopyWithFlyInFly(
// partial 1st paragraph of redline is not copied.
// But the DelFlyInRange() that is called from DelCopyOfSection() does not
// delete it either, and it also does not delete those on partial last para of
-// redline, so copying those is supressed here too ...
+// redline, so copying those is suppressed here too ...
void DocumentContentOperationsManager::CopyFlyInFlyImpl(
const SwNodeRange& rRg,
const sal_Int32 nEndContentIndex,
@@ -4353,7 +4353,7 @@ bool DocumentContentOperationsManager::CopyImpl( SwPaM& rPam, SwPosition& rPos,
else if( bCanMoveBack )
{ //Insertion at the first position of a text node. It will not be splitted, the table
// will be inserted before the text node.
- // See below, before the SetInsertRange funciton of the undo object will be called,
+ // See below, before the SetInsertRange function of the undo object will be called,
// the CpyPam would be moved to the next content position. This has to be avoided
// We want to be moved to the table node itself thus we have to set bCanMoveBack
// and to manipulate pCopyPam.
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx
index 33c3ad0b4c16..1d334b504920 100644
--- a/sw/source/core/doc/textboxhelper.cxx
+++ b/sw/source/core/doc/textboxhelper.cxx
@@ -643,7 +643,7 @@ void SwTextBoxHelper::syncFlyFrameAttr(SwFrameFormat& rShape, SfxItemSet& rSet)
aTextBoxSet.Put(aOrient);
- // restore height (shrinked for extending beyond the page bottom - tdf#91260)
+ // restore height (shrunk for extending beyond the page bottom - tdf#91260)
SwFormatFrameSize aSize(pFormat->GetFrameSize());
if (!aRect.IsEmpty())
{
diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx
index 52de1168b99a..b5fb02327a68 100644
--- a/sw/source/core/frmedt/fews.cxx
+++ b/sw/source/core/frmedt/fews.cxx
@@ -471,7 +471,7 @@ void SwFEShell::InsertLabel( const SwLabelType eType, const OUString &rText, con
//content was a frame/graphic, then set the contained element
//to as-char anchoring because that's all msword is able to
//do when inside a frame, and in writer for freshly captioned
- //elements it's largely irrelevent what the anchor of the contained
+ //elements it's largely irrelevant what the anchor of the contained
//type is but making it as-char by default results in very
//good roundtripping
if (pFlyFormat && bInnerCntIsFly)
diff --git a/sw/source/core/inc/ascharanchoredobjectposition.hxx b/sw/source/core/inc/ascharanchoredobjectposition.hxx
index 1a2fb9e70bef..207130b40663 100644
--- a/sw/source/core/inc/ascharanchoredobjectposition.hxx
+++ b/sw/source/core/inc/ascharanchoredobjectposition.hxx
@@ -87,7 +87,7 @@ namespace objectpositioning
const SwFormatVertOrient& _rVert );
public:
- /** construtor; provided object to be positioned and needed data
+ /** constructor; provided object to be positioned and needed data
for calculation of the object position
@param _rDrawObj
diff --git a/sw/source/core/inc/environmentofanchoredobject.hxx b/sw/source/core/inc/environmentofanchoredobject.hxx
index 13415589191e..10cc50058a00 100644
--- a/sw/source/core/inc/environmentofanchoredobject.hxx
+++ b/sw/source/core/inc/environmentofanchoredobject.hxx
@@ -31,7 +31,7 @@ namespace objectpositioning
const bool mbFollowTextFlow;
public:
- /** construtor
+ /** constructor
@param _bFollowTextFlow
input parameter - indicates, if the anchored object, for which
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index d4aace514393..21d5b3215694 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -482,7 +482,7 @@ bool SwTabPortion::PostFormat( SwTextFormatInfo &rInf )
const sal_uInt16 nAdjDiff = nDiffWidth - nPorWidth;
if( nAdjDiff > GetFixWidth() )
PrtWidth( nAdjDiff );
- // Dont be afraid: we have to move rInf further.
+ // Don't be afraid: we have to move rInf further.
// The right-tab till now only had the width of one blank.
// Now that we stretched, the difference had to be added to rInf.X() !
rInf.X( rInf.X() + PrtWidth() - nOldWidth );
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 4389f10b293e..e49cfe152763 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -2571,7 +2571,7 @@ bool SwDrawTextInfo::ApplyAutoColor( vcl::Font* pFont )
{
if (aFillAttributes.get() && aFillAttributes->isUsed())
{
- // First see if fill atttributes provide a color.
+ // First see if fill attributes provide a color.
aColor = Color(aFillAttributes->getAverageColor(aGlobalRetoucheColor.getBColor()));
pCol = &aColor;
}
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index e42b6dc559af..6b5abd809b68 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1774,7 +1774,7 @@ bool SwTextNode::IsIgnoredCharFormatForNumbering(const sal_uInt16 nWhich)
return (nWhich == RES_CHRATR_UNDERLINE || nWhich == RES_CHRATR_COLOR || nWhich == RES_CHRATR_BACKGROUND || nWhich == RES_CHRATR_ESCAPEMENT);
}
-//In MS Word, following properties of the paragraph end position wont affect the formatting of bullets, so we ignore them:
+//In MS Word, following properties of the paragraph end position won't affect the formatting of bullets, so we ignore them:
//Font underline;
//Font Italic of Western, CJK and CTL;
//Font Bold of Wertern, CJK and CTL;
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 4bce779bc2f7..a22b4da2b70f 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1910,7 +1910,7 @@ SwChartDataSequence::SwChartDataSequence(
}
catch (uno::RuntimeException &)
{
- // TODO: shouldnt there be a call to release() here?
+ // TODO: shouldn't there be a call to release() here?
throw;
}
catch (uno::Exception &)
@@ -1958,7 +1958,7 @@ SwChartDataSequence::SwChartDataSequence( const SwChartDataSequence &rObj ) :
}
catch (uno::RuntimeException &)
{
- // TODO: shouldnt there be a call to release() here?
+ // TODO: shouldn't there be a call to release() here?
throw;
}
catch (uno::Exception &)
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index b3d00eec2861..f30d1c176a7a 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -1499,7 +1499,7 @@ throw (uno::RuntimeException, std::exception)
SwUnoCursor & rUnoCursor( m_pImpl->GetCursorOrThrow() );
SwUnoCursorHelper::SelectPam(rUnoCursor, Expand);
- // if we're at the para start then we wont move
+ // if we're at the para start then we won't move
// but bRet is also true if GoSentence failed but
// the start of the sentence is reached
bool bRet = SwUnoCursorHelper::IsStartOfPara(rUnoCursor)
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index b50d3954aeb8..01c87e6f0999 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -1822,7 +1822,7 @@ void SwXStyle::SetStyleProperty(const SfxItemPropertySimpleEntry& rEntry, const
if(!pUnoToCore)
{
pUnoToCore.reset(new std::map<propertytype_t, coresetter_t> {
- // these explicit std::mem_fn() calls shouldnt be needed, but apparently MSVC is currently too stupid for C++11 again
+ // these explicit std::mem_fn() calls shouldn't be needed, but apparently MSVC is currently too stupid for C++11 again
{ FN_UNO_HIDDEN, std::mem_fn(&SwXStyle::SetPropertyValue<FN_UNO_HIDDEN>) },
{ FN_UNO_STYLE_INTEROP_GRAB_BAG, std::mem_fn(&SwXStyle::SetPropertyValue<FN_UNO_STYLE_INTEROP_GRAB_BAG>) },
{ XATTR_FILLGRADIENT, std::mem_fn(&SwXStyle::SetPropertyValue<XATTR_FILLGRADIENT>) },
@@ -3464,7 +3464,7 @@ uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl(
// TextLeft returns the left content if there is one,
// Text and TextRight return the master content.
// TextRight does the same as Text and is for
- // compatability only.
+ // compatibility only.
if( bLeft && !bShare )
{
pFrameFormat = &pDesc->GetLeft();
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index bfb3a40cc25a..f6517164f4ad 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -1469,7 +1469,7 @@ void SwEditWin::KeyInput(const KeyEvent &rKEvt)
const vcl::KeyCode& rKeyCode = aKeyEvent.GetKeyCode();
sal_Unicode aCh = aKeyEvent.GetCharCode();
- // enable switching to notes ankor with Ctrl - Alt - Page Up/Down
+ // enable switching to notes anchor with Ctrl - Alt - Page Up/Down
// pressing this inside a note will switch to next/previous note
if ((rKeyCode.IsMod1() && rKeyCode.IsMod2()) && ((rKeyCode.GetCode() == KEY_PAGEUP) || (rKeyCode.GetCode() == KEY_PAGEDOWN)))
{
diff --git a/sw/source/uibase/uno/unomailmerge.cxx b/sw/source/uibase/uno/unomailmerge.cxx
index 8bb6332f686c..dcfa83aee316 100644
--- a/sw/source/uibase/uno/unomailmerge.cxx
+++ b/sw/source/uibase/uno/unomailmerge.cxx
@@ -548,7 +548,7 @@ uno::Any SAL_CALL SwXMailMerge::execute(
}
// need to translate the selection: the API here requires a sequence of bookmarks, but the MergeNew
- // method we will call below requires a sequence of indicies.
+ // method we will call below requires a sequence of indices.
if ( aCurSelection.getLength() )
{
Sequence< Any > aTranslated( aCurSelection.getLength() );
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index cd2da83083f4..83e5ba7a7475 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -799,7 +799,7 @@ void NeonSession::Init()
// set timeout to connect
// if connect_timeout is not set, neon returns NE_CONNECT when the TCP socket default
// timeout elapses
- // whith connect_timeout set neon returns NE_TIMEOUT if elapsed when the connection
+ // with connect_timeout set neon returns NE_TIMEOUT if elapsed when the connection
// didn't succeed
// grab it from configuration
uno::Reference< uno::XComponentContext > rContext = m_xFactory->getComponentContext();
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index ab05fe82a6f7..4924e02ad845 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -3054,7 +3054,7 @@ void Content::lock(
break;
case DAVException::DAV_LOCKED_SELF:
// we already hold the lock and it is in our internal lockstore
- // just return as if the lock was successfull
+ // just return as if the lock was successful
return;
break;
default:
diff --git a/vcl/inc/unx/printerjob.hxx b/vcl/inc/unx/printerjob.hxx
index 111e7379ef6c..af9ee71632ca 100644
--- a/vcl/inc/unx/printerjob.hxx
+++ b/vcl/inc/unx/printerjob.hxx
@@ -98,7 +98,7 @@ public:
/* rFileName: if length is greater than 0 save resulting PostScript
* to named file.
* nMode: only meaningful when saving to file: if nonzero, try
- * to impose the mode on the resulting file's inode; for nonexistant
+ * to impose the mode on the resulting file's inode; for nonexistent
* files use open, for existent files try a chmod
* rJobName: text to appear in the %%Title comment
* rAppName: text to appear in the %%Creator comment
diff --git a/vcl/source/filter/sgvmain.hxx b/vcl/source/filter/sgvmain.hxx
index 9ff404016a5e..7b3140c969c0 100644
--- a/vcl/source/filter/sgvmain.hxx
+++ b/vcl/source/filter/sgvmain.hxx
@@ -137,7 +137,7 @@ public:
};
#define ObjkSize 20 /* should be 21. due to alignment we shifted the flag */
-class ObjkType { // basic componenents of all Stardraw objects
+class ObjkType { // basic components of all Stardraw objects
public:
sal_uInt32 Last;
sal_uInt32 Next;
@@ -243,7 +243,7 @@ public:
class TextType: public ObjkType {
public:
sal_uInt8 Flags; // (cheat due to alignment in NT)
- sal_uInt8 Reserve; // for Word Allign
+ sal_uInt8 Reserve; // for Word Align
ObjTextType T; // 64 bytes << DWord-Allign needed for FontID
PointType Pos1; // reference point (upper left)
PointType Pos2; // (lower right)
diff --git a/vcl/source/filter/wmf/emfwr.cxx b/vcl/source/filter/wmf/emfwr.cxx
index b400a344b821..eb7864d47e31 100644
--- a/vcl/source/filter/wmf/emfwr.cxx
+++ b/vcl/source/filter/wmf/emfwr.cxx
@@ -291,7 +291,7 @@ bool EMFWriter::WriteEMF(const GDIMetaFile& rMtf)
maVDev->EnableOutput( false );
maVDev->SetMapMode( rMtf.GetPrefMapMode() );
- // don't work with pixel as destination map mode -> higher resolution preferrable
+ // don't work with pixel as destination map mode -> higher resolution preferable
maDestMapMode.SetMapUnit( MAP_100TH_MM );
mpHandlesUsed = new bool[ MAXHANDLES ];
memset( mpHandlesUsed, 0, MAXHANDLES * sizeof( bool ) );
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index f8f049910d85..10d0e9294c12 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -499,7 +499,7 @@ void GDIMetaFile::ImplDelegate2PluggableRenderer( const MetaCommentAction* pAct,
if(xGraphic.is() && xRenderer.is() && xInit.is())
{
- // delay intialization of XGraphic, to only expose
+ // delay initialization of XGraphic, to only expose
// XGraphic-generating services to arbitrary binary data
uno::Sequence< sal_Int8 > aSeq(
reinterpret_cast<sal_Int8 const *>(pData), pEndData-pData );
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 2e4966fc9c52..3ab051d63670 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -12546,7 +12546,7 @@ sal_Int32 PDFWriterImpl::beginStructureElement( PDFWriter::StructElement eType,
// check whether to emit structure henceforth
m_bEmitStructure = checkEmitStructure();
- if( m_bEmitStructure ) // don't create nonexistant objects
+ if( m_bEmitStructure ) // don't create nonexistent objects
{
rEle.m_nObject = createObject();
// update parent's kids list
diff --git a/vcl/unx/generic/app/i18n_cb.cxx b/vcl/unx/generic/app/i18n_cb.cxx
index ee9ec8f0a49f..ee5662ee40a9 100644
--- a/vcl/unx/generic/app/i18n_cb.cxx
+++ b/vcl/unx/generic/app/i18n_cb.cxx
@@ -439,7 +439,7 @@ PreeditCaretCallback ( XIC, XPointer,XIMPreeditCaretCallbackStruct* )
case XIMLineStart: direction = "Line start"; break;
case XIMLineEnd: direction = "Line end"; break;
case XIMAbsolutePosition: direction = "Absolute"; break;
- case XIMDontChange: direction = "Dont change"; break;
+ case XIMDontChange: direction = "Don't change"; break;
}
fprintf (stderr, "PreeditCaretCallback( ic=%p, client=%p,\n",
diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx
index eb89e143f044..152e1633eb39 100644
--- a/vcl/unx/generic/printer/printerinfomanager.cxx
+++ b/vcl/unx/generic/printer/printerinfomanager.cxx
@@ -555,7 +555,7 @@ void PrinterInfoManager::changePrinterInfo( const OUString& rPrinter, const Prin
{
std::unordered_map< OUString, Printer, OUStringHash >::iterator it = m_aPrinters.find( rPrinter );
- DBG_ASSERT( it != m_aPrinters.end(), "Do not change nonexistant printers" );
+ DBG_ASSERT( it != m_aPrinters.end(), "Do not change nonexistent printers" );
if( it != m_aPrinters.end() )
{
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 67a16c7d69d3..313af1e34116 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -1059,7 +1059,7 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException, std
GtkWidget *SalGtkFilePicker::getWidget( sal_Int16 nControlId, GType *pType )
{
OSL_TRACE("control id is %d", nControlId);
- GType tType = GTK_TYPE_TOGGLE_BUTTON; //prevent waring by initializing
+ GType tType = GTK_TYPE_TOGGLE_BUTTON; //prevent warning by initializing
GtkWidget *pWidget = nullptr;
#define MAP_TOGGLE( elem ) \
diff --git a/vcl/unx/gtk/salprn-gtk.cxx b/vcl/unx/gtk/salprn-gtk.cxx
index 92dc95524d89..b5f2c1471709 100644
--- a/vcl/unx/gtk/salprn-gtk.cxx
+++ b/vcl/unx/gtk/salprn-gtk.cxx
@@ -750,7 +750,7 @@ GtkPrintDialog::impl_initPrintContent(uno::Sequence<sal_Bool> const& i_rDisabled
GtkPrintUnixDialog* const pDialog(GTK_PRINT_UNIX_DIALOG(m_pDialog));
// XXX: This is a hack that depends on the number and the ordering of
- // the controls in the rDisabled sequence (cf. the intialization of
+ // the controls in the rDisabled sequence (cf. the initialization of
// the "PrintContent" UI option in SwPrintUIOptions::SwPrintUIOptions,
// sw/source/core/view/printdata.cxx)
if (m_xWrapper->supportsPrintSelection() && !i_rDisabled[2])
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx
index 3ae9745301a0..c3c2f56af179 100644
--- a/vcl/unx/kde4/KDEXLib.cxx
+++ b/vcl/unx/kde4/KDEXLib.cxx
@@ -206,7 +206,7 @@ void KDEXLib::Init()
// and $QT_NO_GLIB is not set). We mostly do not care which one it is, as QSocketNotifier's
// and QTimer's can handle it transparently, but it matters for the SolarMutex, which
// needs to be unlocked shortly before entering the main sleep (e.g. select()) and locked
-// immediatelly after. So we need to know which event loop implementation is used and
+// immediately after. So we need to know which event loop implementation is used and
// hook accordingly.
#if KDE_HAVE_GLIB
#include <glib.h>
@@ -367,7 +367,7 @@ void KDEXLib::timeoutActivated()
// doesn't check X11, so explicitly check XPending() here.
bool idle = QApplication::hasPendingEvents() && !blockIdleTimeout && !XPending( QX11Info::display());
X11SalData::Timeout( idle );
- // QTimer is not single shot, so will be restarted immediatelly
+ // QTimer is not single shot, so will be restarted immediately
}
void KDEXLib::Wakeup()
@@ -397,7 +397,7 @@ void KDEXLib::userEventActivated()
if( ! SalKDEDisplay::self()->HasUserEvents() )
userEventTimer.stop();
SalKDEDisplay::self()->DispatchInternalEvent();
- // QTimer is not single shot, so will be restarted immediatelly
+ // QTimer is not single shot, so will be restarted immediately
}
void KDEXLib::doStartup()
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index bc03845e3e7f..ecc6b68e77dc 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -347,7 +347,7 @@ bool WinFontInstance::AddChunkOfGlyphs(bool bRealGlyphIndices, int nGlyphIndex,
// Try hard to avoid overlap as we want to be able to use
// individual rectangles for each glyph. The ABC widths don't
// take anti-aliasing into consideration. Let's hope that leaving
- // "extra" space inbetween glyphs will help.
+ // "extra" space between glyphs will help.
std::vector<int> aDX(nCount);
int totWidth = 0;
for (int i = 0; i < nCount; i++)
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index c57407d661fd..13acc9aedf9e 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -26,7 +26,7 @@
On slower file formats like .doc you can probably drop the -t and rely on the
estimations, on faster file formats ironically not specifing a timeout will
- result in a hillarious dramatic falloff in performance from thousands per second
+ result in a hilarious dramatic falloff in performance from thousands per second
to teens per second as tiny variations from the initial calculated
timeout will trigger a shutdown of the fftester and a restart and the
startup time is woeful (hence the AFL_PERSISTENT mode in the first place)
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 797e54d2ad3c..043ce36815d8 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -3681,7 +3681,7 @@ void DomainMapper_Impl::CloseFieldCommand()
// OUString sParam = lcl_ExtractParameter(pContext->GetCommand(), sizeof(" COMMENTS") );
// A parameter with COMMENTS shouldn't set fixed
// ( or at least the binary filter doesn't )
- // If we set fixed then we wont export a field cmd.
+ // If we set fixed then we won't export a field cmd.
// Additionally the para in COMMENTS is more like an
// instruction to set the document property comments
// with the param ( e.g. each COMMENT with a param will
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.hxx b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
index 5d47c72e43b2..2cb84ded740f 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.hxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.hxx
@@ -780,7 +780,7 @@ public:
css::uno::Reference<css::container::XIndexAccess> GetCurrentNumberingRules(sal_Int32* pListLevel = nullptr);
/**
- Used for attributes/sprms which cannot be evaluated immediatelly (e.g. they depend
+ Used for attributes/sprms which cannot be evaluated immediately (e.g. they depend
on another one that comes in the same CONTEXT_CHARACTER). The property will be processed
again in DomainMapper::processDeferredCharacterProperties().
*/
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/OfficeDocument.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/OfficeDocument.java
index 839b43100938..9fe83a2a4a51 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/OfficeDocument.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/OfficeDocument.java
@@ -274,7 +274,7 @@ public abstract class OfficeDocument
// Need to read the manifest file and construct a list of objects
NodeList nl = manifestDoc.getElementsByTagName(TAG_MANIFEST_FILE);
- // Dont create the HashMap if there are no embedded objects
+ // Don't create the HashMap if there are no embedded objects
int len = nl.getLength();
for (int i = 0; i < len; i++) {
Node n = nl.item(i);
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java
index c39c2d9d9fd3..c086439bbdec 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/DocumentMergerImpl.java
@@ -91,7 +91,7 @@ public class DocumentMergerImpl implements DocumentMerger {
if (matchingWorkSheet != null) {
// need to put it into a row Iterator
- // use a straight comparision algorithm then do a merge on it
+ // use a straight comparison algorithm then do a merge on it
Iterator i1 = new RowIterator(cc_, workSheet);
Iterator i2 = new RowIterator(cc_, matchingWorkSheet);
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 44f59efe83eb..2fe0d19b7cad 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -3025,7 +3025,7 @@ void SchXMLExportHelper_Impl::exportErrorBar( const Reference<beans::XPropertySe
const SvtSaveOptions::ODFDefaultVersion nCurrentVersion( SvtSaveOptions().GetODFDefaultVersion() );
- /// Dont export X ErrorBars for older ODF versions.
+ /// Don't export X ErrorBars for older ODF versions.
if ( !bYError && nCurrentVersion < SvtSaveOptions::ODFVER_012 )
return;