summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unotools/source/config/configitem.cxx2
-rw-r--r--unotools/source/config/confignode.cxx2
-rw-r--r--unotools/source/config/moduleoptions.cxx10
-rw-r--r--unotools/source/config/pathoptions.cxx4
-rw-r--r--unotools/source/misc/fontcvt.cxx4
-rw-r--r--vbahelper/source/msforms/vbacontrol.cxx4
-rw-r--r--vbahelper/source/vbahelper/vbashape.cxx2
-rw-r--r--vbahelper/source/vbahelper/vbatextframe.cxx2
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.cxx2
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.h4
-rw-r--r--winaccessibility/source/service/AccDialogEventListener.cxx2
-rw-r--r--winaccessibility/source/service/AccFrameEventListener.cxx2
-rw-r--r--winaccessibility/source/service/AccWindowEventListener.cxx2
13 files changed, 21 insertions, 21 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx
index 13928a4891fe..ac801fc8df60 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -434,7 +434,7 @@ bool ConfigItem::PutProperties( const Sequence< OUString >& rNames,
if(( m_nMode & ConfigItemMode::AllLocales ) == ConfigItemMode::AllLocales )
{
// If ConfigItem works in "ALL_LOCALES"-mode ... we must support a Sequence< PropertyValue >
- // as value of an localized configuration entry!
+ // as value of a localized configuration entry!
// How we can do that?
// We must split all PropertyValues to "Sequence< OUString >" AND "Sequence< Any >"!
impl_unpackLocalizedProperties( rNames, rValues, lNames, lValues );
diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx
index bb5760ccfbbd..286cbb671215 100644
--- a/unotools/source/config/confignode.cxx
+++ b/unotools/source/config/confignode.cxx
@@ -377,7 +377,7 @@ namespace utl
bResult = true;
}
- // check if the name refers to a indirect descendant
+ // check if the name refers to an indirect descendant
else if (m_xHierarchyAccess.is() && m_xHierarchyAccess->hasByHierarchicalName(_rPath))
{
OSL_ASSERT(!_rPath.isEmpty());
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index b877c0b90d27..0b4e86f8dad8 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -40,10 +40,10 @@
/*-************************************************************************************************************
@descr These values are used to define necessary keys from our configuration management to support
all functionality of these implementation.
- It's a fast way to make changes if some keys change his name or location!
+ It's a fast way to make changes if some keys change its name or location!
Property handle are necessary to specify right position in return list of configuration
- for asked values. We ask it with a list of properties to get his values. The returned list
+ for asked values. We ask it with a list of properties to get its values. The returned list
has the same order like our given name list!
e.g.:
NAMELIST[ PROPERTYHANDLE_xxx ] => VALUELIST[ PROPERTYHANDLE_xxx ]
@@ -359,7 +359,7 @@ void SvtModuleOptions_Impl::ImplCommit()
}
// Resize commit list to real size.
// If nothing to do - suppress calling of configuration ...
- // It could be to expensive :-)
+ // It could be too expensive :-)
if( nRealCount > 0 )
{
lCommitProperties.realloc( nRealCount );
@@ -572,7 +572,7 @@ css::uno::Sequence< OUString > SvtModuleOptions_Impl::impl_ExpandSetNames( const
/*-************************************************************************************************************
@short helper to classify given factory by name
- @descr Every factory has his own long and short name. So we can match right enum value for internal using.
+ @descr Every factory has its own long and short name. So we can match right enum value for internal using.
@attention We change in/out parameter "eFactory" in every case! But you should use it only, if return value is sal_True!
Algorithm: Set out-parameter to probably value ... and check the longname.
@@ -671,7 +671,7 @@ bool SvtModuleOptions_Impl::ClassifyFactoryByName( const OUString& sName, SvtMod
*//*-*************************************************************************************************************/
void SvtModuleOptions_Impl::impl_Read( const css::uno::Sequence< OUString >& lFactories )
{
- // Expand every set node name in lFactories to full qualified paths to his properties
+ // Expand every set node name in lFactories to full qualified paths to its properties
// and get right values from configuration.
const css::uno::Sequence< OUString > lProperties = impl_ExpandSetNames( lFactories );
const css::uno::Sequence< css::uno::Any > lValues = GetProperties( lProperties );
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx
index bbd01f1a40e6..02d71146e120 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -217,7 +217,7 @@ const OUString& SvtPathOptions_Impl::GetPath( SvtPathOptions::Paths ePath )
OUString aResult;
sal_Int32 nHandle = m_aMapEnumToPropHandle[ static_cast<sal_Int32>(ePath) ];
- // Substitution is done by the service itself using the substition service
+ // Substitution is done by the service itself using the substitution service
Any a = m_xPathSettings->getFastPropertyValue( nHandle );
a >>= aPathValue;
if( ePath == SvtPathOptions::PATH_ADDIN ||
@@ -289,7 +289,7 @@ void SvtPathOptions_Impl::SetPath( SvtPathOptions::Paths ePath, const OUString&
aNewValue = rNewPath;
}
- // Resubstitution is done by the service itself using the substition service
+ // Resubstitution is done by the service itself using the substitution service
a <<= aNewValue;
try
{
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index c4ed3f67096b..12c6528498db 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -1263,7 +1263,7 @@ sal_Unicode ConvertChar::RecodeChar( sal_Unicode cChar ) const
if ( IsStarSymbol( OUString::createFromAscii(mpSubsFontName) ) )
{
cRetVal = 0xE12C;
- SAL_WARN( "unotools.misc", "Forcing a bullet substition from 0x" <<
+ SAL_WARN( "unotools.misc", "Forcing a bullet substitution from 0x" <<
OString::number(cChar, 16) << " to 0x" <<
OString::number(cRetVal, 16));
}
@@ -1275,7 +1275,7 @@ sal_Unicode ConvertChar::RecodeChar( sal_Unicode cChar ) const
}
// recode the string assuming the character codes are symbol codes
-// from an traditional symbol font (i.e. U+F020..U+F0FF)
+// from a traditional symbol font (i.e. U+F020..U+F0FF)
void ConvertChar::RecodeString( OUString& rStr, sal_Int32 nIndex, sal_Int32 nLen ) const
{
sal_Int32 nLastIndex = nIndex + nLen;
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx
index 2775290f9bcd..48cced0e8730 100644
--- a/vbahelper/source/msforms/vbacontrol.cxx
+++ b/vbahelper/source/msforms/vbacontrol.cxx
@@ -547,9 +547,9 @@ void SAL_CALL ScVbaControl::fireEvent( const script::ScriptEvent& rEvt )
if ( xControl.is() ) // normal control ( from dialog/userform )
{
// #FIXME We should probably store a reference to the
- // parent dialog/userform here ( other wise the name of
+ // parent dialog/userform here (otherwise the name of
// dialog could be changed and we won't be aware of it.
- // ( OTOH this is probably an unlikely scenario )
+ // (OTOH this is probably an unlikely scenario)
evt.Source = xThisControl;
aEvt.Source = xControl;
evt.ScriptCode = m_sLibraryAndCodeName;
diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx
index 709957bfcb27..8fe5eec3428b 100644
--- a/vbahelper/source/vbahelper/vbashape.cxx
+++ b/vbahelper/source/vbahelper/vbashape.cxx
@@ -533,7 +533,7 @@ ScVbaShape::Select( const uno::Any& /*Replace*/ )
xSelectSupp->select( uno::makeAny( m_xShape ) );
}
-// This method should not be part of Shape, what we reall need to do is...
+// This method should not be part of Shape, what we really need to do is...
// dynamically create the appropriate objects e.g. TextBox, Oval, Picture etc.
// ( e.g. the ones that really do have ShapeRange as an attribute )
uno::Any SAL_CALL
diff --git a/vbahelper/source/vbahelper/vbatextframe.cxx b/vbahelper/source/vbahelper/vbatextframe.cxx
index 368e3ff3cd6b..8f6ba54492a8 100644
--- a/vbahelper/source/vbahelper/vbatextframe.cxx
+++ b/vbahelper/source/vbahelper/vbatextframe.cxx
@@ -34,7 +34,7 @@ void
VbaTextFrame::setAsMSObehavior()
{
//set property TextWordWrap default as False.
- // TextFitToSize control the text content. it seems we should set the default as False.
+ // TextFitToSize control the text content. It seems we should set the default as False.
// com.sun.star.drawing.TextFitToSizeType.NONE
m_xPropertySet->setPropertyValue( "TextWordWrap", uno::makeAny( false ) );
m_xPropertySet->setPropertyValue( "TextFitToSize", uno::makeAny( drawing::TextFitToSizeType_NONE ) );
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx
index 7336eac3f2f9..8141df1ffcf0 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.cxx
+++ b/winaccessibility/source/UAccCOM/MAccessible.cxx
@@ -1333,7 +1333,7 @@ STDMETHODIMP CMAccessible::Put_XAccAgent(hyper pAgent)
* When a UNO control disposing, it disposes its listeners,
* then notify AccObject in bridge management, then notify
* COM that the XAccessible is invalid,so set m_xAccessible as NULL
-* @param isDestroy, true is it need to be destroyed.
+* @param isDestroy, true is it needs to be destroyed.
* @return S_OK if successful and E_FAIL if failure.
*/
STDMETHODIMP CMAccessible::NotifyDestroy(BOOL isDestroy)
diff --git a/winaccessibility/source/UAccCOM/MAccessible.h b/winaccessibility/source/UAccCOM/MAccessible.h
index afd739a0bb6f..cdbe0e85905d 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.h
+++ b/winaccessibility/source/UAccCOM/MAccessible.h
@@ -226,8 +226,8 @@ public:
STDMETHOD(Get_XAccChildID)(/*[out,retval]*/ long* childID) override;
// AccObjectManagerAgent is a management object in UNO, here keep its pointer for
// the implementation of accNavigate when descendant manage happens for List,Tree, or Table
- // AccObjectManagerAgent and the following UNO objects XAccessble,XAccessibleSelection,
- // XAccessibleAction are all used to operate UNO accessiblility information directly when
+ // AccObjectManagerAgent and the following UNO objects XAccessible,XAccessibleSelection,
+ // XAccessibleAction are all used to operate UNO accessibility information directly when
// implement some specific MSAA methods,such as accSelection,accNavigate
static AccObjectManagerAgent* g_pAgent;
diff --git a/winaccessibility/source/service/AccDialogEventListener.cxx b/winaccessibility/source/service/AccDialogEventListener.cxx
index c67b7ed6bf74..1b9ce3cb7b5a 100644
--- a/winaccessibility/source/service/AccDialogEventListener.cxx
+++ b/winaccessibility/source/service/AccDialogEventListener.cxx
@@ -87,7 +87,7 @@ void AccDialogEventListener::HandleChildChangedEvent(Any oldValue, Any newValue)
}
else if (oldValue >>= xChild)
{
- //delete a existing child
+ //delete an existing child
if(xChild.is())
{
XAccessible* pAcc = xChild.get();
diff --git a/winaccessibility/source/service/AccFrameEventListener.cxx b/winaccessibility/source/service/AccFrameEventListener.cxx
index 04a1a6366604..2d31bdffb551 100644
--- a/winaccessibility/source/service/AccFrameEventListener.cxx
+++ b/winaccessibility/source/service/AccFrameEventListener.cxx
@@ -100,7 +100,7 @@ void AccFrameEventListener::HandleChildChangedEvent(Any oldValue, Any newValue)
}
else if (oldValue >>= xChild)
{
- //delete a existing child
+ //delete an existing child
if(xChild.is())
{
XAccessible* pAcc = xChild.get();
diff --git a/winaccessibility/source/service/AccWindowEventListener.cxx b/winaccessibility/source/service/AccWindowEventListener.cxx
index ff68da52fda8..c079cc6ed351 100644
--- a/winaccessibility/source/service/AccWindowEventListener.cxx
+++ b/winaccessibility/source/service/AccWindowEventListener.cxx
@@ -87,7 +87,7 @@ void AccWindowEventListener::HandleChildChangedEvent(Any oldValue, Any newValue)
}
else if (oldValue >>= xChild)
{
- //delete a existing child
+ //delete an existing child
if(xChild.is())
{
XAccessible* pAcc = xChild.get();