diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-14 16:50:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-15 13:26:08 +0000 |
commit | ba27366f3d6bc6b209ecd5c5cb79a9ee5315316a (patch) | |
tree | 2eeccfea7113977254b962c64c1b126d1ee5d6eb /sw/source/core/txtnode/SwGrammarContact.cxx | |
parent | 472285e742db5fed6d901162076d42c7d7c175af (diff) |
Resolves: #i17171# Writer paragraph cannot be longer than 65534 characters
Change-Id: I2052ae96571cba8fe2191dff53b1c61c95c94c60
Diffstat (limited to 'sw/source/core/txtnode/SwGrammarContact.cxx')
-rw-r--r-- | sw/source/core/txtnode/SwGrammarContact.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/SwGrammarContact.cxx b/sw/source/core/txtnode/SwGrammarContact.cxx index eb34d047921a..9138b02bfca1 100644 --- a/sw/source/core/txtnode/SwGrammarContact.cxx +++ b/sw/source/core/txtnode/SwGrammarContact.cxx @@ -124,7 +124,7 @@ SwGrammarMarkUp* SwGrammarContact::getGrammarCheck( SwTxtNode& rTxtNode, bool bC else { mpProxyList = new SwGrammarMarkUp(); - mpProxyList->SetInvalid( 0, STRING_LEN ); + mpProxyList->SetInvalid( 0, COMPLETE_STRING ); } } mbFinished = false; @@ -137,7 +137,7 @@ SwGrammarMarkUp* SwGrammarContact::getGrammarCheck( SwTxtNode& rTxtNode, bool bC if( bCreate && !pRet ) // do you want to create a list? { pRet = new SwGrammarMarkUp(); - pRet->SetInvalid( 0, STRING_LEN ); + pRet->SetInvalid( 0, COMPLETE_STRING ); rTxtNode.SetGrammarCheck( pRet ); rTxtNode.SetGrammarCheckDirty( true ); } |