summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-29 09:31:26 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-07-29 11:15:42 +0200
commitc87cf4e76f0cf032a37078fe185adc9b1ca14e06 (patch)
treeef3c14358b9a2c5460e49b8ab7de43dd29a2f22b /unotools
parenta5dabf94fa32fb397141b7aee8e3daecb0240dc4 (diff)
Fix typos
Change-Id: Iec31617554fae0f6c5a3d795a917ce9096d84405 Reviewed-on: https://gerrit.libreoffice.org/76521 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'unotools')
-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
5 files changed, 11 insertions, 11 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;