diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2017-08-09 12:15:53 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-09-19 20:32:49 +0200 |
commit | f289357c6bc5e145e05075de4749591a05c37844 (patch) | |
tree | 3b071a54b38e02116426b114900c38111325e124 /filter | |
parent | c97c13b45411a4eeeca10912518c8966810e7be4 (diff) |
tdf#111480 Circular text was imported horizontally
Change-Id: I84a6c3a30fd1dddf104ad8bf037a5e0b2a90d376
Reviewed-on: https://gerrit.libreoffice.org/40912
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/42350
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 8053abeb8d26..e6acd585ab5e 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -4421,7 +4421,7 @@ SdrObject* SvxMSDffManager::ImportShape( const DffRecordHeader& rHd, SvStream& r aFont.SetFamilyName( aFontName ); auto nTextWidth = pOut->GetTextWidth( aObjectText ); - if ( nTextWidth ) + if ( nTextWidth && aObjData.eShapeType == mso_sptTextPlainText ) { fRatio = aFont.GetFontSize().Height(); fRatio /= nTextWidth; |