diff options
author | Philipp Riemer <ruderphilipp@gmail.com> | 2013-06-09 00:44:03 +0200 |
---|---|---|
committer | Philipp Riemer <ruderphilipp@gmail.com> | 2013-06-09 00:56:40 +0200 |
commit | b3e67062608f11dbf4b92f5e0765bb0f28a6cfe8 (patch) | |
tree | afc6f2c288dd1a1251c4deec82acb815b849e824 /sw/source/core/edit/edws.cxx | |
parent | 7cb8b8c8e9548640e4732daaf8e009eb8d7a38f1 (diff) |
fdo#62475 - remove visual noise in sw/source/core/edit
- ASCII art
- method comments without further info
- multiple blank lines
Change-Id: I2b17f5fe4be89cc58c3563dfc64f1b3e2a20bdee
Diffstat (limited to 'sw/source/core/edit/edws.cxx')
-rw-r--r-- | sw/source/core/edit/edws.cxx | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx index 0c646f9aff2f..acf268eae8f4 100644 --- a/sw/source/core/edit/edws.cxx +++ b/sw/source/core/edit/edws.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <vcl/window.hxx> #include <editsh.hxx> @@ -37,42 +36,25 @@ SwEditShell::SwEditShell( SwEditShell& rEdSH, Window *pWindow ) { } -// ctor/dtor - - SwEditShell::SwEditShell( SwDoc& rDoc, Window *pWindow, const SwViewOption *pOptions ) : SwCrsrShell( rDoc, pWindow, pOptions ) { GetDoc()->GetIDocumentUndoRedo().DoUndo(true); } - SwEditShell::~SwEditShell() // USED { } -/****************************************************************************** - * sal_Bool SwEditShell::IsModified() const - ******************************************************************************/ - - sal_Bool SwEditShell::IsModified() const { return GetDoc()->IsModified(); } -/****************************************************************************** - * void SwEditShell::SetModified() - ******************************************************************************/ - void SwEditShell::SetModified() { GetDoc()->SetModified(); } -/****************************************************************************** - * void SwEditShell::ResetModified() - ******************************************************************************/ - void SwEditShell::ResetModified() { @@ -85,11 +67,6 @@ void SwEditShell::SetUndoNoResetModified() GetDoc()->GetIDocumentUndoRedo().SetUndoNoResetModified(); } -/****************************************************************************** - * void SwEditShell::StartAllAction() - ******************************************************************************/ - - void SwEditShell::StartAllAction() { ViewShell *pSh = this; @@ -101,10 +78,6 @@ void SwEditShell::StartAllAction() pSh = (ViewShell *)pSh->GetNext(); } while(pSh != this); } -/****************************************************************************** - * void SwEditShell::EndAllAction() - ******************************************************************************/ - void SwEditShell::EndAllAction() { @@ -118,11 +91,6 @@ void SwEditShell::EndAllAction() } while(pSh != this); } -/****************************************************************************** - * void SwEditShell::CalcLayout() - ******************************************************************************/ - - void SwEditShell::CalcLayout() { StartAllAction(); @@ -161,9 +129,6 @@ sal_uInt16 SwEditShell::GetCntType() const return nRet; } -//------------------------------------------------------------------------------ - - sal_Bool SwEditShell::HasOtherCnt() const { @@ -192,20 +157,17 @@ SwActContext::SwActContext(SwEditShell *pShell) pSh->StartAction(); } - SwActContext::~SwActContext() { pSh->EndAction(); } - SwMvContext::SwMvContext(SwEditShell *pShell) : pSh(pShell) { pSh->SttCrsrMove(); } - SwMvContext::~SwMvContext() { pSh->EndCrsrMove(); @@ -223,14 +185,11 @@ sal_uInt16 SwEditShell::GetTOXTypeCount(TOXTypes eTyp) const return mpDoc->GetTOXTypeCount(eTyp); } - void SwEditShell::InsertTOXType(const SwTOXType& rTyp) { mpDoc->InsertTOXType(rTyp); } - - void SwEditShell::DoUndo( sal_Bool bOn ) { GetDoc()->GetIDocumentUndoRedo().DoUndo( bOn ); } @@ -273,7 +232,6 @@ SwUndoId SwEditShell::EndUndo(SwUndoId eUndoId, const SwRewriter *pRewriter) { return GetDoc()->GetIDocumentUndoRedo().EndUndo(eUndoId, pRewriter); } - bool SwEditShell::GetLastUndoInfo(OUString *const o_pStr, SwUndoId *const o_pId) const { return GetDoc()->GetIDocumentUndoRedo().GetLastUndoInfo(o_pStr, o_pId); } @@ -306,13 +264,11 @@ void SwEditShell::AutoCorrect( SvxAutoCorrect& rACorr, sal_Bool bInsert, EndAllAction(); } - void SwEditShell::SetNewDoc(sal_Bool bNew) { GetDoc()->SetNewDoc(bNew); } - sal_Bool SwEditShell::GetPrevAutoCorrWord( SvxAutoCorrect& rACorr, String& rWord ) { SET_CURR_SHELL( this ); @@ -337,6 +293,4 @@ SwAutoCompleteWord& SwEditShell::GetAutoCompleteWords() return SwDoc::GetAutoCompleteWords(); } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |