[Libreoffice-commits] core.git: sw/source
Matteo Casalin
matteo.casalin at yahoo.com
Mon Dec 16 13:40:36 PST 2013
sw/source/core/text/SwGrammarMarkUp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 42aec34a5d83d863e050da85f88b31417c44b698
Author: Matteo Casalin <matteo.casalin at yahoo.com>
Date: Mon Dec 16 22:34:42 2013 +0100
Fix a previous commit
Thanks to Thomas Arnhold for noticing and reporting
Change-Id: Ia23746b3834b3fb3dbbadfdada96d98958b0e00c
diff --git a/sw/source/core/text/SwGrammarMarkUp.cxx b/sw/source/core/text/SwGrammarMarkUp.cxx
index 53c4264..07c7272 100644
--- a/sw/source/core/text/SwGrammarMarkUp.cxx
+++ b/sw/source/core/text/SwGrammarMarkUp.cxx
@@ -50,7 +50,7 @@ void SwGrammarMarkUp::MoveGrammar( sal_Int32 nPos, sal_Int32 nDiff )
while( pIter != maSentence.end() )
{
if( *pIter >= nEnd )
- *pIter += *pIter;
+ *pIter += nDiff;
else
*pIter = nPos;
++pIter;
More information about the Libreoffice-commits
mailing list