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>
This commit is contained in:
parent
f7eb8ae9d9
commit
4c45268adf
@ -292,7 +292,7 @@ ScVbaShapes::AddEllipse(sal_Int32 startX, sal_Int32 startY, sal_Int32 nLineWidth
|
||||
return uno::makeAny( uno::Reference< msforms::XShape > ( pScVbaShape ) );
|
||||
}
|
||||
|
||||
//helpeapi calc
|
||||
//helperapi calc
|
||||
uno::Any SAL_CALL
|
||||
ScVbaShapes::AddLine( sal_Int32 StartX, sal_Int32 StartY, sal_Int32 endX, sal_Int32 endY )
|
||||
{
|
||||
|
@ -59,7 +59,7 @@ How the platform abstraction works
|
||||
API for platform backends
|
||||
+ It is a factory for:
|
||||
SalFrames, SalVirtualDevices, SalPrinters,
|
||||
Timers, the SolarMutexe, Drag&Drop and other
|
||||
Timers, the SolarMutex, Drag&Drop and other
|
||||
objects, as well as the primary event loop wrapper.
|
||||
|
||||
Note: references to "SV" in the code mean StarView, which was a
|
||||
|
@ -19,7 +19,7 @@ struct PackedTexture;
|
||||
* Pack texutres into one texutre atlas.
|
||||
*
|
||||
* This is based on algorithm described in [1] and is an
|
||||
* addaptation of "texture atlas generator" from [2].
|
||||
* adaptation of "texture atlas generator" from [2].
|
||||
*
|
||||
* [1]: http://www.blackpawn.com/texts/lightmaps/
|
||||
* [2]: https://github.com/lukaszdk/texture-atlas-generator
|
||||
|
@ -25,7 +25,7 @@
|
||||
class ImplRegionBand
|
||||
|
||||
This class handles one y-band of the region. In this band may contain one
|
||||
or more seprarations in x-direction. The y-Band do not contain any
|
||||
or more separations in x-direction. The y-Band do not contain any
|
||||
separation after creation.
|
||||
|
||||
The separations are modified with basic clipping functions like Union and
|
||||
|
@ -172,7 +172,7 @@ struct ImplSVGDIData
|
||||
ImplPrnQueueList* mpPrinterQueueList = nullptr; // List of all printer queue
|
||||
PhysicalFontCollection* mpScreenFontList = nullptr; // Screen-Font-List
|
||||
ImplFontCache* mpScreenFontCache = nullptr; // Screen-Font-Cache
|
||||
ImplDirectFontSubstitution* mpDirectFontSubst = nullptr; // Font-Substitutons defined in Tools->Options->Fonts
|
||||
ImplDirectFontSubstitution* mpDirectFontSubst = nullptr; // Font-Substitutions defined in Tools->Options->Fonts
|
||||
GraphicConverter* mpGrfConverter = nullptr; // Converter for graphics
|
||||
long mnAppFontX = 0; // AppFont X-Numenator for 40/tel Width
|
||||
long mnAppFontY = 0; // AppFont Y-Numenator for 80/tel Height
|
||||
|
@ -167,7 +167,7 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
|
||||
OString getFontFile(const PrintFont* pFont) const;
|
||||
|
||||
bool analyzeFontFile(int nDirID, const OString& rFileName, std::list<std::unique_ptr<PrintFont>>& rNewFonts, const char *pFormat=nullptr) const;
|
||||
static OUString convertSfntName( void* pNameRecord ); // actually a NameRecord* formt font subsetting code
|
||||
static OUString convertSfntName( void* pNameRecord ); // actually a NameRecord* format font subsetting code
|
||||
static void analyzeSfntFamilyName( void* pTTFont, std::list< OUString >& rnames ); // actually a TrueTypeFont* from font subsetting code
|
||||
bool analyzeSfntFile(PrintFont* pFont) const;
|
||||
// finds the font id for the nFaceIndex face in this font file
|
||||
|
@ -240,7 +240,7 @@ public:
|
||||
private:
|
||||
static void CleanupModules();
|
||||
|
||||
// This is a singleton object disable copy ctor and assignemnt operator
|
||||
// This is a singleton object disable copy ctor and assignment operator
|
||||
D2DWriteTextOutRenderer(const D2DWriteTextOutRenderer &) = delete;
|
||||
D2DWriteTextOutRenderer & operator = (const D2DWriteTextOutRenderer &) = delete;
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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() )
|
||||
{
|
||||
|
@ -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.
|
||||
|
@ -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 :-( ).
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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] )
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -1013,7 +1013,7 @@ OUString SalDisplay::GetKeyName( sal_uInt16 nKeyCode ) const
|
||||
}
|
||||
else if (!aCustomKeyName.isEmpty())
|
||||
{
|
||||
// For semicolumn, bracket left and bracket right, it's better to use
|
||||
// For semicolon, bracket left and bracket right, it's better to use
|
||||
// their keys than their names. (fdo#32891)
|
||||
if (!aStrMap.isEmpty())
|
||||
aStrMap += "+";
|
||||
|
@ -537,7 +537,7 @@ PrinterGfx::DrawPolygonBezier (sal_uInt32 nPoints, const Point* pPath, const Pol
|
||||
return;
|
||||
|
||||
snprintf(pString, nBezString, "%li %li moveto\n", pPath[0].X(), pPath[0].Y());
|
||||
WritePS(mpPageBody, pString); //Move to the starting point for the PolyPoygon
|
||||
WritePS(mpPageBody, pString); //Move to the starting point for the PolyPolygon
|
||||
for (unsigned int i=1; i < nPoints;)
|
||||
{
|
||||
if (pFlgAry[i] != PolyFlags::Control)
|
||||
|
@ -427,7 +427,7 @@ bool GenPspGraphics::drawPolyPolygon( const basegfx::B2DPolyPolygon&, double /*f
|
||||
|
||||
bool GenPspGraphics::drawPolyLine(
|
||||
const basegfx::B2DPolygon&,
|
||||
double /*fTranspareny*/,
|
||||
double /*fTransparency*/,
|
||||
const basegfx::B2DVector& /*rLineWidths*/,
|
||||
basegfx::B2DLineJoin /*eJoin*/,
|
||||
css::drawing::LineCap /*eLineCap*/,
|
||||
|
@ -577,7 +577,7 @@ const PPDParser* PPDParser::getParser( const OUString& rFile )
|
||||
if( pNewParser )
|
||||
{
|
||||
// this may actually be the SGENPRT parser,
|
||||
// so ensure uniquness here
|
||||
// so ensure uniqueness here
|
||||
rPPDCache.aAllParsers.remove( pNewParser );
|
||||
// insert new parser to list
|
||||
rPPDCache.aAllParsers.push_front( pNewParser );
|
||||
|
@ -668,7 +668,7 @@ void GtkSalMenu::ShowCloseButton(bool bShow)
|
||||
//to where it came from. If the menubar was activated because of F6
|
||||
//moving focus into the associated VCL menubar then on pressing ESC
|
||||
//or any other normal reason for deactivation we want focus to return
|
||||
//to the document, defininitely not still stuck in the associated
|
||||
//to the document, definitely not still stuck in the associated
|
||||
//VCL menubar. But if F6 is pressed while the menubar is activated
|
||||
//we want to pass that F6 back to the VCL menubar which will move
|
||||
//focus to the next pane by itself.
|
||||
|
@ -2673,7 +2673,7 @@ gboolean GtkSalFrame::signalScroll(GtkWidget*, GdkEventScroll* pEvent, gpointer
|
||||
// rhbz#1344042 "Traditionally" in gtk3 we tool a single up/down event as
|
||||
// equating to 3 scroll lines and a delta of 120. So scale the delta here
|
||||
// by 120 where a single mouse wheel click is an incoming delta_x of 1
|
||||
// and divide that by 40 to get the number of scrollines
|
||||
// and divide that by 40 to get the number of scroll lines
|
||||
if (pEvent->delta_x != 0.0)
|
||||
{
|
||||
aEvent.mnDelta = -pEvent->delta_x * 120;
|
||||
|
@ -389,7 +389,7 @@ void VclGtkClipboard::OwnerPossiblyChanged(GtkClipboard* clipboard, GdkEvent* /*
|
||||
return;
|
||||
|
||||
//if gdk_display_supports_selection_notification is not supported, e.g. like
|
||||
//right now under wayland, then you only get owner-changed nofications at
|
||||
//right now under wayland, then you only get owner-changed notifications at
|
||||
//opportune times when the selection might have changed. So here
|
||||
//we see if the selection supports a dummy selection type identifying
|
||||
//our pid, in which case it's us.
|
||||
|
@ -344,7 +344,7 @@ bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
|
||||
QRect menuItemRect( region2QRect( menuVal->maItemRect ));
|
||||
QRect rect( menuItemRect.topLeft() - widgetRect.topLeft(),
|
||||
widgetRect.size().expandedTo( menuItemRect.size()));
|
||||
// checkboxes are always displayed next to images in menues, so are never centered
|
||||
// checkboxes are always displayed next to images in menus, so are never centered
|
||||
const int focus_size = QApplication::style()->pixelMetric( QStyle::PM_FocusFrameHMargin );
|
||||
rect.moveTo( -focus_size, rect.y() );
|
||||
draw( QStyle::CE_MenuItem, &option, m_image.get(),
|
||||
|
@ -37,7 +37,7 @@ private:
|
||||
HPEN mhPen; // Pen
|
||||
bool mbStockPen : 1; // is Pen a stockpen
|
||||
bool mbBrush : 1; // is Brush (FALSE == NULL_BRUSH)
|
||||
bool mbStockBrush : 1; // is Brush a stcokbrush
|
||||
bool mbStockBrush : 1; // is Brush a stockbrush
|
||||
HBRUSH mhBrush; // Brush
|
||||
COLORREF mnPenColor; // PenColor
|
||||
COLORREF mnBrushColor; // BrushColor
|
||||
|
@ -1187,7 +1187,7 @@ static void ImplSalShow( HWND hWnd, bool bVisible, bool bNoActivate )
|
||||
pFrame->mbInShow = FALSE;
|
||||
pFrame->updateScreenNumber();
|
||||
|
||||
// Direct Paint only, if we get the SolarMutx
|
||||
// Direct Paint only, if we get the SolarMutex
|
||||
if ( ImplSalYieldMutexTryToAcquire() )
|
||||
{
|
||||
UpdateWindow( hWnd );
|
||||
@ -3709,7 +3709,7 @@ static bool ImplHandlePaintMsg( HWND hWnd )
|
||||
if ( GetUpdateRect( hWnd, nullptr, FALSE ) )
|
||||
{
|
||||
// Call BeginPaint/EndPaint to query the rect and send
|
||||
// this Notofication to rect
|
||||
// this Notification to rect
|
||||
RECT aUpdateRect;
|
||||
PAINTSTRUCT aPs;
|
||||
BeginPaint( hWnd, &aPs );
|
||||
|
Loading…
x
Reference in New Issue
Block a user