Kaydet (Commit) 5f6fcb4e authored tarafından Julien Nabet's avatar Julien Nabet

Typos

Change-Id: Ibc378fa5f515de61bb768b4ef082638b40c94e00
üst bb0cae0f
...@@ -212,7 +212,7 @@ sal_Bool SAL_CALL FrameControl::setGraphics( const Reference< XGraphics >& /*xDe ...@@ -212,7 +212,7 @@ sal_Bool SAL_CALL FrameControl::setGraphics( const Reference< XGraphics >& /*xDe
Reference< XGraphics > SAL_CALL FrameControl::getGraphics() throw( RuntimeException, std::exception ) Reference< XGraphics > SAL_CALL FrameControl::getGraphics() throw( RuntimeException, std::exception )
{ {
// when its not posible to set graphics ! then its possible to return null // when it's not possible to set graphics ! then it's possible to return null
return Reference< XGraphics >(); return Reference< XGraphics >();
} }
......
...@@ -2106,7 +2106,7 @@ void SbUnoObject::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, ...@@ -2106,7 +2106,7 @@ void SbUnoObject::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType,
Any aRetAny = xPropSet->getPropertyValue( pProp->GetName() ); Any aRetAny = xPropSet->getPropertyValue( pProp->GetName() );
// The use of getPropertyValue (instead of using the index) is // The use of getPropertyValue (instead of using the index) is
// suboptimal, but the refactoring to XInvocation is already pending // suboptimal, but the refactoring to XInvocation is already pending
// Otherwise it is posible to use FastPropertySet // Otherwise it is possible to use FastPropertySet
// take over the value from Uno to Sbx // take over the value from Uno to Sbx
unoToSbxValue( pVar, aRetAny ); unoToSbxValue( pVar, aRetAny );
...@@ -2177,7 +2177,7 @@ void SbUnoObject::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, ...@@ -2177,7 +2177,7 @@ void SbUnoObject::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType,
xPropSet->setPropertyValue( pProp->GetName(), aAnyValue ); xPropSet->setPropertyValue( pProp->GetName(), aAnyValue );
// The use of getPropertyValue (instead of using the index) is // The use of getPropertyValue (instead of using the index) is
// suboptimal, but the refactoring to XInvocation is already pending // suboptimal, but the refactoring to XInvocation is already pending
// Otherwise it is posible to use FastPropertySet // Otherwise it is possible to use FastPropertySet
} }
catch( const Exception& ) catch( const Exception& )
{ {
......
...@@ -229,7 +229,7 @@ void SbiExprList::Gen() ...@@ -229,7 +229,7 @@ void SbiExprList::Gen()
// For the present: trigger an error // For the present: trigger an error
pParser->Error( SbERR_NO_NAMED_ARGS ); pParser->Error( SbERR_NO_NAMED_ARGS );
// Later, if Named Args at DECLARE is posible // Later, if Named Args at DECLARE is possible
//for( sal_uInt16 i = 1 ; i < nParAnz ; i++ ) //for( sal_uInt16 i = 1 ; i < nParAnz ; i++ )
//{ //{
// SbiSymDef* pDef = pPool->Get( i ); // SbiSymDef* pDef = pPool->Get( i );
......
...@@ -234,7 +234,7 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const ...@@ -234,7 +234,7 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const
} }
sal_Unicode cType = ' '; sal_Unicode cType = ' ';
OUString aTmp( maName ); OUString aTmp( maName );
// short type? Then fetch it, posible this is 0. // short type? Then fetch it, possible this is 0.
SbxDataType et = GetType(); SbxDataType et = GetType();
if( t == SbxNAME_SHORT_TYPES ) if( t == SbxNAME_SHORT_TYPES )
{ {
...@@ -266,7 +266,7 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const ...@@ -266,7 +266,7 @@ const OUString& SbxVariable::GetName( SbxNameType t ) const
} }
aTmp += i->aName; aTmp += i->aName;
cType = ' '; cType = ' ';
// short type? Then fetch it, posible this is 0. // short type? Then fetch it, possible this is 0.
if( t == SbxNAME_SHORT_TYPES ) if( t == SbxNAME_SHORT_TYPES )
{ {
if( nt <= SbxSTRING ) if( nt <= SbxSTRING )
......
...@@ -90,7 +90,7 @@ class MzString ...@@ -90,7 +90,7 @@ class MzString
const char* c_str() const; const char* c_str() const;
operator char*() { return (char *)c_str(); } operator char*() { return (char *)c_str(); }
// If it is not posible to use the constructor with an initial // If it is not possible to use the constructor with an initial
// allocation size, use the following member to set the size. // allocation size, use the following member to set the size.
bool resize(int len); bool resize(int len);
......
...@@ -70,10 +70,10 @@ ...@@ -70,10 +70,10 @@
/** /**
* @brief * @brief
* SdwRectangle: Not like rectangle in SODC, rectagles in Word Pro are * SdwRectangle: Not like rectangle in SODC, rectangles in Word Pro are
* defined by 4 points. So they can be any posture in the two-dimensional * defined by 4 points. So they can be any posture in the two-dimensional
* coordinate system. The class is used to describ such rectangles. * coordinate system. The class is used to describ such rectangles.
* The foure corner points must be save in menber variable:m_nRectCorner * The four corner points must be saved in member variable:m_nRectCorner
* one after another. We assume the input order(the same order in .lwp files) * one after another. We assume the input order(the same order in .lwp files)
* is as below: * is as below:
* *
......
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
public: public:
/** /**
* @descr set shadow position. You can refer to enumXFShadowPos to get all posible positions. * @descr set shadow position. You can refer to enumXFShadowPos to get all possible positions.
*/ */
void SetPosition(enumXFShadowPos pos); void SetPosition(enumXFShadowPos pos);
......
...@@ -48,7 +48,7 @@ published interface XInteractionFilterSelect : com::sun::star::task::XInteractio ...@@ -48,7 +48,7 @@ published interface XInteractionFilterSelect : com::sun::star::task::XInteractio
/** used by interaction to set selected filter /** used by interaction to set selected filter
<p> <p>
This value must be save till another one will be set This value must be saved till another one will be set
and must be provided on getFilter() for interest users. and must be provided on getFilter() for interest users.
</p> </p>
*/ */
......
...@@ -35,7 +35,7 @@ namespace svgio ...@@ -35,7 +35,7 @@ namespace svgio
void myAssert(const OUString& rMessage); void myAssert(const OUString& rMessage);
#endif #endif
// recommended value for this devise dependent unit, see CSS2 section 4.3.2 Lengths // recommended value for this device dependent unit, see CSS2 section 4.3.2 Lengths
#define F_SVG_PIXEL_PER_INCH 90.0 #define F_SVG_PIXEL_PER_INCH 90.0
// common non-token strings // common non-token strings
......
...@@ -702,7 +702,7 @@ void RegionBand::Scale(double fScaleX, double fScaleY) ...@@ -702,7 +702,7 @@ void RegionBand::Scale(double fScaleX, double fScaleY)
void RegionBand::InsertBands(long nTop, long nBottom) void RegionBand::InsertBands(long nTop, long nBottom)
{ {
// region empty? -> set rectagle as first entry! // region empty? -> set rectangle as first entry!
if ( !mpFirstBand ) if ( !mpFirstBand )
{ {
// add band with boundaries of the rectangle // add band with boundaries of the rectangle
......
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