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/source/doc/sfxbasemodel.cxx | |
parent | 69c4a8bae5caadc4ff53660dd3f2b938f6dc1734 (diff) |
typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
Diffstat (limited to 'sfx2/source/doc/sfxbasemodel.cxx')
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 |