You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2020/10/01 22:34:54 UTC
[openoffice] branch AOO42X updated (34490c9 -> 796b7e2)
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a change to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git.
from 34490c9 Updated English dictionary
new db3f951 Fixed a lot of typos
new f502cd5 Fixed typos
new 796b7e2 Fixed typos (thats -> that's) and many more
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
main/basic/source/classes/image.cxx | 2 +-
.../chartapiwrapper/DataSeriesPointWrapper.hxx | 2 +-
.../source/controller/main/SelectionHelper.cxx | 2 +-
main/comphelper/inc/comphelper/mediadescriptor.hxx | 2 +-
main/comphelper/source/container/namecontainer.cxx | 2 +-
main/cppuhelper/source/weak.cxx | 2 +-
main/cui/source/customize/acccfg.cxx | 4 +-
main/cui/source/factory/dlgfact.cxx | 2 +-
main/desktop/source/app/app.cxx | 22 +-
main/desktop/source/app/appfirststart.cxx | 2 +-
main/desktop/source/app/cmdlinehelp.cxx | 2 +-
main/desktop/source/app/officeipcthread.cxx | 6 +-
main/desktop/source/offacc/acceptor.cxx | 2 +-
main/editeng/source/uno/unofored.cxx | 2 +-
main/embeddedobj/test/Container1/NativeView.java | 4 +-
main/extensions/source/bibliography/bibbeam.cxx | 2 +-
main/extensions/source/bibliography/general.cxx | 2 +-
main/filter/source/config/cache/basecontainer.cxx | 2 +-
main/filter/source/config/cache/cacheitem.hxx | 4 +-
.../source/config/cache/contenthandlerfactory.cxx | 2 +-
main/filter/source/config/cache/filtercache.cxx | 268 ++++++++++-----------
main/filter/source/config/cache/filtercache.hxx | 8 +-
main/filter/source/config/cache/filterfactory.cxx | 4 +-
.../source/win32/filepicker/FileOpenDlg.hxx | 2 +-
main/framework/inc/classes/taskcreator.hxx | 2 +-
main/framework/inc/dispatch/closedispatcher.hxx | 2 +-
main/framework/inc/helper/ocomponentaccess.hxx | 2 +-
main/framework/inc/helper/otasksaccess.hxx | 2 +-
main/framework/inc/jobs/job.hxx | 2 +-
main/framework/inc/services/autorecovery.hxx | 2 +-
main/framework/inc/services/desktop.hxx | 2 +-
main/framework/inc/services/detectorfactory.hxx | 4 +-
main/framework/inc/services/logindialog.hxx | 2 +-
main/framework/inc/services/pathsettings.hxx | 2 +-
main/framework/inc/threadhelp/fairrwlock.hxx | 2 +-
main/framework/inc/threadhelp/irwlock.h | 2 +-
main/framework/inc/threadhelp/lockhelper.hxx | 70 +++---
main/framework/inc/threadhelp/readguard.hxx | 2 +-
main/framework/inc/threadhelp/resetableguard.hxx | 2 +-
main/framework/inc/threadhelp/transactionguard.hxx | 2 +-
main/framework/inc/threadhelp/writeguard.hxx | 2 +-
.../qa/complex/framework/autosave/Protocol.java | 4 +-
.../accelerators/acceleratorconfiguration.cxx | 4 +-
.../documentacceleratorconfiguration.cxx | 4 +-
main/framework/source/classes/taskcreator.cxx | 2 +-
.../framework/source/dispatch/dispatchprovider.cxx | 4 +-
.../source/dispatch/interceptionhelper.cxx | 2 +-
.../source/fwe/classes/framelistanalyzer.cxx | 2 +-
main/framework/source/fwe/helper/titlehelper.cxx | 4 +-
.../framework/source/fwi/threadhelp/lockhelper.cxx | 2 +-
.../source/inc/accelerators/presethandler.hxx | 6 +-
main/framework/source/inc/loadenv/loadenv.hxx | 6 +-
.../source/inc/loadenv/loadenvexception.hxx | 2 +-
main/framework/source/jobs/joburl.cxx | 6 +-
main/framework/source/loadenv/loadenv.cxx | 8 +-
main/framework/source/services/autorecovery.cxx | 6 +-
main/framework/source/services/backingcomp.cxx | 2 +-
main/framework/source/services/frame.cxx | 4 +-
main/framework/source/services/pathsettings.cxx | 2 +-
main/jvmfwk/inc/jvmfwk/framework.h | 2 +-
.../Components/Addons/JobsAddon/AsyncJob.java | 4 +-
.../OfficeDev/DesktopEnvironment/NativeView.java | 2 +-
.../AsciiFilter/AsciiReplaceFilter.java | 4 +-
.../star/ucb/InteractiveWrongMediumException.idl | 2 +-
main/oovbaapi/ooo/vba/excel/XPivotTables.idl | 2 +-
main/pyuno/source/loader/pyuno_loader.cxx | 2 +-
.../tests/java/ifc/table/_TableColumn.java | 2 +-
.../tests/java/ifc/util/_PathSettings.java | 2 +-
.../tests/java/ifc/view/_XFormLayerAccess.java | 2 +-
main/sal/qa/libs2test.txt | 2 +-
main/sal/qa/osl/file/osl_File.cxx | 2 +-
main/sc/source/ui/unoobj/cursuno.cxx | 2 +-
main/sc/source/ui/vba/vbarange.cxx | 6 +-
main/scaddins/source/analysis/analysishelper.cxx | 2 +-
main/sd/source/core/CustomAnimationEffect.cxx | 2 +-
main/sfx2/source/bastyp/fltfnc.cxx | 4 +-
main/starmath/source/accessibility.cxx | 2 +-
main/svx/source/accessibility/AccessibleShape.cxx | 2 +-
main/sw/source/core/doc/doc.cxx | 2 +-
main/sw/source/filter/ww8/wrtw8nds.cxx | 2 +-
main/sw/source/ui/wrtsh/select.cxx | 4 +-
main/unotools/source/config/configitem.cxx | 2 +-
main/vbahelper/source/vbahelper/vbaglobalbase.cxx | 2 +-
83 files changed, 293 insertions(+), 293 deletions(-)
[openoffice] 01/03: Fixed a lot of typos
Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit db3f95103d1046a1b14808a0e7ed568892007bfa
Author: Matthias Seidel <ms...@apache.org>
AuthorDate: Thu May 16 15:08:22 2019 +0000
Fixed a lot of typos
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1859382 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit b95437098dcc80f8c08f099da7a04e19de9a17fe)
---
main/filter/source/config/cache/filtercache.cxx | 266 ++++++++++++------------
1 file changed, 133 insertions(+), 133 deletions(-)
diff --git a/main/filter/source/config/cache/filtercache.cxx b/main/filter/source/config/cache/filtercache.cxx
index e56bd20..fe0dca9 100644
--- a/main/filter/source/config/cache/filtercache.cxx
+++ b/main/filter/source/config/cache/filtercache.cxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -64,7 +64,7 @@
// namespace
namespace filter{
- namespace config{
+ namespace config{
namespace css = ::com::sun::star;
@@ -72,12 +72,12 @@ namespace css = ::com::sun::star;
// definitions
// Error message in case filter config seems to be corrupted.
-// Note: Dont tell user something about "setup -repair"!
-// Its no longer supported by using native installers ...
+// Note: Don't tell user something about "setup -repair"!
+// It's no longer supported by using native installers ...
static ::rtl::OUString MESSAGE_CORRUPTED_FILTERCONFIG = ::rtl::OUString::createFromAscii("The filter configuration appears to be defective. Please install the office suite again.");
/*-----------------------------------------------
- 15.03.2004 08:59
+ 15.03.2004 08:59
-----------------------------------------------*/
FilterCache::FilterCache()
: BaseLock ( )
@@ -88,7 +88,7 @@ FilterCache::FilterCache()
}
/*-----------------------------------------------
- 15.03.2004 08:59
+ 15.03.2004 08:59
-----------------------------------------------*/
FilterCache::~FilterCache()
{
@@ -96,7 +96,7 @@ FilterCache::~FilterCache()
}
/*-----------------------------------------------
- 03.03.2004 11:27
+ 03.03.2004 11:27
-----------------------------------------------*/
FilterCache* FilterCache::clone() const
{
@@ -105,7 +105,7 @@ FilterCache* FilterCache::clone() const
FilterCache* pClone = new FilterCache();
- // Dont copy the configuration access points here.
+ // Don't copy the configuration access points here.
// They will be created on demand inside the cloned instance,
// if they are needed.
@@ -137,7 +137,7 @@ FilterCache* FilterCache::clone() const
}
/*-----------------------------------------------
- 03.03.2004 14:39
+ 03.03.2004 14:39
-----------------------------------------------*/
void FilterCache::takeOver(const FilterCache& rClone)
{
@@ -145,7 +145,7 @@ void FilterCache::takeOver(const FilterCache& rClone)
::osl::ResettableMutexGuard aLock(m_aLock);
// a)
- // Dont copy the configuration access points here!
+ // Don't copy the configuration access points here!
// We must use our own ones ...
// b)
@@ -154,7 +154,7 @@ void FilterCache::takeOver(const FilterCache& rClone)
// c)
// Take over only changed items!
- // Otherwhise we risk the following scenario:
+ // Otherwise we risk the following scenario:
// c1) clone_1 contains changed filters
// c2) clone_2 container changed types
// c3) clone_1 take over changed filters and unchanged types
@@ -178,23 +178,23 @@ void FilterCache::takeOver(const FilterCache& rClone)
m_lChangedFrameLoaders.clear();
m_lChangedContentHandlers.clear();
- m_sActLocale = rClone.m_sActLocale;
- m_sProductName = rClone.m_sProductName;
- m_sOOoXMLFormatName = rClone.m_sOOoXMLFormatName;
- m_sOOoXMLFormatVersion = rClone.m_sOOoXMLFormatVersion;
+ m_sActLocale = rClone.m_sActLocale;
+ m_sProductName = rClone.m_sProductName;
+ m_sOOoXMLFormatName = rClone.m_sOOoXMLFormatName;
+ m_sOOoXMLFormatVersion = rClone.m_sOOoXMLFormatVersion;
- m_eFillState = rClone.m_eFillState;
+ m_eFillState = rClone.m_eFillState;
// renew all dependencies and optimizations
// Because we can't be sure, that changed filters on one clone
// and changed types of another clone work together.
// But here we can check against the lates changes ...
- impl_validateAndOptimize();
- // <- SAFE ----------------------------------
+ impl_validateAndOptimize();
+ // <- SAFE ----------------------------------
}
/*-----------------------------------------------
- 28.10.2003 09:01
+ 28.10.2003 09:01
-----------------------------------------------*/
void FilterCache::load(EFillState eRequired,
#if OSL_DEBUG_LEVEL > 1
@@ -226,10 +226,10 @@ void FilterCache::load(EFillState eRequired,
}
#endif
- // Otherwhise load the missing items.
+ // Otherwise load the missing items.
// ------------------------------------------
- // a) load some const values from configration.
+ // a) load some const values from configuration.
// These values are needed there for loading
// config items ...
// Further we load some std items from the
@@ -260,13 +260,13 @@ void FilterCache::load(EFillState eRequired,
m_sOOoXMLFormatVersion = DEFAULT_FORMATVERSION;
}
- // Support the old configuration support. Read it only one times during office runtime!
+ // Support the old configuration support. Read it only one time during office runtime!
impl_readOldFormat();
// enable "loadOnDemand" feature ...
// Create uno listener, which waits for finishing the office startup
// and starts a thread, which calls loadAll() at this filter cache.
- // Note: Its not a leak to create this listener with new here.
+ // Note: It's not a leak to create this listener with new here.
// It kills itself after working!
/* LateInitListener* pLateInit = */ new LateInitListener(m_xSMGR);
}
@@ -280,7 +280,7 @@ void FilterCache::load(EFillState eRequired,
}
/*-----------------------------------------------
- 28.10.2003 09:50
+ 28.10.2003 09:50
-----------------------------------------------*/
sal_Bool FilterCache::isFillState(FilterCache::EFillState eState) const
throw(css::uno::Exception)
@@ -292,7 +292,7 @@ sal_Bool FilterCache::isFillState(FilterCache::EFillState eState) const
}
/*-----------------------------------------------
- 14.07.2003 10:45
+ 14.07.2003 10:45
-----------------------------------------------*/
OUStringList FilterCache::getMatchingItemsByProps( EItemType eType ,
const CacheItem& lIProps,
@@ -303,8 +303,8 @@ OUStringList FilterCache::getMatchingItemsByProps( EItemType eType ,
::osl::ResettableMutexGuard aLock(m_aLock);
// search for right list
- // An exception is thrown �f "eType" is unknown.
- // => rList will be valid everytimes next line is reached.
+ // An exception is thrown if "eType" is unknown.
+ // => rList will be valid every time the next line is reached.
CacheItemList& rList = impl_getItemList(eType);
OUStringList lKeys;
@@ -331,7 +331,7 @@ OUStringList FilterCache::getMatchingItemsByProps( EItemType eType ,
}
/*-----------------------------------------------
- 02.07.2003 09:32
+ 02.07.2003 09:32
-----------------------------------------------*/
sal_Bool FilterCache::hasItems(EItemType eType) const
throw(css::uno::Exception)
@@ -340,8 +340,8 @@ sal_Bool FilterCache::hasItems(EItemType eType) const
::osl::ResettableMutexGuard aLock(m_aLock);
// search for right list
- // An exception is thrown �f "eType" is unknown.
- // => rList will be valid everytimes next line is reached.
+ // An exception is thrown if "eType" is unknown.
+ // => rList will be valid every time the next line is reached.
CacheItemList& rList = impl_getItemList(eType);
return (rList.size()>0);
@@ -349,7 +349,7 @@ sal_Bool FilterCache::hasItems(EItemType eType) const
}
/*-----------------------------------------------
- 02.07.2003 11:48
+ 02.07.2003 11:48
-----------------------------------------------*/
OUStringList FilterCache::getItemNames(EItemType eType) const
throw(css::uno::Exception)
@@ -358,8 +358,8 @@ OUStringList FilterCache::getItemNames(EItemType eType) const
::osl::ResettableMutexGuard aLock(m_aLock);
// search for right list
- // An exception is thrown �f "eType" is unknown.
- // => rList will be valid everytimes next line is reached.
+ // An exception is thrown if "eType" is unknown.
+ // => rList will be valid every time the next line is reached.
CacheItemList& rList = impl_getItemList(eType);
OUStringList lKeys;
@@ -374,7 +374,7 @@ OUStringList FilterCache::getItemNames(EItemType eType) const
}
/*-----------------------------------------------
- 27.10.2003 08:37
+ 27.10.2003 08:37
-----------------------------------------------*/
sal_Bool FilterCache::hasItem( EItemType eType,
const ::rtl::OUString& sItem)
@@ -384,8 +384,8 @@ sal_Bool FilterCache::hasItem( EItemType eType,
::osl::ResettableMutexGuard aLock(m_aLock);
// search for right list
- // An exception is thrown �f "eType" is unknown.
- // => rList will be valid everytimes next line is reached.
+ // An exception is thrown if "eType" is unknown.
+ // => rList will be valid every time the next line is reached.
CacheItemList& rList = impl_getItemList(eType);
// if item could not be found - check if it can be loaded
@@ -409,7 +409,7 @@ sal_Bool FilterCache::hasItem( EItemType eType,
}
/*-----------------------------------------------
- 17.07.2006 09:15
+ 17.07.2006 09:15
-----------------------------------------------*/
CacheItem FilterCache::getItem( EItemType eType,
const ::rtl::OUString& sItem)
@@ -420,7 +420,7 @@ CacheItem FilterCache::getItem( EItemType eType,
// search for right list
// An exception is thrown if "eType" is unknown.
- // => rList will be valid everytimes next line is reached.
+ // => rList will be valid every time the next line is reached.
CacheItemList& rList = impl_getItemList(eType);
// check if item exists ...
@@ -456,7 +456,7 @@ CacheItem FilterCache::getItem( EItemType eType,
::rtl::OUStringBuffer sMsg(256);
sMsg.appendAscii("The requested filter '" );
sMsg.append (sItem );
- sMsg.appendAscii("' exists ... but it shouldn't; because the corresponding OOo module was not installed.");
+ sMsg.appendAscii("' exists ... but it shouldn't; because the corresponding AOO module was not installed.");
throw css::container::NoSuchElementException(sMsg.makeStringAndClear(), css::uno::Reference< css::uno::XInterface >());
}
}
@@ -466,7 +466,7 @@ CacheItem FilterCache::getItem( EItemType eType,
}
/*-----------------------------------------------
- 03.03.2004 11:28
+ 03.03.2004 11:28
-----------------------------------------------*/
void FilterCache::removeItem( EItemType eType,
const ::rtl::OUString& sItem)
@@ -476,8 +476,8 @@ void FilterCache::removeItem( EItemType eType,
::osl::ResettableMutexGuard aLock(m_aLock);
// search for right list
- // An exception is thrown �f "eType" is unknown.
- // => rList will be valid everytimes next line is reached.
+ // An exception is thrown if "eType" is unknown.
+ // => rList will be valid every time the next line is reached.
CacheItemList& rList = impl_getItemList(eType);
CacheItemList::iterator pItem = rList.find(sItem);
@@ -489,7 +489,7 @@ void FilterCache::removeItem( EItemType eType,
}
/*-----------------------------------------------
- 26.11.2003 13:28
+ 26.11.2003 13:28
-----------------------------------------------*/
void FilterCache::setItem( EItemType eType ,
const ::rtl::OUString& sItem ,
@@ -500,18 +500,18 @@ void FilterCache::setItem( EItemType eType ,
::osl::ResettableMutexGuard aLock(m_aLock);
// search for right list
- // An exception is thrown �f "eType" is unknown.
- // => rList will be valid everytimes next line is reached.
+ // An exception is thrown if "eType" is unknown.
+ // => rList will be valid every time the next line is reached.
CacheItemList& rList = impl_getItemList(eType);
- // name must be part of the property set too ... otherwhise our
+ // name must be part of the property set too ... otherwise our
// container query can't work correctly
CacheItem aItem = aValue;
aItem[PROPNAME_NAME] <<= sItem;
aItem.validateUINames(m_sActLocale);
// remove implicit properties as e.g. FINALIZED or MANDATORY
- // They can't be saved here and must be readed on demand later, if they are needed.
+ // They can't be saved here and must be read on demand later, if they are needed.
removeStatePropsFromItem(aItem);
rList[sItem] = aItem;
@@ -530,7 +530,7 @@ void FilterCache::refreshItem( EItemType eType,
}
/*-----------------------------------------------
- 27.10.2003 08:14
+ 27.10.2003 08:14
-----------------------------------------------*/
void FilterCache::addStatePropsToItem( EItemType eType,
const ::rtl::OUString& sItem,
@@ -541,7 +541,7 @@ void FilterCache::addStatePropsToItem( EItemType eType,
::osl::ResettableMutexGuard aLock(m_aLock);
// Note: Opening of the configuration layer throws some exceptions
- // if it failed. So we dont must check any reference here ...
+ // if it failed. So we don't have to check any reference here ...
css::uno::Reference< css::container::XNameAccess > xPackage;
css::uno::Reference< css::container::XNameAccess > xSet;
switch(eType)
@@ -564,10 +564,10 @@ void FilterCache::addStatePropsToItem( EItemType eType,
{
/* TODO
Hack -->
- The default frame loader can't be located inside te normal set of frame loaders.
- Its an atomic property inside the misc cfg package. So we can't retrieve the information
+ The default frame loader can't be located inside the normal set of frame loaders.
+ It's an atomic property inside the misc cfg package. So we can't retrieve the information
about FINALIZED and MANDATORY very easy ... :-(
- => set it to readonly/required everytimes :-)
+ => set it to readonly/required every time :-)
*/
css::uno::Any aDirectValue = impl_getDirectCFGValue(CFGDIRECTKEY_DEFAULTFRAMELOADER);
::rtl::OUString sDefaultFrameLoader;
@@ -612,13 +612,13 @@ void FilterCache::addStatePropsToItem( EItemType eType,
catch(const css::container::NoSuchElementException&)
{
/* Ignore exceptions for missing elements inside configuration.
- May by the following reason exists:
+ Maybe the following reason exists:
- The item does not exists inside the new configuration package org.openoffice.TypeDetection - but
- we got it from the old package org.openoffice.Office/TypeDetection. We dont migrate such items
+ we got it from the old package org.openoffice.Office/TypeDetection. We don't migrate such items
automatically to the new format. Because it will disturb e.g. the deinstallation of an external filter
package. Because such external filter can remove the old file - but not the automatically created new one ...
- => mark item as FINALIZED / MANDATORY, we dont support writing to the old format
+ => mark item as FINALIZED / MANDATORY, we don't support writing to the old format
*/
rItem[PROPNAME_FINALIZED] <<= sal_True;
rItem[PROPNAME_MANDATORY] <<= sal_True;
@@ -628,7 +628,7 @@ void FilterCache::addStatePropsToItem( EItemType eType,
}
/*-----------------------------------------------
- 05.03.2004 10:36
+ 05.03.2004 10:36
-----------------------------------------------*/
void FilterCache::removeStatePropsFromItem(CacheItem& rItem)
throw(css::uno::Exception)
@@ -643,7 +643,7 @@ void FilterCache::removeStatePropsFromItem(CacheItem& rItem)
}
/*-----------------------------------------------
- 02.07.2003 09:17
+ 02.07.2003 09:17
-----------------------------------------------*/
void FilterCache::flush()
throw(css::uno::Exception)
@@ -682,7 +682,7 @@ void FilterCache::flush()
}
/*-----------------------------------------------
- 20.10.2003 09:22
+ 20.10.2003 09:22
-----------------------------------------------*/
void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XNameAccess >& xSet ,
EItemType eType ,
@@ -713,7 +713,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
css::uno::Reference< css::container::XNameReplace > xItem (xFactory->createInstance(), css::uno::UNO_QUERY);
// special case. no exception - but not a valid item => set must be finalized or mandatory!
- // Reject flush operation by throwing an exception. At least one item couldnt be flushed.
+ // Reject flush operation by throwing an exception. At least one item couldn't be flushed.
if (!xItem.is())
throw css::uno::Exception(::rtl::OUString::createFromAscii("Can't add item. Set is finalized or mandatory!"),
css::uno::Reference< css::uno::XInterface >() );
@@ -730,9 +730,9 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
xSet->getByName(sItem) >>= xItem;
// special case. no exception - but not a valid item => it must be finalized or mandatory!
- // Reject flush operation by throwing an exception. At least one item couldnt be flushed.
+ // Reject flush operation by throwing an exception. At least one item couldn't be flushed.
if (!xItem.is())
- throw css::uno::Exception(::rtl::OUString::createFromAscii("Can't change item. Its finalized or mandatory!"),
+ throw css::uno::Exception(::rtl::OUString::createFromAscii("Can't change item. It's finalized or mandatory!"),
css::uno::Reference< css::uno::XInterface >() );
CacheItemList::const_iterator pItem = rCache.find(sItem);
@@ -745,7 +745,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
}
/*-----------------------------------------------
- 03.11.2003 08:38
+ 03.11.2003 08:38
-----------------------------------------------*/
void FilterCache::detectFlatForURL(const css::util::URL& aURL ,
FlatDetection& rFlatTypes) const
@@ -789,8 +789,8 @@ void FilterCache::detectFlatForURL(const css::util::URL& aURL ,
//*******************************************
// ii) search types matching to the given extension.
- // Copy every macthing type without changing its order!
- // Because preferred types was added as first one during
+ // Copy every matching type without changing its order!
+ // Because preferred type was added as first one during
// loading configuration.
CacheItemRegistration::const_iterator pExtReg = m_lExtensions2Types.find(sExtension);
if (pExtReg != m_lExtensions2Types.end())
@@ -813,7 +813,7 @@ void FilterCache::detectFlatForURL(const css::util::URL& aURL ,
}
/*-----------------------------------------------
- 03.11.2003 08:38
+ 03.11.2003 08:38
-----------------------------------------------*/
CacheItemList& FilterCache::impl_getItemList(EItemType eType) const
throw(css::uno::Exception)
@@ -837,7 +837,7 @@ CacheItemList& FilterCache::impl_getItemList(EItemType eType) const
}
/*-----------------------------------------------
- 21.10.2003 13:20
+ 21.10.2003 13:20
-----------------------------------------------*/
css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfigProvider eProvider)
throw(css::uno::Exception)
@@ -892,7 +892,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfig
case E_PROVIDER_OLD :
{
// This special provider is used to work with
- // the old configuration format only. Its not cached!
+ // the old configuration format only. It's not cached!
sPath = CFGPACKAGE_TD_OLD;
pConfig = &xOld;
sRtlLog = ::rtl::OString("framework (as96863) ::FilterCache::impl_openconfig(E_PROVIDER_OLD)");
@@ -911,7 +911,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfig
// Start listening for changes on that configuration access.
// We must not control the lifetime of this listener. Itself
- // checks, when ist time to die :-)
+ // checks, when it's time to die :-)
if (bStartListening)
{
CacheUpdateListener* pListener = new CacheUpdateListener(m_xSMGR, *pConfig, eItemType);
@@ -923,7 +923,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfig
}
/*-----------------------------------------------
- 17.07.2003 10:10
+ 17.07.2003 10:10
-----------------------------------------------*/
css::uno::Any FilterCache::impl_getDirectCFGValue(const ::rtl::OUString& sDirectKey)
{
@@ -970,7 +970,7 @@ css::uno::Any FilterCache::impl_getDirectCFGValue(const ::rtl::OUString& sDirect
}
/*-----------------------------------------------
- 17.07.2003 09:49
+ 17.07.2003 09:49
-----------------------------------------------*/
css::uno::Reference< css::uno::XInterface > FilterCache::impl_createConfigAccess(const ::rtl::OUString& sRoot ,
sal_Bool bReadOnly ,
@@ -1011,7 +1011,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_createConfigAccess
else
xCfg = xConfigProvider->createInstanceWithArguments(SERVICE_CONFIGURATIONUPDATEACCESS, lParams.getAsConstList());
- // If configuration could not be opened ... but factory method does not throwed an exception
+ // If configuration could not be opened ... but factory method does not throw an exception
// trigger throwing of our own CorruptedFilterConfigurationException.
// Let message empty. The normal exception text show enough informations to the user.
if (! xCfg.is())
@@ -1032,7 +1032,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_createConfigAccess
}
/*-----------------------------------------------
- 24.10.2003 10:03
+ 24.10.2003 10:03
-----------------------------------------------*/
void FilterCache::impl_validateAndOptimize()
throw(css::uno::Exception)
@@ -1042,7 +1042,7 @@ void FilterCache::impl_validateAndOptimize()
RTL_LOGFILE_CONTEXT( aLog, "framework (as96863) ::FilterCache::impl_validateAndOptimize");
- // First check if any filter or type could be readed
+ // First check if any filter or type could be read
// from the underlying configuration!
sal_Bool bSomeTypesShouldExist = ((m_eFillState & E_CONTAINS_STANDARD ) == E_CONTAINS_STANDARD );
sal_Bool bAllFiltersShouldExist = ((m_eFillState & E_CONTAINS_FILTERS ) == E_CONTAINS_FILTERS );
@@ -1074,7 +1074,7 @@ void FilterCache::impl_validateAndOptimize()
}
// Create a log for all detected problems, which
- // occur in the next feew lines.
+ // occur in the next few lines.
// If there are some real errors throw a RuntimException!
// If there are some warnings only, show an assertion.
sal_Int32 nErrors = 0;
@@ -1131,12 +1131,12 @@ void FilterCache::impl_validateAndOptimize()
#endif
// create an optimized registration for this type to
- // its set list of extensions/url pattern. If its a "normal" type
- // set it at the end of this optimized list. But if its
+ // its set list of extensions/url pattern. If it's a "normal" type
+ // set it at the end of this optimized list. But if it's
// a "Preferred" one - set it to the front of this list.
// Of course multiple "Preferred" registrations can occur
// (they shouldn't - but they can!) ... Ignore it. The last
- // preferred type is useable in the same manner then every
+ // preferred type is usable in the same manner then every
// other type!
sal_Bool bPreferred = sal_False;
aType[PROPNAME_PREFERRED] >>= bPreferred;
@@ -1173,7 +1173,7 @@ void FilterCache::impl_validateAndOptimize()
#if OSL_DEBUG_LEVEL > 0
- // Dont check cross references between types and filters, if
+ // Don't check cross references between types and filters, if
// not all filters read from disk!
// OK - this cache can read single filters on demand too ...
// but then the fill state of this cache shouldn't be set to E_CONTAINS_FILTERS!
@@ -1185,8 +1185,8 @@ void FilterCache::impl_validateAndOptimize()
if (!sPrefFilter.getLength())
{
// OK - there is no filter for this type. But thats not an error.
- // May be it can be handled by a ContentHandler ...
- // But at this time its not guaranteed that there is any ContentHandler
+ // Maybe it can be handled by a ContentHandler ...
+ // But at this time it's not guaranteed that there is any ContentHandler
// or FrameLoader inside this cache ... but on disk ...
sal_Bool bReferencedByLoader = sal_True;
sal_Bool bReferencedByHandler = sal_True;
@@ -1303,9 +1303,9 @@ void FilterCache::impl_validateAndOptimize()
++pIt )
{
// Note: of course the default loader must be ignored here.
- // Because we replace its registration later completly with all
+ // Because we replace its registration later completely with all
// types, which are not referenced by any other loader.
- // So we can avaoid our code against the complexity of a diff!
+ // So we can avoid our code against the complexity of a diff!
::rtl::OUString sLoader = pIt->first;
if (sLoader.equals(sDefaultFrameLoader))
continue;
@@ -1341,7 +1341,7 @@ void FilterCache::impl_validateAndOptimize()
}
/*-----------------------------------------------
- 20.10.2003 08:15
+ 20.10.2003 08:15
-----------------------------------------------*/
void FilterCache::impl_addItem2FlushList( EItemType eType,
const ::rtl::OUString& sItem)
@@ -1379,7 +1379,7 @@ void FilterCache::impl_addItem2FlushList( EItemType eType,
}
/*-----------------------------------------------
- 20.10.2003 08:49
+ 20.10.2003 08:49
-----------------------------------------------*/
FilterCache::EItemFlushState FilterCache::impl_specifyFlushOperation(const css::uno::Reference< css::container::XNameAccess >& xSet ,
const CacheItemList& rList,
@@ -1391,7 +1391,7 @@ FilterCache::EItemFlushState FilterCache::impl_specifyFlushOperation(const css::
EItemFlushState eState( E_ITEM_UNCHANGED );
- // !? ... such situation can occur, if an item was added and(!) removed before it was flushed :-)
+ // !? ... such a situation can occur, if an item was added and(!) removed before it was flushed :-)
if (!bExistsInConfigLayer && !bExistsInMemory)
eState = E_ITEM_UNCHANGED;
else
@@ -1408,7 +1408,7 @@ FilterCache::EItemFlushState FilterCache::impl_specifyFlushOperation(const css::
}
/*-----------------------------------------------
- 14.10.2003 09:26
+ 14.10.2003 09:26
-----------------------------------------------*/
void FilterCache::impl_resolveItem4TypeRegistration( CacheItemList* pList,
const ::rtl::OUString& sItem,
@@ -1416,9 +1416,9 @@ void FilterCache::impl_resolveItem4TypeRegistration( CacheItemList* pList
throw(css::uno::Exception)
{
CacheItem& rItem = (*pList)[sItem];
- // In case its a new created entry (automatically done by the hash_map index operator!)
- // we must be shure, that this entry has its own name as property available.
- // Its needed later at our container interface!
+ // In case it's a new created entry (automatically done by the hash_map index operator!)
+ // we must be sure, that this entry has its own name as property available.
+ // It's needed later at our container interface!
rItem[PROPNAME_NAME] <<= sItem;
OUStringList lTypeRegs(rItem[PROPNAME_TYPES]);
@@ -1430,7 +1430,7 @@ void FilterCache::impl_resolveItem4TypeRegistration( CacheItemList* pList
}
/*-----------------------------------------------
- 28.10.2003 09:18
+ 28.10.2003 09:18
-----------------------------------------------*/
void FilterCache::impl_load(EFillState eRequiredState)
throw(css::uno::Exception)
@@ -1439,7 +1439,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
::osl::ResettableMutexGuard aLock(m_aLock);
// Attention: Detect services are part of the standard set!
- // So there is no need to handle it seperatly.
+ // So there is no need to handle it separately.
// ------------------------------------------
// a) The standard set of config value is needed.
@@ -1448,7 +1448,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
((m_eFillState & E_CONTAINS_STANDARD) != E_CONTAINS_STANDARD)
)
{
- // Attention! If config couldnt be opened successfully
+ // Attention! If config couldn't be opened successfully
// and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xTypes(impl_openConfig(E_PROVIDER_TYPES), css::uno::UNO_QUERY);
@@ -1465,7 +1465,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
((m_eFillState & E_CONTAINS_TYPES) != E_CONTAINS_TYPES)
)
{
- // Attention! If config couldnt be opened successfully
+ // Attention! If config couldn't be opened successfully
// and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xTypes(impl_openConfig(E_PROVIDER_TYPES), css::uno::UNO_QUERY);
@@ -1482,7 +1482,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
((m_eFillState & E_CONTAINS_FILTERS) != E_CONTAINS_FILTERS)
)
{
- // Attention! If config couldnt be opened successfully
+ // Attention! If config couldn't be opened successfully
// and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xFilters(impl_openConfig(E_PROVIDER_FILTERS), css::uno::UNO_QUERY);
@@ -1499,7 +1499,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
((m_eFillState & E_CONTAINS_FRAMELOADERS) != E_CONTAINS_FRAMELOADERS)
)
{
- // Attention! If config couldnt be opened successfully
+ // Attention! If config couldn't be opened successfully
// and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xLoaders(impl_openConfig(E_PROVIDER_OTHERS), css::uno::UNO_QUERY);
@@ -1516,7 +1516,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
((m_eFillState & E_CONTAINS_CONTENTHANDLERS) != E_CONTAINS_CONTENTHANDLERS)
)
{
- // Attention! If config couldnt be opened successfully
+ // Attention! If config couldn't be opened successfully
// and exception os thrown automatically and must be forwarded
// to our calli ...
css::uno::Reference< css::container::XNameAccess > xHandlers(impl_openConfig(E_PROVIDER_OTHERS), css::uno::UNO_QUERY);
@@ -1526,10 +1526,10 @@ void FilterCache::impl_load(EFillState eRequiredState)
}
}
- // update fill state. Note: its a bit field, which combines different parts.
+ // update fill state. Note: it's a bit field, which combines different parts.
m_eFillState = (EFillState) ((sal_Int32)m_eFillState | (sal_Int32)eRequiredState);
- // any data readed?
+ // any data read?
// yes! => validate it and update optimized structures.
impl_validateAndOptimize();
@@ -1537,7 +1537,7 @@ void FilterCache::impl_load(EFillState eRequiredState)
}
/*-----------------------------------------------
- 22.09.2003 14:27
+ 22.09.2003 14:27
-----------------------------------------------*/
void FilterCache::impl_loadSet(const css::uno::Reference< css::container::XNameAccess >& xConfig,
EItemType eType ,
@@ -1596,7 +1596,7 @@ void FilterCache::impl_loadSet(const css::uno::Reference< css::container::XNameA
// get names of all existing sub items of this set
// step over it and fill internal cache structures.
- // But dont update optimized structures like e.g. hash
+ // But don't update optimized structures like e.g. hash
// for mapping extensions to its types!
const ::rtl::OUString* pItems = lItems.getConstArray();
@@ -1658,7 +1658,7 @@ void FilterCache::impl_loadSet(const css::uno::Reference< css::container::XNameA
}
/*-----------------------------------------------
- 26.11.2003 12:49
+ 26.11.2003 12:49
-----------------------------------------------*/
void FilterCache::impl_readPatchUINames(const css::uno::Reference< css::container::XNameAccess >& xNode,
CacheItem& rItem)
@@ -1751,7 +1751,7 @@ void FilterCache::impl_readPatchUINames(const css::uno::Reference< css::containe
}
/*-----------------------------------------------
- 26.11.2003 12:56
+ 26.11.2003 12:56
-----------------------------------------------*/
void FilterCache::impl_savePatchUINames(const css::uno::Reference< css::container::XNameReplace >& xNode,
const CacheItem& rItem)
@@ -1774,12 +1774,12 @@ void FilterCache::impl_savePatchUINames(const css::uno::Reference< css::containe
}
/*-----------------------------------------------
- 29.10.2003 13:17
- TODO
- clarify, how the real problem behind the
- wrong constructed CacheItem instance (which
- will force a crash during destruction)
- can be solved ...
+ 29.10.2003 13:17
+ TODO
+ clarify, how the real problem behind the
+ wrong constructed CacheItem instance (which
+ will force a crash during destruction)
+ can be solved ...
-----------------------------------------------*/
CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::XNameAccess >& xSet ,
EItemType eType ,
@@ -1815,10 +1815,10 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::
#endif
// The internal name of an item must(!) be part of the property
- // set too. Of course its already used as key into the e.g. outside
+ // set too. Of course it's already used as key into the e.g. outside
// used hash map ... but some of our API methods provide
// this property set as result only. But the user of this CacheItem
- // should know, which value the key names has :-) ITS IMPORTANT!
+ // should know, which value the key names has :-) IT'S IMPORTANT!
CacheItem aItem;
aItem[PROPNAME_NAME] = css::uno::makeAny(sItem);
switch(eType)
@@ -1874,7 +1874,7 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::
aItem[PROPNAME_FLAGS] <<= FilterCache::impl_convertFlagNames2FlagField(lFlagNames);
}
// read optional properties of a filter
- // no else here! Is an additional switch ...
+ // no else here! It's an additional switch ...
if (
(eOption == E_READ_UPDATE) ||
(eOption == E_READ_ALL )
@@ -1905,7 +1905,7 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container::
}
/*-----------------------------------------------
- 27.10.2003 08:47
+ 27.10.2003 08:47
-----------------------------------------------*/
CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType eType,
const ::rtl::OUString& sItem)
@@ -1951,7 +1951,7 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType
case E_DETECTSERVICE :
{
- OSL_ENSURE(sal_False, "Can't load detect services on demand. Who use this unsupported feature?");
+ OSL_ENSURE(sal_False, "Can't load detect services on demand. Who uses this unsupported feature?");
}
break;
}
@@ -1975,10 +1975,10 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType
{
if (pItemInCache != pList->end())
pList->erase(pItemInCache);
- // OK - this item does not exists inside configuration.
+ // OK - this item does not exist inside configuration.
// And we already updated our internal cache.
// But the outside code needs this NoSuchElementException
- // to know, that this item does notexists.
+ // to know, that this item does not exist.
// Nobody checks the iterator!
throw css::container::NoSuchElementException();
}
@@ -1987,7 +1987,7 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType
}
/*-----------------------------------------------
- 20.10.2003 09:38
+ 20.10.2003 09:38
-----------------------------------------------*/
void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XNameReplace >& xItem,
EItemType eType,
@@ -2056,7 +2056,7 @@ void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XName
// special handling for flags! Convert it from an integer flag field back
// to a list of names ...
// But note: because we work directly on a reference to the cache item,
- // its not allowd to change the value here. We must work on a copy!
+ // it's not allowed to change the value here. We must work on a copy!
sal_Int32 nFlags = 0;
pIt = aItem.find(PROPNAME_FLAGS);
if (pIt != aItem.end())
@@ -2091,8 +2091,8 @@ void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XName
}
/*-----------------------------------------------
- 20.10.2003 09:45
- static! => no locks necessary
+ 20.10.2003 09:45
+ static! => no locks necessary
-----------------------------------------------*/
css::uno::Sequence< ::rtl::OUString > FilterCache::impl_convertFlagField2FlagNames(sal_Int32 nFlags)
{
@@ -2126,8 +2126,8 @@ css::uno::Sequence< ::rtl::OUString > FilterCache::impl_convertFlagField2FlagNam
}
/*-----------------------------------------------
- 27.06.2003 09:26
- static! => no locks necessary
+ 27.06.2003 09:26
+ static! => no locks necessary
-----------------------------------------------*/
sal_Int32 FilterCache::impl_convertFlagNames2FlagField(const css::uno::Sequence< ::rtl::OUString >& lNames)
{
@@ -2258,7 +2258,7 @@ sal_Int32 FilterCache::impl_convertFlagNames2FlagField(const css::uno::Sequence<
}
/*-----------------------------------------------
- 12.02.2004 08:40
+ 12.02.2004 08:40
-----------------------------------------------*/
void FilterCache::impl_interpretDataVal4Type(const ::rtl::OUString& sValue,
sal_Int32 nProp ,
@@ -2290,7 +2290,7 @@ void FilterCache::impl_interpretDataVal4Type(const ::rtl::OUString& sValue,
}
/*-----------------------------------------------
- 12.02.2004 08:50
+ 12.02.2004 08:50
-----------------------------------------------*/
void FilterCache::impl_interpretDataVal4Filter(const ::rtl::OUString& sValue,
sal_Int32 nProp ,
@@ -2336,7 +2336,7 @@ void FilterCache::impl_interpretDataVal4Filter(const ::rtl::OUString& sValue,
}
/*-----------------------------------------------
- 12.02.2004 08:30
+ 12.02.2004 08:30
TODO work on a cache copy first, which can be flushed afterwards
That would be usefully to guarantee a consistent cache.
-----------------------------------------------*/
@@ -2347,7 +2347,7 @@ void FilterCache::impl_readOldFormat()
static ::rtl::OUString FILTER_SET = ::rtl::OUString::createFromAscii("Filters");
// Attention: Opening/Reading of this old configuration format has to be handled gracefully.
- // Its optional and shouldn't disturb our normal work!
+ // It's optional and shouldn't disturb our normal work!
// E.g. we must check, if the package exists ...
css::uno::Reference< css::container::XNameAccess > xCfg;
@@ -2357,13 +2357,13 @@ void FilterCache::impl_readOldFormat()
xCfg = css::uno::Reference< css::container::XNameAccess >(xInt, css::uno::UNO_QUERY_THROW);
}
/* corrupt filter addon ? because it's external (optional) code .. we can ignore it. Addon wont work then ...
- but that seams to be acceptable.
+ but that seems to be acceptable.
see #139088# for further informations
*/
catch(const css::uno::Exception&)
{ return; }
- // May be there is no type set ...
+ // Maybe there is no type set ...
if (xCfg->hasByName(TYPES_SET))
{
css::uno::Reference< css::container::XNameAccess > xSet;
@@ -2374,7 +2374,7 @@ void FilterCache::impl_readOldFormat()
m_lTypes[pItems[i]] = impl_readOldItem(xSet, E_TYPE, pItems[i]);
}
- // May be there is no filter set ...
+ // Maybe there is no filter set ...
if (xCfg->hasByName(FILTER_SET))
{
css::uno::Reference< css::container::XNameAccess > xSet;
@@ -2387,7 +2387,7 @@ void FilterCache::impl_readOldFormat()
}
/*-----------------------------------------------
- 12.02.2004 08:30
+ 12.02.2004 08:30
-----------------------------------------------*/
CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::container::XNameAccess >& xSet ,
EItemType eType,
@@ -2449,7 +2449,7 @@ CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::containe
}
/*-----------------------------------------------
- 12.02.2004 08:15
+ 12.02.2004 08:15
-----------------------------------------------*/
OUStringList FilterCache::impl_tokenizeString(const ::rtl::OUString& sData ,
sal_Unicode cSeperator)
[openoffice] 03/03: Fixed typos (thats -> that's) and many more
Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 796b7e2a6783017f68304676a2c929a27518f29a
Author: mseidel <ms...@apache.org>
AuthorDate: Fri Oct 2 00:22:27 2020 +0200
Fixed typos (thats -> that's) and many more
(cherry picked from commit cfd52e183e60a1a0f86b79e1f5a1cdd3ab0b202f)
---
main/basic/source/classes/image.cxx | 2 +-
.../chartapiwrapper/DataSeriesPointWrapper.hxx | 2 +-
.../source/controller/main/SelectionHelper.cxx | 2 +-
main/comphelper/inc/comphelper/mediadescriptor.hxx | 2 +-
main/comphelper/source/container/namecontainer.cxx | 2 +-
main/cppuhelper/source/weak.cxx | 2 +-
main/cui/source/customize/acccfg.cxx | 4 ++--
main/cui/source/factory/dlgfact.cxx | 2 +-
main/desktop/source/app/app.cxx | 22 +++++++++++-----------
main/desktop/source/app/appfirststart.cxx | 2 +-
main/desktop/source/app/cmdlinehelp.cxx | 2 +-
main/desktop/source/app/officeipcthread.cxx | 6 +++---
main/desktop/source/offacc/acceptor.cxx | 2 +-
main/editeng/source/uno/unofored.cxx | 2 +-
main/embeddedobj/test/Container1/NativeView.java | 4 ++--
main/extensions/source/bibliography/bibbeam.cxx | 2 +-
main/extensions/source/bibliography/general.cxx | 2 +-
main/filter/source/config/cache/basecontainer.cxx | 2 +-
main/filter/source/config/cache/cacheitem.hxx | 4 ++--
.../source/config/cache/contenthandlerfactory.cxx | 2 +-
main/filter/source/config/cache/filtercache.cxx | 2 +-
main/filter/source/config/cache/filtercache.hxx | 8 ++++----
main/filter/source/config/cache/filterfactory.cxx | 4 ++--
.../source/win32/filepicker/FileOpenDlg.hxx | 2 +-
main/framework/inc/classes/taskcreator.hxx | 2 +-
main/framework/inc/dispatch/closedispatcher.hxx | 2 +-
main/framework/inc/helper/ocomponentaccess.hxx | 2 +-
main/framework/inc/helper/otasksaccess.hxx | 2 +-
main/framework/inc/jobs/job.hxx | 2 +-
main/framework/inc/services/autorecovery.hxx | 2 +-
main/framework/inc/services/desktop.hxx | 2 +-
main/framework/inc/services/detectorfactory.hxx | 4 ++--
main/framework/inc/services/logindialog.hxx | 2 +-
main/framework/inc/services/pathsettings.hxx | 2 +-
main/framework/inc/threadhelp/fairrwlock.hxx | 2 +-
main/framework/inc/threadhelp/irwlock.h | 2 +-
main/framework/inc/threadhelp/lockhelper.hxx | 2 +-
main/framework/inc/threadhelp/readguard.hxx | 2 +-
main/framework/inc/threadhelp/resetableguard.hxx | 2 +-
main/framework/inc/threadhelp/transactionguard.hxx | 2 +-
main/framework/inc/threadhelp/writeguard.hxx | 2 +-
.../qa/complex/framework/autosave/Protocol.java | 4 ++--
.../accelerators/acceleratorconfiguration.cxx | 4 ++--
.../documentacceleratorconfiguration.cxx | 4 ++--
main/framework/source/classes/taskcreator.cxx | 2 +-
.../framework/source/dispatch/dispatchprovider.cxx | 4 ++--
.../source/dispatch/interceptionhelper.cxx | 2 +-
.../source/fwe/classes/framelistanalyzer.cxx | 2 +-
main/framework/source/fwe/helper/titlehelper.cxx | 4 ++--
.../framework/source/fwi/threadhelp/lockhelper.cxx | 2 +-
.../source/inc/accelerators/presethandler.hxx | 6 +++---
main/framework/source/inc/loadenv/loadenv.hxx | 6 +++---
.../source/inc/loadenv/loadenvexception.hxx | 2 +-
main/framework/source/jobs/joburl.cxx | 6 +++---
main/framework/source/loadenv/loadenv.cxx | 8 ++++----
main/framework/source/services/autorecovery.cxx | 6 +++---
main/framework/source/services/backingcomp.cxx | 2 +-
main/framework/source/services/frame.cxx | 4 ++--
main/framework/source/services/pathsettings.cxx | 2 +-
main/jvmfwk/inc/jvmfwk/framework.h | 2 +-
.../Components/Addons/JobsAddon/AsyncJob.java | 4 ++--
.../OfficeDev/DesktopEnvironment/NativeView.java | 2 +-
.../AsciiFilter/AsciiReplaceFilter.java | 4 ++--
.../star/ucb/InteractiveWrongMediumException.idl | 2 +-
main/oovbaapi/ooo/vba/excel/XPivotTables.idl | 2 +-
main/pyuno/source/loader/pyuno_loader.cxx | 2 +-
.../tests/java/ifc/table/_TableColumn.java | 2 +-
.../tests/java/ifc/util/_PathSettings.java | 2 +-
.../tests/java/ifc/view/_XFormLayerAccess.java | 2 +-
main/sal/qa/libs2test.txt | 2 +-
main/sal/qa/osl/file/osl_File.cxx | 2 +-
main/sc/source/ui/unoobj/cursuno.cxx | 2 +-
main/sc/source/ui/vba/vbarange.cxx | 6 +++---
main/scaddins/source/analysis/analysishelper.cxx | 2 +-
main/sd/source/core/CustomAnimationEffect.cxx | 2 +-
main/sfx2/source/bastyp/fltfnc.cxx | 4 ++--
main/starmath/source/accessibility.cxx | 2 +-
main/svx/source/accessibility/AccessibleShape.cxx | 2 +-
main/sw/source/core/doc/doc.cxx | 2 +-
main/sw/source/filter/ww8/wrtw8nds.cxx | 2 +-
main/sw/source/ui/wrtsh/select.cxx | 4 ++--
main/unotools/source/config/configitem.cxx | 2 +-
main/vbahelper/source/vbahelper/vbaglobalbase.cxx | 2 +-
83 files changed, 126 insertions(+), 126 deletions(-)
diff --git a/main/basic/source/classes/image.cxx b/main/basic/source/classes/image.cxx
index b1b2621..43e3ea3 100644
--- a/main/basic/source/classes/image.cxx
+++ b/main/basic/source/classes/image.cxx
@@ -195,7 +195,7 @@ sal_Bool SbiImage::Load( SvStream& r, sal_uInt32& nVersion )
pCode = (char*)aLegacyToNew.GetBuffer();
nCodeSize = aLegacyToNew.GetSize();
// we don't release the legacy buffer
- // right now, thats because the module
+ // right now, that's because the module
// needs it to fix up the method
// nStart members. When that is done
// the module can release the buffer
diff --git a/main/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx b/main/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
index 193cf1c..1dc7258 100644
--- a/main/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
+++ b/main/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
@@ -143,7 +143,7 @@ private:
sal_Bool m_bLinesAllowed;
//this should only be used, if the DataSeriesPointWrapper is initialized via the XInitialize interface
- //because a big change in the chartmodel may leed to an dataseriespointer thats not connected to the model anymore
+ //because a big change in the chartmodel may leed to an dataseriespointer that's not connected to the model anymore
//with the indizes instead we are can aleays get the new dataseries
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > m_xDataSeries;
diff --git a/main/chart2/source/controller/main/SelectionHelper.cxx b/main/chart2/source/controller/main/SelectionHelper.cxx
index 4f81ed3..c9730d8 100644
--- a/main/chart2/source/controller/main/SelectionHelper.cxx
+++ b/main/chart2/source/controller/main/SelectionHelper.cxx
@@ -511,7 +511,7 @@ SdrObject* SelectionHelper::getMarkHandlesObject( SdrObject* pObj )
rtl::OUString aName( lcl_getObjectName( pObj ) );
if( aName.match(C2U("MarkHandles")) || aName.match(C2U("HandlesOnly")) )
return pObj;
- if( !aName.isEmpty() )//dont't get the markhandles of a different object
+ if( !aName.isEmpty() )//don't get the markhandles of a different object
return 0;
//search for a child with name "MarkHandles" or "HandlesOnly"
diff --git a/main/comphelper/inc/comphelper/mediadescriptor.hxx b/main/comphelper/inc/comphelper/mediadescriptor.hxx
index 39dd584..f214ba1 100644
--- a/main/comphelper/inc/comphelper/mediadescriptor.hxx
+++ b/main/comphelper/inc/comphelper/mediadescriptor.hxx
@@ -182,7 +182,7 @@ class COMPHELPER_DLLPUBLIC MediaDescriptor : public SequenceAsHashMap
of a real readonly file.
@Attention
- We dont check the property "ReadOnly" here. Because
+ We don't check the property "ReadOnly" here. Because
this property can be set from outside and overwrites
the readonly state of the stream.
If e.g. the stream could be opened read/write ...
diff --git a/main/comphelper/source/container/namecontainer.cxx b/main/comphelper/source/container/namecontainer.cxx
index 20f1cc4..91318c6 100644
--- a/main/comphelper/source/container/namecontainer.cxx
+++ b/main/comphelper/source/container/namecontainer.cxx
@@ -39,7 +39,7 @@ namespace comphelper
osl::Mutex maMutex;
};
- /** this is the base helper class for NameContainer thats also declared in this header. */
+ /** this is the base helper class for NameContainer that's also declared in this header. */
class NameContainer : public ::cppu::WeakImplHelper1< ::com::sun::star::container::XNameContainer >, private NameContainerImpl
{
public:
diff --git a/main/cppuhelper/source/weak.cxx b/main/cppuhelper/source/weak.cxx
index 63da9d7..efa8f4d 100644
--- a/main/cppuhelper/source/weak.cxx
+++ b/main/cppuhelper/source/weak.cxx
@@ -404,7 +404,7 @@ OWeakRefListener::~OWeakRefListener() SAL_THROW( () )
{
if (m_XWeakConnectionPoint.is())
{
- acquire(); // dont die again
+ acquire(); // don't die again
m_XWeakConnectionPoint->removeReference((XReference*)this);
}
}
diff --git a/main/cui/source/customize/acccfg.cxx b/main/cui/source/customize/acccfg.cxx
index 1d3372c..f5c49a6 100644
--- a/main/cui/source/customize/acccfg.cxx
+++ b/main/cui/source/customize/acccfg.cxx
@@ -1208,7 +1208,7 @@ IMPL_LINK( SfxAcceleratorConfigPage, LoadHdl, sfx2::FileDialogHelper*, EMPTYARG
else
{
// URL doesn't point to a loaded document, try to access it as a single storage
- // dont forget to release the storage afterwards!
+ // don't forget to release the storage afterwards!
css::uno::Reference< css::lang::XSingleServiceFactory > xStorageFactory(m_xSMGR->createInstance(SERVICE_STORAGEFACTORY), css::uno::UNO_QUERY_THROW);
css::uno::Sequence< css::uno::Any > lArgs(2);
lArgs[0] <<= sCfgName;
@@ -1238,7 +1238,7 @@ IMPL_LINK( SfxAcceleratorConfigPage, LoadHdl, sfx2::FileDialogHelper*, EMPTYARG
}
- // dont forget to close the new opened storage!
+ // don't forget to close the new opened storage!
// We are the owner of it.
if (xRootStorage.is())
{
diff --git a/main/cui/source/factory/dlgfact.cxx b/main/cui/source/factory/dlgfact.cxx
index 6b4bd2a..40632f8 100644
--- a/main/cui/source/factory/dlgfact.cxx
+++ b/main/cui/source/factory/dlgfact.cxx
@@ -1045,7 +1045,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateFrameDialog(
Dialog* pDlg = NULL;
if ( SID_OPTIONS_TREEDIALOG == nResId || SID_OPTIONS_DATABASES == nResId )
{
- // only activate last page if we dont want to activate a special page
+ // only activate last page if we don't want to activate a special page
bool bActivateLastSelection = ( nResId != SID_OPTIONS_DATABASES && rParameter.Len() == 0 );
OfaTreeOptionsDialog* pOptDlg = new OfaTreeOptionsDialog( pParent, rxFrame, bActivateLastSelection );
if ( nResId == SID_OPTIONS_DATABASES )
diff --git a/main/desktop/source/app/app.cxx b/main/desktop/source/app/app.cxx
index 57bbd39..a4d57b0 100644
--- a/main/desktop/source/app/app.cxx
+++ b/main/desktop/source/app/app.cxx
@@ -353,10 +353,10 @@ OUString MakeStartupConfigAccessErrorMessage( OUString const & aInternalErrMsg )
// setup again.
//
// On the other side we must make sure that no further actions will be possible within
-// the current office process ! No pipe requests, no menu/toolbar/shortuct actions
+// the current office process ! No pipe requests, no menu/toolbar/shortcut actions
// are allowed. Otherwise we will force a "crash inside a crash".
//
-// Thats why we have to use a special native message box here which does not use yield :-)
+// That's why we have to use a special native message box here which does not use yield :-)
//=============================================================================
void FatalError(const ::rtl::OUString& sMessage, const sal_Bool isDisplayErrorString)
{
@@ -987,7 +987,7 @@ void Desktop::Init()
SetBootstrapStatus(BS_OK);
// Check for lastsynchronized file for pre-registered bundled extensions in the user directory
- // and test if synchronzation is necessary!
+ // and test if synchronization is necessary!
{
::rtl::OUString aUserLastSyncFilePathURL = getLastSyncFileURLFromUserInstallation();
::rtl::OUString aPreregSyncFilePathURL = getLastSyncFileURLFromBrandInstallation();
@@ -1641,7 +1641,7 @@ sal_Bool impl_callRecoveryUI(sal_Bool bEmergencySave ,
/*
* Save all open documents so they will be reopened
- * the next time the application ist started
+ * the next time the application is started
*
* returns sal_True if at least one document could be saved...
*
@@ -1755,7 +1755,7 @@ sal_uInt16 Desktop::Exception(sal_uInt16 nError)
( !pArgs->IsNoRestore() ) && // some use cases of office must work without recovery
( !pArgs->IsHeadless() ) &&
( !pArgs->IsServer() ) &&
- (( nError & EXC_MAJORTYPE ) != EXC_DISPLAY ) && // recovery can't work without UI ... but UI layer seams to be the reason for this crash
+ (( nError & EXC_MAJORTYPE ) != EXC_DISPLAY ) && // recovery can't work without UI ... but UI layer seems to be the reason for this crash
( Application::IsInExecute() ) // crashes during startup and shutdown should be ignored (they indicates a corrupt installation ...)
);
if ( bAllowRecoveryAndSessionManagement )
@@ -1981,7 +1981,7 @@ void Desktop::Main()
SvtPathOptions().SetWorkPath( aWorkPath );
}
- // create service for loadin SFX (still needed in startup)
+ // create service for loading SFX (still needed in startup)
pExecGlobals->xGlobalBroadcaster = Reference < css::document::XEventListener >
( xSMgr->createInstance(
DEFINE_CONST_UNICODE( "com.sun.star.frame.GlobalEventBroadcaster" ) ), UNO_QUERY );
@@ -2396,7 +2396,7 @@ void Desktop::FlushConfiguration()
}
else
{
- // because there is no method to flush the condiguration data, we must dispose the ConfigManager
+ // because there is no method to flush the configuration data, we must dispose the ConfigManager
Reference < XComponent > xCFGDispose( ::utl::ConfigManager::GetConfigManager()->GetConfigurationProvider(), UNO_QUERY );
if (xCFGDispose.is())
xCFGDispose->dispose();
@@ -2559,7 +2559,7 @@ IMPL_LINK( Desktop, OpenClients_Impl, void*, EMPTYARG )
return 0;
}
-// enable acceptos
+// enable acceptors
IMPL_LINK( Desktop, EnableAcceptors_Impl, void*, EMPTYARG )
{
enableAcceptors();
@@ -2567,7 +2567,7 @@ IMPL_LINK( Desktop, EnableAcceptors_Impl, void*, EMPTYARG )
}
-// Registers a COM class factory of the service manager with the windows operating system.
+// Registers a COM class factory of the service manager with the Windows operating system.
void Desktop::EnableOleAutomation()
{
RTL_LOGFILE_CONTEXT( aLog, "desktop (jl97489) ::Desktop::EnableOleAutomation" );
@@ -2941,7 +2941,7 @@ void Desktop::PreloadConfigurationData()
void Desktop::OpenClients()
{
- // check if a document has been recovered - if there is one of if a document was loaded by cmdline, no default document
+ // check if a document has been recovered - if there is one or if a document was loaded by cmdline, no default document
// should be created
Reference < XComponent > xFirst;
sal_Bool bLoaded = sal_False;
@@ -3296,7 +3296,7 @@ String GetURL_Impl(
const String& rName, boost::optional< rtl::OUString > const & cwdUrl )
{
// if rName is a vnd.sun.star.script URL do not attempt to parse it
- // as INetURLObj does not handle handle there URLs
+ // as INetURLObj does not handle their URLs
if (rName.CompareToAscii("vnd.sun.star.script" , 19) == COMPARE_EQUAL)
{
return rName;
diff --git a/main/desktop/source/app/appfirststart.cxx b/main/desktop/source/app/appfirststart.cxx
index 183e02e..f2a1488 100644
--- a/main/desktop/source/app/appfirststart.cxx
+++ b/main/desktop/source/app/appfirststart.cxx
@@ -200,7 +200,7 @@ static sal_Bool impl_isLicenseAccepted()
// If no license will be shown ... it must not be accepted.
// So it was accepted "hardly" by the outside installer.
// But if the configuration entry "HideEula" will be removed afterwards ..
- // we have to show the licese page again and user has to accept it here .-)
+ // we have to show the license page again and user has to accept it here .-)
if ( ! Desktop::LicenseNeedsAcceptance() )
return sal_True;
diff --git a/main/desktop/source/app/cmdlinehelp.cxx b/main/desktop/source/app/cmdlinehelp.cxx
index 6758f98..cdba28e 100644
--- a/main/desktop/source/app/cmdlinehelp.cxx
+++ b/main/desktop/source/app/cmdlinehelp.cxx
@@ -113,7 +113,7 @@ namespace desktop
" other programs can connect to access the API.\n"\
"-unaccept=<accept-string>\n"\
" Close an acceptor that was created with -accept=<accept-string>\n"\
- " Use -unnaccept=all to close all open acceptors.\n"\
+ " Use -unaccept=all to close all open acceptors.\n"\
"Remaining arguments will be treated as filenames or URLs of documents to open.\n";
void ReplaceStringHookProc( UniString& rStr );
diff --git a/main/desktop/source/app/officeipcthread.cxx b/main/desktop/source/app/officeipcthread.cxx
index 9ce97d0..92458c3 100644
--- a/main/desktop/source/app/officeipcthread.cxx
+++ b/main/desktop/source/app/officeipcthread.cxx
@@ -354,7 +354,7 @@ throw( RuntimeException )
::osl::Mutex& OfficeIPCThread::GetMutex()
{
- // Get or create our mutex for thread-saftey
+ // Get or create our mutex for thread-safety
if ( !pOfficeIPCThreadMutex )
{
::osl::MutexGuard aGuard( osl::Mutex::getGlobalMutex() );
@@ -676,13 +676,13 @@ void SAL_CALL OfficeIPCThread::run()
// if we receive a request while the office is displaying some dialog or error during
// bootstrap, that dialogs event loop might get events that are dispatched by this thread
// we have to wait for cReady to be set by the real main loop.
- // only reqests that don't dispatch events may be processed before cReady is set.
+ // only requests that don't dispatch events may be processed before cReady is set.
cReady.wait();
// we might have decided to shutdown while we were sleeping
if (!pGlobalOfficeIPCThread) return;
- // only lock the mutex when processing starts, othewise we deadlock when the office goes
+ // only lock the mutex when processing starts, otherwise we deadlock when the office goes
// down during wait
osl::ClearableMutexGuard aGuard( GetMutex() );
diff --git a/main/desktop/source/offacc/acceptor.cxx b/main/desktop/source/offacc/acceptor.cxx
index 58d0e36..ea812a3 100644
--- a/main/desktop/source/offacc/acceptor.cxx
+++ b/main/desktop/source/offacc/acceptor.cxx
@@ -124,7 +124,7 @@ void SAL_CALL Acceptor::run()
// accept connection
Reference< XConnection > rConnection = m_rAcceptor->accept( m_aConnectString );
- // if we return without a valid connection we mus assume that the acceptor
+ // if we return without a valid connection we must assume that the acceptor
// is destructed so we break out of the run method terminating the thread
if (! rConnection.is()) break;
OUString aDescription = rConnection->getDescription();
diff --git a/main/editeng/source/uno/unofored.cxx b/main/editeng/source/uno/unofored.cxx
index 0342c36..8239dd5 100644
--- a/main/editeng/source/uno/unofored.cxx
+++ b/main/editeng/source/uno/unofored.cxx
@@ -272,7 +272,7 @@ sal_uInt16 GetSvxEditEngineItemState( EditEngine& rEditEngine, const ESelection&
}
else if( bGaps )
{
- // gaps and item not set in paragraph, thats a don't care
+ // gaps and item not set in paragraph, that's a don't care
return SFX_ITEM_DONTCARE;
}
}
diff --git a/main/embeddedobj/test/Container1/NativeView.java b/main/embeddedobj/test/Container1/NativeView.java
index 1cd2a83..6474fae 100644
--- a/main/embeddedobj/test/Container1/NativeView.java
+++ b/main/embeddedobj/test/Container1/NativeView.java
@@ -68,9 +68,9 @@ public class NativeView extends java.awt.Canvas
* ( e.g. get the window handle and necessary system informations )
*
* Why here?
- * Because the handle seams to be available for already visible windows
+ * Because the handle seems to be available for already visible windows
* only. So it's the best place to get it. Special helper method
- * can be called more then ones - but call native code one times only
+ * can be called more than once - but call native code one time only
* and safe the handle and the system type on our members maHandle/maSystem!
*/
public void setVisible( boolean bState )
diff --git a/main/extensions/source/bibliography/bibbeam.cxx b/main/extensions/source/bibliography/bibbeam.cxx
index d8bde04..f62dc1b 100644
--- a/main/extensions/source/bibliography/bibbeam.cxx
+++ b/main/extensions/source/bibliography/bibbeam.cxx
@@ -174,7 +174,7 @@ namespace bib
m_xDispatchProviderInterception=uno::Reference< frame::XDispatchProviderInterception > (m_xControl, UNO_QUERY );
m_xGridWin->setVisible( sal_True );
m_xControl->setDesignMode( sal_True );
- // initially switch on the desing mode - switch it off _after_ loading the form
+ // initially switch on the design mode - switch it off _after_ loading the form
// 17.10.2001 - 93107 - frank.schoenheit@sun.com
::Size aSize = GetOutputSizePixel();
diff --git a/main/extensions/source/bibliography/general.cxx b/main/extensions/source/bibliography/general.cxx
index 9457896..848ea68 100644
--- a/main/extensions/source/bibliography/general.cxx
+++ b/main/extensions/source/bibliography/general.cxx
@@ -569,7 +569,7 @@ uno::Reference< awt::XControlModel > BibGeneralPage::AddXControl(
}
xCtrWin->setVisible( sal_True );
xControl->setDesignMode( sal_True );
- // initially switch on the desing mode - switch it off _after_ loading the form
+ // initially switch on the design mode - switch it off _after_ loading the form
// 17.10.2001 - 93107 - frank.schoenheit@sun.com
xCtrWin->setPosSize(rPos.X(), rPos.Y(), rSize.Width(),
diff --git a/main/filter/source/config/cache/basecontainer.cxx b/main/filter/source/config/cache/basecontainer.cxx
index fb7245f..ded1a2c 100644
--- a/main/filter/source/config/cache/basecontainer.cxx
+++ b/main/filter/source/config/cache/basecontainer.cxx
@@ -108,7 +108,7 @@ void BaseContainer::impl_loadOnDemand()
// A generic container needs all items of a set of our cache!
// Of course it can block for a while, till the cache is really filled.
- // Note: dont load all sets supported by the cache here!
+ // Note: don't load all sets supported by the cache here!
FilterCache::EFillState eRequiredState = FilterCache::E_CONTAINS_NOTHING;
switch(m_eType)
diff --git a/main/filter/source/config/cache/cacheitem.hxx b/main/filter/source/config/cache/cacheitem.hxx
index 10b1721..5bf1316 100644
--- a/main/filter/source/config/cache/cacheitem.hxx
+++ b/main/filter/source/config/cache/cacheitem.hxx
@@ -117,7 +117,7 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
//---------------------------------------
- /** @short check, if the given properties dont exists
+ /** @short check, if the given properties don't exist
at this item.
@descr All properties are compared in its minimum.
@@ -134,7 +134,7 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
//---------------------------------------
- /** @short check, if the given properties dont exists
+ /** @short check, if the given properties don't exist
at this item.
@descr All properties are compared in its minimum.
diff --git a/main/filter/source/config/cache/contenthandlerfactory.cxx b/main/filter/source/config/cache/contenthandlerfactory.cxx
index d6f3a2b..307352d 100644
--- a/main/filter/source/config/cache/contenthandlerfactory.cxx
+++ b/main/filter/source/config/cache/contenthandlerfactory.cxx
@@ -117,7 +117,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::crea
}
// prevent outside code against NoSuchElementException!
- // But dont implement such defensive strategy for our new create handling :-)
+ // But don't implement such defensive strategy for our new create handling :-)
if (!m_rCache->hasItem(FilterCache::E_CONTENTHANDLER, sRealHandler))
return css::uno::Reference< css::uno::XInterface>();
}
diff --git a/main/filter/source/config/cache/filtercache.cxx b/main/filter/source/config/cache/filtercache.cxx
index fe0dca9..29447c1 100644
--- a/main/filter/source/config/cache/filtercache.cxx
+++ b/main/filter/source/config/cache/filtercache.cxx
@@ -1184,7 +1184,7 @@ void FilterCache::impl_validateAndOptimize()
aType[PROPNAME_PREFERREDFILTER] >>= sPrefFilter;
if (!sPrefFilter.getLength())
{
- // OK - there is no filter for this type. But thats not an error.
+ // OK - there is no filter for this type. But that's not an error.
// Maybe it can be handled by a ContentHandler ...
// But at this time it's not guaranteed that there is any ContentHandler
// or FrameLoader inside this cache ... but on disk ...
diff --git a/main/filter/source/config/cache/filtercache.hxx b/main/filter/source/config/cache/filtercache.hxx
index fed0358..fe16287 100644
--- a/main/filter/source/config/cache/filtercache.hxx
+++ b/main/filter/source/config/cache/filtercache.hxx
@@ -102,7 +102,7 @@ class FilterCache : public BaseLock
the first document. After this first document was loaded successfully,
a special "load-on-demand-thread" will be started to fill this cache
with ALL other informations, which was not readed before.
- Thats the second step. All operations on top of this cache will be
+ That's the second step. All operations on top of this cache will be
blocked then.
*/
enum EFillState
@@ -429,8 +429,8 @@ class FilterCache : public BaseLock
/** @short indicates if the requested sub container
contains some items.
- @descr We dont provide any information about the count
- of such items. Because we dont implement any index
+ @descr We don't provide any information about the count
+ of such items. Because we don't implement any index
based interface! The information "we have items or not"
must be enough for the outside code ... till somewhere
give us a good reason. :-)
@@ -785,7 +785,7 @@ class FilterCache : public BaseLock
@descr Because detect services, frame loader or content handler
are not listed inside the xml configuration as separated
items (they are properties of any type entry!), this method update
- the internal lists of such items. Thats necessary to have
+ the internal lists of such items. That's necessary to have
it accessible for our container interfaces of detect, frame loader
and content handler services.
diff --git a/main/filter/source/config/cache/filterfactory.cxx b/main/filter/source/config/cache/filterfactory.cxx
index 0c52904..27adf40 100644
--- a/main/filter/source/config/cache/filterfactory.cxx
+++ b/main/filter/source/config/cache/filterfactory.cxx
@@ -158,7 +158,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstan
}
// prevent outside code against NoSuchElementException!
- // But dont implement such defensive strategy for our new create handling :-)
+ // But don't implement such defensive strategy for our new create handling :-)
if (!m_rCache->hasItem(FilterCache::E_FILTER, sRealFilter))
return css::uno::Reference< css::uno::XInterface>();
}
@@ -208,7 +208,7 @@ css::uno::Sequence< ::rtl::OUString > SAL_CALL FilterFactory::getAvailableServic
throw(css::uno::RuntimeException)
{
/* Attention: Instead of getElementNames() this method have to return only filter names,
- which can be created as UNO Services really. Thats why we search for filters,
+ which can be created as UNO Services really. That's why we search for filters,
which dont have a valid value for the property "FilterService".
Of course we can't check for corrupted service names here. We can check
for empty strings only ...
diff --git a/main/fpicker/source/win32/filepicker/FileOpenDlg.hxx b/main/fpicker/source/win32/filepicker/FileOpenDlg.hxx
index 6c8e5c1..376e0ea 100644
--- a/main/fpicker/source/win32/filepicker/FileOpenDlg.hxx
+++ b/main/fpicker/source/win32/filepicker/FileOpenDlg.hxx
@@ -123,7 +123,7 @@ typedef _LPOPENFILENAMEA _LPOPENFILENAME;
#define _OPENFILENAME_SIZE_VERSION_400 _OPENFILENAME_SIZE_VERSION_400A
#endif // !UNICODE
#else
- #error _WIN32_WINNT seams not to be valid.
+ #error _WIN32_WINNT seems not to be valid.
#endif // (_WIN32_WINNT >= 0x0500)
diff --git a/main/framework/inc/classes/taskcreator.hxx b/main/framework/inc/classes/taskcreator.hxx
index fc0539e..49dd5fc 100644
--- a/main/framework/inc/classes/taskcreator.hxx
+++ b/main/framework/inc/classes/taskcreator.hxx
@@ -62,7 +62,7 @@ namespace framework{
/*-************************************************************************************************************//**
@short a helper to create new tasks or sub frames for "_blank" or FrameSearchFlag::CREATE
@descr There are different places to create new (task)frames. Its not easy to service this code!
- Thats the reason for this helper. He capsulate asynchronous/synchronous creation by calling
+ That's the reason for this helper. He capsulate asynchronous/synchronous creation by calling
a simple interface.
@devstatus ready to use
diff --git a/main/framework/inc/dispatch/closedispatcher.hxx b/main/framework/inc/dispatch/closedispatcher.hxx
index e2148e9..e90fc62 100644
--- a/main/framework/inc/dispatch/closedispatcher.hxx
+++ b/main/framework/inc/dispatch/closedispatcher.hxx
@@ -205,7 +205,7 @@ class CloseDispatcher : public css::lang::XTypeProvider
//---------------------------------------
/** @short prepare m_xCloseFrame so it should be closeable without problems.
- @descr Thats needed to be sure, that the document can't disagree
+ @descr That's needed to be sure, that the document can't disagree
later with e.g. an office termination.
The problem: Closing of documents can show UI. If the user
ignores it and open/close other documents, we can't know
diff --git a/main/framework/inc/helper/ocomponentaccess.hxx b/main/framework/inc/helper/ocomponentaccess.hxx
index f4d250d..1ff5215 100644
--- a/main/framework/inc/helper/ocomponentaccess.hxx
+++ b/main/framework/inc/helper/ocomponentaccess.hxx
@@ -179,7 +179,7 @@ class OComponentAccess : private ThreadHelpBase , // Must
@descr This method destruct an instance of this class and clear some member.
Don't use an instance of this class as normal member. Use it dynamicly with a pointer.
We hold a weakreference to ouer owner and not to ouer superclass!
- Thats the reason for a protected dtor.
+ That's the reason for a protected dtor.
@seealso class Desktop
diff --git a/main/framework/inc/helper/otasksaccess.hxx b/main/framework/inc/helper/otasksaccess.hxx
index 3d4ccd1..7d7333c 100644
--- a/main/framework/inc/helper/otasksaccess.hxx
+++ b/main/framework/inc/helper/otasksaccess.hxx
@@ -186,7 +186,7 @@ class OTasksAccess : public css::lang::XTypeProvider ,
@descr This method destruct an instance of this class and clear some member.
Don't use an instance of this class as normal member. Use it dynamicly with a pointer.
We hold a weakreference to ouer owner and not to ouer superclass!
- Thats the reason for a protected dtor.
+ That's the reason for a protected dtor.
@seealso class Desktop
diff --git a/main/framework/inc/jobs/job.hxx b/main/framework/inc/jobs/job.hxx
index bca4d3e..e91e7a4 100644
--- a/main/framework/inc/jobs/job.hxx
+++ b/main/framework/inc/jobs/job.hxx
@@ -164,7 +164,7 @@ class Job : public css::lang::XTypeProvider
/**
Holds the state, if we are listen for desktop/frame or model closing events or not.
The used references are not really enough to detect a valid listener connection.
- Thats why we use this additional information here too.
+ That's why we use this additional information here too.
*/
sal_Bool m_bListenOnDesktop;
sal_Bool m_bListenOnFrame;
diff --git a/main/framework/inc/services/autorecovery.hxx b/main/framework/inc/services/autorecovery.hxx
index 8d3e40d..802c743 100644
--- a/main/framework/inc/services/autorecovery.hxx
+++ b/main/framework/inc/services/autorecovery.hxx
@@ -271,7 +271,7 @@ class AutoRecovery : public css::lang::XTypeProvider
//-------------------------------
/** For every user action, which modifies a document (e.g. key input) we get
- a notification as XModifyListener. That seams to be a "performance issue" .-)
+ a notification as XModifyListener. That seems to be a "performance issue" .-)
So we decided to listen for such modify events only for the time in which the document
was stored as temp. file and was not modified again by the user.
*/
diff --git a/main/framework/inc/services/desktop.hxx b/main/framework/inc/services/desktop.hxx
index 677869d..46a7c26 100644
--- a/main/framework/inc/services/desktop.hxx
+++ b/main/framework/inc/services/desktop.hxx
@@ -469,7 +469,7 @@ class Desktop : // interfaces
//---------------------------------------------------------------------
/** special terminate listener shown inside system tray (quick starter)
* Will hinder the office on shutdown ... but wish to allow closing
- * of open documents. And because thats different to a normal terminate listener
+ * of open documents. And because that's different to a normal terminate listener
* it has to be handled special .-)
*/
css::uno::Reference< css::frame::XTerminateListener > m_xQuickLauncher;
diff --git a/main/framework/inc/services/detectorfactory.hxx b/main/framework/inc/services/detectorfactory.hxx
index 0066d87..f60d9e3 100644
--- a/main/framework/inc/services/detectorfactory.hxx
+++ b/main/framework/inc/services/detectorfactory.hxx
@@ -219,7 +219,7 @@ class DetectorFactory : // interfaces
Note: Missing values will be created with defaults!
@exception com::sun::star::lang::IllegalArgumentException
- if one of the incoming parameters seams to be invalid.
+ if one of the incoming parameters seems to be invalid.
That doesn't include the check, if this item already exist!
@exception com::sun::star::container::ElementExistException
@@ -280,7 +280,7 @@ class DetectorFactory : // interfaces
Note: Missing properties will be untouched.
@exception com::sun::star::lang::IllegalArgumentException
- if one of the incoming parameters seams to be invalid.
+ if one of the incoming parameters seems to be invalid.
That doesn't include the check, if this item exist!
@exception com::sun::star::container::NoSuchElementException
diff --git a/main/framework/inc/services/logindialog.hxx b/main/framework/inc/services/logindialog.hxx
index cbd9635..297f1f8 100644
--- a/main/framework/inc/services/logindialog.hxx
+++ b/main/framework/inc/services/logindialog.hxx
@@ -804,7 +804,7 @@ class LoginDialog : public XTYPEPROVIDER ,
/*-****************************************************************************************************//**
@short helper methods to read/write properties from/to ini file
@descr Using of Config-Class isn't easy every time :-(
- Thats the reason for these helper. State of operation isn't really important ..
+ That's the reason for these helper. State of operation isn't really important...
but we assert impossible cases or occurred errors!
@seealso -
diff --git a/main/framework/inc/services/pathsettings.hxx b/main/framework/inc/services/pathsettings.hxx
index 2b5eb16..9529509 100644
--- a/main/framework/inc/services/pathsettings.hxx
+++ b/main/framework/inc/services/pathsettings.hxx
@@ -253,7 +253,7 @@ class PathSettings : public css::lang::XTypeProvider ,
PathSettings::PathInfo* impl_getPathAccess (sal_Int32 nHandle);
const PathSettings::PathInfo* impl_getPathAccessConst(sal_Int32 nHandle) const;
- /** it checks, if the given path value seams to be a valid URL or system path. */
+ /** it checks, if the given path value seems to be a valid URL or system path. */
sal_Bool impl_isValidPath(const ::rtl::OUString& sPath) const;
sal_Bool impl_isValidPath(const OUStringList& lPath) const;
diff --git a/main/framework/inc/threadhelp/fairrwlock.hxx b/main/framework/inc/threadhelp/fairrwlock.hxx
index d08fa4b..1c5d6cb 100644
--- a/main/framework/inc/threadhelp/fairrwlock.hxx
+++ b/main/framework/inc/threadhelp/fairrwlock.hxx
@@ -245,7 +245,7 @@ class FairRWLock : public IRWLock
{
// You must be a writer to call this method!
// We can't check it - but otherwise it's your problem ...
- // Thats why you don't need any mutex here.
+ // That's why you don't need any mutex here.
#ifdef ENABLE_MUTEXDEBUG
// A writer is an exclusiv accessor!
diff --git a/main/framework/inc/threadhelp/irwlock.h b/main/framework/inc/threadhelp/irwlock.h
index 14b0b46..c5aae2f 100644
--- a/main/framework/inc/threadhelp/irwlock.h
+++ b/main/framework/inc/threadhelp/irwlock.h
@@ -52,7 +52,7 @@ enum ELockMode
/*-************************************************************************************************************//**
@descr We implement two guards for using an rw-lock. But if you wish to implement
different rw-locks to you will have problems by using with same guard implementation!
- Thats why we define this "pure virtual base class" ...
+ That's why we define this "pure virtual base class" ...
All rw-locks must support this base interface for working and all guard must use this one too!
*//*-*************************************************************************************************************/
class IRWLock
diff --git a/main/framework/inc/threadhelp/lockhelper.hxx b/main/framework/inc/threadhelp/lockhelper.hxx
index e654d00..e7412d4 100644
--- a/main/framework/inc/threadhelp/lockhelper.hxx
+++ b/main/framework/inc/threadhelp/lockhelper.hxx
@@ -58,7 +58,7 @@ namespace framework{
@descr If you use a lock or mutex as a member of your class and wish to use it earlier than other ones
you should have a look on this implementation. You must use it as the first base class
of your implementation - because base classes are initialized by his order and before your
- member! Thats why it is a good place to declare your thread help member so.
+ member! That's why it is a good place to declare your thread help member so.
*//*-*************************************************************************************************************/
enum ELockType
{
diff --git a/main/framework/inc/threadhelp/readguard.hxx b/main/framework/inc/threadhelp/readguard.hxx
index 299f6d6..fbfeb1a 100644
--- a/main/framework/inc/threadhelp/readguard.hxx
+++ b/main/framework/inc/threadhelp/readguard.hxx
@@ -174,7 +174,7 @@ class ReadGuard : private INonCopyable
/*-****************************************************************************************************//**
@short disable using of these functions!
@descr It's not allowed to use this methods. Different problems can occur otherwise.
- Thats why we disable it by make it private.
+ That's why we disable it by making it private.
@seealso other ctor
diff --git a/main/framework/inc/threadhelp/resetableguard.hxx b/main/framework/inc/threadhelp/resetableguard.hxx
index a2ae94c..79b9b79 100644
--- a/main/framework/inc/threadhelp/resetableguard.hxx
+++ b/main/framework/inc/threadhelp/resetableguard.hxx
@@ -170,7 +170,7 @@ class ResetableGuard : private INonCopyable
/*-****************************************************************************************************//**
@short disable using of these functions!
@descr It's not allowed to use this methods. Different problems can occur otherwise.
- Thats why we disable it by make it private.
+ That's why we disable it by making it private.
@seealso other ctor
diff --git a/main/framework/inc/threadhelp/transactionguard.hxx b/main/framework/inc/threadhelp/transactionguard.hxx
index 85b868f..90b0834 100644
--- a/main/framework/inc/threadhelp/transactionguard.hxx
+++ b/main/framework/inc/threadhelp/transactionguard.hxx
@@ -159,7 +159,7 @@ class TransactionGuard : private INonCopyable
/*-****************************************************************************************************//**
@short disable using of these functions!
@descr It's not allowed to use this methods. Different problems can occur otherwise.
- Thats why we disable it by make it private.
+ That's why we disable it by making it private.
@seealso other ctor
diff --git a/main/framework/inc/threadhelp/writeguard.hxx b/main/framework/inc/threadhelp/writeguard.hxx
index b38508c..011bbb3 100644
--- a/main/framework/inc/threadhelp/writeguard.hxx
+++ b/main/framework/inc/threadhelp/writeguard.hxx
@@ -234,7 +234,7 @@ class WriteGuard : private INonCopyable
/*-****************************************************************************************************//**
@short disable using of these functions!
@descr It's not allowed to use this methods. Different problem can occur otherwise.
- Thats why we disable it by make it private.
+ That's why we disable it by making it private.
@seealso other ctor
diff --git a/main/framework/qa/complex/framework/autosave/Protocol.java b/main/framework/qa/complex/framework/autosave/Protocol.java
index fa3e0ab..e338fb5 100644
--- a/main/framework/qa/complex/framework/autosave/Protocol.java
+++ b/main/framework/qa/complex/framework/autosave/Protocol.java
@@ -524,8 +524,8 @@ public class Protocol extends JComponent
/**
* log an unspecified message.
*
- * Sometimes it's not necessary to set a special type for an message.
- * The pure message seams to be enough. The type of such "pure messages"
+ * Sometimes it's not necessary to set a special type for a message.
+ * The pure message seems to be enough. The type of such "pure messages"
* will be set to INFO.
*
* @param sMessage
diff --git a/main/framework/source/accelerators/acceleratorconfiguration.cxx b/main/framework/source/accelerators/acceleratorconfiguration.cxx
index 9c70af8..71088a5 100644
--- a/main/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/main/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -202,7 +202,7 @@ void SAL_CALL XMLBasedAcceleratorConfiguration::setKeyEvent(const css::awt::KeyE
(aKeyEvent.Modifiers == 0)
)
throw css::lang::IllegalArgumentException(
- ::rtl::OUString::createFromAscii("Such key event seams not to be supported by any operating system."),
+ ::rtl::OUString::createFromAscii("Such key event seems not to be supported by any operating system."),
static_cast< ::cppu::OWeakObject* >(this),
0);
@@ -775,7 +775,7 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::setKeyEvent(const css::awt::KeyE
(aKeyEvent.Modifiers == 0)
)
throw css::lang::IllegalArgumentException(
- ::rtl::OUString::createFromAscii("Such key event seams not to be supported by any operating system."),
+ ::rtl::OUString::createFromAscii("Such key event seems not to be supported by any operating system."),
static_cast< ::cppu::OWeakObject* >(this),
0);
diff --git a/main/framework/source/accelerators/documentacceleratorconfiguration.cxx b/main/framework/source/accelerators/documentacceleratorconfiguration.cxx
index a9a2f8a..58bc483 100644
--- a/main/framework/source/accelerators/documentacceleratorconfiguration.cxx
+++ b/main/framework/source/accelerators/documentacceleratorconfiguration.cxx
@@ -216,8 +216,8 @@ void DocumentAcceleratorConfiguration::impl_ts_fillCache()
}
/*
- Sometimes the configuration seams to be corrupted ..
- So it would be nice if we dont crash the office then .-)
+ Sometimes the configuration seems to be corrupted...
+ So it would be nice if we don't crash the office then .-)
#121559#
catch(const css::uno::RuntimeException& exRun)
diff --git a/main/framework/source/classes/taskcreator.cxx b/main/framework/source/classes/taskcreator.cxx
index b87e640..59a52be 100644
--- a/main/framework/source/classes/taskcreator.cxx
+++ b/main/framework/source/classes/taskcreator.cxx
@@ -130,7 +130,7 @@ css::uno::Reference< css::frame::XFrame > TaskCreator::createTask( const ::rtl::
{}
// no catch here ... without an task creator service we can't open ANY document window within the office.
- // Thats IMHO not a good idea. Then we should accept the stacktrace showing us the real problem.
+ // That's IMHO not a good idea. Then we should accept the stacktrace showing us the real problem.
// BTW: The used fallback creator service (IMPLEMENTATIONNAME_FWK_TASKCREATOR) is implemented in the same
// library then these class here ... Why we should not be able to create it ?
if ( ! xCreator.is())
diff --git a/main/framework/source/dispatch/dispatchprovider.cxx b/main/framework/source/dispatch/dispatchprovider.cxx
index 61b51f0..90066b8 100644
--- a/main/framework/source/dispatch/dispatchprovider.cxx
+++ b/main/framework/source/dispatch/dispatchprovider.cxx
@@ -451,7 +451,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
{
css::uno::Reference< css::frame::XDispatchProvider > xParent( xFrame->getCreator(), css::uno::UNO_QUERY );
// Normally if isTop() returned sal_False ... the parent frame MUST(!) exist ...
- // But it seams to be better to check that here to prevent us against an access violation.
+ // But it seems to be better to check that here to prevent us against an access violation.
if (xParent.is())
xDispatcher = xParent->queryDispatch(aURL, SPECIALTARGET_TOP, 0);
}
@@ -643,7 +643,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt
@descr Sometimes we need some helper implementations to support dispatching of special URLs or commands.
But it's not a good idea to hold these services for the whole life time of this provider instance.
We should create it on demand ...
- Thats why we implement this method. It return an already existing helper or create a new one otherwise.
+ That's why we implement this method. It returns an already existing helper or creates a new one otherwise.
@attention The parameter sTarget and nSearchFlags are defaulted to "" and 0!
Please use it only, if you can be sure, that the really given by the outside calli!
diff --git a/main/framework/source/dispatch/interceptionhelper.cxx b/main/framework/source/dispatch/interceptionhelper.cxx
index feac14d..dccc345 100644
--- a/main/framework/source/dispatch/interceptionhelper.cxx
+++ b/main/framework/source/dispatch/interceptionhelper.cxx
@@ -327,7 +327,7 @@ void SAL_CALL InterceptionHelper::disposing(const css::lang::EventObject& aEvent
// SAFE ->
aReadLock.lock();
if (!m_lInterceptionRegs.empty() )
- OSL_ENSURE(sal_False, "There are some pending interceptor objects, which seams to be registered during (!) the destruction of a frame.");
+ OSL_ENSURE(sal_False, "There are some pending interceptor objects, which seems to be registered during (!) the destruction of a frame.");
aReadLock.unlock();
// <- SAFE
#endif // ODL_DEBUG_LEVEL>0
diff --git a/main/framework/source/fwe/classes/framelistanalyzer.cxx b/main/framework/source/fwe/classes/framelistanalyzer.cxx
index 303c66a..f6b261a 100644
--- a/main/framework/source/fwe/classes/framelistanalyzer.cxx
+++ b/main/framework/source/fwe/classes/framelistanalyzer.cxx
@@ -288,7 +288,7 @@ void FrameListAnalyzer::impl_analyze()
}
catch(css::lang::IndexOutOfBoundsException)
{
- // stop copying if index seams to be wrong.
+ // stop copying if index seems to be wrong.
// This interface can't really guarantee its count for multithreaded
// environments. So it can occur!
}
diff --git a/main/framework/source/fwe/helper/titlehelper.cxx b/main/framework/source/fwe/helper/titlehelper.cxx
index 3227b89..310e19e 100644
--- a/main/framework/source/fwe/helper/titlehelper.cxx
+++ b/main/framework/source/fwe/helper/titlehelper.cxx
@@ -123,11 +123,11 @@ void TitleHelper::setOwner(const css::uno::Reference< css::uno::XInterface >& xO
if (m_bExternalTitle)
return m_sTitle;
- // Title seams to be up-to-date. Return it directly.
+ // Title seems to be up-to-date. Return it directly.
if (m_sTitle.getLength() > 0)
return m_sTitle;
- // Title seams to be unused till now ... do bootstraping
+ // Title seems to be unused till now ... do bootstraping
impl_updateTitle ();
return m_sTitle;
diff --git a/main/framework/source/fwi/threadhelp/lockhelper.cxx b/main/framework/source/fwi/threadhelp/lockhelper.cxx
index 381511d..1f8f0a4 100644
--- a/main/framework/source/fwi/threadhelp/lockhelper.cxx
+++ b/main/framework/source/fwi/threadhelp/lockhelper.cxx
@@ -416,7 +416,7 @@ void LockHelper::downgradeWriteAccess()
@short return a reference to a static lock helper
@descr Sometimes we need the global mutex or rw-lock! (e.g. in our own static methods)
But it's not a good idea to use these global one very often ...
- Thats why we use this little helper method.
+ That's why we use this little helper method.
We create our own "class global static" lock.
It will be created at first call only!
All other requests use these created one then directly.
diff --git a/main/framework/source/inc/accelerators/presethandler.hxx b/main/framework/source/inc/accelerators/presethandler.hxx
index bb55e86..20805b5 100644
--- a/main/framework/source/inc/accelerators/presethandler.hxx
+++ b/main/framework/source/inc/accelerators/presethandler.hxx
@@ -115,7 +115,7 @@ class PresetHandler : private ThreadHelpBase // attention! Must be the first bas
in combination with a SingletonRef<> template ...
Attention: Because these struct is shared it must be
- used within a synchronized section. Thats why this struct
+ used within a synchronized section. That's why this struct
uses a base class ThreadHelpBase and can be locked
from outside doing so!
*/
@@ -325,8 +325,8 @@ class PresetHandler : private ThreadHelpBase // attention! Must be the first bas
@param xDocumentRoot
if sResourceType is set to E_DOCUMENT, this value points to the
root storage inside the document, where we can save our
- configuration files. Note: Thats not the real root of the document ...
- its only a sub storage. But we interpret it as our root storage.
+ configuration files. Note: That's not the real root of the document ...
+ it's only a sub storage. But we interpret it as our root storage.
@param aLocale
in case this configuration supports localized entries,
diff --git a/main/framework/source/inc/loadenv/loadenv.hxx b/main/framework/source/inc/loadenv/loadenv.hxx
index 2d09886..d96aa4f 100644
--- a/main/framework/source/inc/loadenv/loadenv.hxx
+++ b/main/framework/source/inc/loadenv/loadenv.hxx
@@ -336,14 +336,14 @@ class LoadEnv : private ThreadHelpBase
of a "non visible component" only an information about a successfully start
can be provided.
Further it can't be guaranteed, that the internal process runs synchronous.
- Thats why we preferr using of specialized methods afterwards e.g. to:
+ That's why we prefer using of specialized methods afterwards e.g. to:
- wait till the internal job will be finished
and get the results
- or to let it run without any further control from outside.
@throw A LoadEnvException if start of the load process failed (because
another is still in progress!).
- The reason, a suitable message and ID will be given here immidiatly.
+ The reason, a suitable message and ID will be given here immediately.
@throw A RuntimeException in case any internal process indicates, that
the whole runtime can't be used any longer.
@@ -613,7 +613,7 @@ class LoadEnv : private ThreadHelpBase
<li>and(!) this target must not be already used by any other load request.</li>
</ul>
- If a suitable target is located it will be locked. Thats why the last rule
+ If a suitable target is located it will be locked. That's why the last rule
exists! If this method returns a valid frame reference, it was locked to be useable
for this load request only. (Dont forget to reset this state later!)
Concurrent LoadEnv instances can synchronize her work be using such locks :-) HOPEFULLY
diff --git a/main/framework/source/inc/loadenv/loadenvexception.hxx b/main/framework/source/inc/loadenv/loadenvexception.hxx
index 4552dfa..6ce98df 100644
--- a/main/framework/source/inc/loadenv/loadenvexception.hxx
+++ b/main/framework/source/inc/loadenv/loadenvexception.hxx
@@ -97,7 +97,7 @@ class LoadEnvException
ID_NO_TARGET_FOUND,
/** @short An already existing document was found inside a target frame.
- But its controller could not be suspended successfully. Thats
+ But its controller could not be suspended successfully. That's
why the new load request was cancelled. The document could not
be replaced. */
ID_COULD_NOT_SUSPEND_CONTROLLER,
diff --git a/main/framework/source/jobs/joburl.cxx b/main/framework/source/jobs/joburl.cxx
index b8c79fd..022576a 100644
--- a/main/framework/source/jobs/joburl.cxx
+++ b/main/framework/source/jobs/joburl.cxx
@@ -145,7 +145,7 @@ sal_Bool JobURL::isValid() const
@short get the event item of this job URL
@descr Because the three possible parts of such URL (event, alias, service)
can't be combined, this method can(!) return a valid value - but it's
- not a must. Thats why the return value must be used too, to detect a missing
+ not a must. That's why the return value must be used too, to detect a missing
event value.
@param sEvent
@@ -178,7 +178,7 @@ sal_Bool JobURL::getEvent( /*OUT*/ ::rtl::OUString& sEvent ) const
@short get the alias item of this job URL
@descr Because the three possible parts of such URL (event, alias, service)
can't be combined, this method can(!) return a valid value - but it's
- not a must. Thats why the return value must be used too, to detect a missing
+ not a must. That's why the return value must be used too, to detect a missing
alias value.
@param sAlias
@@ -211,7 +211,7 @@ sal_Bool JobURL::getAlias( /*OUT*/ ::rtl::OUString& sAlias ) const
@short get the service item of this job URL
@descr Because the three possible parts of such URL (event, service, service)
can't be combined, this method can(!) return a valid value - but it's
- not a must. Thats why the return value must be used too, to detect a missing
+ not a must. That's why the return value must be used too, to detect a missing
service value.
@param sAlias
diff --git a/main/framework/source/loadenv/loadenv.cxx b/main/framework/source/loadenv/loadenv.cxx
index f3ba47f..86bb6fa 100644
--- a/main/framework/source/loadenv/loadenv.cxx
+++ b/main/framework/source/loadenv/loadenv.cxx
@@ -505,13 +505,13 @@ void LoadEnv::cancelLoading()
/* Attention:
After returning from any cancel/dispose call, neither the frame nor weself
may be called back. Because only we can cancel this job, we already know
- the result! => Thats why its not useful nor necessary to wait for any
+ the result! => That's why it's not useful nor necessary to wait for any
asynchronous listener notification.
*/
m_bLoaded = sal_False;
m_xAsynchronousJob.clear();
}
- // or may be its a content handler? Such handler can't be cancelled in its running
+ // or may be it's a content handler? Such handler can't be cancelled in its running
// operation :-( And we can't deregister us there again :-(
// => The only chance is an exception :-)
else
@@ -1143,7 +1143,7 @@ sal_Bool LoadEnv::impl_loadContent()
// Attention: Don't forget to reset this lock again after finishing operation.
// Otherwise task AND office couldn't die!!!
// This includes gracefully handling of Exceptions (Runtime!) too ...
- // Thats why we use a specialized guard, which will reset the lock
+ // That's why we use a specialized guard, which will reset the lock
// if it will be run out of scope.
// Note further: ignore if this internal guard already contains a resource.
@@ -1207,7 +1207,7 @@ sal_Bool LoadEnv::impl_loadContent()
// code can ask for it later.
impl_setResult(bResult);
// But the return value indicates a valid started(!) operation.
- // And thats true everxtimes, we reach this line :-)
+ // And that's true every time we reach this line :-)
return sal_True;
}
diff --git a/main/framework/source/services/autorecovery.cxx b/main/framework/source/services/autorecovery.cxx
index 3e97176..a50d4ea 100644
--- a/main/framework/source/services/autorecovery.cxx
+++ b/main/framework/source/services/autorecovery.cxx
@@ -1426,7 +1426,7 @@ void AutoRecovery::implts_flushConfigItem(const AutoRecovery::TDocumentInfo& rIn
}
catch(const css::uno::Exception& ex)
{
- // a) FULL DISC seams to be the problem behind => show error and retry it forever (e.g. retry=300)
+ // a) FULL DISC seems to be the problem behind => show error and retry it forever (e.g. retry=300)
// b) unknown problem (may be locking problem) => reset RETRY value to more useful value(!) (e.g. retry=3)
// c) unknown problem (may be locking problem) + 1..2 repeating operations => throw the original exception to force generation of a stacktrace !
@@ -2176,7 +2176,7 @@ void AutoRecovery::implts_prepareSessionShutdown()
catch(const css::uno::Exception&)
{
// At least it's only a try to close these documents before anybody else it does.
- // So it seams to be possible to ignore any error here .-)
+ // So it seems to be possible to ignore any error here .-)
}
rInfo.Document.clear();
@@ -2459,7 +2459,7 @@ void AutoRecovery::implts_saveOneDoc(const ::rtl::OUString&
{
bError = sal_True;
- // a) FULL DISC seams to be the problem behind => show error and retry it forever (e.g. retry=300)
+ // a) FULL DISC seems to be the problem behind => show error and retry it forever (e.g. retry=300)
// b) unknown problem (may be locking problem) => reset RETRY value to more useful value(!) (e.g. retry=3)
// c) unknown problem (may be locking problem) + 1..2 repeating operations => throw the original exception to force generation of a stacktrace !
diff --git a/main/framework/source/services/backingcomp.cxx b/main/framework/source/services/backingcomp.cxx
index ea9bd6f..6838d84 100644
--- a/main/framework/source/services/backingcomp.cxx
+++ b/main/framework/source/services/backingcomp.cxx
@@ -473,7 +473,7 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f
if (!m_xWindow.is())
throw css::uno::RuntimeException(
- ::rtl::OUString::createFromAscii("instance seams to be not or wrong initialized"),
+ ::rtl::OUString::createFromAscii("instance seems to be not or wrong initialized"),
static_cast< ::cppu::OWeakObject* >(this));
// safe the frame reference
diff --git a/main/framework/source/services/frame.cxx b/main/framework/source/services/frame.cxx
index 9cedad3..f1c224c 100644
--- a/main/framework/source/services/frame.cxx
+++ b/main/framework/source/services/frame.cxx
@@ -1153,7 +1153,7 @@ void SAL_CALL Frame::activate() throw( css::uno::RuntimeException )
}
// Its necessary to send event NOW - not before.
// Activation goes from bottom to top!
- // Thats the reason to activate parent first and send event now.
+ // That's the reason to activate parent first and send event now.
implts_sendFrameActionEvent( css::frame::FrameAction_FRAME_ACTIVATED );
}
@@ -1358,7 +1358,7 @@ sal_Bool SAL_CALL Frame::setComponent( const css::uno::Reference< css::awt::X
{
//_____________________________________________________________________________________________________
// Ignore this HACK of sfx2!
- // He call us with an valid controller without a valid window ... Thats not allowed!
+ // He calls us with a valid controller without a valid window ... That's not allowed!
if ( xController.is() && ! xComponentWindow.is() )
return sal_True;
diff --git a/main/framework/source/services/pathsettings.cxx b/main/framework/source/services/pathsettings.cxx
index febc6be..8b1fbe4 100644
--- a/main/framework/source/services/pathsettings.cxx
+++ b/main/framework/source/services/pathsettings.cxx
@@ -1103,7 +1103,7 @@ css::uno::Reference< css::util::XStringSubstitution > PathSettings::fa_getSubsti
// create the needed substitution service.
// We must replace all used variables inside readed path values.
// In case we can't do so ... the whole office can't work really.
- // That's why it seams to be OK to throw a RuntimeException then.
+ // That's why it seems to be OK to throw a RuntimeException then.
xSubst = css::uno::Reference< css::util::XStringSubstitution >(
xSMGR->createInstance(SERVICENAME_SUBSTITUTEPATHVARIABLES),
css::uno::UNO_QUERY_THROW);
diff --git a/main/jvmfwk/inc/jvmfwk/framework.h b/main/jvmfwk/inc/jvmfwk/framework.h
index b0bede4..375234c 100644
--- a/main/jvmfwk/inc/jvmfwk/framework.h
+++ b/main/jvmfwk/inc/jvmfwk/framework.h
@@ -182,7 +182,7 @@ extern "C" {
<p>A note about bootstrap parameters. The implementation of the bootstrap
parameter mechanism interprets the characters '\', '$', '{', '}' as
- escape characters. Thats why the Windows path contain double back-slashes.
+ escape characters. That's why the Windows path contains double back-slashes.
One should also take into account that a console may have also special
escape characters.</p>
diff --git a/main/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/main/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index 6f943df..2092936 100644
--- a/main/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/main/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -55,7 +55,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
public static final java.lang.String[] SERVICENAMES = {"com.sun.star.task.AsyncJob"};
/** the const uno implementation name.
- * It must be an unique value! The best naming schema seams to use
+ * It must be an unique value! The best naming schema seems to use
* a registered domain in reverse order ...
*/
public static final java.lang.String IMPLEMENTATIONNAME = "com.sun.star.comp.framework.java.services.AsyncJob";
@@ -86,7 +86,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
* callback to the executor of this job, which control our life time
*
* @throws com.sun.star.lang.IllegalArgumentException
- * if given argument list seams to be wrong
+ * if given argument list seems to be wrong
*/
public synchronized void executeAsync(com.sun.star.beans.NamedValue[] lArgs ,
com.sun.star.task.XJobListener xListener)
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
index 1d2b530..2234764 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
@@ -67,7 +67,7 @@ public class NativeView extends java.awt.Canvas
* (e.g. get the window handle and necessary system informations)
*
* Why here?
- * Because the handle seams to be available for already visible windows
+ * Because the handle seems to be available for already visible windows
* only. So it's the best place to get it. Special helper method
* can be called more then ones - but call native code one times only
* and safe the handle and the system type on our members maHandle/maSystem!
diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index d5bb091..da22366 100644
--- a/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/main/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -249,7 +249,7 @@ public class AsciiReplaceFilter
* the document model for importing
*
* @throw IllegalArgumentException
- * if given document isn't the right one or seams to be corrupt
+ * if given document isn't the right one or seems to be corrupt
*/
public void setTargetDocument( com.sun.star.lang.XComponent xDocument ) throws com.sun.star.lang.IllegalArgumentException
{
@@ -285,7 +285,7 @@ public class AsciiReplaceFilter
* the document model for exporting
*
* @throw IllegalArgumentException
- * if given document isn't the right one or seams to be corrupt
+ * if given document isn't the right one or seems to be corrupt
*/
public void setSourceDocument( com.sun.star.lang.XComponent xDocument ) throws com.sun.star.lang.IllegalArgumentException
{
diff --git a/main/offapi/com/sun/star/ucb/InteractiveWrongMediumException.idl b/main/offapi/com/sun/star/ucb/InteractiveWrongMediumException.idl
index ba855ee..2cf74d2 100644
--- a/main/offapi/com/sun/star/ucb/InteractiveWrongMediumException.idl
+++ b/main/offapi/com/sun/star/ucb/InteractiveWrongMediumException.idl
@@ -37,7 +37,7 @@ module com { module sun { module star { module ucb {
*/
published exception InteractiveWrongMediumException: com::sun::star::task::ClassifiedInteractionRequest
{
- /** identifies the medium thats needed to continue with the pending
+ /** identifies the medium that's needed to continue with the pending
operation.
*/
any Medium;
diff --git a/main/oovbaapi/ooo/vba/excel/XPivotTables.idl b/main/oovbaapi/ooo/vba/excel/XPivotTables.idl
index 5f8540b..d77037e 100644
--- a/main/oovbaapi/ooo/vba/excel/XPivotTables.idl
+++ b/main/oovbaapi/ooo/vba/excel/XPivotTables.idl
@@ -40,7 +40,7 @@ interface XPivotTables
{
interface ooo::vba::XCollection;
- // PivotCache should be a PivotCache object ( but thats not defined
+ // PivotCache should be a PivotCache object ( but that's not defined
// yet )
//XPivotTable Add( [in] any PivotCache, [in] any TableDestination, [in] any TableName, [in] any ReadData );
diff --git a/main/pyuno/source/loader/pyuno_loader.cxx b/main/pyuno/source/loader/pyuno_loader.cxx
index 4768290..96ae0eb 100644
--- a/main/pyuno/source/loader/pyuno_loader.cxx
+++ b/main/pyuno/source/loader/pyuno_loader.cxx
@@ -114,7 +114,7 @@ static void setPythonHome ( const OUString & pythonHome )
osl_getSystemPathFromFileURL( pythonHome.pData, &(systemPythonHome.pData) );
OString o = rtl::OUStringToOString( systemPythonHome, osl_getThreadTextEncoding() );
#if PY_MAJOR_VERSION < 3 || PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION <= 4
- rtl_string_acquire(o.pData); // leak this string (thats the api!)
+ rtl_string_acquire(o.pData); // leak this string (that's the api!)
Py_SetPythonHome( o.pData->buffer);
#else
static wchar_t *wpath = Py_DecodeLocale(o.pData->buffer, NULL);
diff --git a/main/qadevOOo/tests/java/ifc/table/_TableColumn.java b/main/qadevOOo/tests/java/ifc/table/_TableColumn.java
index db6876e..9bdc06b 100644
--- a/main/qadevOOo/tests/java/ifc/table/_TableColumn.java
+++ b/main/qadevOOo/tests/java/ifc/table/_TableColumn.java
@@ -50,7 +50,7 @@ public class _TableColumn extends MultiPropertyTest {
XInterface tObject = tEnv.getTestObject();
XCellRange aRange = (XCellRange)
UnoRuntime.queryInterface(XCellRange.class, tObject);
- aRange.getCellByPosition(0,0).setFormula("Thats a pretty long text");
+ aRange.getCellByPosition(0,0).setFormula("That's a pretty long text");
Object width_before = oObj.getPropertyValue("Width");
log.println("Before setting to optimal width: "+width_before);
oObj.setPropertyValue("OptimalWidth", new Boolean(true));
diff --git a/main/qadevOOo/tests/java/ifc/util/_PathSettings.java b/main/qadevOOo/tests/java/ifc/util/_PathSettings.java
index 72b7f85..ef900b9 100644
--- a/main/qadevOOo/tests/java/ifc/util/_PathSettings.java
+++ b/main/qadevOOo/tests/java/ifc/util/_PathSettings.java
@@ -66,7 +66,7 @@ public class _PathSettings extends MultiPropertyTest {
/**
* This path list could be empty after SO installation.
* And the URL is validated to match the pattern 'file:///*'
- * thats why the custom changing of this property required.
+ * that's why the custom changing of this property required.
*/
public void _UIConfig() {
testProperty("UIConfig", new PropertyTester() {
diff --git a/main/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java b/main/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
index 2043736..0cb5221 100644
--- a/main/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
+++ b/main/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
@@ -107,7 +107,7 @@ public class _XFormLayerAccess extends MultiMethodTest {
public void _isFormDesignMode(){
requiredMethod("setFormDesignMode()") ;
- log.println("test for isFormDesignMode() is ok since test for 'setFormDesingMode()' use it");
+ log.println("test for isFormDesignMode() is ok since test for 'setFormDesignMode()' use it");
tRes.tested("isFormDesignMode()", true);
}
diff --git a/main/sal/qa/libs2test.txt b/main/sal/qa/libs2test.txt
index 215ab19..4fad7a4 100644
--- a/main/sal/qa/libs2test.txt
+++ b/main/sal/qa/libs2test.txt
@@ -94,7 +94,7 @@ rtl/oustringbuffer; rtl_OUStringBuffer2
rtl/uri ; rtl_Uri
rtl/logfile ; rtl_logfile
-# LLA: Due to the fact, that thread testing seams to be little bit error prone, now
+# LLA: Due to the fact, that thread testing seems to be little bit error prone, now
# check this at the end.
osl/process ; osl_Thread
diff --git a/main/sal/qa/osl/file/osl_File.cxx b/main/sal/qa/osl/file/osl_File.cxx
index 91986f8..f53451e 100644
--- a/main/sal/qa/osl/file/osl_File.cxx
+++ b/main/sal/qa/osl/file/osl_File.cxx
@@ -1314,7 +1314,7 @@ namespace osl_FileBase
TEST_F(SystemPath_FileURL, getSystemPathFromFileURL_003)
{
// LLA: ???
-//!! seams to be, that the directories do not pass together
+//!! seems to be, that the directories do not pass together
::rtl::OUString aUStr;
::rtl::OUString aRelativeURL = ::rtl::OUString::createFromAscii("../../relartive/file3");
::rtl::OUString aResultURL ( aSysPath4 );
diff --git a/main/sc/source/ui/unoobj/cursuno.cxx b/main/sc/source/ui/unoobj/cursuno.cxx
index b53f2b6..0145ca3 100644
--- a/main/sc/source/ui/unoobj/cursuno.cxx
+++ b/main/sc/source/ui/unoobj/cursuno.cxx
@@ -158,7 +158,7 @@ void SAL_CALL ScCellCursorObj::collapseToCurrentArray() throw(uno::RuntimeExcept
SetNewRange( aMatrix );
}
}
- // thats a Bug, that this assertion comes; the API Reference says, that
+ // that's a Bug, that this assertion comes; the API Reference says, that
// if there is no Matrix, the Range is left unchanged; they says nothing
// about a exception
/*if (!bFound)
diff --git a/main/sc/source/ui/vba/vbarange.cxx b/main/sc/source/ui/vba/vbarange.cxx
index 8d1c825..810e308 100644
--- a/main/sc/source/ui/vba/vbarange.cxx
+++ b/main/sc/source/ui/vba/vbarange.cxx
@@ -3533,10 +3533,10 @@ ScVbaRange::End( ::sal_Int32 Direction ) throw (uno::RuntimeException)
// #FIXME #TODO
// euch! found my orig implementation sucked, so
// trying this even suckier one ( really need to use/expose code in
- // around ScTabView::MoveCursorArea(), thats the bit that calcutes
+ // around ScTabView::MoveCursorArea(), that's the bit that calculates
// where the cursor should go )
// Main problem with this method is the ultra hacky attempt to preserve
- // the ActiveCell, there should be no need to go to these extreems
+ // the ActiveCell, there should be no need to go to these extremes
// Save ActiveCell pos ( to restore later )
uno::Any aDft;
@@ -4107,7 +4107,7 @@ ScVbaRange::getTop() throw (uno::RuntimeException)
uno::Reference< excel::XWorksheet >
ScVbaRange::getWorksheet() throw (uno::RuntimeException)
{
- // #TODO #FIXME parent should always be set up ( currently thats not
+ // #TODO #FIXME parent should always be set up ( currently that's not
// the case )
uno::Reference< excel::XWorksheet > xSheet( getParent(), uno::UNO_QUERY );
if ( !xSheet.is() )
diff --git a/main/scaddins/source/analysis/analysishelper.cxx b/main/scaddins/source/analysis/analysishelper.cxx
index b97a341..a3d8650 100644
--- a/main/scaddins/source/analysis/analysishelper.cxx
+++ b/main/scaddins/source/analysis/analysishelper.cxx
@@ -2644,7 +2644,7 @@ ConvertDataList::ConvertDataList( void )
NEWD( "HP", 1.341022E-03, CDC_Power ); // Horsepower
NEWD( "h", 1.341022E-03, CDC_Power ); // Horsepower also
NEWD( "PS", 1.359622E-03, CDC_Power ); // *** German Pferdestaerke
-// NEWD( "HP", 1.4102006031908E-03, CDC_Power ); // Excel seams to be a little bit wrong... either this doesn't fit to J -> HPh
+// NEWD( "HP", 1.4102006031908E-03, CDC_Power ); // Excel seems to be a little bit wrong... either this doesn't fit to J -> HPh
// MAGNETISM: 1 Tesla is...
NEWDP( "T", 1.0000000000000000E00, CDC_Magnetism ); // Tesla
diff --git a/main/sd/source/core/CustomAnimationEffect.cxx b/main/sd/source/core/CustomAnimationEffect.cxx
index ea36fa2..59a756b 100644
--- a/main/sd/source/core/CustomAnimationEffect.cxx
+++ b/main/sd/source/core/CustomAnimationEffect.cxx
@@ -1867,7 +1867,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const CustomAnimationPres
aTarget >>= xShape;
if( xShape.is() )
{
- // thats bad, we target a shape here but the effect is only for text
+ // that's bad, we target a shape here but the effect is only for text
// so change subitem
nSubItem = ShapeAnimationSubType::ONLY_TEXT;
}
diff --git a/main/sfx2/source/bastyp/fltfnc.cxx b/main/sfx2/source/bastyp/fltfnc.cxx
index e392675..c390135 100644
--- a/main/sfx2/source/bastyp/fltfnc.cxx
+++ b/main/sfx2/source/bastyp/fltfnc.cxx
@@ -1123,7 +1123,7 @@ void SfxFilterContainer::ReadFilters_Impl( sal_Bool bUpdate )
{
// If list of filters already exist ...
// ReadExternalFilters must work in update mode.
- // Best way seams to mark all filters NOT_INSTALLED
+ // Best way seems to mark all filters NOT_INSTALLED
// and change it back for all valid filters afterwards.
if( rList.Count() > 0 )
{
@@ -1150,7 +1150,7 @@ void SfxFilterContainer::ReadFilters_Impl( sal_Bool bUpdate )
// This debug code can be used to break on inserting/updating
// special debug filters at runtime.
// Otherwise you have to check more then 300 filter names manually .-)
- // And conditional breakpoints on unicode values seams not to be supported .-(
+ // And conditional breakpoints on unicode values seems not to be supported .-(
#ifdef DEBUG
bool bDBGStop = sal_False;
if (sFilterName.indexOf(::rtl::OUString::createFromAscii("DBG_"))>-1)
diff --git a/main/starmath/source/accessibility.cxx b/main/starmath/source/accessibility.cxx
index b972294..592ce01 100644
--- a/main/starmath/source/accessibility.cxx
+++ b/main/starmath/source/accessibility.cxx
@@ -1258,7 +1258,7 @@ sal_uInt16 GetSvxEditEngineItemState( EditEngine& rEditEngine, const ESelection&
}
else if( bGaps )
{
- // gaps and item not set in paragraph, thats a dont care
+ // gaps and item not set in paragraph, that's a dont care
return SFX_ITEM_DONTCARE;
}
}
diff --git a/main/svx/source/accessibility/AccessibleShape.cxx b/main/svx/source/accessibility/AccessibleShape.cxx
index 669b696..64b75a1 100644
--- a/main/svx/source/accessibility/AccessibleShape.cxx
+++ b/main/svx/source/accessibility/AccessibleShape.cxx
@@ -1322,7 +1322,7 @@ void AccessibleShape::ViewForwarderChanged (ChangeType aChangeType,
//}
- //// Put a space between name and index because of Gnopernicus othewise
+ //// Put a space between name and index because of Gnopernicus otherwise
//// spells the name.
//sName += OUString (RTL_CONSTASCII_USTRINGPARAM(" ")) + OUString::valueOf (nIndex);
diff --git a/main/sw/source/core/doc/doc.cxx b/main/sw/source/core/doc/doc.cxx
index eeb2dcd..e5e8e60 100644
--- a/main/sw/source/core/doc/doc.cxx
+++ b/main/sw/source/core/doc/doc.cxx
@@ -1596,7 +1596,7 @@ void SwDoc::CalculatePagePairsForProspectPrinting(
sal_Int32 i = 0;
for ( i = 1; pStPage && i < nDocPageCount; ++i )
pStPage = (SwPageFrm*)pStPage->GetNext();
- if ( !pStPage ) // thats it then
+ if ( !pStPage ) // that's it then
return;
// currently for prospect printing all pages are valid to be printed
diff --git a/main/sw/source/filter/ww8/wrtw8nds.cxx b/main/sw/source/filter/ww8/wrtw8nds.cxx
index 31a10e7..db1876d 100644
--- a/main/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/main/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2216,7 +2216,7 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode )
/*
If a given para is using the FRMDIR_ENVIRONMENT direction we
- cannot export that, its its ltr then that's ok as thats word's
+ cannot export that, if it's ltr then that's ok as that's Word's
default. Otherwise we must add a RTL attribute to our export list
*/
pItem = (const SvxFrameDirectionItem*)
diff --git a/main/sw/source/ui/wrtsh/select.cxx b/main/sw/source/ui/wrtsh/select.cxx
index 0da578c..6d9d8c4 100644
--- a/main/sw/source/ui/wrtsh/select.cxx
+++ b/main/sw/source/ui/wrtsh/select.cxx
@@ -453,7 +453,7 @@ long SwWrtShell::ExtSelWrd(const Point *pPt, sal_Bool )
// Then destroy the actual an go to prev, this will be expand
if( !HasMark() && GoPrevCrsr() )
{
- sal_Bool bHasMark = HasMark(); // thats wrong!
+ sal_Bool bHasMark = HasMark(); // that's wrong!
GoNextCrsr();
if( bHasMark )
{
@@ -516,7 +516,7 @@ long SwWrtShell::ExtSelLn(const Point *pPt, sal_Bool )
// Then destroy the actual an go to prev, this will be expand
if( !HasMark() && GoPrevCrsr() )
{
- sal_Bool bHasMark = HasMark(); // thats wrong!
+ sal_Bool bHasMark = HasMark(); // that's wrong!
GoNextCrsr();
if( bHasMark )
{
diff --git a/main/unotools/source/config/configitem.cxx b/main/unotools/source/config/configitem.cxx
index 89d0b86..c31b352 100644
--- a/main/unotools/source/config/configitem.cxx
+++ b/main/unotools/source/config/configitem.cxx
@@ -512,7 +512,7 @@ Sequence< sal_Bool > ConfigItem::GetReadOnlyStates(const com::sun::star::uno::Se
{
if(pImpl->pManager->IsLocalConfigProvider() && lcl_IsLocalProperty(sSubTree, rNames[i]))
{
- OSL_ENSURE(sal_False, "ConfigItem::IsReadonly()\nlocal mode seams to be used!?\n");
+ OSL_ENSURE(sal_False, "ConfigItem::IsReadonly()\nlocal mode seems to be used!?\n");
continue;
}
diff --git a/main/vbahelper/source/vbahelper/vbaglobalbase.cxx b/main/vbahelper/source/vbahelper/vbaglobalbase.cxx
index 8096fe4..feab966 100644
--- a/main/vbahelper/source/vbahelper/vbaglobalbase.cxx
+++ b/main/vbahelper/source/vbahelper/vbaglobalbase.cxx
@@ -40,7 +40,7 @@ const uno::Reference< uno::XComponentContext >& xContext, const rtl::OUString& s
: Globals_BASE( xParent, xContext ), msDocCtxName( sDocCtxName )
{
// overwrite context with custom one ( that contains the application )
- // wrap the service manager as we don't want the disposing context to tear down the 'normal' ServiceManager ( or at least thats what the code appears like it wants to do )
+ // wrap the service manager as we don't want the disposing context to tear down the 'normal' ServiceManager ( or at least that's what the code appears like it wants to do )
uno::Any aSrvMgr;
if ( xContext.is() && xContext->getServiceManager().is() )
{
[openoffice] 02/03: Fixed typos
Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit f502cd5d688e5bf1f1e8f408573cce3459fbd8dc
Author: Matthias Seidel <ms...@apache.org>
AuthorDate: Sun May 19 11:59:15 2019 +0000
Fixed typos
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1859496 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit ecd832d34712c072001d882e57707c7ba971b63e)
---
main/framework/inc/threadhelp/lockhelper.hxx | 70 ++++++++++++++--------------
1 file changed, 35 insertions(+), 35 deletions(-)
diff --git a/main/framework/inc/threadhelp/lockhelper.hxx b/main/framework/inc/threadhelp/lockhelper.hxx
index 8c67533..e654d00 100644
--- a/main/framework/inc/threadhelp/lockhelper.hxx
+++ b/main/framework/inc/threadhelp/lockhelper.hxx
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,16 +7,16 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
@@ -55,38 +55,38 @@ namespace framework{
//_________________________________________________________________________________________________________________
/*-************************************************************************************************************//**
- @descr If you use a lock or mutex as a member of your class and whish to use it earlier then other ones
+ @descr If you use a lock or mutex as a member of your class and wish to use it earlier than other ones
you should have a look on this implementation. You must use it as the first base class
of your implementation - because base classes are initialized by his order and before your
- member! Thats why ist a good place to declare your thread help member so.
+ member! Thats why it is a good place to declare your thread help member so.
*//*-*************************************************************************************************************/
enum ELockType
{
- E_NOTHING = 0 ,
- E_OWNMUTEX = 1 ,
- E_SOLARMUTEX = 2 ,
- E_FAIRRWLOCK = 3
+ E_NOTHING = 0 ,
+ E_OWNMUTEX = 1 ,
+ E_SOLARMUTEX = 2 ,
+ E_FAIRRWLOCK = 3
};
-#define ENVVAR_LOCKTYPE DECLARE_ASCII("LOCKTYPE_FRAMEWORK")
-#define FALLBACK_LOCKTYPE E_SOLARMUTEX
+#define ENVVAR_LOCKTYPE DECLARE_ASCII("LOCKTYPE_FRAMEWORK")
+#define FALLBACK_LOCKTYPE E_SOLARMUTEX
//_________________________________________________________________________________________________________________
-// declarations
+// declarations
//_________________________________________________________________________________________________________________
/*-************************************************************************************************************//**
@short helper to set right lock in right situation
@descr This helper support different types of locking:
a) no locks - transparent for user!
- This could be useful for simluation or single threaded environments!
+ This could be useful for simulation or single threaded environments!
b) own mutex
- An object use his own osl-mutex to be threadsafe. Useful for easy and exclusiv locking.
+ An object use his own osl-mutex to be threadsafe. Useful for easy and exclusive locking.
c) solar mutex
- An object use our solar mutex and will be a part of a greater safed "threadsafe code block".
+ An object use our solar mutex and will be a part of a greater saved "threadsafe code block".
Could be useful for simulation and testing of higher modules!
d) fair rw-lock
- An object use an implementation of a fair rw-lock. This increase granularity of t hreadsafe mechanism
+ An object use an implementation of a fair rw-lock. This increase granularity of threadsafe mechanism
and should be used for high performance threadsafe code!
@attention We support two interfaces - "IMutex" and "IRWLock". Don't mix using of it!
@@ -137,29 +137,29 @@ class FWI_DLLPUBLIC LockHelper : public IMutex
static LockHelper& getGlobalLock ( ::vos::IMutex* pSolarMutex = NULL );
::osl::Mutex& getShareableOslMutex( );
- //-------------------------------------------------------------------------------------------------------------
- // private methods
+ //-------------------------------------------------------------------------------------------------------------
+ // private methods
//-------------------------------------------------------------------------------------------------------------
private:
static ELockType& implts_getLockType();
//-------------------------------------------------------------------------------------------------------------
- // private member
- // a) Make some member mutable for using in const functions!
- // b) "m_eLockType" define, which of follow members is used!
- // You can use "m_pFairRWLock" as a fair rw-lock (multiple reader / one writer / looks for incoming order of threads too) ...
- // or you can use a normal osl mutex ("m_pOwnMutex") ...
- // ... or the solarmuex as "m_pSolarMutex" (must be set from outside! because some components must be vcl-free!)
- // ... but sometimes you need a shareable osl mutex!
- // In this case you has some problems: i ) If your lock type is set to E_OWNMUTEX => it's easy; you can use your member "m_pOwnMutex" - it's a osl mutex.
- // Creation and use of "m_pShareableOslMutex" isn't necessary!
- // ii ) Otherwise you have no osl mutex ... so you must create "m_pShareableOslMutex" and use it twice!
- // In this case you must lock two members every time - "m_pShareableMutex" AND "m_pFairRWLock" or "m_pSolarMutex" or ...
- // It isn't really fine - but the only possible way.
- // iii) There exist another special case - E_NOTHING is set! Then we should create this shareable mutex ...
- // nad you can use it ... but this implmentation ignore it.
- //-------------------------------------------------------------------------------------------------------------
+ // private member
+ // a) Make some member mutable for using in const functions!
+ // b) "m_eLockType" define, which of follow members is used!
+ // You can use "m_pFairRWLock" as a fair rw-lock (multiple reader / one writer / looks for incoming order of threads too) ...
+ // or you can use a normal osl mutex ("m_pOwnMutex") ...
+ // ... or the solarmuex as "m_pSolarMutex" (must be set from outside! because some components must be vcl-free!)
+ // ... but sometimes you need a shareable osl mutex!
+ // In this case you has some problems: i ) If your lock type is set to E_OWNMUTEX => it's easy; you can use your member "m_pOwnMutex" - it's a osl mutex.
+ // Creation and use of "m_pShareableOslMutex" isn't necessary!
+ // ii ) Otherwise you have no osl mutex ... so you must create "m_pShareableOslMutex" and use it twice!
+ // In this case you must lock two members every time - "m_pShareableMutex" AND "m_pFairRWLock" or "m_pSolarMutex" or ...
+ // It isn't really fine - but the only possible way.
+ // iii) There exists another special case - E_NOTHING is set! Then we should create this shareable mutex ...
+ // and you can use it ... but this implementation ignores it.
+ //-------------------------------------------------------------------------------------------------------------
private:
ELockType m_eLockType ;
@@ -171,6 +171,6 @@ class FWI_DLLPUBLIC LockHelper : public IMutex
mutable sal_Bool m_bDummySolarMutex ;
};
-} // namespace framework
+} // namespace framework
#endif // #ifndef __FRAMEWORK_THREADHELP_LOCKHELPER_HXX_