summaryrefslogtreecommitdiff
path: root/sw/source/core/text/pormulti.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-20 15:20:06 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-20 15:20:06 +0000
commit1cc857fd9aac55b32784a252984aa2de87b8c906 (patch)
treea07eb9a64a6c8d32fcffe0d5e086e987bd13f012 /sw/source/core/text/pormulti.cxx
parent3b0528f77fc301e7611414c54f18417872e1fc4f (diff)
INTEGRATION: CWS swqbf74 (1.83.398); FILE MERGED
2006/07/11 06:46:49 fme 1.83.398.1: #i65711# Justified alignment in double line portions
Diffstat (limited to 'sw/source/core/text/pormulti.cxx')
-rw-r--r--sw/source/core/text/pormulti.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index a5f6f48aa3d1..1b15d5bab89e 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pormulti.cxx,v $
*
- * $Revision: 1.83 $
+ * $Revision: 1.84 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 05:00:51 $
+ * last change: $Author: kz $ $Date: 2006-07-20 16:20:06 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -640,7 +640,12 @@ sal_Bool SwDoubleLinePortion::ChgSpaceAdd( SwLineLayout* pCurr,
if( nMultiSpace < KSHRT_MAX * SPACING_PRECISION_FACTOR )
{
- pCurr->SetLLSpaceAdd( nMultiSpace, 0 );
+// pCurr->SetLLSpaceAdd( nMultiSpace, 0 );
+ // --> FME 2006-07-11 #i65711# SetLLSpaceAdd replaces the first value,
+ // instead we want to insert a new first value:
+ std::vector<long>* pVec = pCurr->GetpLLSpaceAdd();
+ pVec->insert( pVec->begin(), nMultiSpace );
+ // <--
bRet = sal_True;
}
}