diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-07-01 22:18:25 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-07-01 22:18:25 +0000 |
commit | cc2c39dcbd7a201f133060ef7e2f768feca4a967 (patch) | |
tree | 7dd23dfc8532024a7660c84143328ff69c25cd80 /svx | |
parent | 225e929c7bd5fbec0a04cfb588d5871f9d2a3ca8 (diff) |
INTEGRATION: CWS impress143 (1.19.60); FILE MERGED
2008/05/19 10:54:28 sj 1.19.60.1: #i84141# added patch
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdfmtf.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx index 38d57bf837dc..3ee7b68dc3ad 100644 --- a/svx/source/svdraw/svdfmtf.cxx +++ b/svx/source/svdraw/svdfmtf.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svdfmtf.cxx,v $ - * $Revision: 1.19 $ + * $Revision: 1.20 $ * * This file is part of OpenOffice.org. * @@ -680,6 +680,11 @@ void ImpSdrGDIMetaFileImport::ImportText( const Point& rPos, const XubString& rS { pText->ClearMergedItem( SDRATTR_TEXT_AUTOGROWWIDTH ); pText->SetMergedItem( SdrTextAutoGrowHeightItem( FALSE ) ); + // don't let the margins eat the space needed for the text + pText->SetMergedItem ( SdrTextUpperDistItem (0)); + pText->SetMergedItem ( SdrTextLowerDistItem (0)); + pText->SetMergedItem ( SdrTextRightDistItem (0)); + pText->SetMergedItem ( SdrTextLeftDistItem (0)); pText->SetMergedItem( SdrTextFitToSizeTypeItem( SDRTEXTFIT_ALLLINES ) ); } else |