Kaydet (Commit) d344d2b1 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Oliver Specht

Fix typos

Change-Id: I6dfb5fb468c1305a8f248bf5788c5760135fd835
Reviewed-on: https://gerrit.libreoffice.org/18955Reviewed-by: 's avatarOliver Specht <oliver.specht@cib.de>
Tested-by: 's avatarOliver Specht <oliver.specht@cib.de>
üst b3ebda45
...@@ -68,7 +68,7 @@ public: ...@@ -68,7 +68,7 @@ public:
/** /**
* Get number of part that the document contains. * 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. * and has no relevance for Writer.
*/ */
inline int getParts() inline int getParts()
......
...@@ -119,7 +119,7 @@ namespace drawinglayer ...@@ -119,7 +119,7 @@ namespace drawinglayer
For primitive identification, getPrimitiveID is used currently in this implementations For primitive identification, getPrimitiveID is used currently in this implementations
to allow a fast switch/case processing. This needs a unique identifier mechanism which 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. it will be needed to add a unique descriptor (Name?) later to the API.
This base implementation provides mappings from the methods from XPrimitive2D This base implementation provides mappings from the methods from XPrimitive2D
......
...@@ -35,7 +35,7 @@ namespace drawinglayer ...@@ -35,7 +35,7 @@ namespace drawinglayer
Caution: Due to old constraints (old core definitions) the Caution: Due to old constraints (old core definitions) the
crop distances describe how the uncropped content is defined crop distances describe how the uncropped content is defined
relative to the current object size. This means that maTransformation 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 with the crop applied). To get the original size and orientation
of the uncropped content it is necessary to calc back from the of the uncropped content it is necessary to calc back from the
current situation (maTransformation) using the crop values current situation (maTransformation) using the crop values
......
...@@ -40,9 +40,9 @@ namespace drawinglayer ...@@ -40,9 +40,9 @@ namespace drawinglayer
This primitive should be handled by a renderer. If it is not handled, This primitive should be handled by a renderer. If it is not handled,
it decomposes to its Child content, and thus the visualisation would 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. tools::PolyPolygon since by definition nothing outside of the mask is visible.
*/ */
class DRAWINGLAYER_DLLPUBLIC MaskPrimitive2D : public GroupPrimitive2D class DRAWINGLAYER_DLLPUBLIC MaskPrimitive2D : public GroupPrimitive2D
......
...@@ -105,7 +105,7 @@ namespace drawinglayer ...@@ -105,7 +105,7 @@ namespace drawinglayer
public: public:
/// public helpers /// public helpers
/** Geometry extractor. Shadow will be added as in create2DDecomposition, but /** 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. helper is useful e.g. for Contour extraction or HitTests.
*/ */
Primitive2DSequence getGeometry2D() const; Primitive2DSequence getGeometry2D() const;
......
...@@ -33,7 +33,7 @@ namespace drawinglayer ...@@ -33,7 +33,7 @@ namespace drawinglayer
{ {
/** StructureTagPrimitive2D class /** 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 pdf writer structured element information like used in sd from
unomodel.cxx where a ViewObjectContactRedirector is used to add unomodel.cxx where a ViewObjectContactRedirector is used to add
such information for diverse objects. such information for diverse objects.
......
...@@ -43,7 +43,7 @@ namespace drawinglayer ...@@ -43,7 +43,7 @@ namespace drawinglayer
It does transform by embedding an existing geometry into a It does transform by embedding an existing geometry into a
transformation as Child-content. This allows re-usage of the 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. decompositions.
It could e.g. be used to show a single object geometry in 1000 It could e.g. be used to show a single object geometry in 1000
......
...@@ -42,7 +42,7 @@ namespace drawinglayer ...@@ -42,7 +42,7 @@ namespace drawinglayer
/** SliceType3D definition */ /** SliceType3D definition */
enum SliceType3D enum SliceType3D
{ {
SLICETYPE3D_REGULAR, // normal geoemtry Slice3D SLICETYPE3D_REGULAR, // normal geometry Slice3D
SLICETYPE3D_FRONTCAP, // front cap SLICETYPE3D_FRONTCAP, // front cap
SLICETYPE3D_BACKCAP // back cap SLICETYPE3D_BACKCAP // back cap
}; };
......
...@@ -132,7 +132,7 @@ namespace drawinglayer ...@@ -132,7 +132,7 @@ namespace drawinglayer
case PRIMITIVE2D_ID_SOME_TEXT : 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 // sometimes it's good to know if a basic primitive is
// part of a text, especially when not handling the text // part of a text, especially when not handling the text
// self but by purpose want to handle the decomposed // self but by purpose want to handle the decomposed
......
...@@ -323,7 +323,7 @@ namespace drawinglayer ...@@ -323,7 +323,7 @@ namespace drawinglayer
// tile a matrix will be created (by appendTransformations) that // tile a matrix will be created (by appendTransformations) that
// represents the needed transformation to map a filling in unit // represents the needed transformation to map a filling in unit
// coordinates to that tile. // 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). // given percentage value (offsetX has to be 0.0 <= offsetX <= 1.0).
// Accordingly to offsetY. If both are given, offsetX is preferred // Accordingly to offsetY. If both are given, offsetX is preferred
// and offsetY is ignored. // and offsetY is ignored.
......
...@@ -60,7 +60,7 @@ namespace editeng ...@@ -60,7 +60,7 @@ namespace editeng
{ {
eExchange, // simply exchange one text with another eExchange, // simply exchange one text with another
eReplacementBracketed, // keep the original, and put the replacement in brackets after it 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 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 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 eReplacementBelow, // keep the original, and put the replacement text as ruby text below it
...@@ -98,7 +98,7 @@ namespace editeng ...@@ -98,7 +98,7 @@ namespace editeng
::std::unique_ptr< HangulHanjaConversion_Impl > m_pImpl; ::std::unique_ptr< HangulHanjaConversion_Impl > m_pImpl;
// used to set initial values of m_pImpl object from saved ones // 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 bool m_bTryBothDirectionsSave;
static ConversionDirection m_ePrimaryConversionDirectionSave; static ConversionDirection m_ePrimaryConversionDirectionSave;
...@@ -220,7 +220,7 @@ namespace editeng ...@@ -220,7 +220,7 @@ namespace editeng
@param _rOrigText @param _rOrigText
the original text to be replaced (as returned by GetNextPortion). the original text to be replaced (as returned by GetNextPortion).
Since in Chinese conversion the original text is needed as well 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. as much attributes as possible this is supplied here as well.
@param _rReplaceWith @param _rReplaceWith
......
...@@ -71,8 +71,8 @@ ...@@ -71,8 +71,8 @@
! (sic!), or strange things like 'ar-Ploc-SA' and 'ja-Ploc-JP' ('Ploc'??). ! (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 ! 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 ! includes also Windows 8.1 (Release: Monday, July 22, 2013; well, its table
! says 08/08/2013 Revision 6.0, but hey, who cares ...) ! says 08/08/2013 Revision 6.0, but hey, who cares...)
For completeness, you can never have enough lists: For completeness, you can never have enough lists:
List of supported locale identifiers in Word List of supported locale identifiers in Word
......
...@@ -68,7 +68,7 @@ enum class DictionaryError ...@@ -68,7 +68,7 @@ enum class DictionaryError
NONE, FULL, READONLY, UNKNOWN, NOT_EXISTS NONE, FULL, READONLY, UNKNOWN, NOT_EXISTS
}; };
// values asigned to capitalization types // values assigned to capitalization types
enum class CapType enum class CapType
{ {
UNKNOWN, UNKNOWN,
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
namespace o3tl 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<class Value, class Compare> template<class Value, class Compare>
struct find_unique; struct find_unique;
......
...@@ -689,7 +689,7 @@ class OOX_DLLPUBLIC AxOptionButtonModel : public AxMorphDataModelBase ...@@ -689,7 +689,7 @@ class OOX_DLLPUBLIC AxOptionButtonModel : public AxMorphDataModelBase
public: public:
explicit AxOptionButtonModel(); 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; } const OUString& getGroupName() const { return maGroupName; }
virtual ApiControlType getControlType() const SAL_OVERRIDE; virtual ApiControlType getControlType() const SAL_OVERRIDE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment