summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 15:31:29 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 13:03:21 +0000
commit4c45268adf61a460e6c89f4536fd0ec37775676d (patch)
treee655030e4f8a42bf20851d17c99697d92d173169 /vcl/source
parentf7eb8ae9d9cce3e493105da98cc4ace9c56a3062 (diff)
Fix typos
Change-Id: I623135cd4c76dd6569f4ee521f97dee41de4cb1e Reviewed-on: https://gerrit.libreoffice.org/35660 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/session.cxx2
-rw-r--r--vcl/source/filter/graphicfilter2.cxx2
-rw-r--r--vcl/source/filter/jpeg/jpegc.cxx2
-rw-r--r--vcl/source/filter/sgfbram.hxx2
-rw-r--r--vcl/source/filter/sgvtext.cxx2
-rw-r--r--vcl/source/filter/wmf/winmtf.cxx2
-rw-r--r--vcl/source/font/fontcache.cxx2
-rw-r--r--vcl/source/gdi/gdimetafiletools.cxx2
-rw-r--r--vcl/source/gdi/metaact.cxx2
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx2
-rw-r--r--vcl/source/gdi/pngread.cxx2
-rw-r--r--vcl/source/gdi/region.cxx2
-rw-r--r--vcl/source/gdi/sallayout.cxx2
-rw-r--r--vcl/source/outdev/text.cxx4
-rw-r--r--vcl/source/uitest/uiobject.cxx2
-rw-r--r--vcl/source/window/dockmgr.cxx2
16 files changed, 17 insertions, 17 deletions
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx
index 3d371dcefae4..3f3f20b7242b 100644
--- a/vcl/source/app/session.cxx
+++ b/vcl/source/app/session.cxx
@@ -127,7 +127,7 @@ void VCLSession::callSaveRequested( bool bShutdown )
m_bSaveDone = false;
m_bInteractionDone = false;
// without session we assume UI is always possible,
- // so it was reqeusted and granted
+ // so it was requested and granted
m_bInteractionRequested = m_bInteractionGranted = !m_xSession;
// answer the session manager even if no listeners available anymore
diff --git a/vcl/source/filter/graphicfilter2.cxx b/vcl/source/filter/graphicfilter2.cxx
index 9bb001ac06ef..0a7d5034e463 100644
--- a/vcl/source/filter/graphicfilter2.cxx
+++ b/vcl/source/filter/graphicfilter2.cxx
@@ -375,7 +375,7 @@ bool GraphicDescriptor::ImpDetectJPG( SvStream& rStm, bool bExtendedInfo )
.ReadUChar( nSamplingFactor )
.ReadUChar( nQuantizationTableDestinationSelector );
- // nSamplingFactor (lower nibble: vertial,
+ // nSamplingFactor (lower nibble: vertical,
// upper nibble: horizontal) is unused
aPixSize.Height() = nNumberOfLines;
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
index 6e1e8f1c0f63..2e836ade2b8b 100644
--- a/vcl/source/filter/jpeg/jpegc.cxx
+++ b/vcl/source/filter/jpeg/jpegc.cxx
@@ -416,7 +416,7 @@ void Transform(void* pInputStream, void* pOutputStream, long nAngle)
aDestinationCoefArrays = jtransform_adjust_parameters(&aSourceInfo, &aDestinationInfo, aSourceCoefArrays, &aTransformOption);
jpeg_svstream_dest (&aDestinationInfo, pOutputStream);
- // Compute optimal Huffman coding tables instead of precomuted tables
+ // Compute optimal Huffman coding tables instead of precomputed tables
aDestinationInfo.optimize_coding = TRUE;
jpeg_write_coefficients(&aDestinationInfo, aDestinationCoefArrays);
jcopy_markers_execute(&aSourceInfo, &aDestinationInfo, aCopyOption);
diff --git a/vcl/source/filter/sgfbram.hxx b/vcl/source/filter/sgfbram.hxx
index 9e0eeedcd7c3..f714170f43b6 100644
--- a/vcl/source/filter/sgfbram.hxx
+++ b/vcl/source/filter/sgfbram.hxx
@@ -116,7 +116,7 @@ public:
sal_Int32 Hight; // height in Pixel
sal_uInt16 Planes; // number of planes (always 1)
sal_uInt16 PixBits; // number of bits per pixel (1,4,8 or 24)
- sal_uInt32 Compress; // datakompression
+ sal_uInt32 Compress; // data compression
sal_uInt32 ImgSize; // size of image in bytes. Without compression also 0 is allowed.
sal_Int32 xDpmm; // Dot per Meter (0 is allowed)
sal_Int32 yDpmm; // Dot per Meter (0 is allowed)
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx
index 3cae51550a33..a4bd025414ff 100644
--- a/vcl/source/filter/sgvtext.cxx
+++ b/vcl/source/filter/sgvtext.cxx
@@ -108,7 +108,7 @@
#define EscNoVal -2147483647 /* -MaxLongInt */
#define NoTrenn 0xFFFF /* parameter value for 'Rest' of GetTextChar(), if separation should not occur */
-#define DoTrenn 0xFFFE /* parameter value for 'Rest' of GetTextChar(), if separtion should occur */
+#define DoTrenn 0xFFFE /* parameter value for 'Rest' of GetTextChar(), if separation should occur */
#define MaxLineChars 1024
diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx
index 55d50025c93e..4fe537dd64b8 100644
--- a/vcl/source/filter/wmf/winmtf.cxx
+++ b/vcl/source/filter/wmf/winmtf.cxx
@@ -1645,7 +1645,7 @@ void WinMtfOutput::ImplDrawBitmap( const Point& rPos, const Size& rSize, const B
else
{
// no mask yet, create and add new mask. For better quality, use Alpha,
- // this allows the drawn mask being processed with AnitAliasing (AAed)
+ // this allows the drawn mask being processed with AntiAliasing (AAed)
aBmpEx = BitmapEx(rBitmap.GetBitmap(), aVDevMask);
}
}
diff --git a/vcl/source/font/fontcache.cxx b/vcl/source/font/fontcache.cxx
index 216283263931..61d310b9a3ca 100644
--- a/vcl/source/font/fontcache.cxx
+++ b/vcl/source/font/fontcache.cxx
@@ -178,7 +178,7 @@ LogicalFontInstance* ImplFontCache::GetFontInstance( PhysicalFontCollection* pFo
pFontInstance = pFontData->CreateFontInstance( aFontSelData );
pFontInstance->mpFontCache = this;
- // if we're subtituting from or to a symbol font we may need a symbol
+ // if we're substituting from or to a symbol font we may need a symbol
// conversion table
if( pFontData->IsSymbolFont() || aFontSelData.IsSymbolFont() )
{
diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx
index 372a1094028a..5bb96bef602a 100644
--- a/vcl/source/gdi/gdimetafiletools.cxx
+++ b/vcl/source/gdi/gdimetafiletools.cxx
@@ -864,7 +864,7 @@ void clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource)
if(rComment.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN"))
{
// nothing to do; this just means that between here and XGRAD_SEQ_END
- // exists a MetaActionType::GRADIENTEX mixed with Xor-tricked painiting
+ // exists a MetaActionType::GRADIENTEX mixed with Xor-tricked painting
// commands. This comment is used to scan over these and filter for
// the gradient action. It is needed to support MetaActionType::GRADIENTEX
// in this processor to solve usages.
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 3ef90028434c..0f277234cdca 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -2974,7 +2974,7 @@ void MetaTransparentAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
// #i105373# The tools::PolyPolygon in this action may be a curve; this
// was ignored until now what is an error. To make older office
// versions work with MetaFiles, i opt for applying AdaptiveSubdivide
- // to the PolyPoylgon.
+ // to the PolyPolygon.
// The alternative would be to really write the curve information
// like in MetaPolyPolygonAction::Write (where someone extended it
// correctly, but not here :-( ).
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 4a6b12e05131..bc5cb346b47f 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -1401,7 +1401,7 @@ bool PDFWriterImpl::computeEncryptionKey( EncHashTransporter* i_pTransporter, vc
/**********************************
Algorithm 3.3 Compute the encryption dictionary /O value, save into the class data member
-the step numbers down here correspond to the ones in PDF v.1.4 specfication
+the step numbers down here correspond to the ones in PDF v.1.4 specification
*/
bool PDFWriterImpl::computeODictionaryValue( const sal_uInt8* i_pPaddedOwnerPassword,
const sal_uInt8* i_pPaddedUserPassword,
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 056c337f8565..15265890345d 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -1075,7 +1075,7 @@ void PNGReaderImpl::ImplApplyFilter()
}
break;
- case 4: // Scanline Filter Type "PaethPredictor"
+ case 4: // Scanline Filter Type "PathPredictor"
{
sal_uInt8* p1 = mpInflateInBuf + 1;
const sal_uInt8* p2 = mpScanPrior + 1;
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index 51fe138c695c..b6ed3e1ef2c0 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -1243,7 +1243,7 @@ Rectangle vcl::Region::GetBoundRect() const
if(IsNull())
{
// error; null region has no BoundRect
- // OSL_ENSURE(false, "Region::GetBoundRect error: null region has unlimitied bound rect, not representable (!)");
+ // OSL_ENSURE(false, "Region::GetBoundRect error: null region has unlimited bound rect, not representable (!)");
return Rectangle();
}
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index b37f9b0e0ebf..85ed62226ee4 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -1173,7 +1173,7 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
}
// Compute rtl flags, since in some scripts glyphs/char order can be
- // reversed for a few character sequencies e.g. Myanmar
+ // reversed for a few character sequences e.g. Myanmar
std::vector<bool> vRtl(rArgs.mnEndCharPos - rArgs.mnMinCharPos, false);
rArgs.ResetPos();
bool bRtl;
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 7aa4ec1cece3..ad835c29dbf5 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -567,7 +567,7 @@ long OutputDevice::ImplGetTextLines( ImplMultiTextLineInfo& rLineInfo,
// Correct recognition is made harder by words such as
// "Schiffahrtsbrennesseln", as the Hyphenator splits all
// positions of the word and comes up with "Schifffahrtsbrennnesseln"
- // Thus, we cannot infer the aWord from the AlternativWord's
+ // Thus, we cannot infer the aWord from the AlternativeWord's
// index.
// TODO: The whole junk will be made easier by a function in
// the Hyphenator, as soon as AMA adds it.
@@ -577,7 +577,7 @@ long OutputDevice::ImplGetTextLines( ImplMultiTextLineInfo& rLineInfo,
sal_Int32 nAltEnd = nAltStart;
// The area between nStart and nEnd is the difference
- // between AlternativString and OriginalString
+ // between AlternativeString and OriginalString
while( nTxtEnd < aWord.getLength() && nAltEnd < aAlt.getLength() &&
aWord[nTxtEnd] != aAlt[nAltEnd] )
{
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index 561688861481..b192f898c620 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -519,7 +519,7 @@ ButtonUIObject::~ButtonUIObject()
StringMap ButtonUIObject::get_state()
{
StringMap aMap = WindowUIObject::get_state();
- // Move that to a Contrl base class
+ // Move that to a Control base class
aMap["Label"] = mxButton->GetDisplayText();
return aMap;
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index 7871b539e207..2c92d7d984a3 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -484,7 +484,7 @@ void ImplPopupFloatWin::dispose()
css::uno::Reference< css::accessibility::XAccessible > ImplPopupFloatWin::CreateAccessible()
{
- // switch off direct accessibilty support for this window
+ // switch off direct accessibility support for this window
// this is to avoid appearance of this window as standalone window in the accessibility hierarchy
// as this window is only used as a helper for subtoolbars that are not teared-off, the parent toolbar