summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-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.