summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pdfwriter_impl.hxx
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2002-09-17 12:17:03 +0000
committerPhilipp Lohmann <pl@openoffice.org>2002-09-17 12:17:03 +0000
commit68ce5d35834826453e89609cc07c91f453223b2a (patch)
tree657957cb42b042a13bc749f1716d2ac42ae87615 /vcl/source/gdi/pdfwriter_impl.hxx
parent5ec3887adbd6ba0f1a2a43b80eac66554165c580 (diff)
#103088# use correct offsets for translating mapmodes
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.hxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx
index 0592ae35fcd6..6eecb4a89bbb 100644
--- a/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/vcl/source/gdi/pdfwriter_impl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pdfwriter_impl.hxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: pl $ $Date: 2002-09-17 11:15:44 $
+ * last change: $Author: pl $ $Date: 2002-09-17 13:17:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -312,7 +312,6 @@ private:
Region m_aClipRegion;
sal_Int32 m_nAntiAlias;
sal_Int32 m_nLayoutMode;
- TextAlign m_eTextAlign;
sal_Int32 m_nTransparentPercent;
GraphicsState() :
@@ -321,7 +320,6 @@ private:
m_aTextLineColor( COL_BLACK ),
m_nAntiAlias( 1 ),
m_nLayoutMode( 0 ),
- m_eTextAlign( ALIGN_BASELINE ),
m_nTransparentPercent( 0 ) {}
GraphicsState( const GraphicsState& rState ) :
m_aFont( rState.m_aFont ),
@@ -332,7 +330,6 @@ private:
m_aClipRegion( rState.m_aClipRegion ),
m_nAntiAlias( rState.m_nAntiAlias ),
m_nLayoutMode( rState.m_nLayoutMode ),
- m_eTextAlign( rState.m_eTextAlign ),
m_nTransparentPercent( rState.m_nTransparentPercent )
{
}
@@ -347,7 +344,6 @@ private:
m_aClipRegion = rState.m_aClipRegion;
m_nAntiAlias = rState.m_nAntiAlias;
m_nLayoutMode = rState.m_nLayoutMode;
- m_eTextAlign = rState.m_eTextAlign;
m_nTransparentPercent = rState.m_nTransparentPercent;
return *this;
}
@@ -514,7 +510,7 @@ public:
{ m_aGraphicsStack.front().m_nLayoutMode = nLayoutMode; }
void setTextAlign( TextAlign eAlign )
- { m_aGraphicsStack.front().m_eTextAlign = eAlign; }
+ { m_aGraphicsStack.front().m_aFont.SetAlign( eAlign ); }
void setAntiAlias( sal_Int32 nAntiAlias )
{ m_aGraphicsStack.front().m_nAntiAlias = nAntiAlias; }