Fix typos

Change-Id: Ic3efae53430fbb2c1eb7962c3cf69bf99315e55b
Reviewed-on: https://gerrit.libreoffice.org/26202
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
This commit is contained in:
Andrea Gelmini
2016-06-13 00:48:03 +02:00
committed by jan iversen
parent 76d4cda617
commit d3c96c9f82
17 changed files with 22 additions and 22 deletions

View File

@@ -215,7 +215,7 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
if (aFunctionName == "ExceptionThrower_acquire_release_nop") {
return true;
}
// differetnt hook function is called on different platforms, /vcl/source/app/svmainhook.cxx
// different hook function is called on different platforms, /vcl/source/app/svmainhook.cxx
if (aFunctionName == "ImplSVMainHook") {
return true;
}

View File

@@ -114,7 +114,7 @@ const sal_uInt16 TYPE_BIT = 31;
@param _nPrecision the precision
@param _nScale the scale
@param _bAutoIncrement if it is a auto increment
@param _brForceToType true when type was found which has some differenes
@param _brForceToType true when type was found which has some differences
*/
TOTypeInfoSP getTypeInfoFromType(const OTypeInfoMap& _rTypeInfo,
sal_Int32 _nType,

View File

@@ -54,10 +54,10 @@ enum PenStyle { PEN_NULL, PEN_SOLID, PEN_DOT, PEN_DASH, PEN_DASHDOT };
#define BegObEnv1Magic 0xC7A8 /* Begin Object Environment Group */
#define EndObEnv1Magic 0xC7A9 /* End Object Environment Group */
#define BegGrfObjMagic 0xBBA8 /* Begin Graphics Object */
#define EndGrfObjMagic 0xBBA9 /* End Graphics Object */
#define DscGrfObjMagic 0xBBA6 /* Graphics Data Descritor */
#define DatGrfObjMagic 0xBBEE /* Graphics Data */
#define BegGrfObjMagic 0xBBA8 /* Begin Graphics Object */
#define EndGrfObjMagic 0xBBA9 /* End Graphics Object */
#define DscGrfObjMagic 0xBBA6 /* Graphics Data Descriptor */
#define DatGrfObjMagic 0xBBEE /* Graphics Data */
#define MapCodFntMagic 0x8AAB /* Map Coded Font */
#define MapDatResMagic 0xC3AB /* Map Data Resource */

View File

@@ -147,7 +147,7 @@ sal_uInt32 FrameContainer::getCount() const
/**-***************************************************************************************************************
@short returns one item of this container
@deprecated This value can't be guaranteed for multithreading environments.
So it will be marked as deprecatedf and should be replaced by "getAllElements()".
So it will be marked as deprecated and should be replaced by "getAllElements()".
@param nIndex
a value between 0 and (getCount()-1) to address one container item

View File

@@ -57,7 +57,7 @@ public:
@desrc Such features must outcome without
any special parameters.
To make enableing/disabling of
To make enabling/disabling of
features very easy (e.g. at the ctor of
this class) these values must be combinable
as flags. That means: its values must be in

View File

@@ -217,7 +217,7 @@
<CurrencyID>SGD</CurrencyID>
<CurrencySymbol>S$</CurrencySymbol>
<BankSymbol>SGD</BankSymbol>
<CurrencyName>Singapore Dollor</CurrencyName>
<CurrencyName>Singapore Dollar</CurrencyName>
<DecimalPlaces>2</DecimalPlaces>
</Currency>
<!--more currency should be put here -->

View File

@@ -144,7 +144,7 @@ public:
// Default = 5 Pixel
sal_uInt16 GetAutoCloseDistPix() const { return sal_uInt16(nAutoCloseDistPix); }
// Setting for the minimum distantce in pixels between 2 bezier points when
// Setting for the minimum distance in pixels between 2 bezier points when
// creating a freehand line.
// Default = 10 Pixel
sal_uInt16 GetFreeHandMinDistPix() const { return sal_uInt16(nFreeHandMinDistPix); }

View File

@@ -211,7 +211,7 @@ public:
*/
sal_Int32 CreateNamedDest( const OUString& sDestName, const Rectangle& rRect, sal_Int32 nPageNr = -1 );
/** registers a destination for which a destinatin ID needs to be known immediately, instead of later on setting it via
/** registers a destination for which a destination ID needs to be known immediately, instead of later on setting it via
SetLinkDest.
This is used in contexts where a destination is referenced by means other than a link.

View File

@@ -282,7 +282,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const OUString& aWo
int nHyphenationPosAlt = -1;
int nHyphenationPosAltHyph = -1;
// if this dictinary has not been loaded yet do that
// if this dictionary has not been loaded yet do that
if (!aDicts[k].aPtr)
{
OUString DictFN = aDicts[k].aName + ".dic";
@@ -467,7 +467,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const OUString& aWo
// handle shortening
sal_Int16 nPos = (sal_Int16) ((nHyphenationPosAltHyph < nHyphenationPos) ?
nHyphenationPosAltHyph : nHyphenationPos);
// dicretionary hyphenation
// discretionary hyphenation
xRes = HyphenatedWord::CreateHyphenatedWord( aWord, LinguLocaleToLanguage( aLocale ), nPos,
aWord.replaceAt(nHyphenationPosAlt + 1, cut[nHyphenationPos], repHyph),
(sal_Int16) nHyphenationPosAltHyph);
@@ -563,7 +563,7 @@ Reference< XPossibleHyphens > SAL_CALL Hyphenator::createPossibleHyphens( const
if (k != -1)
{
HyphenDict *dict = nullptr;
// if this dictioanry has not been loaded yet do that
// if this dictionary has not been loaded yet do that
if (!aDicts[k].aPtr)
{
OUString DictFN = aDicts[k].aName + ".dic";

View File

@@ -319,7 +319,7 @@ void DicList::SearchForDictionaries(
continue; // andere Files
}
// Record in the list of Dictoinaries
// Record in the list of Dictionaries
// When it already exists don't record
sal_Int16 nSystemLanguage = MsLangId::getSystemLanguage();
OUString aTmp1 = ToLower( aURL, nSystemLanguage );

View File

@@ -129,7 +129,7 @@ void TextParagraph::insertAt(
xProps->setPropertyValue( sNumberingLevel, Any( static_cast< sal_Int16 >( -1 ) ) );
}
// FIXME this is causing a lot of dispruption (ie does not work). I wonder what to do -- Hub
// FIXME this is causing a lot of disruption (ie does not work). I wonder what to do -- Hub
// Reference< XTextRange > xEnd( xAt, UNO_QUERY );
// Reference< XPropertySet > xProps2( xEnd, UNO_QUERY );
// mpEndProperties->pushToPropSet( xProps2 );

View File

@@ -236,7 +236,7 @@ public class utils {
}
/**
* This method returns the temp dicrectory of the user.
* This method returns the temp directory of the user.
* Since Java 1.4 it is not possible to read environment variables. To workaround
* this, the Java parameter -D could be used.
*/

View File

@@ -193,7 +193,7 @@ SfxStyleSheetBasePool* ScDocShell::GetStyleSheetPool()
return static_cast<SfxStyleSheetBasePool*>(aDocument.GetStyleSheetPool());
}
// nach dem Laden von Vorlagen aus einem anderen Dokment (LoadStyles, Insert)
// nach dem Laden von Vorlagen aus einem anderen Dokument (LoadStyles, Insert)
// muessen die SetItems (ATTR_PAGE_HEADERSET, ATTR_PAGE_FOOTERSET) auf den richtigen
// Pool umgesetzt werden, bevor der Quell-Pool geloescht wird.

View File

@@ -23,7 +23,7 @@ using namespace gb::types;
static const Command SHELL;
// gbuild root directorys
// gbuild root directories
static Path SRCDIR;
static Path WORKDIR;

View File

@@ -47,7 +47,7 @@ public:
void activateChunkedEncoding();
/** Turn chunked encoding on or off, dependeing on the result of
/** Turn chunked encoding on or off, depending on the result of
useChunkedEncoding().
*/
void handleChunkedEncoding (

View File

@@ -75,7 +75,7 @@ public:
// returns false for non cached directory
// a cached but empty directory will return true but not append anything
bool listDirectory( const OString& rDir, std::list< PrintFontManager::PrintFont* >& rNewFonts ) const;
// returns true for directoris that contain only user overridden fonts
// returns true for directories that contain only user overridden fonts
bool scanAdditionalFiles( const OString& rDir );
void flush();

View File

@@ -463,7 +463,7 @@ public:
// font administration functions
/* system dependendent font matching
/* system dependent font matching
<p>
<code>matchFont</code> matches a pattern of font characteristics