Fix typos
Change-Id: I72db7ff99cde394bc161dfd835bfb0d9a47a53d1 Reviewed-on: https://gerrit.libreoffice.org/34780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
5bea199bae
commit
65434e8701
@ -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()
|
||||
|
@ -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
|
||||
|
@ -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; }
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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 )
|
||||
|
@ -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() )
|
||||
|
@ -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!
|
||||
|
@ -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 }
|
||||
|
@ -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() );
|
||||
|
@ -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 ?!?");
|
||||
|
||||
|
@ -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 )
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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 )
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user