summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /tools
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/poly.cxx2
-rw-r--r--tools/source/misc/pathutils.cxx2
-rw-r--r--tools/source/stream/stream.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index ada70516d1ea..8dc2e21e9947 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1325,7 +1325,7 @@ Rectangle Polygon::GetBoundRect() const
// Removing the assert. Bezier curves have the attribute that each single
// curve segment defined by four points can not exit the four-point polygon
// defined by that points. This allows to say that the curve segment can also
- // never leave the Range of it's defining points.
+ // never leave the Range of its defining points.
// The result is that Polygon::GetBoundRect() may not create the minimal
// BoundRect of the Polygon (to get that, use basegfx::B2DPolygon classes),
// but will always create a valid BoundRect, at least as long as this method
diff --git a/tools/source/misc/pathutils.cxx b/tools/source/misc/pathutils.cxx
index 0b3f172ee3ed..577e5491b5ca 100644
--- a/tools/source/misc/pathutils.cxx
+++ b/tools/source/misc/pathutils.cxx
@@ -48,7 +48,7 @@ WCHAR * buildPath(
{
// Remove leading ".." segments in the second path together with matching
// segments in the first path that are neither empty nor "." nor ".." nor
- // end in ":" (which is not foolprove, as it can erroneously erase the start
+ // end in ":" (which is not foolproof, as it can erroneously erase the start
// of a UNC path, but only if the input is bad data):
while (backLength >= 2 && backBegin[0] == L'.' && backBegin[1] == L'.' &&
(backLength == 2 || backBegin[2] == L'\\'))
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 479657ab1d57..b0976ddf89c0 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1818,7 +1818,7 @@ sal_Size SvMemoryStream::PutData( const void* pData, sal_Size nCount )
else
{
// lacking memory is larger than nResize,
- // resize by (nCoount-nMaxCount) + resize offset
+ // resize by (nCount-nMaxCount) + resize offset
if( !ReAllocateMemory( nCount-nMaxCount+nNewResize ) )
{
nCount = 0;