diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-04-22 13:08:19 +0200 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-04-22 13:08:19 +0200 |
commit | be66917cb7289d8f008ca8eb29308991979763b8 (patch) | |
tree | a0e35f568c769c7a5bef0cc308a81d6bbd7938b8 | |
parent | 2b800723513199616bb04c6bb377b685c4bde218 (diff) |
cws tl80: #i110341# problems with spell check dialog fixed
-rw-r--r-- | sd/source/ui/dlg/SpellDialogChildWindow.cxx | 8 | ||||
-rw-r--r-- | sd/source/ui/inc/SpellDialogChildWindow.hxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/dlg/SpellDialogChildWindow.cxx b/sd/source/ui/dlg/SpellDialogChildWindow.cxx index 95d4277f8f42..7aee12f23bbd 100644 --- a/sd/source/ui/dlg/SpellDialogChildWindow.cxx +++ b/sd/source/ui/dlg/SpellDialogChildWindow.cxx @@ -96,14 +96,14 @@ void SpellDialogChildWindow::InvalidateSpellDialog (void) -::svx::SpellPortions SpellDialogChildWindow::GetNextWrongSentence (void) +::svx::SpellPortions SpellDialogChildWindow::GetNextWrongSentence( bool /*bRecheck*/ ) { ::svx::SpellPortions aResult; if (mpSdOutliner != NULL) { ProvideOutliner(); - aResult = mpSdOutliner->GetNextSpellSentence (); + aResult = mpSdOutliner->GetNextSpellSentence(); } // Close the spell check dialog when there are no more sentences to @@ -125,7 +125,7 @@ void SpellDialogChildWindow::InvalidateSpellDialog (void) void SpellDialogChildWindow::ApplyChangedSentence ( - const ::svx::SpellPortions& rChanged) + const ::svx::SpellPortions& rChanged, bool bRecheck ) { if (mpSdOutliner != NULL) { @@ -133,7 +133,7 @@ void SpellDialogChildWindow::ApplyChangedSentence ( if (pOutlinerView != NULL) mpSdOutliner->ApplyChangedSentence ( pOutlinerView->GetEditView(), - rChanged, false); + rChanged, bRecheck); } } diff --git a/sd/source/ui/inc/SpellDialogChildWindow.hxx b/sd/source/ui/inc/SpellDialogChildWindow.hxx index 898df6865280..4e08dd99b063 100644 --- a/sd/source/ui/inc/SpellDialogChildWindow.hxx +++ b/sd/source/ui/inc/SpellDialogChildWindow.hxx @@ -62,12 +62,12 @@ protected: next sentence with spelling errors. While doing so the view mode may be changed and text shapes are set into edit mode. */ - virtual ::svx::SpellPortions GetNextWrongSentence (void); + virtual ::svx::SpellPortions GetNextWrongSentence( bool bRecheck ); /** This method is responsible for merging corrections made in the spelling dialog back into the document. */ - virtual void ApplyChangedSentence (const ::svx::SpellPortions& rChanged); + virtual void ApplyChangedSentence(const ::svx::SpellPortions& rChanged, bool bRecheck); virtual void GetFocus (void); virtual void LoseFocus (void); |