diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-09-26 11:44:54 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-09-26 11:47:45 +0200 |
commit | 7f436c1fd3a5f879fc99652043befb35158b3321 (patch) | |
tree | fb7afa124abc55dba2c9d17f4fa10a593485febf /sfx2 | |
parent | 69c4a8bae5caadc4ff53660dd3f2b938f6dc1734 (diff) |
typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/backingcomp.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 10 | ||||
-rw-r--r-- | sfx2/source/view/sfxbasecontroller.cxx | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index fcaf89bd9e1c..36bf04342a68 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -307,7 +307,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq ) { /* Dont save the request for closing the application and try it later again. This is an UI bound functionality ... and the user will try it again - if the dialog is closed. But we shouldnt close the application automaticly + if the dialog is closed. But we should not close the application automaticly if this dialog is closed by the user ... So we ignore this request now and wait for a new user decision. */ diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx index 02711649f1b7..dface02b7c01 100644 --- a/sfx2/source/dialog/backingcomp.cxx +++ b/sfx2/source/dialog/backingcomp.cxx @@ -568,12 +568,12 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL BackingComp::getFrame() /** ask controller for it's current working state. - If somehwere whish to close this component, it must suspend the controller before. + If someone wishes to close this component, it must suspend the controller before. That will be a chance for it to disagree with that AND show any UI for a possible UI user. @param bSuspend - If its set to sal_True this controller should be suspended. + If it's set to sal_True this controller should be suspended. sal_False will resuspend it. @return sal_True if the request could be finished successfully; sal_False otherwise. diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 5eae505cec4b..6f8c81e9b1ba 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -490,15 +490,15 @@ SfxSaveGuard::~SfxSaveGuard() m_pData->m_bSaving = sal_False; - // m_bSuicide was set e.g. in case somewhere tried to close a document, while it was used for + // m_bSuicide was set e.g. in case someone tried to close a document, while it was used for // storing at the same time. Further m_bSuicide was set to sal_True only if close(sal_True) was called. - // So the owner ship was delegated to the place where a veto exception was thrown. - // Now we have to call close() again and delegate the owner ship to the next one, which - // cant accept that. Close(sal_False) cant work in this case. Because then the document will may be never closed ... + // So the ownership was delegated to the place where a veto exception was thrown. + // Now we have to call close() again and delegate the ownership to the next one, which + // cant accept that. Close(sal_False) can't work in this case. Because then the document will may be never closed ... if ( m_pData->m_bSuicide ) { - // Reset this state. In case the new close() request is not accepted by somehwere else ... + // Reset this state. In case the new close() request is not accepted by someone else ... // it's not a good idea to have two "owners" for close .-) m_pData->m_bSuicide = sal_False; try diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index 45720f5326e6..5ebbf71ac902 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -610,7 +610,7 @@ sal_Bool SAL_CALL SfxBaseController::suspend( sal_Bool bSuspend ) throw( Runtime { SolarMutexGuard aGuard; - // ignore dublicate calls, which doesnt change anything real + // ignore dublicate calls, which doesn't change anything real if (bSuspend == m_pData->m_bSuspendState) return sal_True; |