From da40cac540e7d735edbe9069b3c8ec6af4530208 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 10 Nov 2014 15:05:25 +0100 Subject: Fix common typos. No automatic tools. Handmade… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- unotools/source/config/bootstrap.cxx | 2 +- unotools/source/config/configitem.cxx | 6 +++--- unotools/source/config/dynamicmenuoptions.cxx | 4 ++-- unotools/source/config/fontcfg.cxx | 4 ++-- unotools/source/misc/mediadescriptor.cxx | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'unotools') 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 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()) { -- cgit