From d3c96c9f82f086b828f955f7dac030a942fc631d Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 13 Jun 2016 00:48:03 +0200 Subject: Fix typos Change-Id: Ic3efae53430fbb2c1eb7962c3cf69bf99315e55b Reviewed-on: https://gerrit.libreoffice.org/26202 Tested-by: Jenkins Reviewed-by: jan iversen --- compilerplugins/clang/store/constantfunction.cxx | 2 +- dbaccess/source/ui/inc/TypeInfo.hxx | 2 +- filter/source/graphicfilter/ios2met/ios2met.cxx | 8 ++++---- framework/source/classes/framecontainer.cxx | 2 +- framework/source/inc/loadenv/loadenv.hxx | 2 +- i18npool/source/localedata/data/zh_SG.xml | 2 +- include/svx/svdcrtv.hxx | 2 +- include/vcl/pdfextoutdevdata.hxx | 2 +- lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx | 6 +++--- linguistic/source/dlistimp.cxx | 2 +- oox/source/drawingml/textparagraph.cxx | 2 +- qadevOOo/runner/util/utils.java | 2 +- sc/source/ui/docshell/docsh6.cxx | 2 +- solenv/doc/gbuild/solenv/gbuild/gbuild.mk | 2 +- ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx | 2 +- vcl/inc/unx/fontcache.hxx | 2 +- vcl/inc/unx/fontmanager.hxx | 2 +- 17 files changed, 22 insertions(+), 22 deletions(-) diff --git a/compilerplugins/clang/store/constantfunction.cxx b/compilerplugins/clang/store/constantfunction.cxx index b7a0b9d0d5f7..104e696d7946 100644 --- a/compilerplugins/clang/store/constantfunction.cxx +++ b/compilerplugins/clang/store/constantfunction.cxx @@ -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; } diff --git a/dbaccess/source/ui/inc/TypeInfo.hxx b/dbaccess/source/ui/inc/TypeInfo.hxx index 423bbfc55f07..9f29f2617e77 100644 --- a/dbaccess/source/ui/inc/TypeInfo.hxx +++ b/dbaccess/source/ui/inc/TypeInfo.hxx @@ -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, diff --git a/filter/source/graphicfilter/ios2met/ios2met.cxx b/filter/source/graphicfilter/ios2met/ios2met.cxx index f97bd23b25b2..6dbdff195fc4 100644 --- a/filter/source/graphicfilter/ios2met/ios2met.cxx +++ b/filter/source/graphicfilter/ios2met/ios2met.cxx @@ -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 */ diff --git a/framework/source/classes/framecontainer.cxx b/framework/source/classes/framecontainer.cxx index dd18ea5ce7d6..7ab64895a117 100644 --- a/framework/source/classes/framecontainer.cxx +++ b/framework/source/classes/framecontainer.cxx @@ -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 diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx index b44f7ee63f6c..b0e4ad8ab1fe 100644 --- a/framework/source/inc/loadenv/loadenv.hxx +++ b/framework/source/inc/loadenv/loadenv.hxx @@ -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 diff --git a/i18npool/source/localedata/data/zh_SG.xml b/i18npool/source/localedata/data/zh_SG.xml index b2f33c39345b..6e51e2b029e0 100644 --- a/i18npool/source/localedata/data/zh_SG.xml +++ b/i18npool/source/localedata/data/zh_SG.xml @@ -217,7 +217,7 @@ SGD S$ SGD - Singapore Dollor + Singapore Dollar 2 diff --git a/include/svx/svdcrtv.hxx b/include/svx/svdcrtv.hxx index da098aabf55f..ea3535cd4de0 100644 --- a/include/svx/svdcrtv.hxx +++ b/include/svx/svdcrtv.hxx @@ -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); } diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx index 48fab905194d..b69562d9489e 100644 --- a/include/vcl/pdfextoutdevdata.hxx +++ b/include/vcl/pdfextoutdevdata.hxx @@ -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. diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx index 4f784cab48d9..29c8c256f9da 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx @@ -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"; diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index d077bf0289fd..1d643d6bedd8 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -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 ); diff --git a/oox/source/drawingml/textparagraph.cxx b/oox/source/drawingml/textparagraph.cxx index 985de13849e5..24879f194009 100644 --- a/oox/source/drawingml/textparagraph.cxx +++ b/oox/source/drawingml/textparagraph.cxx @@ -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 ); diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index c535f62892f9..0539cef09226 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -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. */ diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index 382900a031dc..d182b664995b 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -193,7 +193,7 @@ SfxStyleSheetBasePool* ScDocShell::GetStyleSheetPool() return static_cast(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. diff --git a/solenv/doc/gbuild/solenv/gbuild/gbuild.mk b/solenv/doc/gbuild/solenv/gbuild/gbuild.mk index 6f2839f3d4a7..9cdb064a974c 100644 --- a/solenv/doc/gbuild/solenv/gbuild/gbuild.mk +++ b/solenv/doc/gbuild/solenv/gbuild/gbuild.mk @@ -23,7 +23,7 @@ using namespace gb::types; static const Command SHELL; -// gbuild root directorys +// gbuild root directories static Path SRCDIR; static Path WORKDIR; diff --git a/ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx b/ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx index 4fee603d74a3..3909dca5a783 100644 --- a/ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx +++ b/ucb/source/ucp/webdav/SerfRequestProcessorImpl.hxx @@ -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 ( diff --git a/vcl/inc/unx/fontcache.hxx b/vcl/inc/unx/fontcache.hxx index 98a7c8bee3fa..4332d417fd5e 100644 --- a/vcl/inc/unx/fontcache.hxx +++ b/vcl/inc/unx/fontcache.hxx @@ -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(); diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx index 99aae21e189e..7f7069d5f015 100644 --- a/vcl/inc/unx/fontmanager.hxx +++ b/vcl/inc/unx/fontmanager.hxx @@ -463,7 +463,7 @@ public: // font administration functions - /* system dependendent font matching + /* system dependent font matching

matchFont matches a pattern of font characteristics -- cgit