summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-04-22 13:08:19 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-04-22 13:08:19 +0200
commite6fbde741079a67f0add1a7262242f6674b13ba1 (patch)
tree13f6e1b9838cae6d50e4e8e810e266889a55706f /svx/inc
parent8b9ebf6f31f42f8d48c87c6a2ef8fca2d2f9b5fe (diff)
cws tl80: #i110341# problems with spell check dialog fixed
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/svx/SpellDialogChildWindow.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/svx/inc/svx/SpellDialogChildWindow.hxx b/svx/inc/svx/SpellDialogChildWindow.hxx
index ba7077ae79..f050ed2ac1 100644
--- a/svx/inc/svx/SpellDialogChildWindow.hxx
+++ b/svx/inc/svx/SpellDialogChildWindow.hxx
@@ -69,15 +69,19 @@ protected:
@return
returns an empty vector if no error could be found
*/
- virtual SpellPortions GetNextWrongSentence (void) = 0;
+ virtual SpellPortions GetNextWrongSentence (bool bRecheck) = 0;
/** This abstract method applies the changes made in the spelling dialog
to the document.
The dialog always updates its settings when it gets the focus. The document
can rely on the fact that the methods ApplyChangedSentence() is called for the
position that the last GetNextWrongSentence() returned.
+ If 'bRecheck' is set to true then the same sentence should be rechecked once from
+ the start. This should be used too find errors that the user has introduced by
+ manual changes in the edit field, and in order to not miss the still following errors
+ in that sentence.
*/
- virtual void ApplyChangedSentence(const SpellPortions& rChanged) = 0;
+ virtual void ApplyChangedSentence(const SpellPortions& rChanged, bool bRecheck ) = 0;
/** This methods determines whether the application supports AutoCorrection
*/
virtual bool HasAutoCorrection();