include/LibreOfficeKit/LibreOfficeKit.hxx | 4 +-- include/basegfx/color/bcolormodifier.hxx | 2 - include/canvas/base/canvasbase.hxx | 2 - include/canvas/base/graphicdevicebase.hxx | 2 - include/cppuhelper/basemutex.hxx | 4 +-- include/drawinglayer/primitive2d/graphicprimitive2d.hxx | 2 - include/drawinglayer/primitive2d/hiddengeometryprimitive2d.hxx | 2 - include/editeng/hangulhanja.hxx | 2 - include/filter/msfilter/escherex.hxx | 2 - include/filter/msfilter/msdffimp.hxx | 2 - include/oox/helper/graphichelper.hxx | 2 - include/rtl/ustring.hxx | 2 - include/salhelper/dynload.hxx | 2 - include/svx/svdedtv.hxx | 4 +-- include/svx/svdomeas.hxx | 4 +-- include/svx/svxerr.hxx | 2 - include/svx/unopool.hxx | 2 - include/systools/win32/comptr.hxx | 2 - include/typelib/typedescription.h | 6 ++--- include/unotools/confignode.hxx | 2 - include/unotools/localedatawrapper.hxx | 2 - include/vcl/button.hxx | 2 - include/vcl/field.hxx | 4 +-- include/xmloff/formlayerexport.hxx | 2 - sal/osl/unx/uunxapi.cxx | 2 - sal/qa/osl/file/osl_File.cxx | 10 ++++---- sal/textenc/tcvtjp6.tab | 12 +++++----- sc/qa/unit/data/functions/spreadsheet/fods/index.fods | 4 +-- sc/qa/unit/ucalc.cxx | 4 +-- sc/source/core/data/drwlayer.cxx | 2 - sc/source/core/data/table2.cxx | 2 - sc/source/core/tool/ddelink.cxx | 4 +-- sc/source/core/tool/rangelst.cxx | 2 - sc/source/filter/excel/xicontent.cxx | 2 - sc/source/filter/inc/excimp8.hxx | 2 - sc/source/filter/inc/xehelper.hxx | 2 - sc/source/filter/inc/xestyle.hxx | 4 +-- sc/source/ui/app/inputhdl.cxx | 6 ++--- sc/source/ui/app/scmod.cxx | 2 - sc/source/ui/dbgui/pfiltdlg.cxx | 2 - sc/source/ui/docshell/dbdocfun.cxx | 2 - sc/source/ui/docshell/docsh.cxx | 2 - sc/source/ui/drawfunc/fuins2.cxx | 2 - sc/source/ui/view/formatsh.cxx | 2 - 44 files changed, 66 insertions(+), 66 deletions(-)
New commits: commit bcb402298f653146af672ecfca2381062d78c6f2 Author: Andrea Gelmini <andrea.gelm...@gelma.net> Date: Thu Mar 2 12:25:27 2017 +0100 Fix typos Change-Id: I5e3c9683741ddc66283008c20794be5c2b2bc53f Reviewed-on: https://gerrit.libreoffice.org/34804 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index 57b86f9..49e2bf7 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 355a6b1..def842f 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 ce9ea3f..4d2406a 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 df7a2c4b..e5efe9b 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 aaf1f6a..6485296 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 f437fbd..34b1fc3 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 10e5581..f94289b 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 14caf59..6b8d2c0 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 0e7a199..531cced 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 7d56e6d..5ea9950 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 c2773ae..41a1ed7 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 1bc66d3..4c8e373 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 6284ecb..472fcd1 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 d349eb7..15a3316 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 6873ecd..f2da911 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 94b7039..09a32fa 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 5d42b2d..b3d5810 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 2a56ec9..ce8a994 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 a8f842e..c866ae8 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 217203f..d813af8 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 0ea75ef..ccb549b 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 b511db3..75c1f90 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 b149d1a..e8b79ad 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 1b5e1cd..0090eb4 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 commit 8b633f40514f9d33a22cf9b2e064d8ef3ef2c7f4 Author: Andrea Gelmini <andrea.gelm...@gelma.net> Date: Thu Mar 2 12:22:01 2017 +0100 Fix typos Change-Id: Iedca07be5300c68e180e0c71d2d6eb0052f5cced Reviewed-on: https://gerrit.libreoffice.org/34801 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sal/osl/unx/uunxapi.cxx b/sal/osl/unx/uunxapi.cxx index 1e9ea02..3c50a10 100644 --- a/sal/osl/unx/uunxapi.cxx +++ b/sal/osl/unx/uunxapi.cxx @@ -335,7 +335,7 @@ int utime_c(const char *cpPath, struct utimbuf *times) int ftruncate_with_name(int fd, sal_uInt64 uSize, rtl_String* path) { /* When sandboxed on OS X, ftruncate(), even if it takes an - * already open file descriptor which was retuned from an open() + * already open file descriptor which was returned from an open() * call already checked by the sandbox, still requires a security * scope bookmark for the file to be active in case the file is * one that the sandbox doesn't otherwise allow access to. Luckily diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index b55e49a..fa97645 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -2225,7 +2225,7 @@ namespace osl_File nError1 = testFile.open( osl_File_OpenFlag_Create ); bool bOK = ( File::E_ACCES == nError1 ); #ifdef _WIN32 - bOK = true; /// in Windows, you can create file in c:/ any way. + bOK = true; /// in Windows, you can create file in c:\ any way. testFile.close(); deleteTestFile( aTestFile); #endif @@ -3032,10 +3032,10 @@ namespace osl_File //copy $TEMP/tmpdir/tmpname to $ROOT/tmpname. nError1 = ::osl::File::copy( aTmpName4, aTmpName7 ); #if defined(_WIN32) - nError1 = ::osl::FileBase::E_ACCES; /// for Windows, c:/ is writtenable any way. + nError1 = ::osl::FileBase::E_ACCES; /// for Windows, c:\ is writable anyway. deleteTestFile( aTmpName7); #endif - CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for copy function: copy to an illigal place", + CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for copy function: copy to an illegal place", nError1, ::osl::FileBase::E_ACCES ); } @@ -3162,11 +3162,11 @@ namespace osl_File //move $TEMP/tmpdir/tmpname to $ROOT/tmpname. nError1 = ::osl::File::move( aTmpName4, aTmpName7 ); #if defined(_WIN32) - nError1 = ::osl::FileBase::E_ACCES; /// for Windows, c:/ is writtenable any way. + nError1 = ::osl::FileBase::E_ACCES; /// for Windows, c:\ is writable any way. deleteTestFile( aTmpName7); #endif - CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for move function: move to an illigal place", + CPPUNIT_ASSERT_EQUAL_MESSAGE( "test for move function: move to an illegal place", nError1, ::osl::FileBase::E_ACCES ); } diff --git a/sal/textenc/tcvtjp6.tab b/sal/textenc/tcvtjp6.tab index 1dd7789..f646d10 100644 --- a/sal/textenc/tcvtjp6.tab +++ b/sal/textenc/tcvtjp6.tab @@ -122,7 +122,7 @@ static ImplDBCSToUniLeadTab const aSJISUniLeadTab[256] = { 0x0059, 0, 0, nullptr }, /* 0x59 */ { 0x005A, 0, 0, nullptr }, /* 0x5A */ { 0x005B, 0, 0, nullptr }, /* 0x5B */ - { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* is A5 (YEN SIGN), but for compatibiliy with ascii, we use 0x5C (SLASH) like MS CP392 */ + { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* is A5 (YEN SIGN), but for compatibility with ASCII, we use 0x5C (SLASH) like MS CP392 */ { 0x005D, 0, 0, nullptr }, /* 0x5D */ { 0x005E, 0, 0, nullptr }, /* 0x5E */ { 0x005F, 0, 0, nullptr }, /* 0x5F */ @@ -156,7 +156,7 @@ static ImplDBCSToUniLeadTab const aSJISUniLeadTab[256] = { 0x007B, 0, 0, nullptr }, /* 0x7B */ { 0x007C, 0, 0, nullptr }, /* 0x7C */ { 0x007D, 0, 0, nullptr }, /* 0x7D */ - { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */ + { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* is 0x0203E (SPACING OVERSCORE), but for compatibility with ASCII, we use 0x7E (TILDE) like MS CP392 */ { 0x007F, 0, 0, nullptr }, /* 0x7F */ { 0x005C, 0, 0, nullptr }, /* 0x80 */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */ { 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */ @@ -694,7 +694,7 @@ static ImplDBCSToUniLeadTab const aMS932UniLeadTab[256] = { 0x0059, 0, 0, nullptr }, /* 0x59 */ { 0x005A, 0, 0, nullptr }, /* 0x5A */ { 0x005B, 0, 0, nullptr }, /* 0x5B */ - { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* in SJIS this is A5 (YEN SIGN), but for compatibiliy with ascii, we use 0x5C like MS CP392 */ + { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* in SJIS this is A5 (YEN SIGN), but for compatibility with ASCII, we use 0x5C like MS CP392 */ { 0x005D, 0, 0, nullptr }, /* 0x5D */ { 0x005E, 0, 0, nullptr }, /* 0x5E */ { 0x005F, 0, 0, nullptr }, /* 0x5F */ @@ -728,7 +728,7 @@ static ImplDBCSToUniLeadTab const aMS932UniLeadTab[256] = { 0x007B, 0, 0, nullptr }, /* 0x7B */ { 0x007C, 0, 0, nullptr }, /* 0x7C */ { 0x007D, 0, 0, nullptr }, /* 0x7D */ - { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */ + { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibility with ASCII, we use 0x7E (TILDE) like MS CP392 */ { 0x007F, 0, 0, nullptr }, /* 0x7F */ { 0x005C, 0, 0, nullptr }, /* 0x80 */ /* APPLE additions over SJIS, we convert this like apple, because I think, this gives better result, than we take a replacement char */ { 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */ @@ -1251,7 +1251,7 @@ static ImplDBCSToUniLeadTab const aAPPLEJAPANESEUniLeadTab[256] = { 0x0059, 0, 0, nullptr }, /* 0x59 */ { 0x005A, 0, 0, nullptr }, /* 0x5A */ { 0x005B, 0, 0, nullptr }, /* 0x5B */ - { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* is A5 (YEN SIGN), but for compatibiliy with ascii, we use 0x5C like MS CP392 */ + { 0x005C, 0, 0, nullptr }, /* 0x5C */ /* is A5 (YEN SIGN), but for compatibility with ASCII, we use 0x5C like MS CP392 */ { 0x005D, 0, 0, nullptr }, /* 0x5D */ { 0x005E, 0, 0, nullptr }, /* 0x5E */ { 0x005F, 0, 0, nullptr }, /* 0x5F */ @@ -1285,7 +1285,7 @@ static ImplDBCSToUniLeadTab const aAPPLEJAPANESEUniLeadTab[256] = { 0x007B, 0, 0, nullptr }, /* 0x7B */ { 0x007C, 0, 0, nullptr }, /* 0x7C */ { 0x007D, 0, 0, nullptr }, /* 0x7D */ - { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibiliy with ascii, we use 0x7E (TILDE) like MS CP392 */ + { 0x007E, 0, 0, nullptr }, /* 0x7E */ /* in SJIS this is 0x0203E (SPACING OVERSCORE), but for compatibility with ASCII, we use 0x7E (TILDE) like MS CP392 */ { 0x007F, 0, 0, nullptr }, /* 0x7F */ { 0x005C, 0, 0, nullptr }, /* 0x80 */ /* APPLE additions over SJIS */ { 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */ diff --git a/sc/qa/unit/data/functions/spreadsheet/fods/index.fods b/sc/qa/unit/data/functions/spreadsheet/fods/index.fods index 3ec5632..ac03997 100644 --- a/sc/qa/unit/data/functions/spreadsheet/fods/index.fods +++ b/sc/qa/unit/data/functions/spreadsheet/fods/index.fods @@ -3718,7 +3718,7 @@ <table:covered-table-cell table:style-name="ce36"/> <table:table-cell table:style-name="ce38"/> <table:table-cell table:style-name="ce36" office:value-type="string" calcext:value-type="string" table:number-columns-spanned="2" table:number-rows-spanned="1"> - <text:p>Independant functions</text:p> + <text:p>Independent functions</text:p> </table:table-cell> <table:covered-table-cell table:style-name="ce36"/> <table:table-cell table:number-columns-repeated="12"/> @@ -4225,4 +4225,4 @@ </table:named-expressions> </office:spreadsheet> </office:body> -</office:document> \ No newline at end of file +</office:document> diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 9e52977..af2e645 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -5362,14 +5362,14 @@ void Test::testNoteLifeCycle() // There's no ScTransferObject involved in the "fake" clipboard copy // and ScDocument dtor asking IsClipboardSource() gets no, so emulate - // the part that normally is reponsible for forgetting the caption + // the part that normally is responsible for forgetting the caption // objects. aClipDoc2.ClosingClipboardSource(); pDoc2->DeleteTab(0); closeDocShell(xDocSh2); - pasteFromClip( m_pDoc, aPosB5, &aClipDoc2); // should not crash ... tdf#104967 + pasteFromClip( m_pDoc, aPosB5, &aClipDoc2); // should not crash... tdf#104967 ScPostIt* pNoteB5 = m_pDoc->GetNote(aPosB5); CPPUNIT_ASSERT_MESSAGE("Failed to paste cell comment at B5.", pNoteB5); const SdrCaptionObj* pCaptionB5 = pNoteB5->GetOrCreateCaption(aPosB5); diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 4d3b093..8618c55 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -872,7 +872,7 @@ void ScDrawLayer::RecalcPos( SdrObject* pObj, ScDrawObjData& rData, bool bNegati // we need to save the old anchor ( for persisting ) and also track any resize or repositions that happen. // This is an evil hack, having a anchor that is one minute in terms of untransformed object and then later - // in terms of the transformed object is not ideal, similary having 2 anchors per object is wasteful, can't + // in terms of the transformed object is not ideal, similarly having 2 anchors per object is wasteful, can't // see another way out of this at the moment though. rNoRotatedAnchor.maStart = rData.maStart; rNoRotatedAnchor.maEnd = rData.maEnd; diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index f1f03f8..ae86b15 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -2061,7 +2061,7 @@ void ScTable::FindMaxRotCol( RowInfo* pRowInfo, SCSIZE nArrCount, SCCOL nX1, SCC return; } - // nRotMaxCol is initalized to SC_ROTMAX_NONE, nRowNo is already set + // nRotMaxCol is initialized to SC_ROTMAX_NONE, nRowNo is already set SCROW nY1 = pRowInfo[0].nRowNo; SCROW nY2 = pRowInfo[nArrCount-1].nRowNo; diff --git a/sc/source/core/tool/ddelink.cxx b/sc/source/core/tool/ddelink.cxx index f46b0fa..fb2f7fc 100644 --- a/sc/source/core/tool/ddelink.cxx +++ b/sc/source/core/tool/ddelink.cxx @@ -199,12 +199,12 @@ sfx2::SvBaseLink::UpdateResult ScDdeLink::DataChanged( if (HasListeners()) { Broadcast(ScHint(SfxHintId::ScDataChanged, ScAddress())); - pDoc->TrackFormulas(); // must happen immediatelly + pDoc->TrackFormulas(); // must happen immediately pDoc->StartTrackTimer(); // StartTrackTimer asynchronously calls TrackFormulas, Broadcast(FID_DATACHANGED), // ResetChanged, SetModified and Invalidate(SID_SAVEDOC/SID_DOC_MODIFIED) - // TrackFormulas additionally once again immediatelly, so that, e.g., a formula still + // TrackFormulas additionally once again immediately, so that, e.g., a formula still // located in the FormulaTrack doesn't get calculated by IdleCalc (#61676#) // notify Uno objects (for XRefreshListener) diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx index 87ca925..942e4ca 100644 --- a/sc/source/core/tool/rangelst.cxx +++ b/sc/source/core/tool/rangelst.cxx @@ -751,7 +751,7 @@ bool handleTwoRanges( const ScRange& rDeleteRange, ScRange* p, std::vector<ScRan } /** - * Check if any of the followings applies: + * Check if any of the following applies: * * X = column; Y = row * +----------+ +----------+ diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx index f0549d8..150820e 100644 --- a/sc/source/filter/excel/xicontent.cxx +++ b/sc/source/filter/excel/xicontent.cxx @@ -1124,7 +1124,7 @@ XclImpDecrypterRef lclReadFilepass8_Standard( XclImpStream& rStrm ) XclImpDecrypterRef lclReadFilepass8_Strong(XclImpStream& rStream) { - //Its possible there are other variants in existance but these + //It is possible there are other variants in existence but these //are the defaults I get with Excel 2013 XclImpDecrypterRef xDecr; diff --git a/sc/source/filter/inc/excimp8.hxx b/sc/source/filter/inc/excimp8.hxx index 4677de7..02fc8c4 100644 --- a/sc/source/filter/inc/excimp8.hxx +++ b/sc/source/filter/inc/excimp8.hxx @@ -61,7 +61,7 @@ public: private: // represents codename ( and associated modules ) - // not speficied directly in the binary format + // not specified directly in the binary format std::vector<OUString> maAutoGeneratedCodeNames; ExcScenarioList maScenList; }; diff --git a/sc/source/filter/inc/xehelper.hxx b/sc/source/filter/inc/xehelper.hxx index 477adc9..b60d343 100644 --- a/sc/source/filter/inc/xehelper.hxx +++ b/sc/source/filter/inc/xehelper.hxx @@ -32,7 +32,7 @@ class ScfProgressBar; /** The main progress bar for the export filter. This class encapsulates creation and initialization of sub progress - segments. The Activate***Segment() functions activate a specific segement + segments. The Activate***Segment() functions activate a specific segment of the main progress bar. The implementation of these functions contain the calculation of the needed size of the segment. Following calls of the Progress() function increase the currently activated sub segment. diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx index b21c1e1..f22d4e4 100644 --- a/sc/source/filter/inc/xestyle.hxx +++ b/sc/source/filter/inc/xestyle.hxx @@ -65,7 +65,7 @@ class XclExpPaletteImpl; Supports color reduction to the maximum count of the current BIFF version. An instance of this class collects all colors in the conversion phase of the export, using the InsertColor() function. It returns a unique - identidier for each passed color. + identifier for each passed color. After the entire document is converted, the Finalize() function will reduce the palette to the number of colors supported by the current BIFF version. @@ -561,7 +561,7 @@ private: An instance of this class collects all XF records in the conversion phase of the export, using the Insert() and InsertStyle() functions. It returns a - unique identidier for each XF record. + unique identifier for each XF record. After the entire document is converted, the Finalize() function will reduce the list to the number of XF records supported by the current BIFF version. diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 3ae6c6f..5cb6017 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -1947,7 +1947,7 @@ void ScInputHandler::UpdateAdjust( sal_Unicode cTyped ) { bool bNumber = false; if (cTyped) // Restarted - bNumber = (cTyped>='0' && cTyped<='9'); // Ony ciphers are numbers + bNumber = (cTyped>='0' && cTyped<='9'); // Only ciphers are numbers else if ( pActiveViewSh ) { ScDocument& rDoc = pActiveViewSh->GetViewData().GetDocShell()->GetDocument(); @@ -1991,7 +1991,7 @@ void ScInputHandler::UpdateAdjust( sal_Unicode cTyped ) void ScInputHandler::RemoveAdjust() { - // Delete hard alignement attributes + // Delete hard alignment attributes bool bUndo = mpEditEngine->IsUndoEnabled(); if ( bUndo ) mpEditEngine->EnableUndo( false ); @@ -2136,7 +2136,7 @@ bool ScInputHandler::StartTable( sal_Unicode cTyped, bool bFromCommand, bool bIn if ( eAttrAdjust == SVX_HOR_JUSTIFY_REPEAT && static_cast<const SfxBoolItem&>(pPattern->GetItem(ATTR_LINEBREAK)).GetValue() ) { - // #i31843# "repeat" with "line breaks" is treated as default alignement + // #i31843# "repeat" with "line breaks" is treated as default alignment eAttrAdjust = SVX_HOR_JUSTIFY_STANDARD; } } diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 896e34a..580c34ac 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -163,7 +163,7 @@ ScModule::ScModule( SfxObjectFactory* pFact ) : mbIsInSharedDocLoading( false ), mbIsInSharedDocSaving( false ) { - // The ResManager (DLL data) is not yet initalized in the ctor! + // The ResManager (DLL data) is not yet initialized in the ctor! SetName("StarCalc"); // for Basic ResetDragObject(); diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx index a44e319..570421f 100644 --- a/sc/source/ui/dbgui/pfiltdlg.cxx +++ b/sc/source/ui/dbgui/pfiltdlg.cxx @@ -378,7 +378,7 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem() OUString aStrVal = aValueEdArr[i]->GetText(); /* - * The dialog returns the specifc field values "empty"/"non empty" + * The dialog returns the specific field values "empty"/"non empty" * as constant in nVal in connection with the bQueryByString switch * set to false */ diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx index 86680d8..3269523 100644 --- a/sc/source/ui/docshell/dbdocfun.cxx +++ b/sc/source/ui/docshell/dbdocfun.cxx @@ -1387,7 +1387,7 @@ bool ScDBDocFunc::CreatePivotTable(const ScDPObject& rDPObj, bool bRecord, bool if (rDoc.GetDPCollection()->GetByName(rDestObj.GetName())) rDestObj.SetName(OUString()); // ignore the invalid name, create a new name below - // Syncronize groups between linked tables + // Synchronize groups between linked tables { bool bRefFound = false; const ScDPDimensionSaveData* pGroups = nullptr; diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index b1f213f..377fe43 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -566,7 +566,7 @@ bool ScDocShell::Load( SfxMedium& rMedium ) InitOptions(true); // If this is an ODF file being loaded, then by default, use legacy processing - // for tdf#99729 (if required, it will be overriden in *::ReadUserDataSequence()) + // for tdf#99729 (if required, it will be overridden in *::ReadUserDataSequence()) if (IsOwnStorageFormat(rMedium)) { if (aDocument.GetDrawLayer()) diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx index dfee80e..e9e6304 100644 --- a/sc/source/ui/drawfunc/fuins2.cxx +++ b/sc/source/ui/drawfunc/fuins2.cxx @@ -589,7 +589,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawV // Add here again if this is wanted (see task description for details) // ChartHelper::AdaptDefaultsForChart( xObj ); -// pView->InsertObjectAtView(pObj, *pPV);//this call leads to an immidiate redraw and asks the chart for a visual representation +// pView->InsertObjectAtView(pObj, *pPV);//this call leads to an immediate redraw and asks the chart for a visual representation // use the page instead of the view to insert, so no undo action is created yet SdrPage* pInsPage = pPV->GetPage(); diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index f0d0976..b887210 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -2220,7 +2220,7 @@ void ScFormatShell::GetTextAttrState( SfxItemSet& rSet ) SfxItemState eState; - // own control on radio button functionallity: + // own control on radio button functionality: // underline _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits