summaryrefslogtreecommitdiff
path: root/framework/source/services
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-02-13 18:25:22 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-02-17 13:57:44 +0400
commite2f97dcc1006aceb80c4805c0e1cb5b2f40ab7b0 (patch)
treee5dec44faf212f3072fc4962a96b51ee40b67ad0 /framework/source/services
parent2a7db22c3825acdb0c36a9cefd5736d73e4fefbf (diff)
spelling: otherwhise -> otherwise
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
Diffstat (limited to 'framework/source/services')
-rw-r--r--framework/source/services/autorecovery.cxx2
-rw-r--r--framework/source/services/desktop.cxx4
-rw-r--r--framework/source/services/dispatchhelper.cxx2
-rw-r--r--framework/source/services/frame.cxx8
4 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index d84086b69c0f..2cd18a13abcb 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -1794,7 +1794,7 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra
pIt = AutoRecovery::impl_searchDocument(m_lDocCache, xDocument);
if (pIt != m_lDocCache.end())
m_lDocCache.erase(pIt);
- pIt = m_lDocCache.end(); // otherwhise its not specified what pIt means!
+ pIt = m_lDocCache.end(); // otherwise its not specified what pIt means!
aCacheLock2.unlock();
aWriteLock.unlock();
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index a695eb2000a9..0c1daa56f8c4 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1078,7 +1078,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
else
{
//-------------------------------------------------------------------------------------------------
- // II) otherwhise use optional given search flags
+ // II) otherwise use optional given search flags
// force using of combinations of such flags. means no "else" part of use if() statements.
// But we ust break further searches if target was already found.
// Order of using flags is fix: SELF - CHILDREN - SIBLINGS - PARENT
@@ -1095,7 +1095,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r
//-------------------------------------------------------------------------------------------------
// II.I) SELF
- // Check for right name. If it's the searched one return ourself - otherwhise
+ // Check for right name. If it's the searched one return ourself - otherwise
// ignore this flag.
//-------------------------------------------------------------------------------------------------
if (
diff --git a/framework/source/services/dispatchhelper.cxx b/framework/source/services/dispatchhelper.cxx
index 69903bbfc2f0..be645c7b849d 100644
--- a/framework/source/services/dispatchhelper.cxx
+++ b/framework/source/services/dispatchhelper.cxx
@@ -157,7 +157,7 @@ css::uno::Any SAL_CALL DispatchHelper::executeDispatch(
/** callback for started dispatch with guaranteed notifications.
We must save the result, so the method executeDispatch() can return it.
- Further we must release the broadcaster (otherwhise it can't die)
+ Further we must release the broadcaster (otherwise it can't die)
and unblock the waiting executeDispatch() request.
@param aResult
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index c6404e5e5fff..fdefc0d5398e 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -856,7 +856,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
else
{
//-------------------------------------------------------------------------------------------------
- // II) otherwhise use optional given search flags
+ // II) otherwise use optional given search flags
// force using of combinations of such flags. means no "else" part of use if() statements.
// But we ust break further searches if target was already found.
// Order of using flags is fix: SELF - CHILDREN - SIBLINGS - PARENT
@@ -872,7 +872,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl
//-------------------------------------------------------------------------------------------------
// II.I) SELF
- // Check for right name. If it's the searched one return ourself - otherwhise
+ // Check for right name. If it's the searched one return ourself - otherwise
// ignore this flag.
//-------------------------------------------------------------------------------------------------
if (
@@ -1336,7 +1336,7 @@ sal_Bool SAL_CALL Frame::setComponent( const css::uno::Reference< css::awt::X
implts_sendFrameActionEvent( css::frame::FrameAction_COMPONENT_DETACHING );
//_____________________________________________________________________________________________________
- // otherwhise release old component first
+ // otherwise release old component first
// Always release controller before releasing window,
// because controller may want to access its window!
// But check for real changes - may the new controller is the old one.
@@ -1922,7 +1922,7 @@ void SAL_CALL Frame::dispose() throw( css::uno::RuntimeException )
m_aTransactionManager.setWorkingMode( E_CLOSE );
// Don't forget it restore old value -
- // otherwhise no dialogs can be shown anymore in other frames.
+ // otherwise no dialogs can be shown anymore in other frames.
Application::SetDialogCancelMode( old );
}