diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-22 09:38:34 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-22 09:39:11 +0200 |
commit | 2926bd4d6bce5115e4de8e8e155cbeb9fd66e3a4 (patch) | |
tree | 41bb22783665311d54d94d45e827f370fdc8e533 | |
parent | coverity#735665 Dereference after null check (diff) | |
download | core-2926bd4d6bce5115e4de8e8e155cbeb9fd66e3a4.tar.gz core-2926bd4d6bce5115e4de8e8e155cbeb9fd66e3a4.zip |
s/whith/with/
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
-rw-r--r-- | dbaccess/source/ui/dlg/adminpages.hxx | 6 | ||||
-rw-r--r-- | editeng/source/editeng/editeng.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit5.cxx | 2 | ||||
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 2 | ||||
-rw-r--r-- | javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java | 2 | ||||
-rw-r--r-- | odk/examples/DevelopersGuide/Forms/Makefile | 2 | ||||
-rw-r--r-- | sd/source/ui/view/ToolBarManager.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 | ||||
-rw-r--r-- | svtools/inc/svtools/ruler.hxx | 2 | ||||
-rw-r--r-- | svx/source/form/filtnav.cxx | 2 | ||||
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 4 |
12 files changed, 15 insertions, 15 deletions
diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index 1fe71f11e05e..7e5dcdcc6a2c 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -202,7 +202,7 @@ namespace dbaui @param _pCheckBox The check box which is checked. @param _nID - The id in the itemset to set whith the new value. + The id in the itemset to set with the new value. @param _bChangedSomething <TRUE/> if something changed otherwise <FALSE/> @param _bRevertValue @@ -216,7 +216,7 @@ namespace dbaui @param _pEdit The check box which is checked. @param _nID - The id in the itemset to set whith the new value. + The id in the itemset to set with the new value. @param _bChangedSomething <TRUE/> if something changed otherwise <FALSE/> */ @@ -228,7 +228,7 @@ namespace dbaui @param _pEdit The check box which is checked. @param _nID - The id in the itemset to set whith the new value. + The id in the itemset to set with the new value. @param _bChangedSomething <TRUE/> if something changed otherwise <FALSE/> */ diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 42f4a1811885..1c8eda199379 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -2031,7 +2031,7 @@ Point EditEngine::GetDocPosTopLeft( sal_uInt16 nParagraph ) if ( pPPortion ) { - // If someone calls GetLineHeight() whith an empty Engine. + // If someone calls GetLineHeight() with an empty Engine. DBG_ASSERT( pImpEditEngine->IsFormatted() || !pImpEditEngine->IsFormatting(), "GetDocPosTopLeft: Doc not formatted - unable to format!" ); if ( !pImpEditEngine->IsFormatted() ) pImpEditEngine->FormatAndUpdate(); diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 4f94c06e1bff..626458dc1c7d 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -3935,7 +3935,7 @@ EditSelection ImpEditEngine::MoveParagraphs( Range aOldPositions, sal_uInt16 nNe // ( and correspondingly in between as well...) if ( pCurView && ( GetUpdateMode() == sal_True ) ) { - // in this case one can redraw directly whithout invalidating the + // in this case one can redraw directly without invalidating the // Portions sal_uInt16 nFirstPortion = Min( (sal_uInt16)aOldPositions.Min(), nNewPos ); sal_uInt16 nLastPortion = Max( (sal_uInt16)aOldPositions.Max(), nNewPos ); diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx index 0918594ee59d..0848697bda5e 100644 --- a/editeng/source/editeng/impedit5.cxx +++ b/editeng/source/editeng/impedit5.cxx @@ -494,7 +494,7 @@ void ImpEditEngine::SetAttribs( EditSelection aSel, const SfxItemSet& rSet, sal_ aSel.Adjust( aEditDoc ); // When no selection => use the Attribute on the word. - // ( the RTF-parser should actually never call the Method whithout a Range ) + // ( the RTF-parser should actually never call the Method without a Range ) if ( ( nSpecial == ATTRSPECIAL_WHOLEWORD ) && !aSel.HasRange() ) aSel = SelectWord( aSel, ::com::sun::star::i18n::WordType::ANYWORD_IGNOREWHITESPACES, sal_False ); diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 696866f21fe3..a77fbf6b777e 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1015,7 +1015,7 @@ void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny) } // Creates an SAFEARRAY of the specified element and if necessary -// creates a SAFEARRAY whith multiple dimensions. +// creates a SAFEARRAY with multiple dimensions. // Used by sal_Bool anyToVariant(VARIANT* pVariant, const Any& rAny, VARTYPE type); template<class T> SAFEARRAY* UnoConversionUtilities<T>::createUnoSequenceWrapper(const Any& rSeq, VARTYPE elemtype) diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java index 02f93123cd92..81d3e63e420f 100644 --- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java +++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java @@ -1112,7 +1112,7 @@ class TestClass extends PropertySet public Property propEnum = new Property("PropEnum", 14, new Type("com.sun.star.beans.PropertyState", TypeClass.ENUM), (short)0); public com.sun.star.beans.PropertyState enumPropertyState = com.sun.star.beans.PropertyState.DEFAULT_VALUE; - // Test private, protected, package access, Anys as arguments and members, members whith a value + // Test private, protected, package access, Anys as arguments and members, members with a value public Property propBoolB= new Property("PropBoolB", 101, new Type(Boolean.TYPE), (short) 0); protected boolean boolPropB; diff --git a/odk/examples/DevelopersGuide/Forms/Makefile b/odk/examples/DevelopersGuide/Forms/Makefile index 95867588f9ad..2964e4ef6e6c 100644 --- a/odk/examples/DevelopersGuide/Forms/Makefile +++ b/odk/examples/DevelopersGuide/Forms/Makefile @@ -175,7 +175,7 @@ FormsExample : $(APP1_JAR) $(APP2_JAR) $(APP3_JAR) $(APP4_JAR) @echo $(MAKE) $(APP3_NAME).run @echo $(MAKE) $(APP4_NAME).run @echo - - @echo Note: The data awareness example needs a running data source whith name + @echo Note: The data awareness example needs a running data source with name @echo $(SQM) $(SQM)"$(QM)OO_SDK_Demo_DB$(QM)". Make sure that you have created such a data source, @echo - @echo The document "$(QM)ProgrammaticScriptAssignment.odt$(QM)" demonstrates diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index a131edfefb5c..cc0e64655040 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -270,7 +270,7 @@ public: /** Release all tool bar shells and the associated framework tool bars. Typically called when the main view shell is being replaced by another, all tool bar shells are released. In that process the - shells are destroyed anyway and whithout calling this method they + shells are destroyed anyway and without calling this method they would still be referenced. */ void ReleaseAllToolBarShells (void); diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 2fa99cbe058a..6f41f7d856d9 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2093,7 +2093,7 @@ sal_Bool SfxObjectShell::ConvertFrom This method is called for loading of documents over all filters which are not SFX_FILTER_OWN or for which no clipboard format has been registered - (thus no storage format that is used). In other words, whith this method + (thus no storage format that is used). In other words, with this method it is imported. Files which are to be opened here should be opened through 'rMedium' diff --git a/svtools/inc/svtools/ruler.hxx b/svtools/inc/svtools/ruler.hxx index 31560449904d..864ebf9c6ef2 100644 --- a/svtools/inc/svtools/ruler.hxx +++ b/svtools/inc/svtools/ruler.hxx @@ -116,7 +116,7 @@ the values on the ruler. The following units are accepted: -------------------------------------------------------------------------- SetMargin1() sets the upper/left margin and SetMargin2() sets the -bottom/right margin. If these methods are called whithout arguments, +bottom/right margin. If these methods are called without arguments, no margins are displayed. Otherwise, the following arguments can be passed: long nPos - offset in pixels relative to the origin diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 11a449c40407..166df7d7eab1 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -1338,7 +1338,7 @@ sal_Int8 FmFilterNavigator::AcceptDrop( const AcceptDropEvent& rEvt ) bNeedTrigger = sal_True; } else - { // is it an entry whith children, and not yet expanded? + { // is it an entry with children, and not yet expanded? SvTreeListEntry* pDropppedOn = GetEntry(aDropPos); if (pDropppedOn && (GetChildCount(pDropppedOn) > 0) && !IsExpanded(pDropppedOn)) { diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index e1dd2b31321e..32f43b93f154 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -1433,7 +1433,7 @@ void WinSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, aRect2.bottom = pt.y+2; // dualmonitor support: - // Get screensize of the monitor whith the mouse pointer + // Get screensize of the monitor with the mouse pointer ImplSalGetWorkArea( mhWnd, &aRect2, &aRect2 ); nX = ((aRect2.right-aRect2.left)-nWidth)/2 + aRect2.left; @@ -3936,7 +3936,7 @@ static void SetMaximizedFrameGeometry( HWND hWnd, WinSalFrame* pFrame, RECT* pPa // calculate and set frame geometry of a maximized window - useful if the window is still hidden // dualmonitor support: - // Get screensize of the monitor whith the mouse pointer + // Get screensize of the monitor with the mouse pointer RECT aRectMouse; if( ! pParentRect ) |