Kaydet (Commit) 72c68a3d authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Jens Carl

Fix typos

Change-Id: I914ac70f39028caebafb874e871f11017fda7795
Reviewed-on: https://gerrit.libreoffice.org/48682Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst ba8c04a6
...@@ -404,7 +404,7 @@ bool CloseableLifeTimeManager::impl_canStartApiCall() ...@@ -404,7 +404,7 @@ bool CloseableLifeTimeManager::impl_canStartApiCall()
bool LifeTimeGuard::startApiCall(bool bLongLastingCall) bool LifeTimeGuard::startApiCall(bool bLongLastingCall)
{ {
//Mutex needs to be acquired exactly ones; will be released inbetween //Mutex needs to be acquired exactly ones; will be released inbetween
//mutex is requiered due to constructor of LifeTimeGuard //mutex is required due to constructor of LifeTimeGuard
OSL_ENSURE( !m_bCallRegistered, "this method is only allowed ones" ); OSL_ENSURE( !m_bCallRegistered, "this method is only allowed ones" );
if(m_bCallRegistered) if(m_bCallRegistered)
......
...@@ -126,7 +126,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex ...@@ -126,7 +126,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
private: private:
/** @short trys to find an unique number not already used within this collection. /** @short tries to find an unique number not already used within this collection.
@descr It reuses the smallest number which isn't used by any component @descr It reuses the smallest number which isn't used by any component
of this collection. (fragmentation!) If collection is full (means there of this collection. (fragmentation!) If collection is full (means there
......
...@@ -827,7 +827,7 @@ void SfxViewFrame::StateReload_Impl( SfxItemSet& rSet ) ...@@ -827,7 +827,7 @@ void SfxViewFrame::StateReload_Impl( SfxItemSet& rSet )
else else
{ {
// If any ChildFrame is reloadable, the slot is enabled, // If any ChildFrame is reloadable, the slot is enabled,
// so you can perfom CTRL-Reload // so you can perform CTRL-Reload
rSet.Put( SfxBoolItem( nWhich, false)); rSet.Put( SfxBoolItem( nWhich, false));
} }
...@@ -2062,7 +2062,7 @@ void SfxViewFrame::ExecView_Impl ...@@ -2062,7 +2062,7 @@ void SfxViewFrame::ExecView_Impl
return; return;
} }
// Get ViewData of FrameSets recursivly. // Get ViewData of FrameSets recursively.
GetFrame().GetViewData_Impl(); GetFrame().GetViewData_Impl();
SfxMedium* pMed = GetObjectShell()->GetMedium(); SfxMedium* pMed = GetObjectShell()->GetMedium();
......
...@@ -53,7 +53,7 @@ namespace sdr ...@@ -53,7 +53,7 @@ namespace sdr
virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override; virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override;
// clear single item direct, do not do any notifies or things like that. // clear single item direct, do not do any notifies or things like that.
// Also supports complete deleteion of items when default parameter 0 is used. // Also supports complete deletion of items when default parameter 0 is used.
virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override; virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override;
public: public:
......
...@@ -72,7 +72,7 @@ namespace sdr ...@@ -72,7 +72,7 @@ namespace sdr
virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override; virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override;
// clear single item direct, do not do any notifies or things like that. // clear single item direct, do not do any notifies or things like that.
// Also supports complete deleteion of items when default parameter 0 is used. // Also supports complete deletion of items when default parameter 0 is used.
virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override; virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override;
// set complete item set // set complete item set
......
...@@ -494,7 +494,7 @@ void ControlModelContainerBase::replaceByName( const OUString& aName, const Any& ...@@ -494,7 +494,7 @@ void ControlModelContainerBase::replaceByName( const OUString& aName, const Any&
{ {
// remove old control (and children) from global list of containers // remove old control (and children) from global list of containers
updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() ); updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() );
// Add new control (and containees if they exist) // Add new control (and containers if they exist)
updateUserFormChildren( xAllChildren, aName, Insert, xNewModel ); updateUserFormChildren( xAllChildren, aName, Insert, xNewModel );
} }
// stop listening at the old model // stop listening at the old model
...@@ -589,7 +589,7 @@ void ControlModelContainerBase::insertByName( const OUString& aName, const Any& ...@@ -589,7 +589,7 @@ void ControlModelContainerBase::insertByName( const OUString& aName, const Any&
// hierarchy of the added control could contain a name clash, if we have access to the // hierarchy of the added control could contain a name clash, if we have access to the
// list of global names then we need to recursively check for previously existing // list of global names then we need to recursively check for previously existing
// names (we need to do this obviously before the 'this' objects container is updated) // names (we need to do this obviously before the 'this' objects container is updated)
// remove old control (and children) from global list of containees // remove old control (and children) from global list of containers
Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY ); Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY );
if ( xAllChildren.is() ) if ( xAllChildren.is() )
...@@ -1840,7 +1840,7 @@ ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContain ...@@ -1840,7 +1840,7 @@ ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContain
{ {
Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY ); Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY );
// container control is being removed from this container, reset the // container control is being removed from this container, reset the
// global list of containees // global list of containers
if ( xProps.is() ) if ( xProps.is() )
xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( uno::Reference< XNameContainer >() ) ); xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( uno::Reference< XNameContainer >() ) );
Sequence< OUString > aChildNames = xChildContainer->getElementNames(); Sequence< OUString > aChildNames = xChildContainer->getElementNames();
...@@ -1855,7 +1855,7 @@ ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContain ...@@ -1855,7 +1855,7 @@ ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContain
if ( xChildContainer.is() ) if ( xChildContainer.is() )
{ {
// container control is being added from this container, reset the // container control is being added from this container, reset the
// global list of containees to point to the correct global list // global list of containers to point to the correct global list
Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY ); Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY );
if ( xProps.is() ) if ( xProps.is() )
xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( xAllChildren ) ); xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( xAllChildren ) );
......
...@@ -500,7 +500,7 @@ PrinterGfx::DrawPolyLineBezier (sal_uInt32 nPoints, const Point* pPath, const Po ...@@ -500,7 +500,7 @@ PrinterGfx::DrawPolyLineBezier (sal_uInt32 nPoints, const Point* pPath, const Po
else //Otherwise we're drawing a spline else //Otherwise we're drawing a spline
{ {
if (i+2 >= nPoints) if (i+2 >= nPoints)
return; //Error: wrong sequence of contol/normal points somehow return; //Error: wrong sequence of control/normal points somehow
if ((pFlgAry[i] == PolyFlags::Control) && (pFlgAry[i+1] == PolyFlags::Control) && if ((pFlgAry[i] == PolyFlags::Control) && (pFlgAry[i+1] == PolyFlags::Control) &&
(pFlgAry[i+2] != PolyFlags::Control)) (pFlgAry[i+2] != PolyFlags::Control))
{ {
...@@ -545,7 +545,7 @@ PrinterGfx::DrawPolygonBezier (sal_uInt32 nPoints, const Point* pPath, const Pol ...@@ -545,7 +545,7 @@ PrinterGfx::DrawPolygonBezier (sal_uInt32 nPoints, const Point* pPath, const Pol
else else
{ {
if (i+2 >= nPoints) if (i+2 >= nPoints)
return; //Error: wrong sequence of contol/normal points somehow return; //Error: wrong sequence of control/normal points somehow
if ((pFlgAry[i] == PolyFlags::Control) && (pFlgAry[i+1] == PolyFlags::Control) && if ((pFlgAry[i] == PolyFlags::Control) && (pFlgAry[i+1] == PolyFlags::Control) &&
(pFlgAry[i+2] != PolyFlags::Control)) (pFlgAry[i+2] != PolyFlags::Control))
{ {
...@@ -609,7 +609,7 @@ PrinterGfx::DrawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 * pPoints, ...@@ -609,7 +609,7 @@ PrinterGfx::DrawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 * pPoints,
else else
{ {
if (j+2 >= nPoints) if (j+2 >= nPoints)
break; //Error: wrong sequence of contol/normal points somehow break; //Error: wrong sequence of control/normal points somehow
if ((pFlgAry[i][j] == PolyFlags::Control) && (pFlgAry[i][j+1] == PolyFlags::Control) && (pFlgAry[i][j+2] != PolyFlags::Control)) if ((pFlgAry[i][j] == PolyFlags::Control) && (pFlgAry[i][j+1] == PolyFlags::Control) && (pFlgAry[i][j+2] != PolyFlags::Control))
{ {
snprintf(pString, nBezString, "%li %li %li %li %li %li curveto\n", snprintf(pString, nBezString, "%li %li %li %li %li %li curveto\n",
......
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