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()
bool LifeTimeGuard::startApiCall(bool bLongLastingCall)
{
//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" );
if(m_bCallRegistered)
......
......@@ -126,7 +126,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
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
of this collection. (fragmentation!) If collection is full (means there
......
......@@ -827,7 +827,7 @@ void SfxViewFrame::StateReload_Impl( SfxItemSet& rSet )
else
{
// 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));
}
......@@ -2062,7 +2062,7 @@ void SfxViewFrame::ExecView_Impl
return;
}
// Get ViewData of FrameSets recursivly.
// Get ViewData of FrameSets recursively.
GetFrame().GetViewData_Impl();
SfxMedium* pMed = GetObjectShell()->GetMedium();
......
......@@ -53,7 +53,7 @@ namespace sdr
virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override;
// 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;
public:
......
......@@ -72,7 +72,7 @@ namespace sdr
virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override;
// 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;
// set complete item set
......
......@@ -494,7 +494,7 @@ void ControlModelContainerBase::replaceByName( const OUString& aName, const Any&
{
// remove old control (and children) from global list of containers
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 );
}
// stop listening at the old model
......@@ -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
// 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)
// 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 );
if ( xAllChildren.is() )
......@@ -1840,7 +1840,7 @@ ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContain
{
Reference< XPropertySet > xProps( xChildContainer, UNO_QUERY );
// container control is being removed from this container, reset the
// global list of containees
// global list of containers
if ( xProps.is() )
xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( uno::Reference< XNameContainer >() ) );
Sequence< OUString > aChildNames = xChildContainer->getElementNames();
......@@ -1855,7 +1855,7 @@ ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContain
if ( xChildContainer.is() )
{
// 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 );
if ( xProps.is() )
xProps->setPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ), uno::makeAny( xAllChildren ) );
......
......@@ -500,7 +500,7 @@ PrinterGfx::DrawPolyLineBezier (sal_uInt32 nPoints, const Point* pPath, const Po
else //Otherwise we're drawing a spline
{
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) &&
(pFlgAry[i+2] != PolyFlags::Control))
{
......@@ -545,7 +545,7 @@ PrinterGfx::DrawPolygonBezier (sal_uInt32 nPoints, const Point* pPath, const Pol
else
{
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) &&
(pFlgAry[i+2] != PolyFlags::Control))
{
......@@ -609,7 +609,7 @@ PrinterGfx::DrawPolyPolygonBezier (sal_uInt32 nPoly, const sal_uInt32 * pPoints,
else
{
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))
{
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