summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-12-04 15:36:11 +0000
committerRüdiger Timm <rt@openoffice.org>2006-12-04 15:36:11 +0000
commit46e32141aa7f5b8cac8982536781db3200bfcb9d (patch)
tree15146987c70b784ed147e3e0e0e9247abb018768 /vcl
parentd37841aefbac6fbf261e8742181fdfa6def1201e (diff)
INTEGRATION: CWS vcl69 (1.99.64); FILE MERGED
2006/10/26 08:23:47 hdu 1.99.64.1: #i69189# fix for glyph positions with y-delta (by merging timseves commit)
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index d8e50a083d7b..5b5f46264ca8 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pdfwriter_impl.cxx,v $
*
- * $Revision: 1.100 $
+ * $Revision: 1.101 $
*
- * last change: $Author: rt $ $Date: 2006-12-04 08:32:24 $
+ * last change: $Author: rt $ $Date: 2006-12-04 16:36:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -5650,8 +5650,8 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const String& rText, bool bT
aLine.append( ' ' );
if( bWasYChange )
{
- m_aPages.back().appendMappedLength( (sal_Int32)aDiff.Y(), aLine, true, &nDiffL );
- aCumulativePos.Y() += nDiffL;
+ m_aPages.back().appendMappedLength( (sal_Int32)-aDiff.Y(), aLine, true, &nDiffL );
+ aCumulativePos.Y() -= nDiffL;
}
else
{