summaryrefslogtreecommitdiff
path: root/framework/source/loadenv
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/loadenv
parent2a7db22c3825acdb0c36a9cefd5736d73e4fefbf (diff)
spelling: otherwhise -> otherwise
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
Diffstat (limited to 'framework/source/loadenv')
-rw-r--r--framework/source/loadenv/loadenv.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx
index d3c82282dfed..b41c2a030425 100644
--- a/framework/source/loadenv/loadenv.cxx
+++ b/framework/source/loadenv/loadenv.cxx
@@ -885,7 +885,7 @@ sal_Bool LoadEnv::impl_handleContent()
// SAFE -> -----------------------------------
ReadGuard aReadLock(m_aLock);
- // the type must exist inside the descriptor ... otherwhise this class is implemented wrong :-)
+ // the type must exist inside the descriptor ... otherwise this class is implemented wrong :-)
::rtl::OUString sType = m_lMediaDescriptor.getUnpackedValueOrDefault(::comphelper::MediaDescriptor::PROP_TYPENAME(), ::rtl::OUString());
if (sType.isEmpty())
throw LoadEnvException(LoadEnvException::ID_INVALID_MEDIADESCRIPTOR);
@@ -1297,7 +1297,7 @@ css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchAlreadyLoaded()
return css::uno::Reference< css::frame::XFrame >();
}
- // otherwhise - iterate through the tasks of the desktop container
+ // otherwise - iterate through the tasks of the desktop container
// to find out, which of them might contains the requested document
css::uno::Reference< css::frame::XDesktop2 > xSupplier = css::frame::Desktop::create( comphelper::getComponentContext(m_xSMGR) );
css::uno::Reference< css::container::XIndexAccess > xTaskList(xSupplier->getFrames() , css::uno::UNO_QUERY);