diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-05-15 10:42:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-05-15 11:14:28 +0300 |
commit | cb6d67c21f11811c5bc023b9565c1c1b1f4081fa (patch) | |
tree | ff8a4b192a2ca846d32111732563432244135910 /unotools/source | |
parent | 1a357b7394ac7b48b72821bff1aae4706265d7a4 (diff) |
Spelling "separate" (etc) correctly is hard
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/config/cmdoptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/dynamicmenuoptions.cxx | 12 | ||||
-rw-r--r-- | unotools/source/config/moduleoptions.cxx | 18 |
3 files changed, 16 insertions, 16 deletions
diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx index b6e755adaef4..f1cf83d0def8 100644 --- a/unotools/source/config/cmdoptions.cxx +++ b/unotools/source/config/cmdoptions.cxx @@ -91,7 +91,7 @@ class SvtCmdOptions // The while-loop starts with pointer on internal member list lSetupEntries, change to // lUserEntries then and stop after that with NULL! // Separator entries will be packed in another way then normal entries! We define - // special strings "sEmpty" and "sSeperator" to perform too ... + // special strings "sEmpty" and "sSeparator" to perform too ... Sequence< OUString > GetList() const { sal_Int32 nCount = (sal_Int32)m_aCommandHashMap.size(); diff --git a/unotools/source/config/dynamicmenuoptions.cxx b/unotools/source/config/dynamicmenuoptions.cxx index d5b5e7028812..acd93acaf800 100644 --- a/unotools/source/config/dynamicmenuoptions.cxx +++ b/unotools/source/config/dynamicmenuoptions.cxx @@ -96,7 +96,7 @@ class SvtDynMenu public: // append setup written menu entry // Don't touch name of entry. It was defined by setup and must be the same everytime! - // Look for double menu entries here too ... may be some seperator items are supeflous ... + // Look for double menu entries here too ... may be some separator items are supeflous ... void AppendSetupEntry( const SvtDynMenuEntry& rEntry ) { if( @@ -111,7 +111,7 @@ class SvtDynMenu // append user specific menu entry // We must find unique name for it by using special prefix // and next count of user setted entries! - // Look for double menu entries here too ... may be some seperator items are supeflous ... + // Look for double menu entries here too ... may be some separator items are supeflous ... void AppendUserEntry( SvtDynMenuEntry& rEntry ) { if( @@ -138,7 +138,7 @@ class SvtDynMenu // The while-loop starts with pointer on internal member list lSetupEntries, change to // lUserEntries then and stop after that with NULL! // Separator entries will be packed in another way then normal entries! We define - // special strings "sEmpty" and "sSeperator" to perform too ... + // special strings "sEmpty" and "sSeparator" to perform too ... Sequence< Sequence< PropertyValue > > GetList() const { sal_Int32 nSetupCount = (sal_Int32)lSetupEntries.size(); @@ -146,7 +146,7 @@ class SvtDynMenu sal_Int32 nStep = 0; Sequence< PropertyValue > lProperties ( PROPERTYCOUNT ); Sequence< Sequence< PropertyValue > > lResult ( nSetupCount+nUserCount ); - OUString sSeperator ( "private:separator" ); + OUString sSeparator ( "private:separator" ); OUString sEmpty ; const vector< SvtDynMenuEntry >* pList = &lSetupEntries; @@ -161,9 +161,9 @@ class SvtDynMenu pItem!=pList->end() ; ++pItem ) { - if( pItem->sURL == sSeperator ) + if( pItem->sURL == sSeparator ) { - lProperties[OFFSET_URL ].Value <<= sSeperator ; + lProperties[OFFSET_URL ].Value <<= sSeparator ; lProperties[OFFSET_TITLE ].Value <<= sEmpty ; lProperties[OFFSET_IMAGEIDENTIFIER ].Value <<= sEmpty ; lProperties[OFFSET_TARGETNAME ].Value <<= sEmpty ; diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx index 64efdaa1b57f..8e5cfc69e875 100644 --- a/unotools/source/config/moduleoptions.cxx +++ b/unotools/source/config/moduleoptions.cxx @@ -52,7 +52,7 @@ NAMELIST[ PROPERTYHANDLE_xxx ] => VALUELIST[ PROPERTYHANDLE_xxx ] *//*-*************************************************************************************************************/ #define ROOTNODE_FACTORIES OUString("Setup/Office/Factories" ) -#define PATHSEPERATOR OUString("/" ) +#define PATHSEPARATOR OUString("/" ) // Attention: The property "ooSetupFactoryEmptyDocumentURL" is read from configuration but not used! There is // special code that uses hard coded strings to return them. @@ -467,7 +467,7 @@ void SvtModuleOptions_Impl::Commit() // These path is used to build full qualified property names .... // See pInfo->getChangedProperties() for further information - sBasePath = PATHSEPERATOR + pInfo->getFactory() + PATHSEPERATOR; + sBasePath = PATHSEPARATOR + pInfo->getFactory() + PATHSEPARATOR; const css::uno::Sequence< css::beans::PropertyValue > lChangedProperties = pInfo->getChangedProperties ( sBasePath ); const css::beans::PropertyValue* pChangedProperties = lChangedProperties.getConstArray(); @@ -772,12 +772,12 @@ css::uno::Sequence< OUString > SvtModuleOptions_Impl::impl_ExpandSetNames( const for( sal_Int32 nName=0; nName<nCount; ++nName ) { - pPropNames[nPropStart+PROPERTYHANDLE_SHORTNAME ] = lSetNames[nName] + PATHSEPERATOR + PROPERTYNAME_SHORTNAME ; - pPropNames[nPropStart+PROPERTYHANDLE_TEMPLATEFILE ] = lSetNames[nName] + PATHSEPERATOR + PROPERTYNAME_TEMPLATEFILE ; - pPropNames[nPropStart+PROPERTYHANDLE_WINDOWATTRIBUTES] = lSetNames[nName] + PATHSEPERATOR + PROPERTYNAME_WINDOWATTRIBUTES; - pPropNames[nPropStart+PROPERTYHANDLE_EMPTYDOCUMENTURL] = lSetNames[nName] + PATHSEPERATOR + PROPERTYNAME_EMPTYDOCUMENTURL; - pPropNames[nPropStart+PROPERTYHANDLE_DEFAULTFILTER ] = lSetNames[nName] + PATHSEPERATOR + PROPERTYNAME_DEFAULTFILTER ; - pPropNames[nPropStart+PROPERTYHANDLE_ICON ] = lSetNames[nName] + PATHSEPERATOR + PROPERTYNAME_ICON ; + pPropNames[nPropStart+PROPERTYHANDLE_SHORTNAME ] = lSetNames[nName] + PATHSEPARATOR + PROPERTYNAME_SHORTNAME ; + pPropNames[nPropStart+PROPERTYHANDLE_TEMPLATEFILE ] = lSetNames[nName] + PATHSEPARATOR + PROPERTYNAME_TEMPLATEFILE ; + pPropNames[nPropStart+PROPERTYHANDLE_WINDOWATTRIBUTES] = lSetNames[nName] + PATHSEPARATOR + PROPERTYNAME_WINDOWATTRIBUTES; + pPropNames[nPropStart+PROPERTYHANDLE_EMPTYDOCUMENTURL] = lSetNames[nName] + PATHSEPARATOR + PROPERTYNAME_EMPTYDOCUMENTURL; + pPropNames[nPropStart+PROPERTYHANDLE_DEFAULTFILTER ] = lSetNames[nName] + PATHSEPARATOR + PROPERTYNAME_DEFAULTFILTER ; + pPropNames[nPropStart+PROPERTYHANDLE_ICON ] = lSetNames[nName] + PATHSEPARATOR + PROPERTYNAME_ICON ; nPropStart += PROPERTYCOUNT; } @@ -954,7 +954,7 @@ void SvtModuleOptions_Impl::MakeReadonlyStatesAvailable() { OUStringBuffer sPath(256); sPath.append(lFactories[i] ); - sPath.append(PATHSEPERATOR ); + sPath.append(PATHSEPARATOR ); sPath.append(PROPERTYNAME_DEFAULTFILTER); lFactories[i] = sPath.makeStringAndClear(); |