From d344d2b1f5e528c5f2a2d6b892a23e402aa4bd46 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 17:54:40 +0200 Subject: Fix typos Change-Id: I6dfb5fb468c1305a8f248bf5788c5760135fd835 Reviewed-on: https://gerrit.libreoffice.org/18955 Reviewed-by: Oliver Specht Tested-by: Oliver Specht --- include/LibreOfficeKit/LibreOfficeKit.hxx | 2 +- include/drawinglayer/primitive2d/baseprimitive2d.hxx | 2 +- include/drawinglayer/primitive2d/cropprimitive2d.hxx | 2 +- include/drawinglayer/primitive2d/maskprimitive2d.hxx | 4 ++-- include/drawinglayer/primitive2d/sceneprimitive2d.hxx | 2 +- include/drawinglayer/primitive2d/structuretagprimitive2d.hxx | 2 +- include/drawinglayer/primitive2d/transformprimitive2d.hxx | 2 +- include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx | 2 +- include/drawinglayer/processor2d/baseprocessor2d.hxx | 2 +- include/drawinglayer/texture/texture.hxx | 2 +- include/editeng/hangulhanja.hxx | 6 +++--- include/i18nlangtag/lang.h | 4 ++-- include/linguistic/misc.hxx | 2 +- include/o3tl/sorted_vector.hxx | 2 +- include/oox/ole/axcontrol.hxx | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index cd12ad64f245..acdfa27531e7 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -68,7 +68,7 @@ public: /** * Get number of part that the document contains. * - * Part refers to either indivual sheets in a Calc, or slides in Impress, + * Part refers to either individual sheets in a Calc, or slides in Impress, * and has no relevance for Writer. */ inline int getParts() diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx index 7041bc2c9819..1de6c828feda 100644 --- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx @@ -119,7 +119,7 @@ namespace drawinglayer For primitive identification, getPrimitiveID is used currently in this implementations to allow a fast switch/case processing. This needs a unique identifier mechanism which - currently uses defines (see drawinglayer_primitivetypes2d.hxx). For UNO prmitive API + currently uses defines (see drawinglayer_primitivetypes2d.hxx). For UNO primitive API it will be needed to add a unique descriptor (Name?) later to the API. This base implementation provides mappings from the methods from XPrimitive2D diff --git a/include/drawinglayer/primitive2d/cropprimitive2d.hxx b/include/drawinglayer/primitive2d/cropprimitive2d.hxx index d96d75ee4d18..1a814d3eb965 100644 --- a/include/drawinglayer/primitive2d/cropprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/cropprimitive2d.hxx @@ -35,7 +35,7 @@ namespace drawinglayer Caution: Due to old constraints (old core definitions) the crop distances describe how the uncropped content is defined relative to the current object size. This means that maTransformation - describes the rurrent object size (the part of the object visible + describes the current object size (the part of the object visible with the crop applied). To get the original size and orientation of the uncropped content it is necessary to calc back from the current situation (maTransformation) using the crop values diff --git a/include/drawinglayer/primitive2d/maskprimitive2d.hxx b/include/drawinglayer/primitive2d/maskprimitive2d.hxx index b7b2e1092850..1e74b8228a7e 100644 --- a/include/drawinglayer/primitive2d/maskprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/maskprimitive2d.hxx @@ -40,9 +40,9 @@ namespace drawinglayer This primitive should be handled by a renderer. If it is not handled, it decomposes to its Child content, and thus the visualisation would - contaiun no clips. + contain no clips. - The geometrc range of this primitive is completely defined by the Mask + The geometry range of this primitive is completely defined by the Mask tools::PolyPolygon since by definition nothing outside of the mask is visible. */ class DRAWINGLAYER_DLLPUBLIC MaskPrimitive2D : public GroupPrimitive2D diff --git a/include/drawinglayer/primitive2d/sceneprimitive2d.hxx b/include/drawinglayer/primitive2d/sceneprimitive2d.hxx index a4109b6c769f..c5a9cdebf540 100644 --- a/include/drawinglayer/primitive2d/sceneprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/sceneprimitive2d.hxx @@ -105,7 +105,7 @@ namespace drawinglayer public: /// public helpers /** Geometry extractor. Shadow will be added as in create2DDecomposition, but - the 3D content is not converted to a bitmap visualisation but to projected 2D gemetry. This + the 3D content is not converted to a bitmap visualisation but to projected 2D geometry. This helper is useful e.g. for Contour extraction or HitTests. */ Primitive2DSequence getGeometry2D() const; diff --git a/include/drawinglayer/primitive2d/structuretagprimitive2d.hxx b/include/drawinglayer/primitive2d/structuretagprimitive2d.hxx index 60409dd7d414..1e6115b1461c 100644 --- a/include/drawinglayer/primitive2d/structuretagprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/structuretagprimitive2d.hxx @@ -33,7 +33,7 @@ namespace drawinglayer { /** StructureTagPrimitive2D class - This class is used to provode simple support for adding grouped + This class is used to provide simple support for adding grouped pdf writer structured element information like used in sd from unomodel.cxx where a ViewObjectContactRedirector is used to add such information for diverse objects. diff --git a/include/drawinglayer/primitive2d/transformprimitive2d.hxx b/include/drawinglayer/primitive2d/transformprimitive2d.hxx index efc9fa318e7f..7656bddb8601 100644 --- a/include/drawinglayer/primitive2d/transformprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/transformprimitive2d.hxx @@ -43,7 +43,7 @@ namespace drawinglayer It does transform by embedding an existing geometry into a transformation as Child-content. This allows re-usage of the - refcounted Uno-Api primitives and their existung, buffered + refcounted Uno-Api primitives and their existing, buffered decompositions. It could e.g. be used to show a single object geometry in 1000 diff --git a/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx b/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx index efb179ae9ba8..069f88b5fb81 100644 --- a/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx +++ b/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx @@ -42,7 +42,7 @@ namespace drawinglayer /** SliceType3D definition */ enum SliceType3D { - SLICETYPE3D_REGULAR, // normal geoemtry Slice3D + SLICETYPE3D_REGULAR, // normal geometry Slice3D SLICETYPE3D_FRONTCAP, // front cap SLICETYPE3D_BACKCAP // back cap }; diff --git a/include/drawinglayer/processor2d/baseprocessor2d.hxx b/include/drawinglayer/processor2d/baseprocessor2d.hxx index 95803af57194..770c9e7155e1 100644 --- a/include/drawinglayer/processor2d/baseprocessor2d.hxx +++ b/include/drawinglayer/processor2d/baseprocessor2d.hxx @@ -132,7 +132,7 @@ namespace drawinglayer case PRIMITIVE2D_ID_SOME_TEXT : { - // encapsulate e.g. with changing local varibles, e.g. + // encapsulate e.g. with changing local variables, e.g. // sometimes it's good to know if a basic primitive is // part of a text, especially when not handling the text // self but by purpose want to handle the decomposed diff --git a/include/drawinglayer/texture/texture.hxx b/include/drawinglayer/texture/texture.hxx index 69289e1be8ef..f9ec11ff11a6 100644 --- a/include/drawinglayer/texture/texture.hxx +++ b/include/drawinglayer/texture/texture.hxx @@ -323,7 +323,7 @@ namespace drawinglayer // tile a matrix will be created (by appendTransformations) that // represents the needed transformation to map a filling in unit // coordinates to that tile. - // When offsetX is given, every 2nd line will be ofsetted by the + // When offsetX is given, every 2nd line will be offsetted by the // given percentage value (offsetX has to be 0.0 <= offsetX <= 1.0). // Accordingly to offsetY. If both are given, offsetX is preferred // and offsetY is ignored. diff --git a/include/editeng/hangulhanja.hxx b/include/editeng/hangulhanja.hxx index 76a03a30c9c9..1b9abb8e5cbf 100644 --- a/include/editeng/hangulhanja.hxx +++ b/include/editeng/hangulhanja.hxx @@ -60,7 +60,7 @@ namespace editeng { eExchange, // simply exchange one text with another eReplacementBracketed, // keep the original, and put the replacement in brackets after it - eOriginalBracketed, // replace the original text, but put it in brackeds after the replacement + eOriginalBracketed, // replace the original text, but put it in brackets after the replacement eReplacementAbove, // keep the original, and put the replacement text as ruby text above it eOriginalAbove, // replace the original text, but put it as ruby text above it eReplacementBelow, // keep the original, and put the replacement text as ruby text below it @@ -98,7 +98,7 @@ namespace editeng ::std::unique_ptr< HangulHanjaConversion_Impl > m_pImpl; // used to set initial values of m_pImpl object from saved ones - static bool m_bUseSavedValues; // defines if the followng two values should be used for initialization + static bool m_bUseSavedValues; // defines if the following two values should be used for initialization static bool m_bTryBothDirectionsSave; static ConversionDirection m_ePrimaryConversionDirectionSave; @@ -220,7 +220,7 @@ namespace editeng @param _rOrigText the original text to be replaced (as returned by GetNextPortion). Since in Chinese conversion the original text is needed as well - in order to only do the minimal necassry text changes and to keep + in order to only do the minimal necessary text changes and to keep as much attributes as possible this is supplied here as well. @param _rReplaceWith diff --git a/include/i18nlangtag/lang.h b/include/i18nlangtag/lang.h index 1e3026c40380..12acef807c80 100644 --- a/include/i18nlangtag/lang.h +++ b/include/i18nlangtag/lang.h @@ -71,8 +71,8 @@ ! (sic!), or strange things like 'ar-Ploc-SA' and 'ja-Ploc-JP' ('Ploc'??). ! ! Use THAT ^^^ as the ultimate reference source (haha?) as of 2013-10-17 it - ! inludes also Windows 8.1 (Release: Monday, July 22, 2013; well, its table - ! says 08/08/2013 Revision 6.0, but hey, who cares ...) + ! includes also Windows 8.1 (Release: Monday, July 22, 2013; well, its table + ! says 08/08/2013 Revision 6.0, but hey, who cares...) For completeness, you can never have enough lists: List of supported locale identifiers in Word diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx index 04296f12a4b2..3310f91aa77a 100644 --- a/include/linguistic/misc.hxx +++ b/include/linguistic/misc.hxx @@ -68,7 +68,7 @@ enum class DictionaryError NONE, FULL, READONLY, UNKNOWN, NOT_EXISTS }; -// values asigned to capitalization types +// values assigned to capitalization types enum class CapType { UNKNOWN, diff --git a/include/o3tl/sorted_vector.hxx b/include/o3tl/sorted_vector.hxx index 328b101a8347..a2267c005003 100644 --- a/include/o3tl/sorted_vector.hxx +++ b/include/o3tl/sorted_vector.hxx @@ -17,7 +17,7 @@ namespace o3tl { -// forward declared because it's default tempate arg for sorted_vector +// forward declared because it's default template arg for sorted_vector template struct find_unique; diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx index 1a5f24b97a31..6160c165ba8b 100644 --- a/include/oox/ole/axcontrol.hxx +++ b/include/oox/ole/axcontrol.hxx @@ -689,7 +689,7 @@ class OOX_DLLPUBLIC AxOptionButtonModel : public AxMorphDataModelBase public: explicit AxOptionButtonModel(); - /** Returns the group name used to goup several option buttons gogether. */ + /** Returns the group name used to goup several option buttons together. */ const OUString& getGroupName() const { return maGroupName; } virtual ApiControlType getControlType() const SAL_OVERRIDE; -- cgit