diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2013-02-13 18:25:22 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2013-02-17 13:57:44 +0400 |
commit | e2f97dcc1006aceb80c4805c0e1cb5b2f40ab7b0 (patch) | |
tree | e5dec44faf212f3072fc4962a96b51ee40b67ad0 /framework | |
parent | 2a7db22c3825acdb0c36a9cefd5736d73e4fefbf (diff) |
spelling: otherwhise -> otherwise
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/classes/propertysethelper.hxx | 2 | ||||
-rw-r--r-- | framework/inc/dispatch/interceptionhelper.hxx | 2 | ||||
-rw-r--r-- | framework/inc/interaction/quietinteraction.hxx | 2 | ||||
-rw-r--r-- | framework/inc/properties.h | 4 | ||||
-rw-r--r-- | framework/qa/complex/loadAllDocuments/InteractionHandler.java | 2 | ||||
-rw-r--r-- | framework/source/accelerators/storageholder.cxx | 4 | ||||
-rw-r--r-- | framework/source/classes/framecontainer.cxx | 2 | ||||
-rw-r--r-- | framework/source/dispatch/dispatchprovider.cxx | 2 | ||||
-rw-r--r-- | framework/source/dispatch/mailtodispatcher.cxx | 2 | ||||
-rw-r--r-- | framework/source/inc/loadenv/actionlockguard.hxx | 4 | ||||
-rw-r--r-- | framework/source/inc/loadenv/targethelper.hxx | 2 | ||||
-rw-r--r-- | framework/source/jobs/joburl.cxx | 2 | ||||
-rw-r--r-- | framework/source/loadenv/loadenv.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/autorecovery.cxx | 2 | ||||
-rw-r--r-- | framework/source/services/desktop.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/dispatchhelper.cxx | 2 | ||||
-rw-r--r-- | framework/source/services/frame.cxx | 8 |
17 files changed, 25 insertions, 25 deletions
diff --git a/framework/inc/classes/propertysethelper.hxx b/framework/inc/classes/propertysethelper.hxx index 1a5476b5b163..02ddf16d547e 100644 --- a/framework/inc/classes/propertysethelper.hxx +++ b/framework/inc/classes/propertysethelper.hxx @@ -71,7 +71,7 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet sal_Bool m_bReleaseLockOnCall; - // hold it weak ... otherwhise this helper has to be "killed" explicitly .-) + // hold it weak ... otherwise this helper has to be "killed" explicitly .-) css::uno::WeakReference< css::uno::XInterface > m_xBroadcaster; LockHelper& m_rLock; diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx index 9655706a9f5f..e9aab8d1226e 100644 --- a/framework/inc/dispatch/interceptionhelper.hxx +++ b/framework/inc/dispatch/interceptionhelper.hxx @@ -218,7 +218,7 @@ class InterceptionHelper : public css::frame::XDispatchProvider optional search parameter for targeting, if sTargetFrameName isn't a special one. @return A valid dispatch object, if any interceptor or at least our slave is interested on the given URL; - or NULL otherwhise. + or NULL otherwise. */ virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch(const css::util::URL& aURL , const ::rtl::OUString& sTargetFrameName, diff --git a/framework/inc/interaction/quietinteraction.hxx b/framework/inc/interaction/quietinteraction.hxx index c9a731d63b06..2eab3143d9ef 100644 --- a/framework/inc/interaction/quietinteraction.hxx +++ b/framework/inc/interaction/quietinteraction.hxx @@ -121,7 +121,7 @@ class QuietInteraction : public css::lang::XTypeProvider @return [boolean] <TRUE/> for used interaction - <FALSE/> otherwhise + <FALSE/> otherwise @threadsafe yes */ diff --git a/framework/inc/properties.h b/framework/inc/properties.h index d1f65e278fb1..1071b0ebd844 100644 --- a/framework/inc/properties.h +++ b/framework/inc/properties.h @@ -271,14 +271,14 @@ class PropHelper //___________________________________________ /** checks if given property will be changed by this settings. - * We compare the content of the given any values. If they are different we return sal_True - sal_False otherwhise. + * We compare the content of the given any values. If they are different we return sal_True - sal_False otherwise. * * @param aCurrentValue contains the current value for this property * @param aNewValue contains the new value for this property * @param aOldValue returns the current value, in case somthing will be changed * @param aChangedValue returns the new value, in case somthing will be changed * - * @return <True/> if value of this property will be changed; <False/> otherwhise. + * @return <True/> if value of this property will be changed; <False/> otherwise. */ static sal_Bool willPropertyBeChanged( const css::uno::Any& aCurrentValue , diff --git a/framework/qa/complex/loadAllDocuments/InteractionHandler.java b/framework/qa/complex/loadAllDocuments/InteractionHandler.java index f22201fe08cd..cd558ab7e8ce 100644 --- a/framework/qa/complex/loadAllDocuments/InteractionHandler.java +++ b/framework/qa/complex/loadAllDocuments/InteractionHandler.java @@ -121,7 +121,7 @@ public class InteractionHandler implements XInteractionHandler } } - // otherwhise we can abort this interaction only + // otherwise we can abort this interaction only if (xAbort != null) { xAbort.select(); diff --git a/framework/source/accelerators/storageholder.cxx b/framework/source/accelerators/storageholder.cxx index 1cd7a21d811f..e128439169ec 100644 --- a/framework/source/accelerators/storageholder.cxx +++ b/framework/source/accelerators/storageholder.cxx @@ -181,7 +181,7 @@ css::uno::Reference< css::embed::XStorage > StorageHolder::openPath(const ::rtl: } // TODO think about return last storage as working storage ... but dont caching it inside this holder! - // => otherwhise the same storage is may be commit more then once. + // => otherwise the same storage is may be commit more then once. return xChild; } @@ -237,7 +237,7 @@ void StorageHolder::commitPath(const ::rtl::OUString& sPath) css::uno::Reference< css::embed::XTransactedObject > xCommit; StorageHolder::TStorageList::reverse_iterator pIt; - for ( pIt = lStorages.rbegin(); // order of commit is important ... otherwhise changes are not recognized! + for ( pIt = lStorages.rbegin(); // order of commit is important ... otherwise changes are not recognized! pIt != lStorages.rend() ; ++pIt ) { diff --git a/framework/source/classes/framecontainer.cxx b/framework/source/classes/framecontainer.cxx index 1ddb7810479d..0b75fd3d416c 100644 --- a/framework/source/classes/framecontainer.cxx +++ b/framework/source/classes/framecontainer.cxx @@ -122,7 +122,7 @@ void FrameContainer::remove( const css::uno::Reference< css::frame::XFrame >& xF reference to the queried frame @return <TRUE/> if frame is oart of this container - <FALSE/> otherwhise + <FALSE/> otherwise @threadsafe yes *****************************************************************************************************************/ diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx index 6185fc34e247..868a3b382bdb 100644 --- a/framework/source/dispatch/dispatchprovider.cxx +++ b/framework/source/dispatch/dispatchprovider.cxx @@ -494,7 +494,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame @param aURL the dispatch URL for which may a handler is registered - @return A dispatch object if a handler was found and agree with the given URL or <NULL/> otherwhise. + @return A dispatch object if a handler was found and agree with the given URL or <NULL/> otherwise. @threadsafe yes */ diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx index 6ec3428918e1..ae23b0217049 100644 --- a/framework/source/dispatch/mailtodispatcher.cxx +++ b/framework/source/dispatch/mailtodispatcher.cxx @@ -231,7 +231,7 @@ sal_Bool MailToDispatcher::implts_dispatch( const css::util::URL& { // start mail client // Because there is no notofocation about success - we use case of - // no detected exception as SUCCESS - FAILED otherwhise. + // no detected exception as SUCCESS - FAILED otherwise. xSystemShellExecute->execute( aURL.Complete, ::rtl::OUString(), css::system::SystemShellExecuteFlags::URIS_ONLY ); bSuccess = sal_True; } diff --git a/framework/source/inc/loadenv/actionlockguard.hxx b/framework/source/inc/loadenv/actionlockguard.hxx index 832a3a93f837..f85480f98981 100644 --- a/framework/source/inc/loadenv/actionlockguard.hxx +++ b/framework/source/inc/loadenv/actionlockguard.hxx @@ -99,7 +99,7 @@ class ActionLockGuard : private ThreadHelpBase points to the outside resource, which should be locked. @return sal_True, if new resource could be set and locked. - sal_False otherwhise. + sal_False otherwise. */ virtual sal_Bool setResource(const css::uno::Reference< css::document::XActionLockable >& xLock) { @@ -127,7 +127,7 @@ class ActionLockGuard : private ThreadHelpBase points to the outside resource, which should be locked. @return sal_True, if new resource could be set and locked. - sal_False otherwhise. + sal_False otherwise. */ virtual void freeResource() { diff --git a/framework/source/inc/loadenv/targethelper.hxx b/framework/source/inc/loadenv/targethelper.hxx index 05ad51beeb91..539100abceef 100644 --- a/framework/source/inc/loadenv/targethelper.hxx +++ b/framework/source/inc/loadenv/targethelper.hxx @@ -73,7 +73,7 @@ class TargetHelper represent the expected target. @return It returns <TRUE/> if <var>sCheckTarget</var> represent - the expected <var>eSpecialTarget</var> value; <FALSE/> otherwhise. + the expected <var>eSpecialTarget</var> value; <FALSE/> otherwise. */ static sal_Bool matchSpecialTarget(const ::rtl::OUString& sCheckTarget , ESpecialTarget eSpecialTarget); diff --git a/framework/source/jobs/joburl.cxx b/framework/source/jobs/joburl.cxx index 95135496cf6a..3af88e436a1e 100644 --- a/framework/source/jobs/joburl.cxx +++ b/framework/source/jobs/joburl.cxx @@ -236,7 +236,7 @@ sal_Bool JobURL::getService( /*OUT*/ ::rtl::OUString& sService ) const returns the part arguments if <var>sPart</var> was splitted successfully @return <TRUE/> if the identifier could be found and the string was splitted. - <FALSE/> otherwhise. + <FALSE/> otherwise. */ sal_Bool JobURL::implst_split( /*IN*/ const ::rtl::OUString& sPart , /*IN*/ const sal_Char* pPartIdentifier , 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); 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 ); } |