summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basebmp/test/polytest.cxx2
-rw-r--r--canvas/source/vcl/canvashelper_texturefill.cxx4
-rw-r--r--comphelper/source/container/embeddedobjectcontainer.cxx2
-rw-r--r--include/o3tl/sorted_vector.hxx2
-rw-r--r--package/source/zippackage/ZipPackage.cxx2
-rw-r--r--sd/source/ui/slideshow/slideshowviewimpl.cxx2
-rw-r--r--solenv/gbuild/platform/com_MSC_defs.mk2
-rw-r--r--sw/source/core/layout/wsfrm.cxx2
-rw-r--r--sw/source/core/text/pormulti.cxx2
-rw-r--r--vcl/source/gdi/outdev2.cxx2
-rw-r--r--vcl/source/window/window.cxx4
11 files changed, 13 insertions, 13 deletions
diff --git a/basebmp/test/polytest.cxx b/basebmp/test/polytest.cxx
index 64f693357298..a0371ebe21cc 100644
--- a/basebmp/test/polytest.cxx
+++ b/basebmp/test/polytest.cxx
@@ -220,7 +220,7 @@ private:
// trigger "clipCode1 & aMinFlag/bMinFlag" cases in
// clippedlinerenderer.hxx (note1: needs forcing end point to
- // be clipped as well, otherwise optimisation kicks in. note2:
+ // be clipped as well, otherwise optimization kicks in. note2:
// needs forcing end point to clip on two edges, not only on
// one, otherwise swap kicks in)
const basegfx::B2IPoint aPt5(1,1);
diff --git a/canvas/source/vcl/canvashelper_texturefill.cxx b/canvas/source/vcl/canvashelper_texturefill.cxx
index 8514f8a23473..a34d5df812b1 100644
--- a/canvas/source/vcl/canvashelper_texturefill.cxx
+++ b/canvas/source/vcl/canvashelper_texturefill.cxx
@@ -578,7 +578,7 @@ namespace vclcanvas
// this distinction really looks like a
- // micro-optimisation, but in fact greatly speeds up
+ // micro-optimization, but in fact greatly speeds up
// especially complex gradients. That's because when using
// clipping, we can output polygons instead of
// poly-polygons, and don't have to output the gradient
@@ -963,7 +963,7 @@ namespace vclcanvas
// this distinction really looks like a
- // micro-optimisation, but in fact greatly speeds up
+ // micro-optimization, but in fact greatly speeds up
// especially complex fills. That's because when using
// clipping, we can output polygons instead of
// poly-polygons, and don't have to output the gradient
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 9ccd567235eb..546d51b2ba5b 100644
--- a/comphelper/source/container/embeddedobjectcontainer.cxx
+++ b/comphelper/source/container/embeddedobjectcontainer.cxx
@@ -517,7 +517,7 @@ bool EmbeddedObjectContainer::StoreEmbeddedObject( const uno::Reference < embed:
xPersist->storeToEntry( pImpl->mxStorage, rName, aSeq, aSeq );
else
{
- //TODO/LATER: possible optimisation, don't store immediately
+ //TODO/LATER: possible optimization, don't store immediately
//xPersist->setPersistentEntry( pImpl->mxStorage, rName, embed::EntryInitModes::ENTRY_NO_INIT, aSeq, aSeq );
xPersist->storeAsEntry( pImpl->mxStorage, rName, aSeq, aSeq );
xPersist->saveCompleted( sal_True );
diff --git a/include/o3tl/sorted_vector.hxx b/include/o3tl/sorted_vector.hxx
index 776fd5605e6f..3a7abe0024f0 100644
--- a/include/o3tl/sorted_vector.hxx
+++ b/include/o3tl/sorted_vector.hxx
@@ -141,7 +141,7 @@ public:
void insert(sorted_vector<Value,Compare,Find> const& rOther)
{
- // optimisation for the rather common case that we are overwriting this with the contents
+ // optimization for the rather common case that we are overwriting this with the contents
// of another sorted vector
if ( empty() )
{
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 032ee5d61a61..7272f9a4eb97 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -629,7 +629,7 @@ void SAL_CALL ZipPackage::initialize( const uno::Sequence< Any >& aArguments )
m_xContext );
Any aAny = aContent.getPropertyValue("Size");
sal_uInt64 aSize = 0;
- // kind of optimisation: treat empty files as nonexistent files
+ // kind of optimization: treat empty files as nonexistent files
// and write to such files directly. Note that "Size" property is optional.
bool bHasSizeProperty = aAny >>= aSize;
if( !bHasSizeProperty || ( bHasSizeProperty && aSize ) )
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx
index 903e1eeb2a16..853a30f9c274 100644
--- a/sd/source/ui/slideshow/slideshowviewimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx
@@ -661,7 +661,7 @@ void SlideShowView::init()
getTransformation();
- // #i48939# only switch on kind of hacky scroll optimisation, when
+ // #i48939# only switch on kind of hacky scroll optimization, when
// running fullscreen. this minimizes the probability that other
// windows partially cover the show.
if( mbFullScreen )
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk
index 67d2b6bfb56a..36c14e91e9ef 100644
--- a/solenv/gbuild/platform/com_MSC_defs.mk
+++ b/solenv/gbuild/platform/com_MSC_defs.mk
@@ -194,7 +194,7 @@ endif
ifneq ($(ENABLE_LTO),)
# Sigh, but there are cases of C4702 when using link-time code
-# generation and optimisation where I couldn't get
+# generation and optimization where I couldn't get
# __pragma(warning(disable:4702)) to help. Especially, the
# ImplInheritanceHelper2() {} in <cppuhelper/implbase2.hxx>
# was reported as containing "unreachable code" when linking
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 078175deb044..2ab3ca01a48d 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -2922,7 +2922,7 @@ void SwLayoutFrm::ChgLowersProp( const Size& rOldSize )
}
// Finally adjust the columns if width is set to auto
- // Possible optimisation: execute this code earlier in this function and
+ // Possible optimization: execute this code earlier in this function and
// return???
if ( ( (bVert && bHeightChgd) || (! bVert && bWidthChgd) ) &&
Lower()->IsColumnFrm() )
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index bd87c7439439..d215d195841e 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -1970,7 +1970,7 @@ bool SwTxtFormatter::BuildMultiPortion( SwTxtFormatInfo &rInf,
}
else
{
- // For Solaris, this optimisation can causes trouble:
+ // For Solaris, this optimization can causes trouble:
// Setting this to the portion width ( = rMulti.Width() )
// can make GetTextBreak inside SwTxtGuess::Guess return to small
// values. Therefore we add some extra twips.
diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx
index 8ac1b35fb816..6506095b8873 100644
--- a/vcl/source/gdi/outdev2.cxx
+++ b/vcl/source/gdi/outdev2.cxx
@@ -1051,7 +1051,7 @@ void OutputDevice::DrawDeviceBitmap( const Point& rDestPt, const Size& rDestSize
// that should considerably increase performance for
// large bitmaps and small clippings.
- // Note that this optimisation is a workaround for a
+ // Note that this optimization is a workaround for a
// Writer peculiarity, namely, to decompose background
// graphics into myriads of disjunct, tiny
// rectangles. That otherwise kills us here, since for
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 6736c54995c4..6ae570051d96 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1467,7 +1467,7 @@ void Window::ImplLoadRes( const ResId& rResId )
sal_uLong nRSStyle = aHeader.nRSStyle;
- // looks bad due to optimisation
+ // looks bad due to optimization
if ( nRSStyle & RSWND_CLIENTSIZE )
{
if ( bPos )
@@ -7127,7 +7127,7 @@ void Window::SetZOrder( Window* pRefWindow, sal_uInt16 nFlags )
// When ClipRegion was not initialised, assume
// the window has not been sent, therefore do not
- // trigger any Invalidates. This is an optimisation
+ // trigger any Invalidates. This is an optimization
// for HTML documents with many controls. If this
// check gives problems, a flag should be introduced
// which tracks whether the window has already been