summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/pptin.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-31 15:57:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-31 15:57:12 +0200
commit68969cc61adecac481ae9656978ef952f435b310 (patch)
tree823f5a951bd5ebf9e465fae8297ddc220cb6a2d5 /sd/source/filter/ppt/pptin.cxx
parent8b91280386f478f2e972e2aa71080f106783d762 (diff)
Consistency around SdrMetricItem
...where some instances of SDRATTR_TEXT_MINFRAMEHEIGHT etc. where SdrMetricItem while others where of trivial derived classes SdrTextMinFrameHeightItem etc., that appear to only existed for better-named constructors. Change-Id: If0af79fbb803275ed09fc7b950868c5de7d61615
Diffstat (limited to 'sd/source/filter/ppt/pptin.cxx')
-rw-r--r--sd/source/filter/ppt/pptin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index e5e637721535..d8263b50335e 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -2274,7 +2274,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
}
SfxItemSet aTempAttr( mpDoc->GetPool() );
- SdrTextMinFrameHeightItem aMinHeight( pText->GetLogicRect().GetSize().Height() );
+ SdrMetricItem aMinHeight( makeSdrTextMinFrameHeightItem(pText->GetLogicRect().GetSize().Height()) );
aTempAttr.Put( aMinHeight );
SdrTextAutoGrowHeightItem aAutoGrowHeight( false );
aTempAttr.Put( aAutoGrowHeight );