diff --git a/basic/inc/sbxbase.hxx b/basic/inc/sbxbase.hxx index 3128361392c0..ad10d61e721f 100644 --- a/basic/inc/sbxbase.hxx +++ b/basic/inc/sbxbase.hxx @@ -43,7 +43,7 @@ struct SbxAppData SbxBasicFormater *pBasicFormater; // Pointer to Format()-Command helper class LanguageType eBasicFormaterLangType; - // It might be useful to store this class 'global' because some string reosurces are saved here + // It might be useful to store this class 'global' because some string resources are saved here SbxAppData(); ~SbxAppData(); diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 60d2b02d7062..41e9ab0c12e2 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1636,7 +1636,7 @@ void StarBASIC::MakeErrorText( SbError nId, const OUString& aMsg ) SolarMutexGuard aSolarGuard; sal_uInt16 nOldID = GetVBErrorCode( nId ); - // intantiate the help class + // instantiate the help class BasResId aId( RID_BASIC_START ); BasicStringList_Impl aMyStringList( aId, sal_uInt16(nId & ERRCODE_RES_MASK) ); diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 55d9a65523e4..2834dd23a6b0 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1420,7 +1420,7 @@ void SbModule::GlobalRunInit( bool bBasicStart ) // Initialise GlobalInitErr-Flag for Compiler-Error // With the help of this flags could be located in SbModule::Run() after the call of - // GlobalRunInit, if at the intialising of the module + // GlobalRunInit, if at the initialising of the module // an error occurred. Then it will not be launched. GetSbData()->bGlobalInitErr = false; @@ -2428,7 +2428,7 @@ public: virtual void SAL_CALL documentEventOccured( const document::DocumentEvent& rEvent ) throw (uno::RuntimeException, std::exception) override { - // early dosposing on document event "OnUnload", to be sure Basic still exists when calling VBA "UserForm_Terminate" + // early disposing on document event "OnUnload", to be sure Basic still exists when calling VBA "UserForm_Terminate" if( rEvent.EventName == GlobalEventConfig::GetEventName( GlobalEventId::CLOSEDOC ) ) { removeListener(); diff --git a/basic/source/comp/loops.cxx b/basic/source/comp/loops.cxx index fb9680d95cb7..92a4fcbb496d 100644 --- a/basic/source/comp/loops.cxx +++ b/basic/source/comp/loops.cxx @@ -209,7 +209,7 @@ void SbiParser::For() { TestToken( _IN_ ); SbiExpression aCollExpr( this, SbOPERAND ); - aCollExpr.Gen(); // Colletion var to for stack + aCollExpr.Gen(); // Collection var to for stack TestEoln(); aGen.Gen( _INITFOREACH ); } diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 1f386376a7fc..2acff3508447 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -896,7 +896,7 @@ RTLFUNC(DimArray) /* * FindObject and FindPropertyObject make it possible to * address objects and properties of the type Object with - * their name as string-pararmeters at the runtime. + * their name as string-parameters at the runtime. * * Example: * MyObj.Prop1.Bla = 5 diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index e1fd7686ef9f..36e82c146d4c 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1866,7 +1866,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b // SbxVariable* defaultProp = NULL; unused variable // LHS try determine if a default prop exists // again like in StepPUT (see there too ) we are tweaking the - // heursitics again for when to assign an object reference or + // heuristics again for when to assign an object reference or // use default memebers if they exists // #FIXME we really need to get to the bottom of this mess bool bObjAssign = false; diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index f3be73ff5a6e..f548c0ad0c79 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -307,7 +307,7 @@ Any SAL_CALL SfxScriptLibraryContainer::importLibraryElement } catch(const uno::Exception&) { - OSL_TRACE("Failed to get documument object for %s", OUStringToOString( aElementName, RTL_TEXTENCODING_UTF8 ).getStr() ); + OSL_TRACE("Failed to get document object for %s", OUStringToOString( aElementName, RTL_TEXTENCODING_UTF8 ).getStr() ); } } } diff --git a/bean/Module_bean.mk b/bean/Module_bean.mk index 30302083ecf2..08d939076919 100644 --- a/bean/Module_bean.mk +++ b/bean/Module_bean.mk @@ -19,7 +19,7 @@ $(eval $(call gb_Module_add_targets,bean,\ Library_officebean \ )) -# complex tests compileable but fail at runtime +# complex tests compilable but fail at runtime #$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\ # JunitTest_bean_complex \ #)) diff --git a/bean/com/sun/star/comp/beans/OOoBean.java b/bean/com/sun/star/comp/beans/OOoBean.java index 4d49de896492..15a10bc7b1c6 100644 --- a/bean/com/sun/star/comp/beans/OOoBean.java +++ b/bean/com/sun/star/comp/beans/OOoBean.java @@ -1238,7 +1238,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); /** Returns the visibility of the tool function bar. - This method works independently from a conneiction or loaded document. + This method works independently from a connection or loaded document. If no connection is established or no document is loaded, this method just returns a memorized status. diff --git a/bin/fuzzfiles b/bin/fuzzfiles index 99b503e3bd69..e650fe5ffe08 100755 --- a/bin/fuzzfiles +++ b/bin/fuzzfiles @@ -10,7 +10,7 @@ #check that zzuf is installed hash zzuf &> /dev/null if [ $? -eq 1 ];then - echo >&2 "zzuf not found. Please install and/or fix the PATH environement variable. Aborting" + echo >&2 "zzuf not found. Please install and/or fix the PATH environment variable. Aborting" exit -1 fi diff --git a/bridges/test/testsameprocess.cxx b/bridges/test/testsameprocess.cxx index a4f55377a16d..93f8472c4ea9 100644 --- a/bridges/test/testsameprocess.cxx +++ b/bridges/test/testsameprocess.cxx @@ -112,7 +112,7 @@ int main( int argc, char *argv[] ) { if( argc < 2 ) { - printf( "usage : testsamprocess host:port\n" ); + printf( "usage : testsameprocess host:port\n" ); return 0; } diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx index 73478745e03b..d4d2c3e39a24 100644 --- a/canvas/source/directx/dx_9rm.cxx +++ b/canvas/source/directx/dx_9rm.cxx @@ -731,7 +731,7 @@ namespace dxcanvas // we need to use D3DSWAPEFFECT_COPY here since the canvas-api has // basically nothing to do with efficient resource handling. it tries - // to avoid drawing whenevery possible, which is simply not the most + // to avoid drawing whenever possible, which is simply not the most // efficient way we could leverage the hardware in this case. it would // be far better to redraw the backbuffer each time we would like to // display the content of the backbuffer, but we need to face reality diff --git a/canvas/source/tools/surfaceproxy.hxx b/canvas/source/tools/surfaceproxy.hxx index 4bced328b29a..f89850d92af4 100644 --- a/canvas/source/tools/surfaceproxy.hxx +++ b/canvas/source/tools/surfaceproxy.hxx @@ -33,7 +33,7 @@ namespace canvas Surface proxies are the connection between *one* source image and *one or more* hardware surfaces (or textures). in a logical structure surface proxies represent solely this - dependeny plus some simple cache management. + dependency plus some simple cache management. */ class SurfaceProxy : public ISurfaceProxy { diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx index 97f9e7656a4e..bee83b1af78f 100644 --- a/canvas/source/vcl/canvashelper.cxx +++ b/canvas/source/vcl/canvashelper.cxx @@ -303,7 +303,7 @@ namespace vclcanvas else { // mixed open/closed state. Cannot render open polygon - // via DrawPolyPolygon(), since that implicitley + // via DrawPolyPolygon(), since that implicitly // closed every polygon. OTOH, no need to distinguish // further and render closed polygons via // DrawPolygon(), and open ones via DrawPolyLine(): diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx index 50211ff65776..fc06f103b094 100644 --- a/canvas/workben/canvasdemo.cxx +++ b/canvas/workben/canvasdemo.cxx @@ -126,7 +126,7 @@ class DemoRenderer maRenderState.AffineTransform = aUnit; maRenderState.DeviceColor = maColorBlack; - //I can't figure out what the compsiteoperation stuff does + //I can't figure out what the compositeoperation stuff does //it doesn't seem to do anything in either VCL or cairocanvas //I was hoping that CLEAR would clear the canvas before we paint, //but nothing changes @@ -428,7 +428,7 @@ class DemoRenderer xPoly = mxDevice->createCompatibleBezierPolyPolygon(aPolys); xPoly->setClosed( 0, true ); //uno::Reference< rendering::XBezierPolyPolygon2D> xPP( xPoly, uno::UNO_QUERY ); - //compiles, but totally screws up. I think it is interpretting the bezier as a line + //compiles, but totally screws up. I think it is interpreting the bezier as a line uno::Reference< rendering::XPolyPolygon2D> xPP( xPoly, uno::UNO_QUERY ); rendering::StrokeAttributes aStrokeAttrs;