diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-07-29 09:31:26 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-07-29 11:15:42 +0200 |
commit | c87cf4e76f0cf032a37078fe185adc9b1ca14e06 (patch) | |
tree | ef3c14358b9a2c5460e49b8ab7de43dd29a2f22b /unotools/source/config/moduleoptions.cxx | |
parent | a5dabf94fa32fb397141b7aee8e3daecb0240dc4 (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/source/config/moduleoptions.cxx')
-rw-r--r-- | unotools/source/config/moduleoptions.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 ); |