Kaydet (Commit) d71bcc4d authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Mark Page

Fix typos

Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91
Reviewed-on: https://gerrit.libreoffice.org/44654Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMark Page <aptitude@btconnect.com>
üst 930efab3
......@@ -143,7 +143,7 @@ public:
/** Queries for a new interface. */
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
virtual void SAL_CALL acquire() throw () override;
/** Releases the object (calls release() on base class). */
......
......@@ -127,7 +127,7 @@ public:
/** Queries for a new interface. */
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
virtual void SAL_CALL acquire() throw () override;
/** Releases the object (calls release() on base class). */
......
......@@ -58,7 +58,7 @@ namespace accessibility
/** Queries for a new interface. */
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
virtual void SAL_CALL acquire() throw () override;
/** Releases the object (calls release() on base class). */
......
......@@ -49,7 +49,7 @@ namespace accessibility
/** Queries for a new interface. */
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
virtual void SAL_CALL acquire() throw () override;
/** Releases the object (calls release() on base class). */
......
......@@ -131,7 +131,7 @@ public:
/** Queries for a new interface. */
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
virtual void SAL_CALL acquire() throw () override;
/** Releases the object (calls release() on base class). */
......
......@@ -121,7 +121,7 @@ public:
/** Queries for a new interface. */
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
virtual void SAL_CALL acquire() throw () override;
/** Releases the object (calls release() on base class). */
......
......@@ -83,7 +83,7 @@ namespace accessibility
/** Queries for a new interface. */
css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) override;
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
virtual void SAL_CALL acquire() throw () override;
/** Releases the object (calls release() on base class). */
......
......@@ -105,7 +105,7 @@ namespace accessibility
return aRet;
}
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
void SAL_CALL AccessibleBrowseBoxTableCell::acquire() throw ()
{
AccessibleBrowseBoxCell::acquire();
......
......@@ -93,7 +93,7 @@ Reference<XAccessible > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleC
return aRet;
}
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
void SAL_CALL AccessibleGridControlHeaderCell::acquire() throw ()
{
AccessibleGridControlCell::acquire();
......
......@@ -121,7 +121,7 @@ namespace accessibility
return aRet;
}
/** Aquires the object (calls acquire() on base class). */
/** Acquires the object (calls acquire() on base class). */
void SAL_CALL AccessibleGridControlTableCell::acquire() throw ()
{
AccessibleGridControlCell::acquire();
......
......@@ -178,7 +178,7 @@ bool SbiImage::Load( SvStream& r, sal_uInt32& nVersion )
pCode = reinterpret_cast<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
......
......@@ -944,7 +944,7 @@ void OpenGL3DRenderer::RenderPolygon3D(const Polygon3DInfo& polygon)
glUniform1i(maResources.m_3DLightNumID, m_iLightNum);
glUniform4fv(maResources.m_3DLightAmbientID, 1, &m_Ambient[0]);
CHECK_GL_ERROR();
//update meterial information
//update material information
glUniform4fv(maResources.m_3DMaterialAmbientID, 1, &polygon.material.ambient[0]);
glUniform4fv(maResources.m_3DMaterialDiffuseID, 1, &polygon.material.diffuse[0]);
glUniform4fv(maResources.m_3DMaterialSpecularID, 1, &polygon.material.specular[0]);
......@@ -1675,7 +1675,7 @@ void OpenGL3DRenderer::RenderExtrude3DObject()
}
else
{
//update meterial information
//update material information
glUniform4fv(maResources.m_3DMaterialAmbientID, 1, &extrude3DInfo.material.ambient[0]);
glUniform4fv(maResources.m_3DMaterialDiffuseID, 1, &extrude3DInfo.material.diffuse[0]);
glUniform4fv(maResources.m_3DMaterialSpecularID, 1, &extrude3DInfo.material.specular[0]);
......
......@@ -30,7 +30,7 @@ typedef std::map<OUString, css::uno::Any> SvGenericNameContainerMapImpl;
namespace comphelper
{
/** 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::WeakImplHelper< css::container::XNameContainer >
{
public:
......
......@@ -29,7 +29,7 @@ static int ArgStrLen(const wchar_t *s)
if (addDoubleQuotes)
{
i += 2; // initial and final duoblequote
i += 2; // initial and final doublequote
}
if (hasDoubleQuote)
......
......@@ -53,7 +53,7 @@ bool FragileDestructor::TraverseCXXDestructorDecl(CXXDestructorDecl* pCXXDestruc
|| loplugin::hasPathnamePrefix(aFileName, SRCDIR "/include/cppuhelper/")
|| loplugin::hasPathnamePrefix(aFileName, SRCDIR "/cppuhelper/")
|| loplugin::hasPathnamePrefix(aFileName, SRCDIR "/comphelper/")
// don't know how to detect this in clang - it is making an explicit call to it's own method, so presumably OK
// don't know how to detect this in clang - it is making an explicit call to its own method, so presumably OK
|| loplugin::isSamePathname(aFileName, SRCDIR "/basic/source/sbx/sbxvalue.cxx")
)
return RecursiveASTVisitor::TraverseCXXDestructorDecl(pCXXDestructorDecl);
......@@ -79,7 +79,7 @@ bool FragileDestructor::VisitCXXMemberCallExpr(const CXXMemberCallExpr* callExpr
if (!callExpr->getImplicitObjectArgument()->IgnoreImpCasts()->isImplicitCXXThis()) {
return true;
}
// if we see an explicit call to it's own method, thats OK
// if we see an explicit call to its own method, that's OK
auto s1 = compiler.getSourceManager().getCharacterData(callExpr->getLocStart());
auto s2 = compiler.getSourceManager().getCharacterData(callExpr->getLocEnd());
std::string tok(s1, s2-s1);
......
......@@ -377,20 +377,20 @@ if test -n "$with_android_ndk"; then
ANDROID_NDK_VERSION=`cut -f1 -d' ' <$ANDROID_NDK_HOME/RELEASE.TXT`
fi
if test -z "$ANDROID_NDK_VERSION"; then
AC_MSG_ERROR([Failed to determine android NDK version. Please check your installation.])
AC_MSG_ERROR([Failed to determine Android NDK version. Please check your installation.])
fi
case $ANDROID_NDK_VERSION in
r9*|r10*)
AC_MSG_ERROR([Bulding for Android is only supported with NDK versions above 15.x*])
AC_MSG_ERROR([Building for Android is only supported with NDK versions above 15.x*])
;;
11.1.*|12.1.*|13.1.*|14.1.*)
AC_MSG_ERROR([Bulding for Android is only supported with NDK versions above 15.x.*])
AC_MSG_ERROR([Building for Android is only supported with NDK versions above 15.x.*])
;;
15.0.*|15.1.*)
;;
*)
AC_MSG_WARN([Untested android NDK version $ANDROID_NDK_VERSION, only version 15.0.* and 15.1.* have been used successfully. Proceed at your own risk.])
add_warning "Untested android NDK version $ANDROID_NDK_VERSION, only version 15.0.* and 15.1.* have been used successfully. Proceed at your own risk."
AC_MSG_WARN([Untested Android NDK version $ANDROID_NDK_VERSION, only version 15.0.* and 15.1.* have been used successfully. Proceed at your own risk.])
add_warning "Untested Android NDK version $ANDROID_NDK_VERSION, only version 15.0.* and 15.1.* have been used successfully. Proceed at your own risk."
;;
esac
......
......@@ -618,7 +618,7 @@ void ONDXPage::Merge(sal_uInt16 nParentNodePos, const ONDXPagePtr& xPage)
else if(nParentNodePos)
// replace the node value
// for Append the range will be enlarged, for Insert the old node from xPage will reference to this
// thats why the node must be updated here
// that's why the node must be updated here
aParent->SearchAndReplace((*aParent)[nParentNodePos-1].GetKey(),(*aParent)[nParentNodePos].GetKey());
xPage->SetModified(false);
......
......@@ -258,7 +258,7 @@ IMPL_LINK_NOARG(SvxHyperlinkDocTp, ClickTargetHdl_Impl, Button*, void)
/*************************************************************************
|*
|* Contens of combobox "Path" modified
|* Contents of combobox "Path" modified
|*
|************************************************************************/
......@@ -297,7 +297,7 @@ IMPL_LINK_NOARG(SvxHyperlinkDocTp, TimeoutHdl_Impl, Timer *, void)
/*************************************************************************
|*
|* Contens of editfield "Target" modified
|* Contents of editfield "Target" modified
|*
|************************************************************************/
......
......@@ -223,7 +223,7 @@ void SvxHyperlinkMailTp::RemoveImproperProtocol(const OUString& aProperScheme)
/*************************************************************************
|*
|* Contens of editfield "receiver" modified
|* Contents of editfield "receiver" modified
|*
|************************************************************************/
......
......@@ -372,7 +372,7 @@ OUString MakeStartupConfigAccessErrorMessage( OUString const & aInternalErrMsg )
// 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/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 OUString& sMessage)
{
......
dictionaries @ a2a91e4b
Subproject commit 56684558fb8bdb05cf8bc3e4c183e78de630dd6d
Subproject commit a2a91e4bb5a5b5247afaaecf0c928e9f7025ecbd
......@@ -1213,7 +1213,7 @@ namespace accessibility
aPropertyNames = getAttributeNames();
}
// get default attribues...
// get default attributes...
::comphelper::SequenceAsHashMap aPropHashMap( getDefaultAttributes( aPropertyNames ) );
// ... and override them with the direct attributes from the specific position
......
......@@ -602,7 +602,7 @@ void EditHTMLParser::ImpSetStyleSheet( sal_uInt16 nHLevel )
aItems.Put( aWeightItemCTL );
}
// Font hight and margins, when LogicToLogic is possible:
// Font height and margins, when LogicToLogic is possible:
MapUnit eUnit = mpEditEngine->GetRefMapMode().GetMapUnit();
if ( ( eUnit != MapUnit::MapPixel ) && ( eUnit != MapUnit::MapSysFont ) &&
( eUnit != MapUnit::MapAppFont ) && ( eUnit != MapUnit::MapRelative ) )
......
......@@ -2301,7 +2301,7 @@ EditPaM ImpEditEngine::ImpConnectParagraphs( ContentNode* pLeft, ContentNode* pR
{
// By joining together the two, the left is although reformatted,
// however if its height does not change then the formatting receives
// the change of the total text hight too late...
// the change of the total text height too late...
for ( sal_Int32 n = nParagraphTobeDeleted; n < GetParaPortions().Count(); n++ )
{
ParaPortion* pPP = GetParaPortions()[n];
......
......@@ -2723,7 +2723,7 @@ SvxAutocorrWordList::Content SvxAutocorrWordList::getSortedContent() const
{
Content aContent;
// convert from hash to set permanantly
// convert from hash to set permanently
if ( mpImpl->maSet.empty() )
{
// This beast has some O(N log(N)) in a terribly slow ICU collate fn.
......
......@@ -77,7 +77,7 @@ class BaseContainer : public BaseLock
/** @short local filter cache, which is used to collect changes on the
filter configuration first and flush it later.
@descr Normally this member isn't used nor initialized. Thats true,
@descr Normally this member isn't used nor initialized. That's true,
if this container is used for reading only. The first write access
(e.g. by calling insertByName()) creates a copy of the current
global cache m_rCache to initialize the m_pFlushCache member.
......
......@@ -626,7 +626,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("Can not add item. Set is finalized or mandatory!",
css::uno::Reference< css::uno::XInterface >());
......@@ -643,7 +643,7 @@ 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("Can not change item. Its finalized or mandatory!",
css::uno::Reference< css::uno::XInterface >());
......@@ -1077,10 +1077,10 @@ void FilterCache::impl_validateAndOptimize()
aType[PROPNAME_PREFERREDFILTER] >>= sPrefFilter;
if (sPrefFilter.isEmpty())
{
// OK - there is no filter for this type. But thats not an error.
// May be it can be handled by a ContentHandler ...
// 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 ...
// or FrameLoader inside this cache... but on disk...
bool bReferencedByLoader = true;
bool bReferencedByHandler = true;
if (bAllLoadersShouldExist)
......@@ -1283,7 +1283,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_THROW);
......@@ -1300,7 +1300,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_THROW);
......@@ -1317,7 +1317,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_THROW);
......@@ -1334,7 +1334,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_THROW);
......@@ -1351,7 +1351,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_THROW);
......
......@@ -92,7 +92,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 information, 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
......
......@@ -148,10 +148,10 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstan
css::uno::Sequence< OUString > SAL_CALL FilterFactory::getAvailableServiceNames()
{
/* 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 don't 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 ...
for empty strings only...
*/
CacheItem lIProps;
CacheItem lEProps;
......
......@@ -5056,7 +5056,7 @@
</xsl:call-template>
<xsl:text>cm</xsl:text>
</xsl:when>
<!-- Note: This is the default row hight value in spec it is written 255 point, this seems wrong -->
<!-- Note: This is the default row height value in spec it is written 255 point, this seems wrong -->
<!-- <xsl:otherwise>0.503cm</xsl:otherwise> -->
<xsl:otherwise>0.45cm</xsl:otherwise>
</xsl:choose>
......
......@@ -990,7 +990,7 @@
</xsl:variable>
<!-- if the frame is anchored on a paragraph -->
<xsl:if test="@text:anchor-type='paragraph'">
<xsl:comment>Next 'div' is emulating the top hight of a draw:frame.</xsl:comment>
<xsl:comment>Next 'div' is emulating the top height of a draw:frame.</xsl:comment>
<!-- When the svg:y is set relative to the paragraph content, the best way to emulate a positive height,
is to add an invisbile division inbetween with a height.
Often text will flow into this 'gap', which is handled separately!
......
......@@ -162,7 +162,7 @@ class CloseDispatcher : public ::cppu::WeakImplHelper<
/** @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
......
......@@ -120,7 +120,7 @@ class OComponentAccess : public ::cppu::WeakImplHelper< css::container::XEnum
@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 our owner and not to our superclass!
Thats the reason for a protected dtor.
That's the reason for a protected dtor.
@seealso class Desktop
*//*-*****************************************************************************************************/
......
......@@ -137,7 +137,7 @@ class Job : public ::cppu::WeakImplHelper<
/**
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.
*/
bool m_bListenOnDesktop;
bool m_bListenOnFrame;
......
......@@ -117,8 +117,8 @@ class ShellJob : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,css::tas
@param bCheckExitCode
bind the execution result to the exit code of the started process.
If it's set to false we return false only in case executable couldnt be found
or couldnt be started.
If it's set to false we return false only in case executable couldn't be found
or couldn't be started.
@return sal_True if command was executed successfully; sal_False otherwise.
*/
......
......@@ -189,8 +189,8 @@ class Desktop : private cppu::BaseMutex,
@descr Additional to removing normal listener these method was implemented special.
Every listener will be asked for its uno implementation name.
Some of them are well known ... and the corresponding listener was set as special member.
Now those special member will be reseted also.
Some of them are well known... and the corresponding listener was set as special member.
Now those special member will be reset also.
see e.g. member m_xSfxTerminator
@seealso terminate()
......@@ -413,7 +413,7 @@ class Desktop : private cppu::BaseMutex,
/** 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;
......
......@@ -29,7 +29,7 @@ namespace framework{
@descr If you use a transaction manager as a member of your class and wish to use it earlier then 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 is a good place to declare this member.
member! That's why is a good place to declare this member.
@devstatus ready to use
*//*-*************************************************************************************************************/
struct TransactionBase
......
......@@ -80,7 +80,7 @@ css::uno::Reference< css::frame::XFrame > TaskCreator::createTask( const OUStrin
{}
// 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())
......
......@@ -175,7 +175,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryDeskt
// It's not the right place to create a new task here - because we are queried for a dispatch object
// only, which can handle such request. Such dispatcher should create the required task on demand.
// Normally the functionality for "_blank" is provided by findFrame() - but that would create it directly
// here. Thats why we must "intercept" here.
// here. that's why we must "intercept" here.
if (sTargetFrameName==SPECIALTARGET_BLANK)
{
......@@ -250,7 +250,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
// I.I) "_blank", "_default"
// It's not the right place to create a new task here. Only the desktop can do that.
// Normally the functionality for "_blank" is provided by findFrame() - but that would create it directly
// here. Thats why we must "intercept" here.
// here. that's why we must "intercept" here.
if (
(sTargetFrameName==SPECIALTARGET_BLANK ) ||
......@@ -490,8 +490,8 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt
@short get or create new dispatch helper
@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.
We should create it on demand...
That's why we implement this method. It return an already existing helper or create 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!
......
......@@ -220,7 +220,7 @@ class PresetHandler
@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 ...
configuration files. Note: that's not the real root of the document...
its only a sub storage. But we interpret it as our root storage.
@param rLanguageTag
......@@ -294,7 +294,7 @@ class PresetHandler
the ALIAS name of the target.
@return The opened target stream ... or NULL if the target does not exists
or couldnt be created as new one.
or couldn't be created as new one.
*/
css::uno::Reference< css::io::XStream > openTarget(
const OUString& sTarget, sal_Int32 nMode);
......
......@@ -276,7 +276,7 @@ public:
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.
......@@ -478,7 +478,7 @@ private:
<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. (Don't forget to reset this state later!)
Concurrent LoadEnv instances can synchronize her work be using such locks :-) HOPEFULLY
......
......@@ -112,7 +112,7 @@ 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
......@@ -140,7 +140,7 @@ bool JobURL::getEvent( /*OUT*/ 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
......@@ -168,7 +168,7 @@ bool JobURL::getAlias( /*OUT*/ 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
......
......@@ -134,7 +134,7 @@ bool ShellJob::impl_execute(const OUString& sCommand
oslProcessError eError = osl_executeProcess(sCommand.pData, pArgs, nArgs, osl_Process_WAIT, nullptr, nullptr, nullptr, 0, &hProcess);
// executable not found or couldnt be started
// executable not found or couldn't be started
if (eError != osl_Process_E_None)
return false;
......
......@@ -213,7 +213,7 @@ public:
/** @short indicates the results of a FAILURE_SAFE operation
@descr We must know, which reason was the real one in case
we couldnt copy a "failure document" to a user specified path.
we couldn't copy a "failure document" to a user specified path.
We must know, if we can forget our cache entry or not.
*/
enum EFailureSafeResult
......@@ -3009,7 +3009,7 @@ void AutoRecovery::implts_saveOneDoc(const OUString&
const css::uno::Reference< css::task::XStatusIndicator >& xExternalProgress)
{
// no document? => can occur if we loaded our configuration with files,
// which couldnt be recovered successfully. In such case we have all needed information
// which couldn't be recovered successfully. In such case we have all needed information
// excepting the real document instance!
// TODO: search right place, where such "dead files" can be removed from the configuration!
......
......@@ -1257,7 +1257,7 @@ void SAL_CALL Frame::activate()
}
// 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 );
}
......@@ -1416,7 +1416,7 @@ sal_Bool SAL_CALL Frame::setComponent(const css::uno::Reference< css::awt::XWind
{
// Ignore this HACK of sfx2!
// He call us with an valid controller without a valid window ... Thats not allowed!
// He call us with an valid controller without a valid window... that's not allowed!
if ( xController.is() && ! xComponentWindow.is() )
return true;
......
......@@ -145,7 +145,7 @@
<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 contain double back-slashes.
One should also take into account that a console may have also special
escape characters.</p>
......
......@@ -97,7 +97,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
/** none of the specified interceptions match the incoming request */
E_NOT_INTERCEPTED,
/** the request could be intercepted - but the specified continuation could not be located.
Thats normally an error of the programmer. May be the interaction request does not use
That's normally an error of the programmer. May be the interaction request does not use
the right set of continuations ... or the interception list contains the wrong continuation. */
E_NO_CONTINUATION_FOUND,
/** the request could be intercepted and the specified continuation could be selected successfully. */
......
......@@ -64,13 +64,13 @@ public:
// specifies a subscripted.
static const short SUBSCRIPT = -33;
// specifies a hight of superscripted font
// specifies a height of superscripted font
static const sal_Int8 SUPERSCRIPTHEIGHT = 58;
// specifies a hight of subscripted font
// specifies a height of subscripted font
static const sal_Int8 SUBSCRIPTHEIGHT = 58;
// specifies a hight of normal font
// specifies a height of normal font
static const short NORMALHEIGHT = 100;
/// @throws css::uno::RuntimeException
......
......@@ -475,7 +475,7 @@ public:
// clipped toolbox items, so you should only touch
// items that you added by yourself
// the private toolbox items will only use item ids starting from TOOLBOX_MENUITEM_START
// to allow for customization of the menu the coresponding handler is called
// to allow for customization of the menu the corresponding handler is called
// when the menu button was clicked and before the menu is executed
void SetMenuType( ToolBoxMenuType aType = ToolBoxMenuType::Customize );
ToolBoxMenuType