diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-09-10 22:35:39 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-09-10 22:35:39 +0200 |
commit | 037d03b9facb414ba6be01fa6ee92fc7ca89f70c (patch) | |
tree | 119676e8107fada1b91ef12a72e9bbf7b393729f /framework/source/services | |
parent | 44ead04eb5fc61a3f56f783adb1509fab440e212 (diff) |
Typo: (N|n)ormaly->(N|n)ormally
Change-Id: I96d081f394b0b62d99ec1034bf5e99da9aedd9d9
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/autorecovery.cxx | 20 | ||||
-rw-r--r-- | framework/source/services/desktop.cxx | 8 | ||||
-rw-r--r-- | framework/source/services/frame.cxx | 4 |
3 files changed, 16 insertions, 16 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index ac688850b946..8efe331da265 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -128,7 +128,7 @@ public: /** @short can be set from outside and is provided to our internal started operations. - @descr Normaly we use the normal status indicator + @descr Normally we use the normal status indicator of the document windows to show a progress. But in case we are used by any special UI, it can provide its own status indicator object @@ -1739,7 +1739,7 @@ void SAL_CALL AutoRecovery::disposing(const css::lang::EventObject& aEvent) } // dispose from one of our cached documents ? - // Normaly they should send a OnUnload message ... + // Normally they should send a OnUnload message ... // But some stacktraces shows another possible use case .-) css::uno::Reference< css::frame::XModel > xDocument(aEvent.Source, css::uno::UNO_QUERY); if (xDocument.is()) @@ -2341,7 +2341,7 @@ IMPL_LINK_NOARG(AutoRecovery, implts_timerExpired) // The timer must be ignored if AutoSave/Recovery was disabled for this // office session. That can happen if e.g. the command line arguments "--norestore" or "--headless" - // was set. But normaly the timer was disabled if recovery was disabled ... + // was set. But normally the timer was disabled if recovery was disabled ... // But so we are more "safe" .-) /* SAFE */ { osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex); @@ -2458,7 +2458,7 @@ void AutoRecovery::implts_registerDocument(const css::uno::Reference< css::frame AutoRecovery::TDocumentList::iterator pIt = AutoRecovery::impl_searchDocument(m_lDocCache, xDocument); if (pIt != m_lDocCache.end()) { - // Normaly nothing must be done for this "late" notification. + // Normally nothing must be done for this "late" notification. // But may be the modified state was changed inbetween. // Check it ... implts_updateModifiedState(xDocument); @@ -2871,7 +2871,7 @@ void AutoRecovery::implts_prepareSessionShutdown() #i64599# - Normaly the MediaDescriptor argument NoAutoSave indicates, + Normally the MediaDescriptor argument NoAutoSave indicates, that a document must be ignored for AutoSave and Recovery. But sometimes XModel->getArgs() does not contained this information if implts_registerDocument() was called. @@ -2976,7 +2976,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_saveDocs( bool bAllow // save it after all other documents was saved successfully. That decrease // the chance for a crash inside a crash. // On the other side it's not necessary for documents, which are not modified. - // They can be handled normaly - means we patch the corresponding configuration entry only. + // They can be handled normally - 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 can't risk a concurrent save request ... because we know @@ -3383,7 +3383,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_openDocs(const DispatchParams& aPa implts_informListener(eJob, AutoRecovery::implst_createFeatureStateEvent(eJob, OPERATION_UPDATE, &rInfo)); - /* Normaly we listen as XModifyListener on a document to know if a document was changed + /* Normally we listen as XModifyListener on a document to know if a document was changed since our last AutoSave. And we deregister us in case we know this state. But directly after one document as recovered ... we must start listening. Otherwhise the first "modify" doesn't reach us. Because we ourself called setModified() @@ -3730,7 +3730,7 @@ void AutoRecovery::implts_doEmergencySave(const DispatchParams& aParams) // The called method for saving documents runs // during normal AutoSave more than once. Because // it postpone active documents and save it later. - // That is normaly done by recalling it from a timer. + // That is normally done by recalling it from a timer. // Here we must do it immediately! // Of course this method returns the right state - // because it knows, that we are running in ERMERGENCY SAVE mode .-) @@ -3798,7 +3798,7 @@ void AutoRecovery::implts_doSessionSave(const DispatchParams& aParams) // The called method for saving documents runs // during normal AutoSave more than once. Because // it postpone active documents and save it later. - // That is normaly done by recalling it from a timer. + // That is normally done by recalling it from a timer. // Here we must do it immediately! // Of course this method returns the right state - // because it knows, that we are running in SESSION SAVE mode .-) @@ -4239,7 +4239,7 @@ void AutoRecovery::impl_establishProgress(const AutoRecovery::TDocumentInfo& utl::MediaDescriptor::PROP_STATUSINDICATOR(), css::uno::Reference< css::task::XStatusIndicator >() ); - // Normaly a progress is set from outside (e.g. by the CrashSave/Recovery dialog, which uses our dispatch API). + // Normally a progress is set from outside (e.g. by the CrashSave/Recovery dialog, which uses our dispatch API). // But for a normal auto save we dont have such "external progress"... because this function is triggered by our own timer then. // In such case we must create our own progress ! if ( diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index 9b59140bd965..bde7706c825f 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -578,7 +578,7 @@ But; Don't forget - you will be the owner of returned object and must release it It can be, that the desktop is dead - but not your tasksaccess-object! Then they will do nothing! You can't create enumerations then. - @attention Normaly we don't need any lock here. We don't work on internal member! + @attention Normally we don't need any lock here. We don't work on internal member! @seealso class TasksAccess @return A reference to an accessobject, which can create enumerations of our childtasks. @@ -963,7 +963,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const OUS } // II.II) TASKS - // This is a special flag. Normaly it regulate search inside tasks and forbid access to parent trees. + // This is a special flag. Normally it regulate search inside tasks and forbid access to parent trees. // But the desktop exists outside such task trees. They are our sub trees. So the desktop implement // a special feature: We use it to start search on our direct children only. That means we supress // search on ALL child frames. May that can be useful to get access on opened document tasks @@ -1054,7 +1054,7 @@ void SAL_CALL Desktop::disposing() m_aListenerContainer.disposeAndClear( aEvent ); // Clear our child task container and forget all task references hardly. - // Normaly all open document was already closed by our terminate() function before ... + // Normally all open document was already closed by our terminate() function before ... // New opened frames will have a problem now .-) m_aChildTaskContainer.clear(); @@ -1157,7 +1157,7 @@ void SAL_CALL Desktop::dispatchFinished( const css::frame::DispatchResultEvent& *//*-*************************************************************************************************************/ void SAL_CALL Desktop::disposing( const css::lang::EventObject& ) throw( css::uno::RuntimeException, std::exception ) { - SAL_WARN( "fwk", "Desktop::disposing(): Algorithm error! Normaly desktop is temp. listener ... not all the time. So this method shouldn't be called." ); + SAL_WARN( "fwk", "Desktop::disposing(): Algorithm error! Normally desktop is temp. listener ... not all the time. So this method shouldn't be called." ); } /*-************************************************************************************************************ diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 4cadd9f0d2bf..621d6ffce871 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -2021,7 +2021,7 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException, std::exception m_aTransactionManager.setWorkingMode( E_BEFORECLOSE ); // Don't show any dialogs, errors or something else any more! - // If somewhere called dispose() whitout close() before - normaly no dialogs + // If somewhere called dispose() whitout close() before - normally no dialogs // should exist. Otherwhise it's the problem of the outside caller. // Note: // (a) Do it after stopWindowListening(). May that force some active/deactive @@ -2482,7 +2482,7 @@ void SAL_CALL Frame::windowClosing( const css::lang::EventObject& ) throw( css:: /*-**************************************************************************************************** @short react for a show event for the internal container window - @descr Normaly we don't need this information really. But we can use it to + @descr Normally we don't need this information really. But we can use it to implement the special feature "trigger first visible task". Algorithm: - first we have to check if we are a top (task) frame |