summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-18 00:26:02 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-18 00:30:35 +0300
commit728ec86062c13c4994a15bf4bee810db7094c8bb (patch)
tree71da33ccd7d65d0a7c0eaf4d6ad10f66c12ae3c5 /framework
parent9a7fc5ee26c7b7a5ad227d628e1a1f389e3085c2 (diff)
Typo: s/cant/can't/
Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/dispatch/closedispatcher.hxx6
-rw-r--r--framework/inc/helper/ocomponentaccess.hxx2
-rw-r--r--framework/inc/helper/ocomponentenumeration.hxx2
-rw-r--r--framework/inc/jobs/helponstartup.hxx2
-rw-r--r--framework/inc/jobs/jobdata.hxx2
-rw-r--r--framework/inc/jobs/shelljob.hxx2
-rw-r--r--framework/inc/services/desktop.hxx4
-rw-r--r--framework/qa/complex/dispatches/checkdispatchapi.java2
-rw-r--r--framework/qa/complex/framework/autosave/Protocol.java2
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx6
-rw-r--r--framework/source/accelerators/storageholder.cxx2
-rw-r--r--framework/source/classes/taskcreator.cxx2
-rw-r--r--framework/source/dispatch/closedispatcher.cxx6
-rw-r--r--framework/source/dispatch/interceptionhelper.cxx2
-rw-r--r--framework/source/inc/accelerators/presethandler.hxx4
-rw-r--r--framework/source/inc/loadenv/loadenv.hxx28
-rw-r--r--framework/source/inc/loadenv/loadenvexception.hxx4
-rw-r--r--framework/source/jobs/helponstartup.cxx2
-rw-r--r--framework/source/jobs/shelljob.cxx2
-rw-r--r--framework/source/services/autorecovery.cxx18
-rw-r--r--framework/source/services/desktop.cxx2
-rw-r--r--framework/source/services/pathsettings.cxx10
22 files changed, 56 insertions, 56 deletions
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx
index fd41340bf86d..3c017547a83d 100644
--- a/framework/inc/dispatch/closedispatcher.hxx
+++ b/framework/inc/dispatch/closedispatcher.hxx
@@ -167,10 +167,10 @@ class CloseDispatcher : public ::cppu::WeakImplHelper2<
/** @short prepare m_xCloseFrame so it should be closeable without problems.
- @descr Thats needed to be sure, that the document cant disagree
+ @descr Thats 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 cant know
+ ignores it and open/close other documents, we can't know
which state the office has after closing of this frame.
@param bAllowSuspend
@@ -253,7 +253,7 @@ class CloseDispatcher : public ::cppu::WeakImplHelper2<
context where its dispatched. Sometimes the start frame of the dispatch
has to be closed itself (target=_self) ... sometimes its parent frame
has to be closed - BUT(!) it means a parent frame containing a top level
- window. _top cant be used then for dispatch - because it address TopFrames
+ window. _top can't be used then for dispatch - because it address TopFrames
not frames containg top level windows. So normaly _magic (which btw does not
exists at the moment .-) ) should be used. So we interpret target=<empty>
as _magic !
diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx
index 6c634692d800..570ae4798d4d 100644
--- a/framework/inc/helper/ocomponentaccess.hxx
+++ b/framework/inc/helper/ocomponentaccess.hxx
@@ -140,7 +140,7 @@ class OComponentAccess : public ::cppu::WeakImplHelper1< ::com::sun::star::co
@seealso method createEnumeration
@param "xNode" , root of subtree and start point of search
- @param "seqComponents", result list of search. We cant use a return value, we search recursive
+ @param "seqComponents", result list of search. We can't use a return value, we search recursive
and must collect all information.
*//*-*****************************************************************************************************/
diff --git a/framework/inc/helper/ocomponentenumeration.hxx b/framework/inc/helper/ocomponentenumeration.hxx
index d12d45a6a406..8a7a40df103c 100644
--- a/framework/inc/helper/ocomponentenumeration.hxx
+++ b/framework/inc/helper/ocomponentenumeration.hxx
@@ -37,7 +37,7 @@ namespace framework{
@short implement a helper for a oneway enumeration of components
@descr You can step during this list only for one time! Its a snapshot.
Don't forget to release the reference. You are the owner of an instance of this implementation.
- You cant use this as a baseclass. Please use it as a dynamical object for return.
+ You can't use this as a baseclass. Please use it as a dynamical object for return.
@implements XInterface
XTypeProvider
diff --git a/framework/inc/jobs/helponstartup.hxx b/framework/inc/jobs/helponstartup.hxx
index 1df5e344c08a..81d82568dc37 100644
--- a/framework/inc/jobs/helponstartup.hxx
+++ b/framework/inc/jobs/helponstartup.hxx
@@ -84,7 +84,7 @@ class HelpOnStartup : public ::cppu::WeakImplHelper3< ::com::sun::star::lang::XS
/** @short does nothing real ...
@descr But it should exists as virtual function,
- so this class cant make trouble
+ so this class can't make trouble
related to inline/symbols etcpp.!
*/
virtual ~HelpOnStartup();
diff --git a/framework/inc/jobs/jobdata.hxx b/framework/inc/jobs/jobdata.hxx
index 9a575e5c4248..c7715f0f2427 100644
--- a/framework/inc/jobs/jobdata.hxx
+++ b/framework/inc/jobs/jobdata.hxx
@@ -80,7 +80,7 @@ class JobData
/** Some jobs can be registered to "logical events", which are generated on demand if another document event
occurs. E.g. "onDocumentOpened" in case "OnNew" or "OnLoad" was notified to the JobExecutor instance.
And normaly the original event is transported as parameter set to the executed job. But then such job
- cant differ between e.g. "OnNew" and "onDocumentOpened".
+ can't differ between e.g. "OnNew" and "onDocumentOpened".
That's why we must know, for which type of event the job was really triggered .-)
The information "sDocEvent" from this struct must be set on the member JobData::m_sEvent from outside
diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx
index 7ec6c21b2bcc..2412edcecb7f 100644
--- a/framework/inc/jobs/shelljob.hxx
+++ b/framework/inc/jobs/shelljob.hxx
@@ -68,7 +68,7 @@ class ShellJob : public ::cppu::WeakImplHelper2< ::com::sun::star::lang::XServic
/** @short does nothing real ...
@descr But it should exists as virtual function,
- so this class cant make trouble
+ so this class can't make trouble
related to inline/symbols etcpp.!
*/
virtual ~ShellJob();
diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx
index 265b135e70ee..ab7ff93e2716 100644
--- a/framework/inc/services/desktop.hxx
+++ b/framework/inc/services/desktop.hxx
@@ -428,7 +428,7 @@ class Desktop : private cppu::BaseMutex,
css::uno::Reference< css::frame::XTerminateListener > m_xQuickLauncher;
/** special terminate listener which loads images asynchronous for current open documents.
- * Because internally it uses blocking system APIs ... it cant be guaranteed that
+ * Because internally it uses blocking system APIs ... it can't be guaranteed that
* running jobs can be cancelled successfully if the corressponding document will be closed ...
* it will not hinder those documents on closing. Instead it let all jobs running ...
* but at least on terminate we have to wait for all those blocked requests.
@@ -441,7 +441,7 @@ class Desktop : private cppu::BaseMutex,
* only ... it does not really shutdown the whole application.
*
* Btw: That wouldnt be possible by design ... because Desktop.terminate()
- * has to return a boolean value about success ... it cant really shutdown the
+ * has to return a boolean value about success ... it can't really shutdown the
* process .-)
*
* So we uses a trick: A special listener (exactly these one here) listen for notifyTermination()
diff --git a/framework/qa/complex/dispatches/checkdispatchapi.java b/framework/qa/complex/dispatches/checkdispatchapi.java
index e4c98c8946ff..c464980ec9e3 100644
--- a/framework/qa/complex/dispatches/checkdispatchapi.java
+++ b/framework/qa/complex/dispatches/checkdispatchapi.java
@@ -253,7 +253,7 @@ public class checkdispatchapi
public void checkInterceptorLifeTime()
{
// Note: It's important for the following test, that aInterceptor will be hold alive by the uno reference
- // xInterceptor. Otherwhise we cant check some internal states of aInterceptor at the end of this method, because
+ // xInterceptor. Otherwhise we can't check some internal states of aInterceptor at the end of this method, because
// it was already killed .-)
Interceptor aInterceptor = new Interceptor();
diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java
index 9ff87237587d..e79310408aea 100644
--- a/framework/qa/complex/framework/autosave/Protocol.java
+++ b/framework/qa/complex/framework/autosave/Protocol.java
@@ -642,7 +642,7 @@ public class Protocol extends JComponent
System.err.print(sAsciiLog);
// no else - it's a bit field of possible reactions!
// But these both conditions must be handled together.
- // Because we cant generate different types of log contents to the same log file.
+ // Because we can't generate different types of log contents to the same log file.
// We preferr HTML if both types are set.
if (
((m_nMode & MODE_HTML ) == MODE_HTML ) ||
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index 366e6056e604..5c138c85dc15 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -489,7 +489,7 @@ AcceleratorCache& XMLBasedAcceleratorConfiguration::impl_getCFG(bool bWriteAcces
}
// in case, we have a writeable cache, we use it for reading too!
- // Otherwhise the API user cant find its own changes ...
+ // Otherwhise the API user can't find its own changes ...
if (m_pWriteCache)
return *m_pWriteCache;
else
@@ -1413,7 +1413,7 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(bool bPreferred,
}
// in case, we have a writeable cache, we use it for reading too!
- // Otherwhise the API user cant find its own changes ...
+ // Otherwhise the API user can't find its own changes ...
if (m_pPrimaryWriteCache)
return *m_pPrimaryWriteCache;
else
@@ -1433,7 +1433,7 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(bool bPreferred,
}
// in case, we have a writeable cache, we use it for reading too!
- // Otherwhise the API user cant find its own changes ...
+ // Otherwhise the API user can't find its own changes ...
if (m_pSecondaryWriteCache)
return *m_pSecondaryWriteCache;
else
diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx
index 7cd7d88e4d33..cfa0ce8f91d4 100644
--- a/framework/source/accelerators/storageholder.cxx
+++ b/framework/source/accelerators/storageholder.cxx
@@ -138,7 +138,7 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const OUStri
/* TODO URGENT!
in case we found some "already existing storages" on the path before and increased its UseCount ...
and now we will get an exception on creating a new sub storage ...
- we must decrease all UseCounts, which was touched before. Otherwise these storages cant be closed!
+ we must decrease all UseCounts, which was touched before. Otherwise these storages can't be closed!
Idea: Using of another structure member "PossibleUseCount" as vector of unique numbers.
Every thread use another unique number to identify all "owned candidates".
diff --git a/framework/source/classes/taskcreator.cxx b/framework/source/classes/taskcreator.cxx
index 84b8071ff1ed..b474366e650e 100644
--- a/framework/source/classes/taskcreator.cxx
+++ b/framework/source/classes/taskcreator.cxx
@@ -81,7 +81,7 @@ css::uno::Reference< css::frame::XFrame > TaskCreator::createTask( const OUStrin
catch(const css::uno::Exception&)
{}
- // no catch here ... without an task creator service we cant open ANY document window within the office.
+ // 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.
// 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 ?
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index 04c12a4ee77a..e1ee79796aaa 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -187,7 +187,7 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL&
}
// OK - URLs are the right ones.
- // But we cant execute synchronously :-)
+ // But we can't execute synchronously :-)
// May we are called from a generic key-input handler,
// which isnt aware that this call kill its own environment ...
// Do it asynchronous everytimes!
@@ -287,9 +287,9 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback)
if ( ! xCloseFrame->getCreator().is())
bCloseFrame = true;
- // b) The help window cant disagree with any request.
+ // b) The help window can't disagree with any request.
// Because it doesn't implement a controller - it uses a window only.
- // Further t cant be the last open frame - if we do all other things
+ // Further t can't be the last open frame - if we do all other things
// right inside this CloseDispatcher implementation.
// => close it!
else if (aCheck1.m_bReferenceIsHelp)
diff --git a/framework/source/dispatch/interceptionhelper.cxx b/framework/source/dispatch/interceptionhelper.cxx
index a6452499af0c..350c4792e237 100644
--- a/framework/source/dispatch/interceptionhelper.cxx
+++ b/framework/source/dispatch/interceptionhelper.cxx
@@ -238,7 +238,7 @@ void SAL_CALL InterceptionHelper::disposing(const css::lang::EventObject& aEvent
css::uno::Reference< css::frame::XDispatchProvider > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY_THROW);
// We need a full copy of all currently registered interceptor objects.
- // Otherwhise we cant iterate over this vector without the risk, that our iterator will be invalid.
+ // Otherwhise we can't iterate over this vector without the risk, that our iterator will be invalid.
// Because this vetor will be influenced by every deregistered interceptor.
InterceptionHelper::InterceptorList aCopy = m_lInterceptionRegs;
diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx
index acd0cd46de27..bb65ec7e3f96 100644
--- a/framework/source/inc/accelerators/presethandler.hxx
+++ b/framework/source/inc/accelerators/presethandler.hxx
@@ -140,7 +140,7 @@ class PresetHandler
of the share and user layer. */
::salhelper::SingletonRef< TSharedStorages > m_aSharedStorages;
- /** @short if we run in document mode, we cant use the global root storages!
+ /** @short if we run in document mode, we can't use the global root storages!
We have to use a special document storage explicitly. */
StorageHolder m_lDocumentStorages;
@@ -200,7 +200,7 @@ class PresetHandler
@descr Because this class should be useable in combination
with ::salhelper::SingletonRef template this ctor
- cant have any special parameters!
+ can't have any special parameters!
@param xContext
points to an uno service manager, which is used internally
diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx
index 876366ae63c4..9b022cd86d97 100644
--- a/framework/source/inc/loadenv/loadenv.hxx
+++ b/framework/source/inc/loadenv/loadenv.hxx
@@ -180,7 +180,7 @@ private:
/** @short holds the information about the finished load process.
- @descr The content of m_xTargetFrame cant be used as valid indicator,
+ @descr The content of m_xTargetFrame can't be used as valid indicator,
(in case the micht existing old document was reactivated)
we must hold the result of the load process explicitly.
*/
@@ -205,7 +205,7 @@ public:
@throw Currently there is no reason to throw such exception!
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
LoadEnv(const css::uno::Reference< css::uno::XComponentContext >& xContext)
throw(LoadEnvException, css::uno::RuntimeException);
@@ -271,7 +271,7 @@ public:
The real reason, a suitable message and ID will be given here immidiatly.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
void initializeLoading(const OUString& sURL ,
const css::uno::Sequence< css::beans::PropertyValue >& lMediaDescriptor,
@@ -288,7 +288,7 @@ public:
a frame with a controller/model inside can be possible. For loading
of a "non visible component" only an information about a successfully start
can be provided.
- Further it cant be guranteed, that the internal process runs synchronous.
+ Further it can't be guranteed, that the internal process runs synchronous.
Thats why we preferr using of specialized methods afterwards e.g. to:
- wait till the internal job will be finished
and get the results
@@ -299,7 +299,7 @@ public:
The reason, a suitable message and ID will be given here immidiatly.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
void startLoading();
@@ -321,7 +321,7 @@ public:
@throw ... currently not used :-)
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
bool waitWhileLoading(sal_uInt32 nTimeout = 0);
@@ -386,7 +386,7 @@ public:
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
void impl_reactForLoadingState()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -404,12 +404,12 @@ private:
@attention Not all types we know, are supported by filters. So it does not
indicates an error, if no suitable filter(loader etcpp will be found
for a type. But a type must be detected for the specified content.
- Otherwise its an error and loading cant be finished successfully.
+ Otherwise its an error and loading can't be finished successfully.
@throw A LoadEnvException if detection failed.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
void impl_detectTypeAndFilter()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -443,7 +443,7 @@ private:
@throw A LoadEnvException if handling failed.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
bool impl_handleContent()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -462,7 +462,7 @@ private:
@throw A LoadEnvException if loading failed.
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
bool impl_loadContent()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -488,7 +488,7 @@ private:
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
css::uno::Reference< css::frame::XFrame > impl_searchAlreadyLoaded()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -519,7 +519,7 @@ private:
In such cases a RuntimeException would be to hard for the outside code :-)
@throw A RuntimeException in case any internal process indicates, that
- the whole runtime cant be used any longer.
+ the whole runtime can't be used any longer.
*/
css::uno::Reference< css::frame::XFrame > impl_searchRecycleTarget()
throw(LoadEnvException, css::uno::RuntimeException);
@@ -554,7 +554,7 @@ private:
/** @short checks whether a frame is already used for another load request or not.
- @descr Such frames cant be used for our "recycle feature"!
+ @descr Such frames can't be used for our "recycle feature"!
@param xFrame
the frame, which should be checked.
diff --git a/framework/source/inc/loadenv/loadenvexception.hxx b/framework/source/inc/loadenv/loadenvexception.hxx
index 0dea9506457b..3dae225c81ba 100644
--- a/framework/source/inc/loadenv/loadenvexception.hxx
+++ b/framework/source/inc/loadenv/loadenvexception.hxx
@@ -78,11 +78,11 @@ class LoadEnvException
ID_COULD_NOT_REACTIVATE_CONTROLLER,
/** @short indicates an already running load operation. Of yourse the same
- instance cant be used for multiple load requests at the same time.
+ instance can't be used for multiple load requests at the same time.
*/
ID_STILL_RUNNING,
- /** @short sometiems we cant specify the reason for an error, because we
+ /** @short sometiems we can't specify the reason for an error, because we
was interrupted by an called code in an unexpected way ...
*/
ID_GENERAL_ERROR
diff --git a/framework/source/jobs/helponstartup.cxx b/framework/source/jobs/helponstartup.cxx
index a09acbe647d2..897067dbfaa1 100644
--- a/framework/source/jobs/helponstartup.cxx
+++ b/framework/source/jobs/helponstartup.cxx
@@ -169,7 +169,7 @@ OUString HelpOnStartup::its_getModuleIdFromEnv(const css::uno::Sequence< css::be
// check for right environment.
// If its not a DocumentEvent, which triggered this job,
- // we cant work correctly! => return immediately and do nothing
+ // we can't work correctly! => return immediately and do nothing
OUString sEnvType = lEnvironment.getUnpackedValueOrDefault("EnvType", OUString());
if (sEnvType != "DOCUMENTEVENT")
return OUString();
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx
index d9a2fb5a61a3..16741aca86a3 100644
--- a/framework/source/jobs/shelljob.cxx
+++ b/framework/source/jobs/shelljob.cxx
@@ -95,7 +95,7 @@ css::uno::Any SAL_CALL ShellJob::execute(const css::uno::Sequence< css::beans::N
OUString sRealCommand = impl_substituteCommandVariables(sCommand);
// Command is required as minimum.
- // If it does not exists ... we cant do our job.
+ // If it does not exists ... we can't do our job.
// Deactivate such miss configured job silently .-)
if (sRealCommand.isEmpty())
return ShellJob::impl_generateAnswer4Deactivation();
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index c43af547628b..d058938c9b77 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -411,9 +411,9 @@ private:
ListenerHash m_lListener;
/** @descr This member is used to prevent us against re-entrance problems.
- A mutex cant help to prevent us from concurrent using of members
+ A mutex can't help to prevent us from concurrent using of members
inside the same thread. But e.g. our internally used stl structures
- are not threadsafe ... and furthermore they cant be used at the same time
+ are not threadsafe ... and furthermore they can't be used at the same time
for iteration and add/remove requests!
So we have to detect such states and ... show a warning.
May be there will be a better solution next time ... (copying the cache temp.
@@ -912,7 +912,7 @@ private:
E.g. our svtools::ConfigItems() has to be flushed explicitly .-(
- Note: This method cant fail. Flushing of config entries is an
+ Note: This method can't fail. Flushing of config entries is an
optional feature. Errors can be ignored.
*/
void impl_flushALLConfigChanges();
@@ -998,7 +998,7 @@ private:
On the other side removing of files from disc is an optional
feature. If we are not able doing so ... its not a real problem.
Ok - users disc place will be samller then ... but we should produce
- a crash during crash save because we cant delete a temporary file only !
+ a crash during crash save because we can't delete a temporary file only !
@param sURL
the url of the file, which should be removed.
@@ -2584,7 +2584,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
aCacheLock.unlock();
// Sometimes we close documents by ourself.
- // And these documents cant be deregistered.
+ // And these documents can't be deregistered.
// Otherwhise we loos our configuration data ... but need it !
// see SessionSave !
if (aInfo.IgnoreClosing)
@@ -2979,7 +2979,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_saveDocs( bool bAllow
// They can be handled normaly - means we patch the corresponding configuration entry only.
// iii) For a SessionSave ... ignore it! There is no time to wait for this save operation.
// Because the WindowManager will kill the process if it doesn't react immediately.
- // On the other side we cant risk a concurrent save request ... because we know
+ // On the other side we can't risk a concurrent save request ... because we know
// that it will produce a crash.
// Attention: Because eJob is used as a flag field, you have to check for the worst case first.
@@ -3185,7 +3185,7 @@ void AutoRecovery::implts_saveOneDoc(const OUString&
// try to remove the old temp file.
// Ignore any error here. We have a new temp file, which is up to date.
- // The only thing is: we fill the disk with temp files, if we cant remove old ones :-)
+ // The only thing is: we fill the disk with temp files, if we can't remove old ones :-)
OUString sRemoveFile = rInfo.OldTempURL;
rInfo.OldTempURL = rInfo.NewTempURL;
rInfo.NewTempURL = "";
@@ -3697,7 +3697,7 @@ void AutoRecovery::implts_prepareEmergencySave()
// Be sure to know all open documents really .-)
implts_verifyCacheAgainstDesktopDocumentList();
- // hide all docs, so the user cant disturb our emergency save .-)
+ // hide all docs, so the user can't disturb our emergency save .-)
implts_changeAllDocVisibility(false);
}
@@ -4008,7 +4008,7 @@ void SAL_CALL AutoRecovery::getFastPropertyValue(css::uno::Any& aValue ,
bool bRecoveryData = m_lDocCache.size() > 0;
- // exists session data ... => then we cant say, that these
+ // exists session data ... => then we can't say, that these
// data are valid for recovery. So we have to return sal_False then!
if (bSessionData)
bRecoveryData = false;
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index a62456689624..879d0d17bccd 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1046,7 +1046,7 @@ void SAL_CALL Desktop::disposing()
// Following lines of code can be called outside a synchronized block ...
// Because our transaction manager will block all new requests to this object.
// So nobody can use us any longer.
- // Exception: Only removing of listener will work ... and this code cant be dangerous.
+ // Exception: Only removing of listener will work ... and this code can't be dangerous.
// First we has to kill all listener connections.
// They might rely on our member and can hinder us on releasing them.
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index 0018dd3138b2..ea757853de58 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -688,7 +688,7 @@ void PathSettings::impl_storePath(const PathSettings::PathInfo& aPath)
::comphelper::ConfigurationHelper::flush(xCfgNew);
// remove the whole path from the old configuration !
- // Otherwise we cant make sure that the diff between new and old configuration
+ // Otherwise we can't make sure that the diff between new and old configuration
// on loading time really represent an user setting !!!
// Check if the given path exists inside the old configuration.
@@ -775,7 +775,7 @@ PathSettings::EChangeOp PathSettings::impl_updatePath(const OUString& sPath
{ throw; }
// Normal(!) exceptions can be ignored!
// E.g. in case an addon installs a new path, which was not well known for an OOo 1.x installation
- // we cant find a value for it inside the "old" configuration. So a NoSuchElementException
+ // we can't find a value for it inside the "old" configuration. So a NoSuchElementException
// will be normal .-)
catch(const css::uno::Exception&)
{}
@@ -850,7 +850,7 @@ css::uno::Sequence< sal_Int32 > PathSettings::impl_mapPathName2IDList(const OUSt
// The outside code must fire N events for every changed property.
// And the knowing about packaging of variables of the structure PathInfo
// follow these group IDs ! But if such ID isnt in the range of [0..IDGROUP_COUNT]
- // the outside cant determine the right group ... and cant fire the right events .-)
+ // the outside can't determine the right group ... and cant fire the right events .-)
css::uno::Sequence< sal_Int32 > lIDs(IDGROUP_COUNT);
lIDs[0] = IDGROUP_OLDSTYLE;
@@ -1218,7 +1218,7 @@ void PathSettings::impl_setPathValue( sal_Int32 nID ,
OUStringBuffer sMsg(256);
sMsg.appendAscii("The path '" );
sMsg.append (aChangePath.sPathName);
- sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths cant be set.");
+ sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths can't be set.");
throw css::uno::Exception(sMsg.makeStringAndClear(),
static_cast< ::cppu::OWeakObject* >(this));
}
@@ -1238,7 +1238,7 @@ void PathSettings::impl_setPathValue( sal_Int32 nID ,
OUStringBuffer sMsg(256);
sMsg.appendAscii("The path '" );
sMsg.append (aChangePath.sPathName);
- sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths cant be set.");
+ sMsg.appendAscii("' is defined as SINGLE_PATH. It's sub set of internal paths can't be set.");
throw css::uno::Exception(sMsg.makeStringAndClear(),
static_cast< ::cppu::OWeakObject* >(this));
}