diff options
author | Andre Fischer <af@apache.org> | 2012-07-13 07:55:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-24 18:55:27 +0100 |
commit | 54c679f481647890f18151f4db05cfc3eff5d98b (patch) | |
tree | 473bb639d3af5c29680fbc176f9262d6c922db90 /sd | |
parent | A miscellaneous use of boost. (diff) | |
download | core-54c679f481647890f18151f4db05cfc3eff5d98b.tar.gz core-54c679f481647890f18151f4db05cfc3eff5d98b.zip |
Resolves: #i119874 Fixed text alignment in RTL layout.
Reported by: Li Feng Wang
Patch by: Jianyuan Li
Review by: Andre Fischer
(cherry picked from commit 57fdcdd79d1682ee7d5e88fbab3803631496afa2)
Conflicts:
filter/inc/filter/msfilter/svdfppt.hxx
filter/source/msfilter/svdfppt.cxx
Change-Id: I6adae6d40ff106caeea2b9310a57228257d79404
Related: #i119874# Missing part of patch.
Patch by: Jianyuan Li
(cherry picked from commit a7dc3e8b82c87b138c973f1434717d634ed8dc67)
Change-Id: Icff3e1167ab780612ad47775aaa39c9baa99c70f
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 9e3eab593647..67a5e185e504 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -2391,6 +2391,8 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj SfxItemSet aSet( pSdrModel->GetItemPool() ); ApplyAttributes( rStCtrl, aSet ); + pPresObj->SetLogicRect(pText->GetLogicRect()); + ApplyTextAnchorAttributes( *pTextObj, aSet ); pPresObj->SetMergedItemSet(aSet); if ( ( eAktPageKind != PPT_NOTEPAGE ) && ( nPlacementId != 0xffffffff ) ) |