Kaydet (Commit) 92e60e1b authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Andras Timar

Fix typos

Change-Id: I1b79005d9c4e32325b8dadcc4f805975d6bf2727
Reviewed-on: https://gerrit.libreoffice.org/21103Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst 3b4059dc
...@@ -43,7 +43,7 @@ struct SbxAppData ...@@ -43,7 +43,7 @@ struct SbxAppData
SbxBasicFormater *pBasicFormater; // Pointer to Format()-Command helper class SbxBasicFormater *pBasicFormater; // Pointer to Format()-Command helper class
LanguageType eBasicFormaterLangType; 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();
~SbxAppData(); ~SbxAppData();
......
...@@ -1636,7 +1636,7 @@ void StarBASIC::MakeErrorText( SbError nId, const OUString& aMsg ) ...@@ -1636,7 +1636,7 @@ void StarBASIC::MakeErrorText( SbError nId, const OUString& aMsg )
SolarMutexGuard aSolarGuard; SolarMutexGuard aSolarGuard;
sal_uInt16 nOldID = GetVBErrorCode( nId ); sal_uInt16 nOldID = GetVBErrorCode( nId );
// intantiate the help class // instantiate the help class
BasResId aId( RID_BASIC_START ); BasResId aId( RID_BASIC_START );
BasicStringList_Impl aMyStringList( aId, sal_uInt16(nId & ERRCODE_RES_MASK) ); BasicStringList_Impl aMyStringList( aId, sal_uInt16(nId & ERRCODE_RES_MASK) );
......
...@@ -1420,7 +1420,7 @@ void SbModule::GlobalRunInit( bool bBasicStart ) ...@@ -1420,7 +1420,7 @@ void SbModule::GlobalRunInit( bool bBasicStart )
// Initialise GlobalInitErr-Flag for Compiler-Error // Initialise GlobalInitErr-Flag for Compiler-Error
// With the help of this flags could be located in SbModule::Run() after the call of // 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. // an error occurred. Then it will not be launched.
GetSbData()->bGlobalInitErr = false; GetSbData()->bGlobalInitErr = false;
...@@ -2428,7 +2428,7 @@ public: ...@@ -2428,7 +2428,7 @@ public:
virtual void SAL_CALL documentEventOccured( const document::DocumentEvent& rEvent ) throw (uno::RuntimeException, std::exception) override 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 ) ) if( rEvent.EventName == GlobalEventConfig::GetEventName( GlobalEventId::CLOSEDOC ) )
{ {
removeListener(); removeListener();
......
...@@ -209,7 +209,7 @@ void SbiParser::For() ...@@ -209,7 +209,7 @@ void SbiParser::For()
{ {
TestToken( _IN_ ); TestToken( _IN_ );
SbiExpression aCollExpr( this, SbOPERAND ); SbiExpression aCollExpr( this, SbOPERAND );
aCollExpr.Gen(); // Colletion var to for stack aCollExpr.Gen(); // Collection var to for stack
TestEoln(); TestEoln();
aGen.Gen( _INITFOREACH ); aGen.Gen( _INITFOREACH );
} }
......
...@@ -896,7 +896,7 @@ RTLFUNC(DimArray) ...@@ -896,7 +896,7 @@ RTLFUNC(DimArray)
/* /*
* FindObject and FindPropertyObject make it possible to * FindObject and FindPropertyObject make it possible to
* address objects and properties of the type Object with * 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: * Example:
* MyObj.Prop1.Bla = 5 * MyObj.Prop1.Bla = 5
......
...@@ -1866,7 +1866,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b ...@@ -1866,7 +1866,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b
// SbxVariable* defaultProp = NULL; unused variable // SbxVariable* defaultProp = NULL; unused variable
// LHS try determine if a default prop exists // LHS try determine if a default prop exists
// again like in StepPUT (see there too ) we are tweaking the // 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 // use default memebers if they exists
// #FIXME we really need to get to the bottom of this mess // #FIXME we really need to get to the bottom of this mess
bool bObjAssign = false; bool bObjAssign = false;
......
...@@ -307,7 +307,7 @@ Any SAL_CALL SfxScriptLibraryContainer::importLibraryElement ...@@ -307,7 +307,7 @@ Any SAL_CALL SfxScriptLibraryContainer::importLibraryElement
} }
catch(const uno::Exception&) 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() );
} }
} }
} }
......
...@@ -19,7 +19,7 @@ $(eval $(call gb_Module_add_targets,bean,\ ...@@ -19,7 +19,7 @@ $(eval $(call gb_Module_add_targets,bean,\
Library_officebean \ Library_officebean \
)) ))
# complex tests compileable but fail at runtime # complex tests compilable but fail at runtime
#$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\ #$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\
# JunitTest_bean_complex \ # JunitTest_bean_complex \
#)) #))
......
...@@ -1238,7 +1238,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); ...@@ -1238,7 +1238,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
/** Returns the visibility of the tool function bar. /** 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, If no connection is established or no document is loaded,
this method just returns a memorized status. this method just returns a memorized status.
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#check that zzuf is installed #check that zzuf is installed
hash zzuf &> /dev/null hash zzuf &> /dev/null
if [ $? -eq 1 ];then 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 exit -1
fi fi
......
...@@ -112,7 +112,7 @@ int main( int argc, char *argv[] ) ...@@ -112,7 +112,7 @@ int main( int argc, char *argv[] )
{ {
if( argc < 2 ) if( argc < 2 )
{ {
printf( "usage : testsamprocess host:port\n" ); printf( "usage : testsameprocess host:port\n" );
return 0; return 0;
} }
......
...@@ -731,7 +731,7 @@ namespace dxcanvas ...@@ -731,7 +731,7 @@ namespace dxcanvas
// we need to use D3DSWAPEFFECT_COPY here since the canvas-api has // we need to use D3DSWAPEFFECT_COPY here since the canvas-api has
// basically nothing to do with efficient resource handling. it tries // 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 // 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 // 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 // display the content of the backbuffer, but we need to face reality
......
...@@ -33,7 +33,7 @@ namespace canvas ...@@ -33,7 +33,7 @@ namespace canvas
Surface proxies are the connection between *one* source image Surface proxies are the connection between *one* source image
and *one or more* hardware surfaces (or textures). in a and *one or more* hardware surfaces (or textures). in a
logical structure surface proxies represent solely this logical structure surface proxies represent solely this
dependeny plus some simple cache management. dependency plus some simple cache management.
*/ */
class SurfaceProxy : public ISurfaceProxy class SurfaceProxy : public ISurfaceProxy
{ {
......
...@@ -303,7 +303,7 @@ namespace vclcanvas ...@@ -303,7 +303,7 @@ namespace vclcanvas
else else
{ {
// mixed open/closed state. Cannot render open polygon // 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 // closed every polygon. OTOH, no need to distinguish
// further and render closed polygons via // further and render closed polygons via
// DrawPolygon(), and open ones via DrawPolyLine(): // DrawPolygon(), and open ones via DrawPolyLine():
......
...@@ -126,7 +126,7 @@ class DemoRenderer ...@@ -126,7 +126,7 @@ class DemoRenderer
maRenderState.AffineTransform = aUnit; maRenderState.AffineTransform = aUnit;
maRenderState.DeviceColor = maColorBlack; 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 //it doesn't seem to do anything in either VCL or cairocanvas
//I was hoping that CLEAR would clear the canvas before we paint, //I was hoping that CLEAR would clear the canvas before we paint,
//but nothing changes //but nothing changes
...@@ -428,7 +428,7 @@ class DemoRenderer ...@@ -428,7 +428,7 @@ class DemoRenderer
xPoly = mxDevice->createCompatibleBezierPolyPolygon(aPolys); xPoly = mxDevice->createCompatibleBezierPolyPolygon(aPolys);
xPoly->setClosed( 0, true ); xPoly->setClosed( 0, true );
//uno::Reference< rendering::XBezierPolyPolygon2D> xPP( xPoly, uno::UNO_QUERY ); //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 ); uno::Reference< rendering::XPolyPolygon2D> xPP( xPoly, uno::UNO_QUERY );
rendering::StrokeAttributes aStrokeAttrs; rendering::StrokeAttributes aStrokeAttrs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment