diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-03-02 12:25:27 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-03 06:56:42 +0000 |
commit | bcb402298f653146af672ecfca2381062d78c6f2 (patch) | |
tree | bb03e1bf54498aca8e52996c70482f207377cc4e /include | |
parent | 8b633f40514f9d33a22cf9b2e064d8ef3ef2c7f4 (diff) |
Fix typos
Change-Id: I5e3c9683741ddc66283008c20794be5c2b2bc53f
Reviewed-on: https://gerrit.libreoffice.org/34804
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
24 files changed, 31 insertions, 31 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 57b86f9be9fc..49e2bf71a202 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -560,12 +560,12 @@ public: * @param pURL the URL of the document, as sent to the callback * @param pPassword the password, nullptr indicates no password * - * In response to LOK_CALLBACK_DOCUMENT_PASSWORD, a vaild password + * In response to LOK_CALLBACK_DOCUMENT_PASSWORD, a valid password * will continue loading the document, an invalid password will * result in another LOK_CALLBACK_DOCUMENT_PASSWORD request, * and a NULL password will abort loading the document. * - * In response to LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY, a vaild + * In response to LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY, a valid * password will continue loading the document, an invalid password will * result in another LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY request, * and a NULL password will continue loading the document in read-only diff --git a/include/basegfx/color/bcolormodifier.hxx b/include/basegfx/color/bcolormodifier.hxx index 355a6b199117..def842fabf59 100644 --- a/include/basegfx/color/bcolormodifier.hxx +++ b/include/basegfx/color/bcolormodifier.hxx @@ -48,7 +48,7 @@ namespace basegfx For the exact definitions of the color blending applied refer to the implementation of the method getModifiedColor - BColorModifier is not copyable (no copy constructor, no assigment + BColorModifier is not copyable (no copy constructor, no assignment operator); local values cannot be changed after construction. The instances are cheap and the idea is to create them on demand. To be able to reuse these as much as possible, a define for a diff --git a/include/canvas/base/canvasbase.hxx b/include/canvas/base/canvasbase.hxx index ce9ea3fbccff..4d2406a18805 100644 --- a/include/canvas/base/canvasbase.hxx +++ b/include/canvas/base/canvasbase.hxx @@ -41,7 +41,7 @@ namespace canvas problem with UNO partial interface implementation actually is, that you cannot do it the plain way, since deriving from a common base subclass always introduces the whole set of pure - virtuals, that your baseclass helper just overrided) and your + virtuals, that your baseclass helper just overridden) and your implementation class. You then only have to implement the functionality <em>besides</em> XCanvas. diff --git a/include/canvas/base/graphicdevicebase.hxx b/include/canvas/base/graphicdevicebase.hxx index df7a2c4bc2e3..e5efe9bb4f0b 100644 --- a/include/canvas/base/graphicdevicebase.hxx +++ b/include/canvas/base/graphicdevicebase.hxx @@ -48,7 +48,7 @@ namespace canvas actually is, that you cannot do it the plain way, since deriving from a common base subclass always introduces the whole set of pure virtuals, that your baseclass helper just - overrided) and your implementation class. You then only have + overridden) and your implementation class. You then only have to implement the functionality <em>besides</em> XGraphicDevice. If you want to support the optional debug XUpdatable interface, also add that to the base classes diff --git a/include/cppuhelper/basemutex.hxx b/include/cppuhelper/basemutex.hxx index aaf1f6a65a6c..648529619061 100644 --- a/include/cppuhelper/basemutex.hxx +++ b/include/cppuhelper/basemutex.hxx @@ -27,9 +27,9 @@ namespace cppu /** base class for all classes who want derive from cppu::WeakComponentImplHelperXX. - Implmentation classes have first to derive from BaseMutex and then from + Implementation classes have first to derive from BaseMutex and then from cppu::WeakComponentImplHelperXX to ensure that the BaseMutex is completely - initialized when the mutex is used to intialize the + initialized when the mutex is used to initialize the cppu::WeakComponentImplHelperXX */ class SAL_WARN_UNUSED BaseMutex diff --git a/include/drawinglayer/primitive2d/graphicprimitive2d.hxx b/include/drawinglayer/primitive2d/graphicprimitive2d.hxx index f437fbda1667..34b1fc315268 100644 --- a/include/drawinglayer/primitive2d/graphicprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/graphicprimitive2d.hxx @@ -38,7 +38,7 @@ namespace drawinglayer formats. It even includes animated GIFs, Croppings and other changes defined in GraphicAttr. - This makes the decomposition contain a wide variety of possibilites, + This makes the decomposition contain a wide variety of possibilities, too. From a simple BitmapPrimitive over AnimatedSwitchPrimitive2D, MetafilePrimitive2D (with and without embedding in a masking when e.g. the Metafile is bigger than the geometry) and embeddings in diff --git a/include/drawinglayer/primitive2d/hiddengeometryprimitive2d.hxx b/include/drawinglayer/primitive2d/hiddengeometryprimitive2d.hxx index 10e55812481a..f94289bea5c0 100644 --- a/include/drawinglayer/primitive2d/hiddengeometryprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/hiddengeometryprimitive2d.hxx @@ -33,7 +33,7 @@ namespace drawinglayer // e.g. a PresObj's outline. To still be able to use primitives for HitTest // functionality, the 2d decompositions will produce an as much as possible // simplified line geometry encapsulated in this primtive when there is no - // line geometry. In a further enchanced version this may change to 'if neither + // line geometry. In a further enhanced version this may change to 'if neither // filled nor lines' creation criteria. The whole primitive decomposes to nothing, // so no one not knowing it will be influenced. Only helper processors for hit test // (and maybe BoundRect extractors) will use it and its children subcontent. diff --git a/include/editeng/hangulhanja.hxx b/include/editeng/hangulhanja.hxx index 14caf59767eb..6b8d2c05fec7 100644 --- a/include/editeng/hangulhanja.hxx +++ b/include/editeng/hangulhanja.hxx @@ -193,7 +193,7 @@ namespace editeng <p>pseudo-abstract, needs to be overridden</p> <p>Note an important thing about the indices: They are always relative to the <em>previous - call</em> of ReplaceUnit. This means whe you get a call to ReplaceUnit, and replace some text + call</em> of ReplaceUnit. This means when you get a call to ReplaceUnit, and replace some text in your document, than you have to remember the document position immediately <em>behind</em> the changed text. In a next call to ReplaceUnit, an index of <em>0</em> will denote exactly this position behind the previous replacement<br/> diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx index 0e7a1993f61b..531cced1bba9 100644 --- a/include/filter/msfilter/escherex.hxx +++ b/include/filter/msfilter/escherex.hxx @@ -974,7 +974,7 @@ public: /** Called if a picture shall be written and no picture stream is set at class ImplEESdrWriter. - On first invokation, this function calls the virtual member function + On first invocation, this function calls the virtual member function ImplQueryPictureStream(). The return value will be cached internally for subsequent calls and for the GetPictureStream() function. */ diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index 7d56e6de0962..5ea99506b084 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -422,7 +422,7 @@ protected: /** When importing Excel files, cell anchor computations for non-page-anchored groups must be done after all nested groups have been processed; for each open group, the pending data is stored here. The storage also holds a shared_ptr to - the DffObjData ow DffRecordHeader to avoid it going out of scope except whe needed + the DffObjData ow DffRecordHeader to avoid it going out of scope except when needed */ std::vector< std::pair<DffObjData, std::shared_ptr<DffRecordHeader> > > maPendingGroupData; diff --git a/include/oox/helper/graphichelper.hxx b/include/oox/helper/graphichelper.hxx index c2773ae6af0e..41a1ed76aac1 100644 --- a/include/oox/helper/graphichelper.hxx +++ b/include/oox/helper/graphichelper.hxx @@ -143,7 +143,7 @@ public: @return The URL of the created and internally cached graphic object. */ OUString importEmbeddedGraphicObject( const OUString& rStreamName ) const; - /** calculates the orignal size of a graphic which is necessary to be able to calculate cropping values + /** calculates the original size of a graphic which is necessary to be able to calculate cropping values @return The original Graphic size in 100thmm */ css::awt::Size getOriginalSize( const css::uno::Reference< css::graphic::XGraphic >& rxGraphic ) const; diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx index 1bc66d3d8ac2..4c8e373a1c04 100644 --- a/include/rtl/ustring.hxx +++ b/include/rtl/ustring.hxx @@ -3553,7 +3553,7 @@ public: }; #if defined LIBO_INTERNAL_ONLY -// Prevent the operator ==/!= overloads with 'sal_Unicode const *' paramter from +// Prevent the operator ==/!= overloads with 'sal_Unicode const *' parameter from // being selected for nonsensical code like // // if (ouIdAttr == nullptr) diff --git a/include/salhelper/dynload.hxx b/include/salhelper/dynload.hxx index 6284ecb2bb23..472fcd16083d 100644 --- a/include/salhelper/dynload.hxx +++ b/include/salhelper/dynload.hxx @@ -72,7 +72,7 @@ protected: /// Destructor, try to unload the library. virtual ~ORealDynamicLoader(); - /// points to the structure with the initialzed API function pointers. + /// points to the structure with the initialized API function pointers. void* m_pApi; /// stores the reference count. sal_uInt32 m_refCount; diff --git a/include/svx/svdedtv.hxx b/include/svx/svdedtv.hxx index d349eb7142f4..15a331697568 100644 --- a/include/svx/svdedtv.hxx +++ b/include/svx/svdedtv.hxx @@ -183,7 +183,7 @@ public: void BegUndo(const OUString& rComment, const OUString& rObjDescr, SdrRepeatFunc eFunc=SdrRepeatFunc::NONE) { mpModel->BegUndo(rComment,rObjDescr,eFunc); } // open undo-grouping void EndUndo(); // close undo-grouping (incl. BroadcastEdges) void AddUndo(SdrUndoAction* pUndo) { mpModel->AddUndo(pUndo); } // add action - // only after first BegUndo or befor last EndUndo: + // only after first BegUndo or before last EndUndo: void SetUndoComment(const OUString& rComment, const OUString& rObjDescr) { mpModel->SetUndoComment(rComment,rObjDescr); } bool IsUndoEnabled() const; @@ -400,7 +400,7 @@ public: // If the mode VirtualObjectBundling is switched on, all ToTop/ToBtm // virtual objects which reference the same object, are contained // in their Z-order (Writer). - // Default setting is sal_False=swithed off. + // Default setting is sal_False=switched off. void SetVirtualObjectBundling(bool bOn) { bBundleVirtObj=bOn; } // override SdrMarkView, for internal use diff --git a/include/svx/svdomeas.hxx b/include/svx/svdomeas.hxx index 6873ecde4396..f2da911ddb57 100644 --- a/include/svx/svdomeas.hxx +++ b/include/svx/svdomeas.hxx @@ -178,8 +178,8 @@ public: // Default=8mm // 3. The distance from the dimension line to the reference edge (= to the dimensioned object) // 4. dimension line below the reference edge (default=no)) -// 5. excess lenth of the auxiliary dimension lines beyond the reference edge (2x, default=0) -// 6. excess lenth of the auxiliary dimension lines past the dimension line (default=2mm) +// 5. excess length of the auxiliary dimension lines beyond the reference edge (2x, default=0) +// 6. excess length of the auxiliary dimension lines past the dimension line (default=2mm) // 7. distance between the auxiliary dimension line and the reference edge // // Dragging: Handle Shift diff --git a/include/svx/svxerr.hxx b/include/svx/svxerr.hxx index 94b70393dd3d..09a32faf3445 100644 --- a/include/svx/svxerr.hxx +++ b/include/svx/svxerr.hxx @@ -62,7 +62,7 @@ /** Error message: "Read error. Passwort encrypted Powerpoint documents..." */ #define ERRCODE_SVX_READ_FILTER_PPOINT (17UL | ERRCODE_AREA_SVX | ERRCODE_CLASS_READ) -/** Error message: "Warning. Passwort protection is not suppported when ..." */ +/** Error message: "Warning. Passwort protection is not supported when..." */ #define ERRCODE_SVX_EXPORT_FILTER_CRYPT (18UL | ERRCODE_AREA_SVX | ERRCODE_CLASS_EXPORT | ERRCODE_WARNING_MASK) diff --git a/include/svx/unopool.hxx b/include/svx/unopool.hxx index 5d42b2ddce34..b3d58103efe3 100644 --- a/include/svx/unopool.hxx +++ b/include/svx/unopool.hxx @@ -52,7 +52,7 @@ public: */ virtual SfxItemPool* getModelPool( bool bReadOnly ) throw(); - // overriden helpers from comphelper::PropertySetHelper + // overridden helpers from comphelper::PropertySetHelper virtual void _setPropertyValues( const comphelper::PropertyMapEntry** ppEntries, const css::uno::Any* pValues ) override; virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, css::uno::Any* pValue ) override; diff --git a/include/systools/win32/comptr.hxx b/include/systools/win32/comptr.hxx index 2a56ec92422a..ce8a9948798a 100644 --- a/include/systools/win32/comptr.hxx +++ b/include/systools/win32/comptr.hxx @@ -60,7 +60,7 @@ class ComPtr } - /** initialize object by quering external object for the right interface. + /** initialize object by querying external object for the right interface. */ ComPtr(IUnknown* pIUnknown) { diff --git a/include/typelib/typedescription.h b/include/typelib/typedescription.h index a8f842e366f8..c866ae88d614 100644 --- a/include/typelib/typedescription.h +++ b/include/typelib/typedescription.h @@ -158,7 +158,7 @@ typedef struct _typelib_StructTypeDescription /** Flags for direct members, specifying whether they are of parameterized - type (true) or explict type (false). + type (true) or explicit type (false). For a plain struct type, this is a null pointer. */ @@ -451,7 +451,7 @@ typedef struct _typelib_StructMember_Init /** Flag specifying whether the member is of parameterized type (true) or - explict type (false). + explicit type (false). */ sal_Bool bParameterizedType; } typelib_StructMember_Init; @@ -913,7 +913,7 @@ CPPU_DLLPUBLIC void SAL_CALL typelib_static_compound_type_init( @param nMembers number of members @param ppMembers member types @param pParameterizedTypes flags for direct members, specifying whether they - are of parameterized type (true) or explict type (false); must be null + are of parameterized type (true) or explicit type (false); must be null for a plain struct type @since UDK 3.2.0 diff --git a/include/unotools/confignode.hxx b/include/unotools/confignode.hxx index 217203f4c3e9..d813af86a616 100644 --- a/include/unotools/confignode.hxx +++ b/include/unotools/confignode.hxx @@ -75,7 +75,7 @@ namespace utl /// move ctor OConfigurationNode(OConfigurationNode&& _rSource); - /// assigment + /// assignment OConfigurationNode& operator=(const OConfigurationNode& _rSource); OConfigurationNode& operator=(OConfigurationNode&& _rSource); diff --git a/include/unotools/localedatawrapper.hxx b/include/unotools/localedatawrapper.hxx index 0ea75efcd8d2..ccb549b2398b 100644 --- a/include/unotools/localedatawrapper.hxx +++ b/include/unotools/localedatawrapper.hxx @@ -326,7 +326,7 @@ public: A string similar to "de_DE requested\n en_US loaded" is appended. */ OUString appendLocaleInfo(const OUString& rDebugMsg) const; - /** Ouput a message during locale data checking. The (UTF-8) string is + /** Output a message during locale data checking. The (UTF-8) string is written to stderr and in a non-product build or if DBG_UTIL is enabled also raised as an assertion message box. */ static void outputCheckMessage( const OUString& rMsg ); diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index b511db38f67c..75c1f900bebe 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -110,7 +110,7 @@ enum class PushButtonDropdownStyle NONE = 0x0000, Toolbox = 0x0001, MenuButton = 0x0002, //visual down arrow - SplitMenuButton = 0x0003, //visual down arrow and seperator line + SplitMenuButton = 0x0003, //visual down arrow and separator line }; class VCL_DLLPUBLIC PushButton : public Button diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index b149d1a39f95..e8b79ad3742f 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -339,7 +339,7 @@ public: If this is set to true (which is the default), then GetDate will always return a valid date, no matter whether the current text can really be interpreted as date. (Note: this - is the compatible bahavior). + is the compatible behavior). If this is set to false, the GetDate will return GetInvalidDate, in case the current text cannot be interpreted as date. @@ -412,7 +412,7 @@ public: If this is set to true (which is the default), then GetTime will always return a valid time, no matter whether the current text can really be interpreted as time. (Note: this - is the compatible bahavior). + is the compatible behavior). If this is set to false, the GetTime will return GetInvalidTime, in case the current text cannot be interpreted as time. diff --git a/include/xmloff/formlayerexport.hxx b/include/xmloff/formlayerexport.hxx index 1b5e1cd6a672..0090eb45f119 100644 --- a/include/xmloff/formlayerexport.hxx +++ b/include/xmloff/formlayerexport.hxx @@ -47,7 +47,7 @@ namespace xmloff //= OFormLayerXMLExport - /** provides functionallity for exporting a complete form layer. + /** provides functionality for exporting a complete form layer. */ class XMLOFF_DLLPUBLIC OFormLayerXMLExport :public ::salhelper::SimpleReferenceObject |