summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-01 16:46:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-01 16:46:42 +0000
commite9ef612ed37afa3b785f3a24e8c442b0106a7218 (patch)
treee50b7f05a1fa73ceda164fa48b2e520a7d722da0
parent535d0e5ad390f465d7dd0abe776724ede1fff044 (diff)
INTEGRATION: CWS thbpp5 (1.28.24); FILE MERGED
2006/10/05 08:07:34 thb 1.28.24.1: #i69844# Now using correct offsets for scroll text anchoring (text in mtf is now always flush-left)
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index 606e7ba4c48c..104872c2e9e8 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: UnoGraphicExporter.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 13:24:34 $
+ * last change: $Author: vg $ $Date: 2006-11-01 17:46:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -938,8 +938,8 @@ sal_Bool SAL_CALL GraphicExporter::filter( const Sequence< PropertyValue >& aDes
// output position)
MapMode aLocalMapMode( aMap );
aLocalMapMode.SetOrigin(
- Point( -aTextRect.Left(),
- -aTextRect.Top() ) );
+ Point( -aPaintRectangle.Left(),
+ -aPaintRectangle.Top() ) );
pMtf->SetPrefMapMode( aLocalMapMode );
pMtf->AddAction( new MetaCommentAction(