summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-07-05 23:39:23 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2018-07-18 12:49:03 +0200
commit563fe60878c2ad3289c5bdcd7d8647aea4280129 (patch)
tree24c6191c4986fa094a0945d5555bd36dc56922ac /vcl/source
parent480ac84f2f5049fb4337b36f12fd6796e005761b (diff)
Fix typos
Change-Id: I5195d13b351c0eebad1eae901f7ce8408a9e5c92 Reviewed-on: https://gerrit.libreoffice.org/57028 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/filter/ixbm/xbmread.cxx2
-rw-r--r--vcl/source/filter/ixpm/xpmread.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
-rw-r--r--vcl/source/outdev/gradient.cxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx
index f37319bdc3f6..97c5d9ae5bd2 100644
--- a/vcl/source/filter/ixbm/xbmread.cxx
+++ b/vcl/source/filter/ixbm/xbmread.cxx
@@ -316,7 +316,7 @@ ReadState XBMReader::ReadXBM( Graphic& rGraphic )
bStatus = false;
//xbms are a minimum of one character per 8 pixels, so if the file isn't
- //even that long, its not all there
+ //even that long, it's not all there
if (rIStm.remainingSize() < (static_cast<sal_uInt64>(nWidth) * nHeight) / 8)
bStatus = false;
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index 3f746715217a..c774041ad807 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -29,7 +29,7 @@
#define XPMTEMPBUFSIZE 0x00008000
#define XPMSTRINGBUF 0x00008000
-#define XPMIDENTIFIER 0x00000001 // mnIdentifier includes on of the six phases
+#define XPMIDENTIFIER 0x00000001 // mnIdentifier includes one of the six phases
#define XPMDEFINITION 0x00000002 // the XPM format consists of
#define XPMVALUES 0x00000003
#define XPMCOLORS 0x00000004
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index c06b7acdf853..f623344d06e0 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -6793,7 +6793,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool
aAlignOffset = aRotScale.transform( aAlignOffset );
/* #159153# do not emit an empty glyph vector; this can happen if e.g. the original
- string contained only on of the UTF16 BOMs
+ string contained only one of the UTF16 BOMs
*/
if( ! aGlyphs.empty() )
{
diff --git a/vcl/source/outdev/gradient.cxx b/vcl/source/outdev/gradient.cxx
index 71c6eb8b9b19..739955bd00af 100644
--- a/vcl/source/outdev/gradient.cxx
+++ b/vcl/source/outdev/gradient.cxx
@@ -455,7 +455,7 @@ void OutputDevice::DrawComplexGradient( const tools::Rectangle& rRect,
assert(!is_double_buffered_window());
// Determine if we output via Polygon or PolyPolygon
- // For all rasteroperations other then Overpaint always use PolyPolygon,
+ // For all rasteroperations other than Overpaint always use PolyPolygon,
// as we will get wrong results if we output multiple times on top of each other.
// Also for printers always use PolyPolygon, as not all printers
// can print polygons on top of each other.
@@ -799,7 +799,7 @@ void OutputDevice::DrawComplexGradientToMetafile( const tools::Rectangle& rRect,
assert(!is_double_buffered_window());
// Determine if we output via Polygon or PolyPolygon
- // For all rasteroperations other then Overpaint always use PolyPolygon,
+ // For all rasteroperations other than Overpaint always use PolyPolygon,
// as we will get wrong results if we output multiple times on top of each other.
// Also for printers always use PolyPolygon, as not all printers
// can print polygons on top of each other.