summaryrefslogtreecommitdiff
path: root/framework/source/services
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:22:30 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-03 09:43:46 +0000
commit465489d97ab9ffa0bfee02d80eb99aad771aee3f (patch)
tree0405a31efbde5e1ef61ad23afbea087a2c9cf31b /framework/source/services
parent420923ba76ad84892fd242ed37be9d85e1ea03fe (diff)
Fix typos
Change-Id: Id884946cae0687d0b71c967e236e58df17567884 Reviewed-on: https://gerrit.libreoffice.org/16707 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'framework/source/services')
-rw-r--r--framework/source/services/ContextChangeEventMultiplexer.cxx2
-rw-r--r--framework/source/services/autorecovery.cxx6
-rw-r--r--framework/source/services/desktop.cxx2
-rw-r--r--framework/source/services/frame.cxx18
-rw-r--r--framework/source/services/pathsettings.cxx2
5 files changed, 15 insertions, 15 deletions
diff --git a/framework/source/services/ContextChangeEventMultiplexer.cxx b/framework/source/services/ContextChangeEventMultiplexer.cxx
index c47a0fe1d62f..6fe88eeebd89 100644
--- a/framework/source/services/ContextChangeEventMultiplexer.cxx
+++ b/framework/source/services/ContextChangeEventMultiplexer.cxx
@@ -104,7 +104,7 @@ private:
the given event focus.
Typically called twice from broadcastEvent(), once for the
- given event focus and onece for NULL.
+ given event focus and once for NULL.
*/
void BroadcastEventToSingleContainer (
const css::ui::ContextChangeEventObject& rEventObject,
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 1d741efe648c..1d6c55b75464 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -761,7 +761,7 @@ private:
It does not:
- patch the configuration.
- Note further: It paches the info struct
+ Note further: it patches the info struct
more than ones. E.g. the new temp URL is set
before the file is saved. And the old URL is removed
only if removing oft he old file was successfully.
@@ -2583,7 +2583,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
// Sometimes we close documents by ourself.
// And these documents can't be deregistered.
- // Otherwhise we loos our configuration data ... but need it !
+ // Otherwhise we lose our configuration data... but need it !
// see SessionSave !
if (aInfo.IgnoreClosing)
return;
@@ -2834,7 +2834,7 @@ void AutoRecovery::implts_prepareSessionShutdown()
implts_stopModifyListeningOnDoc(rInfo);
// if the session save is still running the documents should not be thrown away,
- // actually that would be a bad sign, that means that the SessionManager tryes
+ // actually that would be a bad sign, that means that the SessionManager tries
// to kill the session before the saving is ready
if ((m_eJob & AutoRecovery::E_SESSION_SAVE) != AutoRecovery::E_SESSION_SAVE)
{
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index c3f87e01192c..8b0d3dc4c895 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1185,7 +1185,7 @@ void SAL_CALL Desktop::handle( const css::uno::Reference< css::task::XInteractio
// Don't check incoming request!
// If somewhere starts interaction without right parameter - he made something wrong.
- // loadComponentFromURL() waits for thjese event - otherwise it yield for ever!
+ // loadComponentFromURL() waits for these event - otherwise it yield for ever!
// get packed request and work on it first
// Attention: Don't set it on internal member BEFORE interaction is finished - because
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 1440bd22d965..58a890f68ba7 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -394,14 +394,14 @@ private:
css::uno::Reference< css::awt::XWindow > m_xComponentWindow; /// window of the actual component
css::uno::Reference< css::frame::XController > m_xController; /// controller of the actual frame
css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > m_xDropTargetListener; /// listen to drag & drop
- EActiveState m_eActiveState; /// state, if i'am a member of active path in tree or i have the focus or ...
+ EActiveState m_eActiveState; /// state, if I am a member of active path in tree or I have the focus or...
OUString m_sName; /// name of this frame
- bool m_bIsFrameTop; /// frame has no parent or the parent is a taskor the desktop
+ bool m_bIsFrameTop; /// frame has no parent or the parent is a task or the desktop
bool m_bConnected; /// due to FrameActionEvent
sal_Int16 m_nExternalLockCount;
css::uno::Reference< css::frame::XDispatchRecorderSupplier > m_xDispatchRecorderSupplier; /// is used for dispatch recording and will be set/get from outside. Frame provide it only!
SvtCommandOptions m_aCommandOptions; /// ref counted class to support disabling commands defined by configuration file
- bool m_bSelfClose; /// in case of CloseVetoException on method close() wqs thrown by ourself - we must close ourself later if no internal processes are running
+ bool m_bSelfClose; /// in case of CloseVetoException on method close() was thrown by ourself - we must close ourself later if no internal processes are running
bool m_bIsHidden; /// indicates, if this frame is used in hidden mode or not
static css::uno::WeakReference< css::frame::XFrame2 > m_xCloserFrame; /// holds the only frame, which must show the special closer menu item (can be NULL!)
css::uno::Reference< css::frame::XLayoutManager2 > m_xLayoutManager; /// is used to layout the child windows of the frame.
@@ -633,8 +633,8 @@ css::uno::Reference< css::frame::XFrames > SAL_CALL Frame::getFrames() throw( cs
/*TODO
This is a temp. HACK!
Our parent (a Task!) stand in close/dispose and set working mode to E_BEFOERECLOSE
- and call dispose on us! We tra to get this xFramesHelper and are reject by an "already closed" pranet instance ....
- => We use SOFTEXCEPTIONS here ... but we should make it right in further times ....
+ and call dispose on us! We tra to get this xFramesHelper and are reject by an "already closed" parent instance....
+ => We use SOFTEXCEPTIONS here... but we should make it right in further times....
*/
TransactionGuard aTransaction( m_aTransactionManager, E_SOFTEXCEPTIONS );
@@ -1837,9 +1837,9 @@ void SAL_CALL Frame::addCloseListener( const css::uno::Reference< css::util::XCl
void SAL_CALL Frame::removeCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
- // Use soft exception mode - moslty this method is called during disposing of this frame ...
+ // Use soft exception mode - mostly this method is called during disposing of this frame...
TransactionGuard aTransaction( m_aTransactionManager, E_SOFTEXCEPTIONS );
- // We don't need any lock here ...
+ // We don't need any lock here...
// Container lives if we live and is threadsafe by himself.
m_aListenerContainer.removeInterface( cppu::UnoType<css::util::XCloseListener>::get(), xListener );
}
@@ -2940,8 +2940,8 @@ void Frame::implts_setIconOnWindow()
}
}
- // c) if b) failed ... analyze argument list of currently loaded document insde the frame to find the filter.
- // He can be used to detect right factory - and these can be used to match factory to icon ...
+ // c) if b) failed... analyze argument list of currently loaded document inside the frame to find the filter.
+ // He can be used to detect right factory - and these can be used to match factory to icon...
if( nIcon == -1 )
{
css::uno::Reference< css::frame::XModel > xModel = xController->getModel();
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index e1a99f08d3bd..db5f427f2a08 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -1064,7 +1064,7 @@ void PathSettings::impl_purgeKnownPaths(PathSettings::PathInfo& rPath,
rPath.lUserPaths.erase(pItem);
}
- // Erase itsems not in lList from the user path list.
+ // Erase items not in lList from the user path list.
pIt = rPath.lUserPaths.begin();
while ( pIt != rPath.lUserPaths.end() )
{