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:
committed by
jan iversen
parent
76d4cda617
commit
d3c96c9f82
@@ -215,7 +215,7 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
|
|||||||
if (aFunctionName == "ExceptionThrower_acquire_release_nop") {
|
if (aFunctionName == "ExceptionThrower_acquire_release_nop") {
|
||||||
return true;
|
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") {
|
if (aFunctionName == "ImplSVMainHook") {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -114,7 +114,7 @@ const sal_uInt16 TYPE_BIT = 31;
|
|||||||
@param _nPrecision the precision
|
@param _nPrecision the precision
|
||||||
@param _nScale the scale
|
@param _nScale the scale
|
||||||
@param _bAutoIncrement if it is a auto increment
|
@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,
|
TOTypeInfoSP getTypeInfoFromType(const OTypeInfoMap& _rTypeInfo,
|
||||||
sal_Int32 _nType,
|
sal_Int32 _nType,
|
||||||
|
@@ -54,10 +54,10 @@ enum PenStyle { PEN_NULL, PEN_SOLID, PEN_DOT, PEN_DASH, PEN_DASHDOT };
|
|||||||
#define BegObEnv1Magic 0xC7A8 /* Begin Object Environment Group */
|
#define BegObEnv1Magic 0xC7A8 /* Begin Object Environment Group */
|
||||||
#define EndObEnv1Magic 0xC7A9 /* End Object Environment Group */
|
#define EndObEnv1Magic 0xC7A9 /* End Object Environment Group */
|
||||||
|
|
||||||
#define BegGrfObjMagic 0xBBA8 /* Begin Graphics Object */
|
#define BegGrfObjMagic 0xBBA8 /* Begin Graphics Object */
|
||||||
#define EndGrfObjMagic 0xBBA9 /* End Graphics Object */
|
#define EndGrfObjMagic 0xBBA9 /* End Graphics Object */
|
||||||
#define DscGrfObjMagic 0xBBA6 /* Graphics Data Descritor */
|
#define DscGrfObjMagic 0xBBA6 /* Graphics Data Descriptor */
|
||||||
#define DatGrfObjMagic 0xBBEE /* Graphics Data */
|
#define DatGrfObjMagic 0xBBEE /* Graphics Data */
|
||||||
|
|
||||||
#define MapCodFntMagic 0x8AAB /* Map Coded Font */
|
#define MapCodFntMagic 0x8AAB /* Map Coded Font */
|
||||||
#define MapDatResMagic 0xC3AB /* Map Data Resource */
|
#define MapDatResMagic 0xC3AB /* Map Data Resource */
|
||||||
|
@@ -147,7 +147,7 @@ sal_uInt32 FrameContainer::getCount() const
|
|||||||
/**-***************************************************************************************************************
|
/**-***************************************************************************************************************
|
||||||
@short returns one item of this container
|
@short returns one item of this container
|
||||||
@deprecated This value can't be guaranteed for multithreading environments.
|
@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
|
@param nIndex
|
||||||
a value between 0 and (getCount()-1) to address one container item
|
a value between 0 and (getCount()-1) to address one container item
|
||||||
|
@@ -57,7 +57,7 @@ public:
|
|||||||
|
|
||||||
@desrc Such features must outcome without
|
@desrc Such features must outcome without
|
||||||
any special parameters.
|
any special parameters.
|
||||||
To make enableing/disabling of
|
To make enabling/disabling of
|
||||||
features very easy (e.g. at the ctor of
|
features very easy (e.g. at the ctor of
|
||||||
this class) these values must be combinable
|
this class) these values must be combinable
|
||||||
as flags. That means: its values must be in
|
as flags. That means: its values must be in
|
||||||
|
@@ -217,7 +217,7 @@
|
|||||||
<CurrencyID>SGD</CurrencyID>
|
<CurrencyID>SGD</CurrencyID>
|
||||||
<CurrencySymbol>S$</CurrencySymbol>
|
<CurrencySymbol>S$</CurrencySymbol>
|
||||||
<BankSymbol>SGD</BankSymbol>
|
<BankSymbol>SGD</BankSymbol>
|
||||||
<CurrencyName>Singapore Dollor</CurrencyName>
|
<CurrencyName>Singapore Dollar</CurrencyName>
|
||||||
<DecimalPlaces>2</DecimalPlaces>
|
<DecimalPlaces>2</DecimalPlaces>
|
||||||
</Currency>
|
</Currency>
|
||||||
<!--more currency should be put here -->
|
<!--more currency should be put here -->
|
||||||
|
@@ -144,7 +144,7 @@ public:
|
|||||||
// Default = 5 Pixel
|
// Default = 5 Pixel
|
||||||
sal_uInt16 GetAutoCloseDistPix() const { return sal_uInt16(nAutoCloseDistPix); }
|
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.
|
// creating a freehand line.
|
||||||
// Default = 10 Pixel
|
// Default = 10 Pixel
|
||||||
sal_uInt16 GetFreeHandMinDistPix() const { return sal_uInt16(nFreeHandMinDistPix); }
|
sal_uInt16 GetFreeHandMinDistPix() const { return sal_uInt16(nFreeHandMinDistPix); }
|
||||||
|
@@ -211,7 +211,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
sal_Int32 CreateNamedDest( const OUString& sDestName, const Rectangle& rRect, sal_Int32 nPageNr = -1 );
|
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.
|
SetLinkDest.
|
||||||
|
|
||||||
This is used in contexts where a destination is referenced by means other than a link.
|
This is used in contexts where a destination is referenced by means other than a link.
|
||||||
|
@@ -282,7 +282,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const OUString& aWo
|
|||||||
int nHyphenationPosAlt = -1;
|
int nHyphenationPosAlt = -1;
|
||||||
int nHyphenationPosAltHyph = -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)
|
if (!aDicts[k].aPtr)
|
||||||
{
|
{
|
||||||
OUString DictFN = aDicts[k].aName + ".dic";
|
OUString DictFN = aDicts[k].aName + ".dic";
|
||||||
@@ -467,7 +467,7 @@ Reference< XHyphenatedWord > SAL_CALL Hyphenator::hyphenate( const OUString& aWo
|
|||||||
// handle shortening
|
// handle shortening
|
||||||
sal_Int16 nPos = (sal_Int16) ((nHyphenationPosAltHyph < nHyphenationPos) ?
|
sal_Int16 nPos = (sal_Int16) ((nHyphenationPosAltHyph < nHyphenationPos) ?
|
||||||
nHyphenationPosAltHyph : nHyphenationPos);
|
nHyphenationPosAltHyph : nHyphenationPos);
|
||||||
// dicretionary hyphenation
|
// discretionary hyphenation
|
||||||
xRes = HyphenatedWord::CreateHyphenatedWord( aWord, LinguLocaleToLanguage( aLocale ), nPos,
|
xRes = HyphenatedWord::CreateHyphenatedWord( aWord, LinguLocaleToLanguage( aLocale ), nPos,
|
||||||
aWord.replaceAt(nHyphenationPosAlt + 1, cut[nHyphenationPos], repHyph),
|
aWord.replaceAt(nHyphenationPosAlt + 1, cut[nHyphenationPos], repHyph),
|
||||||
(sal_Int16) nHyphenationPosAltHyph);
|
(sal_Int16) nHyphenationPosAltHyph);
|
||||||
@@ -563,7 +563,7 @@ Reference< XPossibleHyphens > SAL_CALL Hyphenator::createPossibleHyphens( const
|
|||||||
if (k != -1)
|
if (k != -1)
|
||||||
{
|
{
|
||||||
HyphenDict *dict = nullptr;
|
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)
|
if (!aDicts[k].aPtr)
|
||||||
{
|
{
|
||||||
OUString DictFN = aDicts[k].aName + ".dic";
|
OUString DictFN = aDicts[k].aName + ".dic";
|
||||||
|
@@ -319,7 +319,7 @@ void DicList::SearchForDictionaries(
|
|||||||
continue; // andere Files
|
continue; // andere Files
|
||||||
}
|
}
|
||||||
|
|
||||||
// Record in the list of Dictoinaries
|
// Record in the list of Dictionaries
|
||||||
// When it already exists don't record
|
// When it already exists don't record
|
||||||
sal_Int16 nSystemLanguage = MsLangId::getSystemLanguage();
|
sal_Int16 nSystemLanguage = MsLangId::getSystemLanguage();
|
||||||
OUString aTmp1 = ToLower( aURL, nSystemLanguage );
|
OUString aTmp1 = ToLower( aURL, nSystemLanguage );
|
||||||
|
@@ -129,7 +129,7 @@ void TextParagraph::insertAt(
|
|||||||
xProps->setPropertyValue( sNumberingLevel, Any( static_cast< sal_Int16 >( -1 ) ) );
|
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< XTextRange > xEnd( xAt, UNO_QUERY );
|
||||||
// Reference< XPropertySet > xProps2( xEnd, UNO_QUERY );
|
// Reference< XPropertySet > xProps2( xEnd, UNO_QUERY );
|
||||||
// mpEndProperties->pushToPropSet( xProps2 );
|
// mpEndProperties->pushToPropSet( xProps2 );
|
||||||
|
@@ -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
|
* Since Java 1.4 it is not possible to read environment variables. To workaround
|
||||||
* this, the Java parameter -D could be used.
|
* this, the Java parameter -D could be used.
|
||||||
*/
|
*/
|
||||||
|
@@ -193,7 +193,7 @@ SfxStyleSheetBasePool* ScDocShell::GetStyleSheetPool()
|
|||||||
return static_cast<SfxStyleSheetBasePool*>(aDocument.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
|
// muessen die SetItems (ATTR_PAGE_HEADERSET, ATTR_PAGE_FOOTERSET) auf den richtigen
|
||||||
// Pool umgesetzt werden, bevor der Quell-Pool geloescht wird.
|
// Pool umgesetzt werden, bevor der Quell-Pool geloescht wird.
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@ using namespace gb::types;
|
|||||||
static const Command SHELL;
|
static const Command SHELL;
|
||||||
|
|
||||||
|
|
||||||
// gbuild root directorys
|
// gbuild root directories
|
||||||
static Path SRCDIR;
|
static Path SRCDIR;
|
||||||
static Path WORKDIR;
|
static Path WORKDIR;
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@ public:
|
|||||||
|
|
||||||
void activateChunkedEncoding();
|
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().
|
useChunkedEncoding().
|
||||||
*/
|
*/
|
||||||
void handleChunkedEncoding (
|
void handleChunkedEncoding (
|
||||||
|
@@ -75,7 +75,7 @@ public:
|
|||||||
// returns false for non cached directory
|
// returns false for non cached directory
|
||||||
// a cached but empty directory will return true but not append anything
|
// a cached but empty directory will return true but not append anything
|
||||||
bool listDirectory( const OString& rDir, std::list< PrintFontManager::PrintFont* >& rNewFonts ) const;
|
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 );
|
bool scanAdditionalFiles( const OString& rDir );
|
||||||
|
|
||||||
void flush();
|
void flush();
|
||||||
|
@@ -463,7 +463,7 @@ public:
|
|||||||
|
|
||||||
// font administration functions
|
// font administration functions
|
||||||
|
|
||||||
/* system dependendent font matching
|
/* system dependent font matching
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<code>matchFont</code> matches a pattern of font characteristics
|
<code>matchFont</code> matches a pattern of font characteristics
|
||||||
|
Reference in New Issue
Block a user