Fix typos

Change-Id: I8c9c7f3e622f266c0d789f708d17fb413ec120ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209891
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Andrea Gelmini
2026-08-25 14:29:36 +02:00
committed by Julien Nabet
parent 25d7c86a5c
commit 4be7492a29
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -55,8 +55,8 @@ css::awt::Gradient2 createUnoGradient2(basegfx::BGradient const& rGradient)
// NOTE: All code after adapting to multi color gradients works
// using the ColorSteps, so in principle Start/EndColor might
// be either
// (a) ignored consequently everywhere or
// (b) be set/added consequently everywhere
// (a) ignored consistently everywhere or
// (b) be set/added consistently everywhere
// since this is - in principle - redundant data.
// Be aware that e.g. cases like DrawingML::EqualGradients
// and others would have to be identified and adapted (!)
@@ -68,7 +68,7 @@ css::awt::Gradient2 createUnoGradient2(basegfx::BGradient const& rGradient)
// ColorSteps if these are not empty, assuming that these
// already contain Start/EndColor.
// In principle that redundancy and that it is conflict-free
// could even be checked and asserted, but consequently using
// could even be checked and asserted, but consistently using
// (b) methodically should be safe.
const basegfx::BColorStops& rColorStops = rGradient.GetColorStops();
aGradient2.StartColor = static_cast<sal_Int32>(::Color(rColorStops.front().getStopColor()));
@@ -1020,7 +1020,7 @@ void SAL_CALL OCommonEmbeddedObject::setPersistentEntry(
}
// for now support of this interface is required to allow breaking of links and converting them to normal embedded
// objects, so the persist name must be handled correctly ( althowgh no real persist entry is used )
// objects, so the persist name must be handled correctly ( although no real persist entry is used )
// OSL_ENSURE( !m_bIsLinkURL, "This method implementation must not be used for links!" );
if ( m_bIsLinkURL )
{
@@ -1194,7 +1194,7 @@ void SAL_CALL OCommonEmbeddedObject::storeToEntry( const uno::Reference< embed::
static_cast< ::cppu::OWeakObject* >(this) );
// for now support of this interface is required to allow breaking of links and converting them to normal embedded
// objects, so the persist name must be handled correctly ( althowgh no real persist entry is used )
// objects, so the persist name must be handled correctly ( although no real persist entry is used )
// OSL_ENSURE( !m_bIsLinkURL, "This method implementation must not be used for links!" );
if ( m_bIsLinkURL )
return;
@@ -1324,7 +1324,7 @@ void SAL_CALL OCommonEmbeddedObject::storeAsEntry( const uno::Reference< embed::
static_cast< ::cppu::OWeakObject* >(this) );
// for now support of this interface is required to allow breaking of links and converting them to normal embedded
// objects, so the persist name must be handled correctly ( althowgh no real persist entry is used )
// objects, so the persist name must be handled correctly ( although no real persist entry is used )
// OSL_ENSURE( !m_bIsLinkURL, "This method implementation must not be used for links!" );
if ( m_bIsLinkURL )
{
@@ -1460,7 +1460,7 @@ void SAL_CALL OCommonEmbeddedObject::saveCompleted( sal_Bool bUseNew )
}
// for now support of this interface is required to allow breaking of links and converting them to normal embedded
// objects, so the persist name must be handled correctly ( althowgh no real persist entry is used )
// objects, so the persist name must be handled correctly ( although no real persist entry is used )
// OSL_ENSURE( !m_bIsLinkURL, "This method implementation must not be used for links!" );
if ( m_bIsLinkURL )
{
+1 -1
View File
@@ -69,7 +69,7 @@ STDMETHODIMP_(ULONG) OleWrapperAdviseSink::Release()
void OleWrapperAdviseSink::disconnectOleComponent()
{
// must not be called from the descructor of OleComponent!!!
// must not be called from the destructor of OleComponent!!!
osl::MutexGuard aGuard( m_aMutex );
m_pOleComp = nullptr;
}
+1 -1
View File
@@ -536,7 +536,7 @@ void SAL_CALL OleEmbeddedObject::changeState( sal_Int32 nNewState )
return;
}
// so now the object is either switched from Active to Running state or viceversa
// so now the object is either switched from Active to Running state or vice versa
// the notification about object state change will be done asynchronously
if ( m_nObjectState == embed::EmbedStates::RUNNING && nNewState == embed::EmbedStates::ACTIVE )
{