diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /unotools | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/bootstrap.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/configitem.cxx | 6 | ||||
-rw-r--r-- | unotools/source/config/dynamicmenuoptions.cxx | 4 | ||||
-rw-r--r-- | unotools/source/config/fontcfg.cxx | 4 | ||||
-rw-r--r-- | unotools/source/misc/mediadescriptor.cxx | 6 |
5 files changed, 11 insertions, 11 deletions
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx index 174f64e5c0bc..63889f765d99 100644 --- a/unotools/source/config/bootstrap.cxx +++ b/unotools/source/config/bootstrap.cxx @@ -669,7 +669,7 @@ bool Bootstrap::Impl::initUserInstallationData(rtl::Bootstrap& _rData) // should we do just this aUserInstall_.status = DATA_MISSING; - // .. or this - look for a single-user user directory ? + // ... or this - look for a single-user user directory ? OUString const csUserDirItem(BOOTSTRAP_ITEM_USERDIR); OUString sDummy; // look for $BASEINSTALLATION/user only if default UserDir setting is used diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index 3b6aa88c2bcf..57ead3bf9cb5 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -343,12 +343,12 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se sal_Int32 nCount = rNames.getLength(); Sequence< sal_Bool > lStates(nCount); - // We must be sure to return a valid information everytime! - // Set default to non readonly ... similar to the configuration handling of this property. + // We must be sure to return a valid information every time! + // Set default to non readonly... similar to the configuration handling of this property. for ( i=0; i<nCount; ++i) lStates[i] = sal_False; - // no access - no information ... + // no access - no information... Reference< XHierarchicalNameAccess > xHierarchyAccess = GetTree(); if (!xHierarchyAccess.is()) return lStates; diff --git a/unotools/source/config/dynamicmenuoptions.cxx b/unotools/source/config/dynamicmenuoptions.cxx index 0fa72fe8f785..161875b98bfe 100644 --- a/unotools/source/config/dynamicmenuoptions.cxx +++ b/unotools/source/config/dynamicmenuoptions.cxx @@ -77,8 +77,8 @@ 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 separator items are supeflous ... + // Don't touch name of entry. It was defined by setup and must be the same every time! + // Look for double menu entries here too... may be some separator items are superflous... void AppendSetupEntry( const SvtDynMenuEntry& rEntry ) { if( diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx index e442870faa75..798b777e8deb 100644 --- a/unotools/source/config/fontcfg.cxx +++ b/unotools/source/config/fontcfg.cxx @@ -103,7 +103,7 @@ DefaultFontConfiguration::DefaultFontConfiguration() { // get service provider Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() ); - // create configuration hierachical access name + // create configuration hierarchical access name try { m_xConfigProvider = theDefaultProvider::get( xContext ); @@ -366,7 +366,7 @@ FontSubstConfiguration::FontSubstConfiguration() : { // get service provider Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() ); - // create configuration hierachical access name + // create configuration hierarchical access name m_xConfigProvider = theDefaultProvider::get( xContext ); Sequence< Any > aArgs(1); PropertyValue aVal; diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx index 850db5b4bb5c..dd15c7c03730 100644 --- a/unotools/source/misc/mediadescriptor.cxx +++ b/unotools/source/misc/mediadescriptor.cxx @@ -637,7 +637,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi // try to open the file in read/write mode // (if its allowed to do so). // But handle errors in a "hidden mode". Because - // we try it readonly later - if read/write isnt an option. + // we try it readonly later - if read/write is not an option. css::uno::Reference< css::io::XStream > xStream; css::uno::Reference< css::io::XInputStream > xInputStream; @@ -654,7 +654,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi { try { - // TODO: use "special" still interaction to supress error messages + // TODO: use "special" still interaction to suppress error messages xStream = aContent.openWriteableStream(); if (xStream.is()) xInputStream = xStream->getInputStream(); @@ -681,7 +681,7 @@ bool MediaDescriptor::impl_openStreamWithURL( const OUString& sURL, bool bLockFi } } - // If opening of the stream in read/write mode wasnt allowed + // If opening of the stream in read/write mode was not allowed // or failed by an error - we must try it in readonly mode. if (!xInputStream.is()) { |