From 0b7d51df3b4ce49f318dd9091df0bf7ba37cdd99 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 2 Jul 2015 18:25:02 +0200 Subject: Fix typos Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- setup_native/source/win32/wintools/msidb/msidb.c | 2 +- sfx2/source/appl/appopen.cxx | 2 +- sfx2/source/appl/newhelp.cxx | 2 +- sfx2/source/appl/workwin.cxx | 2 +- sfx2/source/control/dispatch.cxx | 6 +++--- sfx2/source/dialog/mailmodel.cxx | 2 +- sfx2/source/doc/DocumentMetadataAccess.cxx | 2 +- sfx2/source/doc/doctempl.cxx | 2 +- sfx2/source/doc/objcont.cxx | 2 +- sfx2/source/doc/objstor.cxx | 2 +- sfx2/source/doc/printhelper.cxx | 8 ++++---- sfx2/source/menu/virtmenu.cxx | 2 +- sfx2/source/statbar/stbitem.cxx | 2 +- shell/inc/internal/types.hxx | 2 +- slideshow/source/engine/effectrewinder.hxx | 2 +- solenv/bin/modules/installer/parameter.pm | 4 +--- solenv/gbuild/TargetLocations.mk | 2 +- soltools/cpp/_lex.c | 2 +- soltools/cpp/_unix.c | 2 +- soltools/cpp/cpp.h | 2 +- starmath/source/mathmlexport.cxx | 4 ++-- starmath/source/mathtype.cxx | 2 +- stoc/source/servicemanager/servicemanager.cxx | 2 +- svgio/inc/svgio/svgreader/svgnode.hxx | 2 +- svgio/inc/svgio/svgreader/svgstyleattributes.hxx | 2 +- svl/source/filerec/filerec.cxx | 4 ++-- svl/source/items/itemset.cxx | 2 +- svl/source/items/poolio.cxx | 2 +- svl/source/numbers/supservs.cxx | 2 +- svl/source/numbers/zforfind.cxx | 2 +- svl/source/numbers/zforfind.hxx | 2 +- svl/source/passwordcontainer/passwordcontainer.cxx | 2 +- svtools/source/config/optionsdrawinglayer.cxx | 2 +- svtools/source/control/inettbc.cxx | 2 +- svtools/source/svrtf/svparser.cxx | 2 +- svtools/source/table/mousefunction.cxx | 2 +- svtools/source/uno/genericunodialog.cxx | 2 +- svx/inc/galtheme.hrc | 2 +- svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx | 2 +- svx/source/accessibility/AccessibleControlShape.cxx | 2 +- svx/source/accessibility/ChildrenManagerImpl.hxx | 2 +- svx/source/dialog/measctrl.cxx | 2 +- svx/source/engine3d/float3d.cxx | 2 +- svx/source/engine3d/scene3d.cxx | 2 +- svx/source/fmcomp/gridctrl.cxx | 2 +- svx/source/form/fmshimp.cxx | 4 ++-- svx/source/form/fmsrcimp.cxx | 2 +- svx/source/form/navigatortree.cxx | 2 +- svx/source/form/navigatortreemodel.cxx | 2 +- svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx | 4 ++-- svx/source/sdr/properties/attributeproperties.cxx | 2 +- svx/source/svdraw/svdedtv1.cxx | 2 +- svx/source/svdraw/svdundo.cxx | 2 +- svx/source/toolbars/extrusionbar.cxx | 2 +- svx/source/unodraw/unoshap2.cxx | 2 +- svx/source/unodraw/unoshape.cxx | 4 ++-- svx/source/xoutdev/xtabdash.cxx | 2 +- 57 files changed, 67 insertions(+), 69 deletions(-) diff --git a/setup_native/source/win32/wintools/msidb/msidb.c b/setup_native/source/win32/wintools/msidb/msidb.c index ea1c5ba6c011..b4242e1fb27a 100644 --- a/setup_native/source/win32/wintools/msidb/msidb.c +++ b/setup_native/source/win32/wintools/msidb/msidb.c @@ -492,7 +492,7 @@ int wmain(int argc, WCHAR *argv[]) argv++; argc--; i++; } break; - case 'c': /* Create/ovrwrt .msi db */ + case 'c': /* Create/overwrite .msi db */ createdb = TRUE; break; case 'f': /* Specify working dir */ diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 4ac17df231a0..866412820ce6 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -214,7 +214,7 @@ sal_uInt32 CheckPasswd_Impl { // TODO/LATER: // the storage either has no encrypted elements or it's just - // does not allow to detect it, probably it should be implemented laiter + // does not allow to detect it, probably it should be implemented later } if ( bIsEncrypted ) diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index c936655737b8..daf697cd2be4 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -681,7 +681,7 @@ void IndexTabPage_Impl::InitializeIndex() else aIndex.clear(); - // Assume the token is trimed + // Assume the token is trimmed UNIFY_AND_INSERT_TOKEN( aKeywordPair ); sal_uInt32 nRefListLen = aRefList.getLength(); diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 1bf8e323a760..93bf4df98def 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -78,7 +78,7 @@ static const ResIdToResName pToolBarResToName[] = { 18001, "formsnavigationbar" }, // Probably the rest are defined in .hrc files that are higher // up in the dependency chain and/or later in the build order, // and that is the (bad) reason why their symbolic names are - // not available? Would it really be so owful to move the .hrc + // not available? Would it really be so awful to move the .hrc // files in question out from the modules where they now are? { 18002, "formsfilterbar" }, diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 64a6cb559c74..109d336e26f9 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -1266,8 +1266,8 @@ void SfxDispatcher::_Update_Impl( bool bUIActive, bool bIsMDIApp, bool bIsIPOwne xImp->aObjBars[n].nResId = 0; xImp->aChildWins.clear(); - // bQuiet : own shells aren't considered for UI and SlotServer - // bNoUI: own Shells aren't considered fors UI + // bQuiet: own shells aren't considered for UI and SlotServer + // bNoUI: own Shells aren't considered forms UI if ( xImp->bQuiet || xImp->bNoUI || (xImp->pFrame && xImp->pFrame->GetObjectShell()->IsPreview()) ) return; @@ -1538,7 +1538,7 @@ void SfxDispatcher::FlushImpl() // If more changes have occurred on the stach when // Activate/Deactivate/Delete: if (!xImp->bFlushed) - // If Push/Pop hs been called by someone, theb also EnterReg was called! + // If Push/Pop has been called by someone, then also EnterReg was called! FlushImpl(); if( bAwakeBindings && GetBindings() ) diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx index b0cdda7e85f9..6b31c592d6b9 100644 --- a/sfx2/source/dialog/mailmodel.cxx +++ b/sfx2/source/dialog/mailmodel.cxx @@ -567,7 +567,7 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat( } } - //check if this is the pdf otput filter (i#64555) + //check if this is the pdf output filter (i#64555) if( bSendAsPDF ) { SaveResult eShowPDFFilterDialog = ShowFilterOptionsDialog( diff --git a/sfx2/source/doc/DocumentMetadataAccess.cxx b/sfx2/source/doc/DocumentMetadataAccess.cxx index 228f57878a34..d6130df49887 100644 --- a/sfx2/source/doc/DocumentMetadataAccess.cxx +++ b/sfx2/source/doc/DocumentMetadataAccess.cxx @@ -1262,7 +1262,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException, if (!xIn.is() && URL.isEmpty()) { throw lang::IllegalArgumentException( "DocumentMetadataAccess::loadMetadataFromMedium: " - "inalid medium: no URL, no input stream", *this, 0); + "invalid medium: no URL, no input stream", *this, 0); } uno::Reference xStorage; try { diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 140e62cd044c..38ca442ccf9b 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -615,7 +615,7 @@ bool SfxDocumentTemplates::CopyOrMove else { if ( xTemplates->removeTemplate( pTargetRgn->GetTitle(), aTitle ) ) - return false; // will trigger tetry with copy instead of move + return false; // will trigger retry with copy instead of move // if it is not possible to remove just created template ( must be possible! ) // it is better to report success here, since at least the copy has succeeded diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index c7d5cde56e11..16c573e36ad3 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -233,7 +233,7 @@ void SfxObjectShell::UpdateTime_Impl( util::Duration editDuration(sal_False, 0, 0, 0, secs/3600, (secs%3600)/60, secs%60, 0); - // Initialize some local member! Its necessary for wollow operations! + // Initialize some local member! Its necessary for follow operations! DateTime aNow( DateTime::SYSTEM ); // Date and time at current moment tools::Time n24Time (24,0,0,0) ; // Time-value for 24 hours - see follow calculation sal_uIntPtr nDays = 0 ; // Count of days between now and last editing diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index ae51fb74004f..cfaa651a887b 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -1795,7 +1795,7 @@ bool SfxObjectShell::DisconnectStorage_Impl( SfxMedium& rSrcMedium, SfxMedium& r { // the following call will only compare stream sizes // TODO/LATER: this is a very risky part, since if the URL contents are different from the storage - // contents, the storag will be broken + // contents, the storage will be broken xOptStorage->attachToURL( aBackupURL, sal_True ); // the storage is successfully attached to backup, thus it is owned by the document not by the medium diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index 791fbeaf915d..be3825a07f3c 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -470,8 +470,8 @@ void SAL_CALL SfxPrintHelper::setPrinter(const uno::Sequence< beans::PropertyVal /* This implements a thread which will be started to wait for asynchronous - print jobs to temp. localy files. If they finish we move the temp. files - to her right locations by using the ucb. + print jobs to temp. locally files. If they finish we move the temp. files + to their right locations by using the ucb. */ class ImplUCBPrintWatcher : public ::osl::Thread { @@ -509,7 +509,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread /* } SAFE */ // lock for further using of our member isn't necessary - because - // we truns alone by defenition. Nobody join for us nor use us ... + // we run alone by definition. Nobody join for us nor use us... moveAndDeleteTemp(&m_pTempFile,m_sTargetURL); // finishing of this run() method will call onTerminate() automatically @@ -787,7 +787,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // b) else { - // Note: we create(d) some resource on the heap. (thread and tep file) + // Note: we create(d) some resource on the heap (thread and temp file). // They will be deleted by the thread automatically if he finish his run() method. ImplUCBPrintWatcher* pWatcher = new ImplUCBPrintWatcher( pPrinter, pUCBPrintTempFile, sUcbUrl ); pWatcher->create(); diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx index 85defbfc21fb..4adda62c45ec 100644 --- a/sfx2/source/menu/virtmenu.cxx +++ b/sfx2/source/menu/virtmenu.cxx @@ -782,7 +782,7 @@ IMPL_LINK_TYPED( SfxVirtualMenu, Activate, Menu *, pMenu, bool ) << pSVMenu); // MI: for what was it still good for? - // MBA: seemes to be an old QAP-Hack( checked-in in rev.1.41 ! ) + // MBA: seems to be an old QAP-Hack (checked-in in rev.1.41!) if ( pMenu ) { diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx index 204fee2207ce..5a1866120008 100644 --- a/sfx2/source/statbar/stbitem.cxx +++ b/sfx2/source/statbar/stbitem.cxx @@ -426,7 +426,7 @@ void SfxStatusBarControl::StateChanged sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState /* Pointer to SfxPoolItem, is only valid - withih this Method call. This can be a + within this Method call. This can be a Null-Pointer, a Pointer to SfxVoidItem or of this Type found registered by the Subclass of SfxStatusBarControl. diff --git a/shell/inc/internal/types.hxx b/shell/inc/internal/types.hxx index d1470048fa62..1a6c32dc36fa 100644 --- a/shell/inc/internal/types.hxx +++ b/shell/inc/internal/types.hxx @@ -62,7 +62,7 @@ const Chunk_t EMPTY_CHUNK = ::std::make_pair( EMPTY_LOCALE, ::std::wstring()); //+------------------------------------------------------------------------- // Declare: StyleName_t, style name of a style-locale pair. -// StyleLocaleMap, the map of Styple-Locale pair. +// StyleLocaleMap, the map of Style-Locale pair. // Contents: Definitions of Style Names. typedef ::std::wstring StyleName_t; diff --git a/slideshow/source/engine/effectrewinder.hxx b/slideshow/source/engine/effectrewinder.hxx index e44a63faa58b..2fba401ef7f1 100644 --- a/slideshow/source/engine/effectrewinder.hxx +++ b/slideshow/source/engine/effectrewinder.hxx @@ -55,7 +55,7 @@ public: UserEventQueue& rUserEventQueue); ~EffectRewinder(); - /** Call Dispose() before the ownder of an EffectRewinder object dies so + /** Call Dispose() before the owner of an EffectRewinder object dies so that the EffectRewinder can release all references to the owner. */ diff --git a/solenv/bin/modules/installer/parameter.pm b/solenv/bin/modules/installer/parameter.pm index d32df73b8b6e..bb98b7c7701e 100644 --- a/solenv/bin/modules/installer/parameter.pm +++ b/solenv/bin/modules/installer/parameter.pm @@ -230,10 +230,8 @@ sub make_path_absolute $$pathref =~ s/[\/\\]\s*$//; # removing ending slashes } -################################################## # Setting some global parameters -# This has to be expanded with furher platforms -################################################## +# This has to be expanded with further platforms sub setglobalvariables { diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk index 82857a9d737d..10955c4e2c37 100644 --- a/solenv/gbuild/TargetLocations.mk +++ b/solenv/gbuild/TargetLocations.mk @@ -19,7 +19,7 @@ # outdir target pattern -# thoese are hard-coded to URE for now since there are so few of them... +# these are hard-coded to URE for now since there are so few of them... gb_CliLibrary_get_target = $(INSTROOT)/$(LIBO_URE_LIB_FOLDER)/$(1)$(gb_CliLibrary_EXT) gb_CliNativeLibrary_get_target = $(INSTROOT)/$(LIBO_URE_LIB_FOLDER)/$(1)$(gb_CliNativeLibrary_EXT) gb_CliUnoApi_get_target = $(INSTROOT)/$(if $(filter cli_uretypes,$(1)),$(LIBO_URE_LIB_FOLDER),$(LIBO_LIB_FOLDER))/$(1)$(gb_CliUnoApi_EXT) diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c index 3c35320a9bdc..4a9dcc7dddc5 100644 --- a/soltools/cpp/_lex.c +++ b/soltools/cpp/_lex.c @@ -597,7 +597,7 @@ int { int n = 1; - /* skip pending wihite spaces */ + /* skip pending white spaces */ while ((s->inp[n] == ' ') || (s->inp[n] == '\t')) { n++; diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c index fa8abffec510..d68eed402074 100644 --- a/soltools/cpp/_unix.c +++ b/soltools/cpp/_unix.c @@ -39,7 +39,7 @@ int Pflag = 0; /* print no line information */ int Iflag = 0; /* print includes */ -int Mflag = 0; /* print macor expansion */ +int Mflag = 0; /* print macro expansion */ int Aflag = 0; /* translate character sets */ int Xflag = 0; /* print pragma for include/import */ int Vflag = 0; /* verbose flag */ diff --git a/soltools/cpp/cpp.h b/soltools/cpp/cpp.h index 5e57118fbd89..dcf01e5a126a 100644 --- a/soltools/cpp/cpp.h +++ b/soltools/cpp/cpp.h @@ -21,7 +21,7 @@ #include #define INS 32768 /* input buffer */ -#define OBS 8092 /* outbut buffer */ +#define OBS 8092 /* output buffer */ #define NARG 32 /* Max number arguments to a macro */ #define NINCLUDE 48 /* Max number of include directories (-I) */ #define NIF 64 /* depth of nesting of #if */ diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx index a08750be455b..471e0e3b3bb2 100644 --- a/starmath/source/mathmlexport.cxx +++ b/starmath/source/mathmlexport.cxx @@ -19,7 +19,7 @@ /* Warning: The SvXMLElementExport helper class creates the beginning and - closing tags of xml elements in its constructor and destructor, so theres + closing tags of xml elements in its constructor and destructor, so there's hidden stuff going on, on occasion the ordering of these classes declarations may be significant */ @@ -1211,7 +1211,7 @@ void SmXMLExport::ExportFont(const SmNode *pNode, int nLevel) default: SAL_WARN("starmath", "unexpected case"); } - // According to the parser every node that is to be evaluated heres + // According to the parser every node that is to be evaluated here // has a single non-zero subnode at index 1!! Thus we only need to check // that single node for follow-up nodes that have an effect on the attribute. if (pNode->GetNumSubNodes() > 1 && pNode->GetSubNode(1) && diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index b3dccf7d42a8..59482723f4d5 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -68,7 +68,7 @@ void MathType::Init() General solution required to force starmath to handle unicode math chars the way it handles its own math - chars rathar than handle them as text as it will do + chars rather than handle them as text as it will do for the default case below, i.e. incorrect spacing between math symbols and ordinary text e.g. 1=2 rather than 1 = 2 diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx index b84dd9d2a32a..8a85e1514184 100644 --- a/stoc/source/servicemanager/servicemanager.cxx +++ b/stoc/source/servicemanager/servicemanager.cxx @@ -398,7 +398,7 @@ public: virtual Reference SAL_CALL createInstance(const OUString &) throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference SAL_CALL createInstanceWithArguments(const OUString &, const Sequence& Arguments) throw(css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // The same as the getAvailableServiceNames, but only uique names + // The same as the getAvailableServiceNames, but only unique names Sequence< OUString > getUniqueAvailableServiceNames( HashSet_OWString & aNameSet ); diff --git a/svgio/inc/svgio/svgreader/svgnode.hxx b/svgio/inc/svgio/svgreader/svgnode.hxx index d8e488d9c396..81d62d357159 100644 --- a/svgio/inc/svgio/svgreader/svgnode.hxx +++ b/svgio/inc/svgio/svgreader/svgnode.hxx @@ -78,7 +78,7 @@ namespace svgio }; // helper to convert a string associated with a token of type SVGTokenDisplay - // to the enum Display. Empty trings return the default 'Display_inline' with + // to the enum Display. Empty strings return the default 'Display_inline' with // which members should be initialized Display getDisplayFromContent(const OUString& aContent); diff --git a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx index ac3fbf8cad3a..5a67aa11527b 100644 --- a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx +++ b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx @@ -223,7 +223,7 @@ namespace svgio // defines if this attributes are part of a ClipPath. If yes, // rough geometry will be created on decomposition by patching - // vaules for fill, stroke, strokeWidth and others + // values for fill, stroke, strokeWidth and others bool mbIsClipPathContent : 1; // #121221# Defines if evtl. an empty array *is* set diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx index 3c02645d0e3e..c68a8c6cad6e 100644 --- a/svl/source/filerec/filerec.cxx +++ b/svl/source/filerec/filerec.cxx @@ -107,7 +107,7 @@ bool SfxMiniRecordReader::SetHeader_Impl( sal_uInt32 nHeader ) { bool bRet = true; - // determine reord end and PreTag from the header + // determine record end and PreTag from the header _nEofRec = _pStream->Tell() + SFX_REC_OFS(nHeader); _nPreTag = sal::static_int_cast< sal_uInt8 >(SFX_REC_PRE(nHeader)); @@ -520,7 +520,7 @@ bool SfxMultiRecordReader::ReadHeader_Impl() _pStream->ReadUInt16( _nContentCount ); _pStream->ReadUInt32( _nContentSize ); // Fix: each on its own, Var|Mix: table position - // do we still need to rade a table with Content offsets? + // do we still need to read a table with Content offsets? if ( _nRecordType != SFX_REC_TYPE_FIXSIZE ) { // read table from the stream diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index 301bafc2bfab..8a8dafd89666 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -1398,7 +1398,7 @@ SvStream &SfxItemSet::Store * This method loads an SfxItemSet from a stream. * If the SfxItemPool was loaded without RefCounts the loaded Item * references are counted, else we assume the they were accounted for - * when loadig the SfxItemPool. + * when loading the SfxItemPool. * * @see SfxItemSet::Store(Stream&,bool) const */ diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx index 918330f6fa5a..1e0a20ea59ba 100644 --- a/svl/source/items/poolio.cxx +++ b/svl/source/items/poolio.cxx @@ -937,7 +937,7 @@ void SfxItemPool::SetStoringRange( sal_uInt16 nFrom, sal_uInt16 nTo ) * WhichIds. Moving WhichIds is not permitted. * This method should only be called in or right after the ctor. * - * The array must be static, because its not copied and resued in the + * The array must be static, because its not copied and reused in the * copy-ctor of the SfxItemPool * * Example usage: diff --git a/svl/source/numbers/supservs.cxx b/svl/source/numbers/supservs.cxx index 416ddef688ae..6fed0a08ef08 100644 --- a/svl/source/numbers/supservs.cxx +++ b/svl/source/numbers/supservs.cxx @@ -157,7 +157,7 @@ void SvNumberFormatsSupplierServiceObject::implEnsureFormatter() SvtSysLocale aSysLocale; css::lang::Locale aOfficeLocale = aSysLocale.GetLocaleData().getLanguageTag().getLocale(); - // initi with this locale + // initialize with this locale Sequence< Any > aFakedInitProps( 1 ); aFakedInitProps[0] <<= aOfficeLocale; diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index ac8de66f82c6..f0b08b5a903d 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -353,7 +353,7 @@ bool ImpSvNumberInputScan::SkipThousands( const sal_Unicode*& pStr, } // switch } // while - if (eState == SsGetValue) // break witth less than 3 digits + if (eState == SsGetValue) // break with less than 3 digits { if ( nCounter ) { diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx index de99dd96c7de..a66e3328ea86 100644 --- a/svl/source/numbers/zforfind.hxx +++ b/svl/source/numbers/zforfind.hxx @@ -360,7 +360,7 @@ private: bool MatchedReturn(); //! Be sure that the string to be analyzed is already converted to upper - //! case and if it contained native humber digits that they are already + //! case and if it contained native number digits that they are already //! converted to ASCII. // Main analyzing function diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 76b8eff351d3..a6e8a83f69cd 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -242,7 +242,7 @@ PassMap StorageItem::getInfo() } } else - OSL_FAIL( "Wrong index sintax!\n" ); + OSL_FAIL( "Wrong index syntax!\n" ); } return aResult; diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx index b4bd909015c1..1b1ecc80ebce 100644 --- a/svtools/source/config/optionsdrawinglayer.cxx +++ b/svtools/source/config/optionsdrawinglayer.cxx @@ -724,7 +724,7 @@ bool SvtOptionsDrawinglayer_Impl::IsAAPossibleOnThisSystem() const pThat->m_bAllowAAChecked = true; #ifdef WIN32 - // WIN32 uses GDIPlus with VCL forthe first incarnation; this will be enhanced + // WIN32 uses GDIPlus with VCL for the first incarnation; this will be enhanced // in the future to use canvases and the canvas renderer, thus a AA-abled // canvas needs to be checked here in the future. // Currently, just allow AA for WIN32 diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 997ce064e248..4f3419845726 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -313,7 +313,7 @@ void SvtMatchContext_Impl::ReadFolder( const OUString& rURL, || aText.endsWith("/.."); // for pure home paths ( ~username ) the '.' at the end of rMatch - // means that it poits to root catalog + // means that it points to root catalog // this is done only for file contents since home paths parsing is useful only for them if ( bPureHomePath && rMatch == "file:///." ) { diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx index 50c231390e0d..7e1c05385f64 100644 --- a/svtools/source/svrtf/svparser.cxx +++ b/svtools/source/svrtf/svparser.cxx @@ -154,7 +154,7 @@ sal_Unicode SvParser::GetNextChar() sal_Unicode c = 0U; // When reading muliple bytes, we don't have to care about the file - // position when we run inti the pending state. The file position is + // position when we run into the pending state. The file position is // maintained by SaveState/RestoreState. bool bErr; if( bSwitchToUCS2 && 0 == rInput.Tell() ) diff --git a/svtools/source/table/mousefunction.cxx b/svtools/source/table/mousefunction.cxx index 5a17fbc7d2b6..2dfbdca42554 100644 --- a/svtools/source/table/mousefunction.cxx +++ b/svtools/source/table/mousefunction.cxx @@ -39,7 +39,7 @@ namespace svt { namespace table if ( m_nResizingColumn == COL_INVALID ) { - // if we hit a column divider, change the mosue pointer accordingly + // if we hit a column divider, change the mouse pointer accordingly Pointer aNewPointer( PointerStyle::Arrow ); TableCell const tableCell = i_tableControl.hitTest( aPoint ); if ( ( tableCell.nRow == ROW_COL_HEADERS ) && ( tableCell.eArea == ColumnDivider ) ) diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx index 4b7f82f3d753..7f47b57a977e 100644 --- a/svtools/source/uno/genericunodialog.cxx +++ b/svtools/source/uno/genericunodialog.cxx @@ -262,7 +262,7 @@ void SAL_CALL OGenericUnoDialog::endExecute( ) throw(RuntimeException) throw RuntimeException(); if (!m_pDialog->IsInExecute()) - // we tighly missed it ... another thread finished the execution of the dialog, + // we tightly missed it... another thread finished the execution of the dialog, // but did not manage it to reset m_bExecuting, it currently tries to acquire // m_aMutex or m_aExecutionMutex // => nothing to do diff --git a/svx/inc/galtheme.hrc b/svx/inc/galtheme.hrc index 48aa05450ec5..ebcaed42b2e9 100644 --- a/svx/inc/galtheme.hrc +++ b/svx/inc/galtheme.hrc @@ -28,7 +28,7 @@ // These defines are used to map gallery names to translated string ressources. Since // galleries may be copied from older offices to newer, do *never* change this // IDs except adding new ones (and adapting RID_GALLERYSTR_THEME_LAST). The ID -// *is* written into the binary file *.thm (which is a galler theme combined of +// *is* written into the binary file *.thm (which is a gallery theme combined of // three files, *.thm, *.sdv and *.sdg) #define RID_GALLERYSTR_THEME_3D (RID_GALLERYSTR_THEME_START + 1) diff --git a/svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx index d01859481917..e31bac9441a8 100644 --- a/svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx +++ b/svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx @@ -55,7 +55,7 @@ namespace drawinglayer // remember last VisualizingPage for which a decomposition was made. If the new target // is not given or different, the decomposition needs to be potentially removed // for supporting e.g. page number change on MasterPage objects or the different - // field renderings in SubGeometry and MasterPage mnode + // field renderings in SubGeometry and MasterPage node com::sun::star::uno::Reference< com::sun::star::drawing::XDrawPage > mxLastVisualizingPage; // remember last PageNumber for which a decomposition was made. This is only used diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx index 550e019ae7bb..0e45e5fde076 100644 --- a/svx/source/accessibility/AccessibleControlShape.cxx +++ b/svx/source/accessibility/AccessibleControlShape.cxx @@ -259,7 +259,7 @@ void AccessibleControlShape::Init() if ( m_xControlContextProxy.is() ) { // At this point in time, the proxy has a ref count of exactly one - in m_xControlContextProxy. - // Remember to _not_ reset this member unles the delegator of the proxy has been reset, too! + // Remember to _not_ reset this member unless the delegator of the proxy has been reset, too! m_xControlContextProxy->setDelegator( *this ); } osl_atomic_decrement( &m_refCount ); diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx index 1e0ec534a98e..d7935966e37f 100644 --- a/svx/source/accessibility/ChildrenManagerImpl.hxx +++ b/svx/source/accessibility/ChildrenManagerImpl.hxx @@ -345,7 +345,7 @@ protected: AccessibleShapeTreeInfo maShapeTreeInfo; /** Reference to an accessible context object that is used to inform its - listeners of new and remved children. + listeners of new and removed children. */ AccessibleContextBase& mrContext; diff --git a/svx/source/dialog/measctrl.cxx b/svx/source/dialog/measctrl.cxx index 19b666fc4ba8..3c551c2c2b0f 100644 --- a/svx/source/dialog/measctrl.cxx +++ b/svx/source/dialog/measctrl.cxx @@ -87,7 +87,7 @@ void SvxXMeasurePreview::dispose() // No one is deleting the MeasureObj? This is not only an error but also // a memory leak (!). Main problem is that this object is still listening to // a StyleSheet of the model which was set. Thus, if You want to keep the obnject, - // set the modfel to 0L, if object is not needed (seems to be the case here), + // set the model to 0L, if object is not needed (seems to be the case here), // delete it. delete pMeasureObj; diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx index 455ef5e612ef..84d6b065657c 100644 --- a/svx/source/engine3d/float3d.cxx +++ b/svx/source/engine3d/float3d.cxx @@ -982,7 +982,7 @@ void Svx3DWin::Update( SfxItemSet& rAttrs ) bUpdate = true; } } - // Ligh 3 (on/off) + // Light 3 (on/off) eState = rAttrs.GetItemState(SDRATTR_3DSCENE_LIGHTON_3); if( eState != SfxItemState::DONTCARE ) { diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx index a488e5e3ac1f..d4c5b47b47e0 100644 --- a/svx/source/engine3d/scene3d.cxx +++ b/svx/source/engine3d/scene3d.cxx @@ -625,7 +625,7 @@ void E3dScene::NbcRotate(const Point& rRef, long nAngle, double sn, double cs) // So that was the scene, now the objects used in the scene // 3D objects, if there is only one it can still have multiple surfaces but - // the surfaces do not hve to be connected. This allows you to access child + // the surfaces do not have to be connected. This allows you to access child // objects. So going through the entire list and rotate around the Z axis // through the enter of aOutRect's (Steiner's theorem), so RotateZ diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 5bd3331a5679..cdb33028fbf8 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2056,7 +2056,7 @@ bool DbGridControl::SetCurrent(long nNewRow) { // to we need to move the cursor to the insert row? // we need to insert the if the current row isn't the insert row or if the - // cursor triggered the move by itselt and we need a reinitialization of the row + // cursor triggered the move by itself and we need a reinitialization of the row Reference< XPropertySet > xCursorProps = m_pDataCursor->getPropertySet(); if ( !::comphelper::getBOOL(xCursorProps->getPropertyValue(FM_PROP_ISNEW)) ) { diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 0d0312ee0f54..dd639bdb96cb 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -1155,7 +1155,7 @@ bool FmXFormShell::executeControlConversionSlot( const Reference< XFormComponent aOldScripts = xEvManager->getScriptEvents(nIndex); } - // replace the mdoel within the parent container + // replace the model within the parent container Reference< XIndexContainer> xIndexParent(xChild->getParent(), UNO_QUERY); if (xIndexParent.is()) { @@ -3056,7 +3056,7 @@ void FmXFormShell::stopFiltering(bool bSave) j != rControllerList.end(); ++j) { if (bSave) - { // remember the current filter settings in case we're goin to reload the forms below (which may fail) + { // remember the current filter settings in case we're going to reload the forms below (which may fail) try { Reference< XPropertySet > xFormAsSet((*j)->getModel(), UNO_QUERY); diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index f747bca84fb9..52680c18cf52 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -483,7 +483,7 @@ FmSearchEngine::SEARCH_RESULT FmSearchEngine::SearchWildcard(const OUString& str Application::Reschedule(); // do 2 reschedules because of #70226# : some things done within this loop's body may cause an user event // to be posted (deep within vcl), and these user events will be handled before any keyinput or paintings - // or anything like that. So within each loop we create one user event and hanel one user event (and no + // or anything like that. So within each loop we create one user event and handle one user event (and no // paintings and these), so the office seems to be frozen while searching. // FS - 70226 - 02.12.99 } diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index d54ead014955..a1f49fb34a13 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -808,7 +808,7 @@ namespace svxform // 5) a control or form will be dropped onto a control which is _not_ a sibling (dropping onto a sibling // means moving the control) - // collect the ancestors of the drop targte (speeds up 3) + // collect the ancestors of the drop target (speeds up 3) SvLBoxEntrySortedArray arrDropAnchestors; SvTreeListEntry* pLoop = _pTargetEntry; while (pLoop) diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx index bfc78c607033..9bfa52b43962 100644 --- a/svx/source/form/navigatortreemodel.cxx +++ b/svx/source/form/navigatortreemodel.cxx @@ -510,7 +510,7 @@ namespace svxform void NavigatorTreeModel::FillBranch( FmFormData* pFormData ) { - // insert froms from root + // insert forms from root if( pFormData == NULL ) { Reference< XIndexContainer > xForms(GetForms(), UNO_QUERY); diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index 496459ed49fc..8479eeb23bae 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -1516,7 +1516,7 @@ namespace sdr { namespace contact { void LazyControlCreationPrimitive2D::getTransformation( const ViewContactOfUnoControl& _rVOC, ::basegfx::B2DHomMatrix& _out_Transformation ) { // Do use model data directly to create the correct geometry. Do NOT - // use getBoundRect()/getSnapRect() here; tese will use the sequence of + // use getBoundRect()/getSnapRect() here; these will use the sequence of // primitives themselves in the long run. Rectangle aSdrGeoData( _rVOC.GetSdrUnoObj().GetGeoRect() ); Point aGridOffset = _rVOC.GetSdrUnoObj().GetGridOffset(); @@ -1678,7 +1678,7 @@ namespace sdr { namespace contact { { // when live mode is switched on, a refresh is needed. The edit mode visualisation // needs to be repainted and the now used VCL-Window needs to be positioned and - // sized. Both is done from the repant refresh. + // sized. Both is done from the repaint refresh. const_cast< ViewObjectContactOfUnoControl* >(this)->ActionChanged(); } } diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx index c4609c4fad79..325558b9fd0b 100644 --- a/svx/source/sdr/properties/attributeproperties.cxx +++ b/svx/source/sdr/properties/attributeproperties.cxx @@ -483,7 +483,7 @@ namespace sdr SfxItemSet* pDestItemSet = new SfxItemSet(*mpItemSet); pDestItemSet->SetParent(0L); - // pepare forgetting the current stylesheet like in RemoveStyleSheet() + // prepare forgetting the current stylesheet like in RemoveStyleSheet() EndListening(*mpStyleSheet); EndListening(mpStyleSheet->GetPool()); diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index e9979ad6ce82..83f8a66cd2cc 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -188,7 +188,7 @@ void SdrEditView::MoveMarkedObj(const Size& rSiz, bool bCopy) OUString aStr(ImpGetResStr(STR_EditMove)); if (bCopy) aStr += ImpGetResStr(STR_EditWithCopy); - // meeds its own UndoGroup because of its parameters + // needs its own UndoGroup because of its parameters BegUndo(aStr,GetDescriptionOfMarkedObjects(),SDRREPFUNC_OBJ_MOVE); } diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index b2c85d26e3ff..069afe450f8e 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -1161,7 +1161,7 @@ void SdrUndoObjSetText::Redo() pTarget->ActionChanged(); - // #i124389# if it's a table, als oneed to relayout TextFrame + // #i124389# if it's a table, also need to relayout TextFrame if(0 != dynamic_cast< sdr::table::SdrTableObj* >(pTarget)) { pTarget->NbcAdjustTextFrameWidthAndHeight(); diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx index de50647caa53..79c0fdf7301d 100644 --- a/svx/source/toolbars/extrusionbar.cxx +++ b/svx/source/toolbars/extrusionbar.cxx @@ -1120,7 +1120,7 @@ void getExtrusionLightingIntensityState( SdrView* pSdrView, SfxItemSet& rSet ) } else if( fBrightness >= 10.0 ) { - nLevel = 1; // Noraml; + nLevel = 1; // Normal; } else { diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index f01fe9e6c5e0..30ff3f4aefeb 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -1133,7 +1133,7 @@ void SAL_CALL B2DPolyPolygonToSvxPointSequenceSequence( const basegfx::B2DPolyPo // get single polygon const basegfx::B2DPolygon aPoly(rPolyPoly.getB2DPolygon(a)); - // #i75974# take closed stae into account, the API polygon still uses the old closed definition + // #i75974# take closed state into account, the API polygon still uses the old closed definition // with last/first point are identical (cannot hold information about open polygons with identical // first and last point, though) const sal_uInt32 nPointCount(aPoly.count()); diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 319678a06ed8..549c3e7dfb57 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -1442,7 +1442,7 @@ bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName bool SAL_CALL SvxShape::SetFillAttribute( sal_Int32 nWID, const OUString& rName, SfxItemSet& rSet, SdrModel* pModel ) { // check if an item with the given name and which id is inside the models - // pool or the stylesheet pool, if found its puttet in the itemse + // pool or the stylesheet pool, if found it's put in the itemset if( !SetFillAttribute( nWID, rName, rSet ) ) { // we did not find such item in one of the pools, so we check @@ -2287,7 +2287,7 @@ bool SvxShape::setPropertyValueImpl( const OUString&, const SfxItemPropertySimpl { basegfx::B2DPolyPolygon aNewPolyPolygon; - // #123616# be a little bit more flexible regardin gthe data type used + // #123616# be a little bit more flexible regarding the data type used if( rValue.getValueType() == cppu::UnoType::get()) { // get polygpon data from PointSequenceSequence diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx index 1a08f7bd9602..0fea3a6ec2c6 100644 --- a/svx/source/xoutdev/xtabdash.cxx +++ b/svx/source/xoutdev/xtabdash.cxx @@ -213,7 +213,7 @@ OUString XDashList::GetStringForUiNoLine() const { if(maStringNoLine.isEmpty()) { - // formally was RID_SVXSTR_INVISIBLE, but tomake equal + // formally was RID_SVXSTR_INVISIBLE, but to make equal // everywhere, use RID_SVXSTR_NONE const_cast< XDashList* >(this)->maStringNoLine = ResId(RID_SVXSTR_NONE, DIALOG_MGR()).toString(); } -- cgit