diff options
-rw-r--r-- | vbahelper/source/msforms/vbacombobox.cxx | 2 | ||||
-rw-r--r-- | vcl/README.GDIMetaFile | 2 | ||||
-rw-r--r-- | vcl/inc/listbox.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/quartz/salgdi.h | 2 | ||||
-rw-r--r-- | vcl/inc/salgdi.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/win/salgdi.h | 4 | ||||
-rw-r--r-- | vcl/opengl/RenderList.cxx | 4 | ||||
-rw-r--r-- | vcl/quartz/salgdicommon.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/scrbar.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/sgvmain.hxx | 8 | ||||
-rw-r--r-- | vcl/source/filter/sgvtext.cxx | 2 | ||||
-rw-r--r-- | vcl/source/font/fontmetric.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/bitmapex.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 2 | ||||
-rw-r--r-- | vcl/source/outdev/polyline.cxx | 2 | ||||
-rw-r--r-- | vcl/source/outdev/textline.cxx | 4 | ||||
-rw-r--r-- | vcl/source/outdev/transparent.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/gtksalmenu.cxx | 2 | ||||
-rw-r--r-- | vcl/win/window/salobj.cxx | 2 | ||||
-rw-r--r-- | vcl/workben/fftester.cxx | 2 |
21 files changed, 27 insertions, 27 deletions
diff --git a/vbahelper/source/msforms/vbacombobox.cxx b/vbahelper/source/msforms/vbacombobox.cxx index ab26e01b3ae9..62033556ec48 100644 --- a/vbahelper/source/msforms/vbacombobox.cxx +++ b/vbahelper/source/msforms/vbacombobox.cxx @@ -54,7 +54,7 @@ ScVbaComboBox::ScVbaComboBox( const uno::Reference< XHelperInterface >& xParent, // Attributes -// Value, [read] e.g. getValue returns the value of ooo Text propery e.g. the value in +// Value, [read] e.g. getValue returns the value of ooo Text property e.g. the value in // the drop down uno::Any SAL_CALL ScVbaComboBox::getValue() diff --git a/vcl/README.GDIMetaFile b/vcl/README.GDIMetaFile index 80749c88b372..2c8879de0c25 100644 --- a/vcl/README.GDIMetaFile +++ b/vcl/README.GDIMetaFile @@ -3,7 +3,7 @@ GDIMetaFile class The GDIMetaFile class reads, writes, manipulates and replays metafiles via the VCL module. -A typical use case is to intialize a new GDIMetaFile, open the actual stored metafile and +A typical use case is to initialize a new GDIMetaFile, open the actual stored metafile and read it in via GDIMetaFile::Read( aIStream ). This reads in the metafile into the GDIMetafile object - it can read in an old-style VCLMTF metafile (back in the days that Microsoft didn't document the metafile format this was used), as well as EMF+ files - and adds them to a list diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx index 8003fd7cd145..bc411a58500c 100644 --- a/vcl/inc/listbox.hxx +++ b/vcl/inc/listbox.hxx @@ -276,7 +276,7 @@ public: void SetTopEntry( sal_Int32 nTop ); sal_Int32 GetTopEntry() const { return mnTop; } - /** ShowProminentEntry will set the entry correspoding to nEntryPos + /** ShowProminentEntry will set the entry corresponding to nEntryPos either at top or in the middle depending on the chosen style*/ void ShowProminentEntry( sal_Int32 nEntryPos ); void SetProminentEntryType( ProminentEntry eType ) { meProminentType = eType; } diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h index 086266d05589..248d07eb37ba 100644 --- a/vcl/inc/quartz/salgdi.h +++ b/vcl/inc/quartz/salgdi.h @@ -348,7 +348,7 @@ public: // pFont: describes from which font to create a subset // pGlyphIDs: the glyph ids to be extracted // pEncoding: the character code corresponding to each glyph - // pWidths: the advance widths of the correspoding glyphs (in PS font units) + // pWidths: the advance widths of the corresponding glyphs (in PS font units) // nGlyphs: the number of glyphs // rInfo: additional outgoing information // implementation note: encoding 0 with glyph id 0 should be added implicitly diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index d71098a09495..a2b67c07ede3 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -156,7 +156,7 @@ public: // pFont: describes from which font to create a subset // pGlyphIDs: the glyph ids to be extracted // pEncoding: the character code corresponding to each glyph - // pWidths: the advance widths of the correspoding glyphs (in PS font units) + // pWidths: the advance widths of the corresponding glyphs (in PS font units) // nGlyphs: the number of glyphs // rInfo: additional outgoing information // implementation note: encoding 0 with glyph id 0 should be added implicitly diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index f6faf4aa7631..e357083e7a4d 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -81,7 +81,7 @@ public: private: sal_IntPtr mnId; - // some members that are initalized lazily when the font gets selected into a HDC + // some members that are initialized lazily when the font gets selected into a HDC mutable bool mbFontCapabilitiesRead; mutable FontCharMapRef mxUnicodeMap; mutable vcl::FontCapabilities maFontCapabilities; @@ -351,7 +351,7 @@ public: // pFont: describes from which font to create a subset // pGlyphIDs: the glyph ids to be extracted // pEncoding: the character code corresponding to each glyph - // pWidths: the advance widths of the correspoding glyphs (in PS font units) + // pWidths: the advance widths of the corresponding glyphs (in PS font units) // nGlyphs: the number of glyphs // rInfo: additional outgoing information // implementation note: encoding 0 with glyph id 0 should be added implicitly diff --git a/vcl/opengl/RenderList.cxx b/vcl/opengl/RenderList.cxx index cef311f9d22a..4c191fd8896b 100644 --- a/vcl/opengl/RenderList.cxx +++ b/vcl/opengl/RenderList.cxx @@ -40,7 +40,7 @@ void appendPolyLine(vcl::LineBuilder& rBuilder, const basegfx::B2DPolygon& rPoly if (nPoints == 2 || eLineJoin == basegfx::B2DLineJoin::NONE) { // If line joint is NONE or a simple line with 2 points, draw the polyline - // each line segment separatly. + // each line segment separately. for (sal_uInt32 i = 0; i < (bClosed ? nPoints : nPoints - 1); ++i) { @@ -74,7 +74,7 @@ void appendPolyLine(vcl::LineBuilder& rBuilder, const basegfx::B2DPolygon& rPoly rBuilder.appendAndConnectLinePoint(p1, normal, 1.0f); i++; // first point done already - lastPoint--; // last point will be calculated separatly from the loop + lastPoint--; // last point will be calculated separately from the loop p0 = p1; previousLineVector = nextLineVector; diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index b472a4966f79..11d831bd861b 100644 --- a/vcl/quartz/salgdicommon.cxx +++ b/vcl/quartz/salgdicommon.cxx @@ -2139,7 +2139,7 @@ void XorEmulation::SetTarget( int nWidth, int nHeight, int nTargetDepth, { CGContextSetBlendMode( m_xMaskContext, kCGBlendModeDifference ); } - // intialize the transformation matrix to the drawing target + // initialize the transformation matrix to the drawing target const CGAffineTransform aCTM = CGContextGetCTM( xTargetContext ); CGContextConcatCTM( m_xMaskContext, aCTM ); if( m_xTempContext ) diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx index 672cf6aeb30c..33ede81f7725 100644 --- a/vcl/source/control/scrbar.cxx +++ b/vcl/source/control/scrbar.cxx @@ -379,7 +379,7 @@ void ScrollBar::ImplCalc( bool bUpdate ) } } - // If we're ought to ouput again and we have been triggered + // If we're ought to output again and we have been triggered // a Paint event via an Action, we don't output directly, // but invalidate everything if ( bUpdate && HasPaintEvent() ) diff --git a/vcl/source/filter/sgvmain.hxx b/vcl/source/filter/sgvmain.hxx index 37978c392ab4..d15ffc6e6280 100644 --- a/vcl/source/filter/sgvmain.hxx +++ b/vcl/source/filter/sgvmain.hxx @@ -116,7 +116,7 @@ class ObjTextType { public: ObjLineType L; // text outline (future) ObjAreaType F; // inner text - sal_uInt16 FontLo,FontHi; // e.g. 92500 (CG Times), split due to DWordAllign in TextType. + sal_uInt16 FontLo,FontHi; // e.g. 92500 (CG Times), split due to DWord-Align in TextType. sal_uInt16 Grad; // 0.5..32767.5 pt - we should stop at 1000 pt sal_uInt16 Breite; // 1..65535% please not more as 500% sal_uInt8 Justify; // 2 bit vertical (Hi), 3 bit horizontal (Lo) @@ -243,15 +243,15 @@ class TextType: public ObjkType { public: sal_uInt8 Flags; // (cheat due to alignment in NT) sal_uInt8 Reserve; // for Word Align - ObjTextType T; // 64 bytes << DWord-Allign needed for FontID + ObjTextType T; // 64 bytes << DWord-Align needed for FontID PointType Pos1; // reference point (upper left) PointType Pos2; // (lower right) sal_Int16 TopOfs; // from upper side to start of text (future for vJustify) sal_uInt16 RotationAngle; // 0...<360 sal_uInt16 BoxSlant; // >270...<90 (only Box) sal_uInt16 BufSize; // size of buffer for Load, Save, Copy etc. - sal_uInt16 BufLo,BufHi; // (UCHAR*) pointer to Textbuffer << ShortArr, otherwise DWord-Allign needed - sal_uInt16 ExtLo,ExtHi; // (Ptr) text over more frames << ShortArr, otherwise DWord-Allign needed + sal_uInt16 BufLo,BufHi; // (UCHAR*) pointer to Textbuffer << ShortArr, otherwise DWord-Align needed + sal_uInt16 ExtLo,ExtHi; // (Ptr) text over more frames << ShortArr, otherwise DWord-Align needed PointType FitSize; // size of origin for Fit2Size sal_Int16 FitBreit; // width to format for Fit2Size UCHAR* Buffer; // this variable is not set by reading from disk, but explicit! diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx index a60dd0bacad1..3cae51550a33 100644 --- a/vcl/source/filter/sgvtext.cxx +++ b/vcl/source/filter/sgvtext.cxx @@ -374,7 +374,7 @@ UCHAR GetTextChar(UCHAR* TBuf, sal_uInt16& Index, return c; } - // HardSpace and HardTrenn should be converted explicitely ! } + // HardSpace and HardTrenn should be converted explicitly ! } // if AktAtr.Schnitt and TextKaptBit =TextKaptBit then c:=UpCase(c);(explizit) } // The separationmethod SoftTrennAdd assumes, the separating consonant } diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx index 1669ae603b35..08153093dd1d 100644 --- a/vcl/source/font/fontmetric.cxx +++ b/vcl/source/font/fontmetric.cxx @@ -223,7 +223,7 @@ ImplFontMetricData::ImplFontMetricData( const FontSelectPattern& rFontSelData ) , mnDStrikeoutOffset1( 0 ) , mnDStrikeoutOffset2( 0 ) { - // intialize the used font name + // initialize the used font name if( rFontSelData.mpFontData ) { SetFamilyName( rFontSelData.mpFontData->GetFamilyName() ); diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 218aac477265..7a23c9a79c5b 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -1014,7 +1014,7 @@ BitmapEx BitmapEx::ModifyBitmapEx(const basegfx::BColorModifierStack& rBColorMod { // do NOT use erase; for e.g. 8bit Bitmaps, the nearest color to the given // erase color is determined and used -> this may be different from what is - // wanted here. Better create a new bitmap with the needed color explicitely + // wanted here. Better create a new bitmap with the needed color explicitly Bitmap::ScopedReadAccess xReadAccess(aChangedBitmap); OSL_ENSURE(xReadAccess, "Got no Bitmap ReadAccess ?!?"); diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index fc9443c6b35f..6a64813bb811 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -10303,7 +10303,7 @@ void PDFWriterImpl::drawPolyLine( const tools::Polygon& rPoly, const PDFWriter:: aLine.append( "q " ); m_aPages.back().appendMappedLength( rInfo.m_fLineWidth, aLine ); aLine.append( " w" ); - if( rInfo.m_aDashArray.size() < 10 ) // implmentation limit of acrobat reader + if( rInfo.m_aDashArray.size() < 10 ) // implementation limit of acrobat reader { switch( rInfo.m_eCap ) { diff --git a/vcl/source/outdev/polyline.cxx b/vcl/source/outdev/polyline.cxx index 8788afd37c61..02d1cb5501d2 100644 --- a/vcl/source/outdev/polyline.cxx +++ b/vcl/source/outdev/polyline.cxx @@ -359,7 +359,7 @@ bool OutputDevice::DrawPolyLineDirect( const basegfx::B2DPolygon& rB2DPolygon, LineInfo aLineInfo; if( fLineWidth != 0.0 ) aLineInfo.SetWidth( static_cast<long>(fLineWidth+0.5) ); - // Transport known informations, might be needed + // Transport known information, might be needed aLineInfo.SetLineJoin(eLineJoin); aLineInfo.SetLineCap(eLineCap); // MiterMinimumAngle does not exist yet in LineInfo diff --git a/vcl/source/outdev/textline.cxx b/vcl/source/outdev/textline.cxx index 1e2970c470db..ba974d525b63 100644 --- a/vcl/source/outdev/textline.cxx +++ b/vcl/source/outdev/textline.cxx @@ -96,7 +96,7 @@ void OutputDevice::ImplDrawWaveLine( long nBaseX, long nBaseY, long nStartX = nBaseX + nDistX; long nStartY = nBaseY + nDistY; - // If the height is 1 pixel, it's enough ouput a line + // If the height is 1 pixel, it's enough output a line if ( (nLineWidth == 1) && (nHeight == 1) ) { mpGraphics->SetLineColor( ImplColorToSal( rColor ) ); @@ -123,7 +123,7 @@ void OutputDevice::ImplDrawWaveLine( long nBaseX, long nBaseY, long nPixWidth; long nPixHeight; bool bDrawPixAsRect; - // On printers that ouput pixel via DrawRect() + // On printers that output pixel via DrawRect() if ( (GetOutDevType() == OUTDEV_PRINTER) || (nLineWidth > 1) ) { if ( mbLineColor || mbInitLineColor ) diff --git a/vcl/source/outdev/transparent.cxx b/vcl/source/outdev/transparent.cxx index 1329ac1d9ffe..96e106c1b431 100644 --- a/vcl/source/outdev/transparent.cxx +++ b/vcl/source/outdev/transparent.cxx @@ -341,7 +341,7 @@ bool OutputDevice::DrawTransparentNatively ( const tools::PolyPolygon& rPolyPoly // should be used when printing. Normally this is avoided by the printer being // non-AAed and thus e.g. on WIN GdiPlus calls are not used. It may be necessary // to figure out a way of moving this code to its own function that is - // overriden by the Print class, which will mean we deliberately override the + // overridden by the Print class, which will mean we deliberately override the // functionality and we use the fallback some lines below (which is not very good, // though. For now, WinSalGraphics::drawPolyPolygon will detect printer usage and // correct the wrong mapping (see there for details) diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index e74baa7fab05..403c8231f0cd 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -1944,7 +1944,7 @@ bool ToolBox::ImplCalcItem() { // make sure all vertical toolbars have the same width and horizontal have the same height // this depends on the used button sizes - // as this is used for alignement of multiple toolbars + // as this is used for alignment of multiple toolbars // it is only required for docked toolbars long nFixedWidth = nDefWidth+nDropDownArrowWidth; diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx index a86d8072d697..90b29e7bd8df 100644 --- a/vcl/unx/gtk/gtksalmenu.cxx +++ b/vcl/unx/gtk/gtksalmenu.cxx @@ -693,7 +693,7 @@ gboolean GtkSalMenu::SignalKey(GdkEventKey* pEvent) mbReturnFocusToDocument = false; gtk_menu_shell_cancel(GTK_MENU_SHELL(mpMenuBarWidget)); //because we return false here, the keypress will continue - //to propogate and in the case that vcl focus is in + //to propagate and in the case that vcl focus is in //the vcl menubar then that will also process F6 and move //to the next pane } diff --git a/vcl/win/window/salobj.cxx b/vcl/win/window/salobj.cxx index f21dfb7ade9d..808f6c85d764 100644 --- a/vcl/win/window/salobj.cxx +++ b/vcl/win/window/salobj.cxx @@ -509,7 +509,7 @@ SalObject* ImplSalCreateObject( WinSalInstance* pInst, WinSalFrame* pParent ) HWND hWndChild = nullptr; if ( hWnd ) { - // #135235# Explicitely stack SystemChildWindows in + // #135235# Explicitly stack SystemChildWindows in // the order they're created - since there's no notion // of zorder. SetWindowPos(hWnd,HWND_TOP,0,0,0,0, diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx index 6d7ff45ff5a4..56af89e0f820 100644 --- a/vcl/workben/fftester.cxx +++ b/vcl/workben/fftester.cxx @@ -25,7 +25,7 @@ LD_LIBRARY_PATH=`pwd`/instdir/program SAL_USE_VCLPLUGIN=svp AFL_PERSISTENT=1 afl-fuzz -t 50 -i ~/fuzz/in.png -o ~/fuzz/out.png -d -T png -m 50000000 instdir/program/fftester @@ png On slower file formats like .doc you can probably drop the -t and rely on the - estimations, on faster file formats ironically not specifing a timeout will + estimations, on faster file formats ironically not specifying a timeout will result in a hilarious dramatic falloff in performance from thousands per second to teens per second as tiny variations from the initial calculated timeout will trigger a shutdown of the fftester and a restart and the |