diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/editsh.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 29271604343d..53b91f44db98 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -816,7 +816,11 @@ public: /// Call AutoCorrect void AutoCorrect( SvxAutoCorrect& rACorr, bool bInsertMode, sal_Unicode cChar ); - bool GetPrevAutoCorrWord(SvxAutoCorrect& rACorr, OUString& rWord); + OUString GetPrevAutoCorrWord(SvxAutoCorrect& rACorr); + + // We consider no more than 9 characters before the cursor, and they must not start in the + // middle of a word (leading spaces are OK) + std::vector<OUString> GetChunkForAutoText(); /// Set our styles according to the respective rules. void AutoFormat( const SvxSwAutoFormatFlags* pAFlags ); |