From 2af018e4dd99fccdc85a28b38ff924fb16a750cf Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 25 May 2016 11:44:22 +0200 Subject: Fix typos Change-Id: I860cc4aa04b4e5cd1437b2f24176ee2ccdec3266 Reviewed-on: https://gerrit.libreoffice.org/25420 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- basic/source/inc/namecont.hxx | 2 +- basic/source/inc/scriptcont.hxx | 2 +- chart2/source/view/inc/VCoordinateSystem.hxx | 4 ++-- drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx | 2 +- drawinglayer/source/processor2d/vclpixelprocessor2d.hxx | 2 +- editeng/source/items/paraitem.cxx | 2 +- extensions/source/propctrlr/formmetadata.hxx | 2 +- framework/qa/complex/framework/autosave/Protocol.java | 4 ++-- include/comphelper/docpasswordhelper.hxx | 2 +- include/comphelper/sequence.hxx | 4 ++-- include/unotools/mediadescriptor.hxx | 2 +- package/source/zippackage/ZipPackageStream.cxx | 2 +- qadevOOo/runner/util/DesktopTools.java | 2 +- qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java | 2 +- reportdesign/source/ui/inc/metadata.hxx | 2 +- sd/source/ui/inc/tools/SlotStateListener.hxx | 2 +- sfx2/source/doc/guisaveas.cxx | 2 +- svgio/source/svgreader/svgsvgnode.cxx | 4 ++-- svx/source/dialog/fontwork.cxx | 2 +- sw/source/core/text/pormulti.cxx | 2 +- vcl/source/control/tabctrl.cxx | 2 +- vcl/source/window/tabpage.cxx | 2 +- wizards/com/sun/star/wizards/common/FileAccess.java | 2 +- wizards/com/sun/star/wizards/common/FileAccess.py | 2 +- 24 files changed, 28 insertions(+), 28 deletions(-) diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx index e41f439f1d38..7e00e296b2ea 100644 --- a/basic/source/inc/namecont.hxx +++ b/basic/source/inc/namecont.hxx @@ -279,7 +279,7 @@ protected: void implImportLibDescriptor( SfxLibrary* pLib, ::xmlscript::LibDescriptor& rLib ); - // Methods to distinguish between deffirent library types + // Methods to distinguish between different library types virtual SfxLibrary* SAL_CALL implCreateLibrary( const OUString& aName ) = 0; virtual SfxLibrary* SAL_CALL implCreateLibraryLink ( const OUString& aName, const OUString& aLibInfoFileURL, diff --git a/basic/source/inc/scriptcont.hxx b/basic/source/inc/scriptcont.hxx index 04115270894b..341b4828d4c2 100644 --- a/basic/source/inc/scriptcont.hxx +++ b/basic/source/inc/scriptcont.hxx @@ -34,7 +34,7 @@ class SfxScriptLibraryContainer : public SfxLibraryContainer, public OldBasicPas OUString maScriptLanguage; css::uno::Reference< css::container::XNameAccess > mxCodeNameAccess; - // Methods to distinguish between deffirent library types + // Methods to distinguish between different library types virtual SfxLibrary* SAL_CALL implCreateLibrary( const OUString& aName ) override; virtual SfxLibrary* SAL_CALL implCreateLibraryLink ( const OUString& aName, const OUString& aLibInfoFileURL, diff --git a/chart2/source/view/inc/VCoordinateSystem.hxx b/chart2/source/view/inc/VCoordinateSystem.hxx index 41f15b70a432..53828536e999 100644 --- a/chart2/source/view/inc/VCoordinateSystem.hxx +++ b/chart2/source/view/inc/VCoordinateSystem.hxx @@ -72,9 +72,9 @@ public: void setExplicitCategoriesProvider( ExplicitCategoriesProvider* /*takes ownership*/ ); ExplicitCategoriesProvider* getExplicitCategoriesProvider(); - // returns a coplete scale set for a given dimension and index; for example if nDimensionIndex==1 and nAxisIndex==2 you get returned the secondary x axis, main y axis and main z axis + // returns a complete scale set for a given dimension and index; for example if nDimensionIndex==1 and nAxisIndex==2 you get returned the secondary x axis, main y axis and main z axis ::std::vector< ExplicitScaleData > getExplicitScales( sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex ) const; - // returns a coplete increment set for a given dimension and index; for example if nDimensionIndex==1 and nAxisIndex==2 you get returned the secondary x axis, main y axis and main z axis + // returns a complete increment set for a given dimension and index; for example if nDimensionIndex==1 and nAxisIndex==2 you get returned the secondary x axis, main y axis and main z axis ::std::vector< ExplicitIncrementData > getExplicitIncrements( sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex ) const; void addMinimumAndMaximumSupplier( MinimumAndMaximumSupplier* pMinimumAndMaximumSupplier ); diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx index 18efd013ccf7..d216fcc3f3c9 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx @@ -128,7 +128,7 @@ namespace drawinglayer vcl::PDFExtOutDevData* mpPDFExtOutDevData; protected: - /* the local processor for BasePrinitive2D-Implementation based primitives, + /* the local processor for BasePrimitive2D-Implementation based primitives, called from the common process()-implementation */ virtual void processBasePrimitive2D(const primitive2d::BasePrimitive2D& rCandidate) override; diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx index 3d8d61e070a2..f7b6748bb3e2 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.hxx @@ -55,7 +55,7 @@ namespace drawinglayer std::unique_ptr m_pImpl; protected: - /* the local processor for BasePrinitive2D-Implementation based primitives, + /* the local processor for BasePrimitive2D-Implementation based primitives, called from the common process()-implementation */ virtual void processBasePrimitive2D(const primitive2d::BasePrimitive2D& rCandidate) override; diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx index 52cdbc3f6d95..1eba1968fc71 100644 --- a/editeng/source/items/paraitem.cxx +++ b/editeng/source/items/paraitem.cxx @@ -1068,7 +1068,7 @@ SfxPoolItem* SvxTabStopItem::Create( SvStream& rStrm, sal_uInt16 ) const SvStream& SvxTabStopItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const { // Default-Tabs are only expanded for the default Attribute. For complete - // backward compabillity (<=304) all tabs have to be expanded, this makes + // backward compability (<=304) all tabs have to be expanded, this makes // the files grow large in size. All only SWG! const SfxItemPool *pPool = SfxItemPool::GetStoringPool(); diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx index dc2883943411..4e3f3b18ba6b 100644 --- a/extensions/source/propctrlr/formmetadata.hxx +++ b/extensions/source/propctrlr/formmetadata.hxx @@ -114,7 +114,7 @@ namespace pcr #define PROP_FLAG_COMPOSEABLE 0x00000080 // the property is "composeable", i.e. an intersection of property // sets should expose it, if all elements do #define PROP_FLAG_EXPERIMENTAL 0x00000100 // the property is experimental, i.e. should not appear in the - // UI, unless experimental properties are enabled by a configuraiton + // UI, unless experimental properties are enabled by a configuration // option diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index 0a85bf0063e7..82f3eb355dc8 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -555,7 +555,7 @@ public class Protocol extends JComponent ++m_nLine; - // it's necessary to open scopes before creatig the protocol line + // it's necessary to open scopes before creating the protocol line // to guarantee right tab handling for new scope value! if ((nType & TYPE_SCOPE_OPEN) == TYPE_SCOPE_OPEN) ++m_nScope; @@ -565,7 +565,7 @@ public class Protocol extends JComponent String sAsciiLog = aLine.toString(); String sHTMLLog = aLine.toHTML(); - // it's necessary to close scope after creatig the protocol line + // it's necessary to close scope after creating the protocol line // to guarantee right tab handling for old scope value! if ( ( m_nScope > 0 ) && diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx index 18eebd11e4dd..2ef3e040af1a 100644 --- a/include/comphelper/docpasswordhelper.hxx +++ b/include/comphelper/docpasswordhelper.hxx @@ -265,7 +265,7 @@ public: @return If not empty, contains the password that has been validated by the passed password verifier. If empty, no valid password has been - found, or the user has chossen to cancel password input. + found, or the user has chosen to cancel password input. */ static css::uno::Sequence< css::beans::NamedValue > requestAndVerifyDocPassword( IDocPasswordVerifier& rVerifier, diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx index 46f8153253f3..cbc2317b5731 100644 --- a/include/comphelper/sequence.hxx +++ b/include/comphelper/sequence.hxx @@ -140,10 +140,10 @@ namespace comphelper const TYPE* m_pCurrent; public: - /** contrcuct a sequence iterator from a sequence + /** construct a sequence iterator from a sequence */ OSequenceIterator(const css::uno::Sequence< TYPE >& _rSeq); - /** contrcuct a sequence iterator from a Any containing a sequence + /** construct a sequence iterator from a Any containing a sequence */ OSequenceIterator(const css::uno::Any& _rSequenceAny); diff --git a/include/unotools/mediadescriptor.hxx b/include/unotools/mediadescriptor.hxx index 98398d98ea5d..cc2f02183c82 100644 --- a/include/unotools/mediadescriptor.hxx +++ b/include/unotools/mediadescriptor.hxx @@ -251,7 +251,7 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap @return If not empty, contains the password that has been validated by the passed password verifier. If empty, no valid password has been - found, or the user has chossen to cancel password input. + found, or the user has chosen to cancel password input. */ css::uno::Sequence< css::beans::NamedValue > requestAndVerifyDocPassword( comphelper::IDocPasswordVerifier& rVerifier, diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 79c42b11be43..3f3a47c2b9af 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -759,7 +759,7 @@ bool ZipPackageStream::saveChild( } else { - // This stream is defenitly not a raw stream + // This stream is definitely not a raw stream // If nonseekable access is used the stream should be at the beginning and // is useless after the storing. Thus if the storing fails the package should diff --git a/qadevOOo/runner/util/DesktopTools.java b/qadevOOo/runner/util/DesktopTools.java index e7520cab28fa..9765d759a8f1 100644 --- a/qadevOOo/runner/util/DesktopTools.java +++ b/qadevOOo/runner/util/DesktopTools.java @@ -415,7 +415,7 @@ public class DesktopTools * This function docks the Navigator onto the right side of the window.

* Note:

* Since the svt.viewoptions cache the view configuration at start up - * the chage of the docking will be effective at a restart. + * the change of the docking will be effective at a restart. * @param xMSF the XMultiServiceFactory */ public static void dockNavigator(XMultiServiceFactory xMSF) diff --git a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java index b39bba971edc..6eeee9ba990a 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java +++ b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java @@ -94,7 +94,7 @@ public class _XTextRangeCompare extends MultiMethodTest { /** * One cursor is created and to its position a paragraph * inserted, then the fist five characters was selected. - * A second cursor was created and the last 7 characteres + * A second cursor was created and the last 7 characters * was selected.

* * Has OK status if the compare returns 1, i.e. diff --git a/reportdesign/source/ui/inc/metadata.hxx b/reportdesign/source/ui/inc/metadata.hxx index 7be6d024d463..bfc352b9d1de 100644 --- a/reportdesign/source/ui/inc/metadata.hxx +++ b/reportdesign/source/ui/inc/metadata.hxx @@ -34,7 +34,7 @@ enum class PropUIFlags { Composeable = 0x0008, // the property is "composeable", i.e. an intersection of property // sets should expose it, if all elements do Experimental = 0x0010, // the property is experimental, i.e. should not appear in the - // UI, unless experimental properties are enabled by a configuraiton + // UI, unless experimental properties are enabled by a configuration // option DataProperty = 0x0020 // the property is to appear on the "Data" page }; diff --git a/sd/source/ui/inc/tools/SlotStateListener.hxx b/sd/source/ui/inc/tools/SlotStateListener.hxx index 019b675c1a52..77210ce52fcb 100644 --- a/sd/source/ui/inc/tools/SlotStateListener.hxx +++ b/sd/source/ui/inc/tools/SlotStateListener.hxx @@ -87,7 +87,7 @@ public: //===== frame::XStatusListener ========================================== /** Called by slot state change broadcasters. In turn the callback is - informed about the state chage. + informed about the state change. @throws DisposedException */ virtual void SAL_CALL diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index e528accdcb21..a6219aa3947d 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -1628,7 +1628,7 @@ bool SfxStoringHelper::GUIStoreModel( const uno::Reference< frame::XModel >& xMo && ( !aModelData.GetStorable()->hasLocation() || INetURLObject( aModelData.GetStorable()->getLocation() ) != aURL ) ) { - // this is defenitly not a Save operation + // this is definitely not a Save operation // so the document info can be updated // on export document info must be preserved diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx index 724afa423be1..324ecf5a4b18 100644 --- a/svgio/source/svgreader/svgsvgnode.cxx +++ b/svgio/source/svgreader/svgsvgnode.cxx @@ -233,7 +233,7 @@ namespace svgio } else { - // take absolute value or cummulate percentage + // take absolute value or cumulate percentage if (pParentSvgSvgNode->getWidth().isSet()) { if (Unit_percent == pParentSvgSvgNode->getWidth().getUnit()) @@ -275,7 +275,7 @@ namespace svgio } else { - // take absolute value or cummulate percentage + // take absolute value or cumulate percentage if (pParentSvgSvgNode->getHeight().isSet()) { if (Unit_percent == pParentSvgSvgNode->getHeight().getUnit()) diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx index 39f33478a35e..775bd6e7ad85 100644 --- a/svx/source/dialog/fontwork.cxx +++ b/svx/source/dialog/fontwork.cxx @@ -740,7 +740,7 @@ IMPL_LINK_NOARG_TYPED(SvxFontWorkDialog, ModifyInputHdl_Impl, Edit&, void) IMPL_LINK_NOARG_TYPED(SvxFontWorkDialog, InputTimoutHdl_Impl, Idle *, void) { // Possibly set the Metric system again. This should be done with a - // listen, this is however not possible at the moment due to compabillity + // listen, this is however not possible at the moment due to compatibility // issues. const FieldUnit eDlgUnit = rBindings.GetDispatcher()->GetModule()->GetFieldUnit(); if( eDlgUnit != m_pMtrFldDistance->GetUnit() ) diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx index 616b5de23d23..6725508b28eb 100644 --- a/sw/source/core/text/pormulti.cxx +++ b/sw/source/core/text/pormulti.cxx @@ -609,7 +609,7 @@ SwRubyPortion::SwRubyPortion( const SwMultiCreator& rCreate, const SwFont& rFnt, // In ruby portion there are different alignments for // the ruby text and the main text. // Left, right, centered and two possibilities of block adjustment -// The block adjustment is realized by spacing between the characteres, +// The block adjustment is realized by spacing between the characters, // either with a half space or no space in front of the first letter and // a half space at the end of the last letter. // Notice: the smaller line will be manipulated, normally it's the ruby line, diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index eaf63e11f9ea..37a9a070784d 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -109,7 +109,7 @@ void TabControl::ImplInit( vcl::Window* pParent, WinBits nStyle ) mpTabCtrlData->mpListBox->Show(); } - // if the tabcontrol is drawn (ie filled) by a native widget, make sure all contols will have transparent background + // if the tabcontrol is drawn (ie filled) by a native widget, make sure all controls will have transparent background // otherwise they will paint with a wrong background if( IsNativeControlSupported(CTRL_TAB_PANE, PART_ENTIRE_CONTROL) ) EnableChildTransparentMode(); diff --git a/vcl/source/window/tabpage.cxx b/vcl/source/window/tabpage.cxx index e22f91d9402c..5bd0b8301c9f 100644 --- a/vcl/source/window/tabpage.cxx +++ b/vcl/source/window/tabpage.cxx @@ -40,7 +40,7 @@ void TabPage::ImplInit( vcl::Window* pParent, WinBits nStyle ) ImplInitSettings(); - // if the tabpage is drawn (ie filled) by a native widget, make sure all contols will have transparent background + // if the tabpage is drawn (ie filled) by a native widget, make sure all controls will have transparent background // otherwise they will paint with a wrong background if( IsNativeControlSupported(CTRL_TAB_BODY, PART_ENTIRE_CONTROL) && GetParent() && (GetParent()->GetType() == WINDOW_TABCONTROL) ) EnableChildTransparentMode(); diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java index 8f74c602a4bb..7defff59cc04 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.java +++ b/wizards/com/sun/star/wizards/common/FileAccess.java @@ -46,7 +46,7 @@ import com.sun.star.document.XDocumentProperties; * keeps a reference to an XSimpleFileAccess and an * XFileIdentifierConverter, saves the permanent * overhead of quering for those interfaces, and delivers - * conveneince methods for using them. + * convenience methods for using them. * These Convenince methods include mainly Exception-handling. */ public class FileAccess diff --git a/wizards/com/sun/star/wizards/common/FileAccess.py b/wizards/com/sun/star/wizards/common/FileAccess.py index a5e08b311cc5..a9d693a37ddd 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.py +++ b/wizards/com/sun/star/wizards/common/FileAccess.py @@ -27,7 +27,7 @@ some functionality of SimpleFileAccess. The instance keeps a reference to an XSimpleFileAccess and an XFileIdentifierConverter, saves the permanent overhead of quering for those interfaces, and delivers -conveneince methods for using them. +convenience methods for using them. These Convenince methods include mainly Exception-handling. ''' -- cgit